1. 5

    I’m working on Pybench, a Python benchmarks suite inspired by Geekbench.

    1. 1

      Everything is monolithic until you split up code based on functionality.

        1. 7

          Can you not just take any other web browser, change its user agent to match a mobile browser, and then shrink the window? Firefox even has a “responsive design mode” built right in that’s two-clicks away.

          1. 1

            Being able to browse the mobile web on desktop is a game changer.

            1. 4

              Please elaborate because for all I know you could just be using sarcasm very effectively and I’m honestly wondering if I’m missing something interesting :)

              1. 2

                You have to change the user agent on other browsers and even then you might not trigger the mobile version. Apple WebView + iPhone UA + iPhone sized viewport = mobile web on desktop.

                Try to browser mobile version of LinkedIn on any browser. On Monochrome works exactly like on iPhone.

          1. 2

            For my site (link on profile), I use PHP to dynamically create a blog from source files. In my case the source file is a single JSON file. I can write a Hugo/Jekyll compatible CMS in PHP that generates content dynamically.

            1. 3

              Chromium should get a fork at this point. No way we can allow every bad script to run in the browser. From a security stand point, this is the worst thing that can happen on the web.

              1. 3
              1. 3

                I’m plan to build a search engine on top of PostgreSQL. It will store only the tsvector of each page instead of storing the whole text in the database. I plan to index a few sites at first then move on from there. More details on Subcafe. Text extraction as seen on Newscafe is working pretty good.

                1. 3

                  What exactly is this? A general/tech-inclining news aggressor? Where do the links come from? Some AI or are they scraped from various sources like a planet site? What relation does this have to https://sub.cafe – a parallel project, or is there some connection between the two?

                  Just posting a link like this is confusing and doesn’t say much. Add a comment if you know more, or maybe add a short note to the title “Newscafe: An AI-based news aggressor”or whatever it is – would help a lot.

                  1. 1

                    Found this poking around a bit:

                    Newscafe is my newest project and it’s up at news.sub.cafe. Right now it fetches some RSS feeds and ranks the links by number of shares on Facebook. But it can be much more with better sources and interesting metadata.

                    (Here)[https://sub.cafe/lucian/] (Sorry can’t find a way to link to a specific post.)

                    1. 1

                      Sub is the parent app/domain and it’s a social network.

                      Newscafe is a automated news site like Microsoft/Google/Apple News. I should have called it Sub News.

                    1. 4

                      I working on Newscafe (news.sub.cafe). It includes links from the front page of Lobsters too. I will try to improve quality of news this week. Ideas about how to achieve that are welcomed.

                      1. 3

                        First of all, congrats on launching!

                        Could you share a bit more of its story? I’m interested whether this service has any basic use case, or you just built it for the fun (which is perfectly fine!)

                        One of the messages says:

                        Messages are grouped in channels like they are on Slack and voted like they are on Reddit. It’s using mentions like on the first version of Twitter. The only thing in common with sublevel.net is the tech stack and the fact is they are both created by me. There’s filtering of bad messages and blocking of multiple consecutive messages. Private messaging will come later.

                        So it’s like Twitter, but messages can be voted, and hashtags define channels?

                        1. 2

                          So it’s like Twitter, but messages can be voted, and hashtags define channels?

                          Exactly. It can be useful for live events, open source feedback like on Gitter, etc. I’m curious where it goes.

                        1. 8

                          Hi, the markup looks solid and neat.

                          1. Is the site open-source?
                          2. Can you share information about the tech stack?
                          3. The page mentions sublevel, created by you, sharing the tech-stack. So I went to the sublevel site from the link in your profile and found a message stating it is “now open source”, but I can’t find a link to the source code repository, will you please share it here?

                          Great job, thanks for posting!

                          1. 5
                            1. Not yet.
                            2. Django 2.0, PostgreSQL, Pillow for images, Gunicorn, Jinja2, Sass for themes, django-cleanup and django-simple-captcha. A VPS form DigitalOcean running Ubuntu 16.04 which is faster than 18.04.
                            3. Released the code for Sublevel then Microsoft acquired GitHub the next day, so I removed it.
                          1. 4

                            Seems nice, any plans to open source the software? And maybe allow federation? Creating an account on a closed-source and centralized service is an insta-no for me unfortunately.

                            1. 1

                              It can be open-sourced. I can allow private access for those who wanna help.

                              1. 1

                                What are the benefits of federation?

                                1. 2

                                  Federation means that a few things become possible;

                                  For one, if you dont trust the admin of your instance or find it has become “toxic” you can switch to another one or start your own.

                                  Secondly, it gives easy support for themed instances, where while the backend remains the same, the frontend parts can be edited to better support a specific interest, mastodon does it very well and secure scuttlebutt can go even further than that.

                                  Also, since people tend to group by interests, it’s not impossible to have an instance be “nazi” themed or “loli” themed, but most federated protocols tend to have an option to ignore part of the federation, not a plus for federation, but more of a reason why it’s not a minus either.

                                  Now this is all made possible by simply open sourcing an application, gitlab and lobsters do that very well. But the implementation of a federation protocol allows all these different instances to communicate together very easily, which strengthens the network as a whole.

                              1. 2

                                Trying to register results in: “502 Bad Gateway”

                                1. 1

                                  That was fixed. Thanks for reporting it.

                                1. 3

                                  @lucian is this an officlal digital ocean project? the footer makes it seem so

                                  1. 4

                                    No, just powered by Digital Ocean.

                                    1. 2

                                      Sublevel has been around for while. I’m curious about the ‘by Digital Ocean’ too. It’s a referral link though, and the DNS and server are provided by Digital Ocean.

                                    1. 1

                                      Bittorrent benefits a lot from UDP while HTTP is restricted by ancient TCP protocol.

                                      1. 2

                                        Technically UDP is 11 months older than TCP. :)

                                        1. 2

                                          What you may mean is, TCP is more specific than UDP.

                                          Quoting a colleague of mine:

                                          You can potentially implement TCP over UDP, but not the other way round.

                                        1. 1

                                          Superintelligence: Paths, Dangers, Strategies by Nick Bostrom

                                          1. 3

                                            Figuring out how do to push notifications for https://sublevel.net and some other stuff.