Bonum Certa Men Certa

Why We Moved to Perl and Dumped PHP Last Year

posted by Roy Schestowitz on Dec 05, 2024

Elongating the lifetime of the underlying stack

The grumpy cat winter: This is our nineteenth year

TODAY in IRC one recurring topic was Perl, the context being this malicious Microsoft proxy giving Perl money (after Perl had already outsourced way too much to Microsoft's GitHub). In the main channel, #techrights, I explained that we had dragged on and on a serious technical debt problem. A lot of our work - or "content" as companies like to label people's hard work - was 'stuck' inside mountains of PHP code (content management systems) and the databases became as large as 10GB (only accessible using bloated software such as MariaDB or Oracle's MySQL).

We solved this by exporting the data using Perl (via SQL queries) and instead created a system using Perl. It's our own system and we extend it based on our needs, not some "one-size-fits-all" grand scheme a la Drupal and WordPress. We strongly encourage other sites to do the same if they value longevity and appreciate the merits of general simplicity (never pursue anything beyond the basics; it can become a maintenance overheard, source of bugs etc).

Linux is a cautionary tale in that regard and Rust will worsen things rather than address the issue of overflows. A lot of what we said in 2022 turned out to be true if not prophetic. But Rust is a story for another day, some other time...

Perl is an old language and our choice of it wasn't made based on hype or fashionable trends. In the word of an associate, Perl is the go-to tool for many things. Python may have the backing of Microsoft and others, and thus more progress in the libraries/modules these days, but the core language is far better with Perl. It's in the lead for regex and is easy to write clearly understood code. Unfortunately the whisper campaign against it points out that one can write poorly understood code too easily as well.

It is up to the programmer, according to this associate. "There is / was also the problem that as Perl peaked, it was the trend to show off and write as intricate and complex systems as you could. It was showing off rather than the intentional obfuscation you get nowadays with systemd."

For a number of years we ran on Alpine Linux, i.e. no systemd. But sadly it has become increasingly hard to run some particular software on operating systems which lack systemd (and GNU, by default).

We no longer use PHP. We need not worry about some future version of PHP coming out and breaking compatibility (notorious trait of PHP; it breaks "old" software and I grew tired of hacking on PHP code when it kept happening since 20 years ago). With Python 3 we can see that Python too is vulnerable to general disregard for backward compatibility. We don't use Python for the Web site anymore.

Other Recent Techrights' Posts

Daniel Pocock's ClueCon 2024 Presentation Was Also Streamed Live in YouTube and Later Removed by Google, Citing "Copyrights". Now It's Back.
The talk covers social control media, Debian, politics, and more
Improving Daily Links by Culling Spam, Chaff, and LLM Slop
the Web is getting worse
[Meme] EPO Targets
Targets mean nothing if or when you measure the wrong thing
The EPO is Nowadays Trying to Trick Staff Into Settling Instead of Solving the Underlying Problems of Corruption and Injustice
This seems like a classic case of "divide-and-rule" or using misled/weak people to harm the whole group (or "the village")
Richard Stallman 'Unveils' His January 20 Talk in Montpellier, France
It's free (gratis)
 
Links 20/01/2025: Conflict, Climate, and More
Links for the day
Gemini Links 20/01/2025: Conflicted Feelings and Politics
Links for the day
Google 'Cancels' RMS
Is the talk happening?
Microsoft Revisionism Debunked by Microsoft's Own Words About “the Failure of OS/2”
The Register on “the failure of OS/2”
Links 20/01/2025: Indonesia to Prevents Kids' Access to Social Control Media (Addiction and Worse), Climate News Catchuo
Links for the day
EPO Union Says Monopoly-Granting Targets at EPO "Difficult to Achieve Without Compromising [Staff] Health, Personal Time or the Quality of the Final Products" (Products as in Monopolies, Not Real Products)
To those of us (over 99.999% of people impacted by this) who do not work at the EPO the misuse of words like "products" (monopolies are not products) should be disturbing
Links 20/01/2025: More PR Stunts by ByteDance and MLK’s Legacy Disrespected
Links for the day
Gemini Links 20/01/2025: Magnetic Fields, NixOS, and Pleroma
Links for the day
BetaNews Spreads Donald Trump Propaganda, Promotes Scams, and Publishes Fake 'Articles' About "Linux"
This is typical BetaNews
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, January 19, 2025
IRC logs for Sunday, January 19, 2025
Links 19/01/2025: Gaza Ceasefire and PR Stunt by Fentanylware (TikTok), Faking It by "Going Dark" to Incite American Addicts (Users)
Links for the day
[Meme] Hardware RAID and Hardware Raid
We're expecting attacks on the press in Trump's second term (no need to impress anyone for another election cycle) to be far worse than the first
What's Running on the Laptops
12 months have passed
They Won't Buy Vista 11 PCs or "Hey Hi" Copilot+++++++ PCs of Microsoft (With TPM)
Windows at 8%
No Time Left for President Biden to Pardon Julian Assange
At least they tried
[Meme] 404, Not Found
Kuhn: I'd like to interject for a moment, we made an alliance with the Microsoft-dominated LF to outsource projects to Microsoft GitHub and rich people gave us money to do this
Total Lock-down Ambitions - Part IV - The Latest Examples and the Perils (in Summary)
For further reading take a look at Musial's nice outline
FOSDEM is Called "FOSDEM" Because of Richard Stallman (RMS)
The overlap there seems timely; yesterday RMS spoke in French-speaking (in part) Switzerland where questions in French were accepted
Links 19/01/2025: TikTok (Fentanylware) Now Banned in the US, Convicted Felon Talks to Fentanylware CEO and Pooh-Tin About Undoing the Ban Despite the Supreme Court Unanimously Upholding It
Links for the day
FTC Realises Microsoft Buying Fake 'Clients' to Fake "Revenue" (Microsoft 'Buying' Services and Products From Itself!)
Ponzi scheme
Total Lock-down Ambitions - Part III - The Web Browser as DRM Pusher
A lot of "streaming" stuff is DRM
Video: University in Peru Honours Richard Stallman
Tomorrow, January 20, Richard Stallman speaks in France
IBM Termination Story and Information From Microsoft About Mass Layoffs
In 2 weeks of 2025 Microsoft already had 2 waves of layoffs
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, January 18, 2025
IRC logs for Saturday, January 18, 2025
Links 18/01/2025: Restoring the Great Wall of China and Economic Expansion in China
Links for the day
Guardian Digital (linuxsecurity.com) is Spamming the Web With Microsoft's Promotional LLM Slop About UEFI 'Secure' Boot (Which is Against Real Security)
This is an attack on honest journalism
Links 18/01/2025: TikTok's Endgame, "Car Freedom", and Spying in Cars 'Fines' GM (Settlement)
Links for the day
January 20: Richard Stallman Talk in Europe
evening time in Europe, around midday in the United States and Canada
Links 18/01/2025: Apple Getting Out of Hey Hi (AI) Slop (Too Much Misinformation), Chaffbots/Chatbots Try to Settle Copyright Infringement Lawsuits
Links for the day
What Fake News Sites Are Doing to GNU/Linux
The LLM slop about Linux serves two purposes
Links 18/01/2025: Microsofters Upset at Microsoft's Ridiculous Rebrands (Excuse for Massive Price Hikes), Chaffbot Company ('Open'AI) Faces More Lawsuits
Links for the day
Gemini Links 18/01/2025: Surge in Illnesses, ctags, and Gemsync
Links for the day
Slopwatch: Too Lazy to Write Real Articles, Offloading to Chatbots Instead (LLM Slop About "Linux")
The Web was already full of garbage before the LLM frenzy. Now it's even worse.
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, January 17, 2025
IRC logs for Friday, January 17, 2025