Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
And you have to remember that a lot of this code is just not in reproducible environments. So there's a fair chunk of setup effort involved in even getting an LLM to be able to safely work on it.
Like I say, the "left behind" tax is a serious problem with this stuff.
Replies (1)
Most people expect community-code PHP sites to fall apart eventually, as the people that deployed the host are usually already at another company years later.
Usually the fix is to spider a site into static html content, and nuke the dynamic rotting framework part from orbit. =3
Replies (2)
Nothing that has survived into this problem space is throw-away, or it would have been thrown away.
There's a lot of solid, boring, just-works PHP that nobody has touched because it works, that now won't run on enforced newer environments because of deprecations. And as the pace of PHP improvement sped up around 8.x, so did the pressure to leave that working code on older PHP versions.
Replies (1)
Replies (3)
Replies (1)
But then I believe this of all interpreted languages now.
Replies (1)
The idea of building flawless code in complex patterns is naive, as at scale the improbable becomes a certitude. The Erlang interpreters have live internal state debugging as part of the API, and is compatible with constraint programming paradigms (list comprehension feature is somewhat functionally similar.)
Some other projects that I've found surprisingly reliable over the years. =3
https://www.rabbitmq.com/
https://www.phoenixframework.org/
Replies (1)
Yes, though it's not the brokenness that concerns me about interpreted languages, but the interpreter attack surface (and the fact that without care, a supply chain attack can put code on your server that you never run and would only be useful to an attacker). Also that your job each time there's a security issue is to update all these packages and the interpreter, not just your app.
For example, the PHP2shell stuff was absolutely nothing to do with anyone's code; that is what made it so exhausting. No amount of good practice in a code context can save you when the interpreter's interface to the webserver is the target of the attacks.
It's not the only reason I am giving up on clever interpreted languages; smaller open weights LLM performance is another. But it is one.
My modestly-sized deskbound clanker sidekick and I are having fun writing a Swift app at the moment, and it seems highly capable of it. But it likes Golang a lot more. It's more metallic and beepy-boopy, I think. Elixir does seem to be a potential candidate too. Been a while since I looked, but I liked it as a human.