1. 10

    Is there some kind of law that says that all forums must be written in PHP?

    1. 6

      Probably something in economics, yes. PHP shared hosting is cheap, ubiquitous, and as easy as pasting in a line or two of database config and FTPing files into place, with an incredible amount of educational and helpful information out there.

      Other languages and toolchains have deploment stories that very little like “Look up and paste one thing, then drag and drop some files and call the customer support number if anything goes wrong”, even if they can squeeze the app and database into a $5/month VPS.

      1. 1

        I was annoyed by this as well, and wrote a classic bulletin-board-style forum in Ruby with Padrino (not Rails). It is not completed yet, neither is it full of this juicy web design, but it does work and powers the forum of another of my OSS projects. Code is on GitHub, live instance running here.

        1. 1

          @xmc There is no shortage of non-PHP forum software, but PHP is ubiquitous. I think it’s that more people will develop plugins / contribute to open-source projects if they already know the language, and more people will install PHP software if they already have shared hosting sitting there.

          I’ve run NodeBB, and now Discourse, specifically to get away from PHP forums like Vanilla and PhpBB, because I assumed that all PHP forum software was clunky or outdated. But I’m paying $10/mo for a Digital Ocean droplet to run Discourse (which needs a minimum of 1GB RAM just to run, and 2GB to run with traffic). I’ve investigated a lot of forum software and Flarum is the closest I’ve found to Discourse — and you can just throw it up in a shoddy shared host without spending a lot of time deciding if your idea actually deserves the $120/yr it takes to run Discourse … or the headache it takes to keep NodeBB alive :)

        1. 1

          I implemented this a while ago also, but got shut down within a few days by spam reports. I wonder what this person did differently.

          On second thought, having the bio read “I am a very poorly disguised robot” might have been a bad choice.

          1. 2

            RobustIRC uses HTTP polling instead of a streaming protocol? That’s just … ludicrous. Why not use SCTP like adults?

            1. 2

              HTTP is the new TCP.

            1. 2

              At work, I’m creating a map renderer using live data. This is my first time using Python for a serious web service, and Flask is going all right.

              At home, I’m trying to get YATE to speak ISDN. It’s slow going.

              1. 8

                If you like strace, you might like ltrace even more. Strace dumps system calls, while ltrace dumps all calls into shared libraries.

                1. 1

                  ltrace also supports display syscalls alone or in conjunction with library calls, so you may not need more than ltrace

                  1. 12

                    The only thing I wonder about is why people still get surprised about this. It’s facebook. It’s the company that’s tracking you on basically every website you visit. Even when you’re not logged in.

                    1. 2

                      I think it’s wise to try to be aware of and not reinforce “facebook is creepy and everything they do is evil by default” bias. Any key presses, scrolling, or mouse movements on a website can be sent to the server. This is the nature of the browser. If you don’t want a website to have access to something, don’t type it into the website!

                      1. [Comment removed by author]

                        1. 6

                          Don’t we already have them? You can send messages to someone with email (which, if you’re all old school like me and use a local client, doesn’t transmit anything until you send it). You can at least choose to build websites that don’t have any facebook integration, like lobsters. You have perhaps somewhat less choice in the sites you visit, though.

                          I’m entirely sure what you mean by “this sort of thing” or how one could build systems where it’s not possible. Do you want to disable javascript? Cross domain links? img tags?

                          1. 2

                            Actually, I do block 3rd party js by default, and facebook and google are on a special blacklist for images and css. I love uBlock.

                        2. 1

                          It’s the company that’s tracking you on basically every website you visit. Even when you’re not logged in.

                          Curious what you mean by this, the-kenny?

                          1. 6

                            “Facebook shadow profile”

                            1. 5

                              Shadow profiles, coupled with the ubiquitous ‘Like’ button.