HNHacker News
TopNewBestAskShowJobs

davorg

370 karma · joined August 17, 2011

[ my public key: https://keybase.io/davorg; my proof: https://keybase.io/davorg/sigs/Lt8M8ofQGtZt0laOkPkKT-E1HoV9KsdDApfmpNODNg0 ]
submissionscomments
davorg··on What Killed Perl?
Let's not forget that Perl 6 was announced because Perl 5 usage was already stagnating. Perl 6 was supposed to fix that problem. But it ended up making it worse.
davorg··on What Killed Perl?
> The backwards incompatibility of Perl 6 absolutely killed Perl.

I think the backwards incompatibility was a minor issue compared to how long it took for Perl 6 to be released. It was eighteen years from the announcement to the first (just barely) usable release. And for a lot of that time, I was hearing tech leads say things like "we don't want to start this project in Perl 5 if Perl 6 is just around the corner."

At some point, they changed the narrative from "Perl 6 is the next version of Perl" to "Perl 6 is a sister language to Perl" - but they should have renamed it at that point instead of waiting another 5 years.

It's worth remembering that the Perl 6 project was started because Perl usage was stagnating. But the project was so badly managed that it killed off both Perl 5 and Perl 6 (now renamed Raku).

davorg··on Modern CSS Daily
I want to teach myself modern CSS. Other people might find it useful too.
davorg··on I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
> The whole thing was written in perl 4 style OO Perl

What does that mean? Perl's basic OO support (using blessed hash references) was introduced with Perl 5 in 1994. I have no idea how anyone would even attempt writing OO code in Perl 4.

davorg··on GitHub Actions Essentials
I wrote the book that I wish had been available when I started using GitHub Actions
davorg··on What Happened to Perl 7?
Hey, it worked for the COBOL crowd 25 years ago :-)
davorg··on What Happened to Perl 7?
> I think this was because Perl's early success in the 90s was based on CGI.pm, not frameworks.

Exactly, the second wave of dotcom software was largely written using frameworks that built on the mistakes we'd been making in the first wave.

And because, so many programmers had memories of horrible experiences trying to beat Perl/CGI applications into submission, it was probably too late for Perl even then - although a large number of excellent Perl tools (Catalyst, DBIx::Class, Template Toolkit, Moose, PSGI to name just a few) were emerging at about the same time as Ruby on Rails or Django.

davorg··on What Happened to Perl 7?
> Perl never had this kind of traction afaik - yes many scripts were written on Perl but not many .com companies were based on it.

Were you around for the first (pre-2000) dotcom boom? From where I was sitting (freelancing in London) it sometimes seemed that all of the first wave of dotcom companies were writing their apps in Perl.

In fact, I've often thought that a lot of Perl's current bad reputation stems from this generation's CTOs and dev managers being people who suffered writing those Perl web apps at a time when no-one knew how any of this stuff was supposed to work and careful design went out the window in the rush to get things to market before the bubble burst.

davorg··on What Happened to Perl 7?
I'm semi-retired. I have a part-time contract maintaining a system I worked on a few years ago and I pick up other bits of freelance work from time to time.

And I've been prototyping a few project ideas (in Perl) to see if any of them could be a sustainable source of passive income. Of course, if any of them grow to the extent that they need a development team, I'll need to rewrite them in a more sustainable language.

davorg··on What Happened to Perl 7?
> The ecosystem is also pretty much dead, it's not unusual to find bugs in packages where the issue tracker hasn't been responded to in 10 years, and the issue for the bug you're interested in has been languishing for literally years.

Yes. Very much this. Anecdotally, I'd estimate that, outside of the big, well-known modules, about 25% of the CPAN modules I try to use have bugs that render them unusable and unresponsive maintainers.

Here's a description of an example I found last year - https://dev.to/davorg/failing-to-get-product-information-fro... (my project to write a replacement module has stalled).

davorg··on What Happened to Perl 7?
Speaking as a London-based freelancer specialising in Perl, I can tell you that the number of companies developing new systems in Perl is tiny (like, maybe, half a dozen).

Until four or five years ago, there was still plenty of maintenance work to be had, but even that has pretty much dried up now.

davorg··on Perl.com Taken over by Domain Squatters
Historically, it was the Perl web site for a long time. It was registered by Tom Christiansen in 1994 and soon afterwards, he let O'Reilly run it - and they used it to post useful Perl news and articles for a long time.

But O'Reilly's interest in Perl waned and it sat, moribund, for several years (which probably explains its lack of Googlejuice).

A few years ago, the Perl community approached Tom and he let them take over running it. The team behind the PerlTricks web site ported over all the old articles and had been posting new ones. It had become a pretty useful resource again.

So, yes, it would be a shame to lose it. But from what brian has posted elsewhere on this thread, that seems unlikely to happen.

davorg··on Perl.com Taken over by Domain Squatters
It was supposed to be some kind of link-up between Perl 5 and Perl 6.
davorg··on Perl 7 is going to be Perl 5.32, mostly
I wish :-)
davorg··on Data munging with Perl ebook for free
I wouldn't really describe it as an ebook. It's just the PDF that Manning made back in 2001 when the book was published.

I'm getting reports that the PDF looks horrible in various Linux PDF readers. I'll see what I can do about regenerating it using more standard tools and fonts.

davorg··on The Long Death of CGI.pm
> Actually Matt's stuff DOESN'T use CGI.pm

Yes. That's the point I was making.

davorg··on The Long Death of CGI.pm
> Well file a bug, I guess.

That's not going to fix Centos 6 and 7 - both of which are mainstream in the web hosting industry right now.

And I've had this conversation with the Red Hat Perl packagers. They can't see the problem.

> The RPM packaging is (also IMHO) more rational.

To be clear, I also like the way that Red Hat splits the Perl RPM into individual RPMs for each module. My argument is only with the set of these RPMs that are installed alongside the main perl RPM.

> Who uses web hosting these days anyway, when you can fire up a cloud instance and install whatever you like?

Not you and me, of course. But I'm talking about people with no technical knowledge who rent some cheap web space and run a CGI guestbook program.

We could just ignore them. I suppose. Let them all switch to PHP. To be honest, I think most of them have already gone down that route.

davorg··on The Long Death of CGI.pm
That was a conversation that was finished 18 months ago. I'm not sure that anything can be gained by rehashing it. The best we can do is deal with the consequences.

The discussion is at http://www.nntp.perl.org/group/perl.perl5.porters/2013/05/ms... if you want the full details. But ultimately, I think they decided that having the module in the core was tantamount to a recommendation for its use.

davorg··on The Long Death of CGI.pm
It's not nonsense. That is what they do.

And, yes, it's easy enough to fix that (pointing that out was one of the main points of my article). But we're talking about low-end web hosting services where the web site owners don't have the root access to do that and the service providers either don't know what is missing or don't care about Perl enough to bother fixing it.

davorg··on The Long Death of CGI.pm
Yes. And I mention both of those commands in the article.

The point is that the standard perl RPM does not contain everything that you would expect to see in a Perl installation. And whilst I agree that it is simple enough to fix that situation, many people running low-end web hosting services don't realise that the standard Perl installation is stripped back and don't do anything to rectify this - as demonstrated by the example in my article.

I really don't mind Red Hat providing a standard stripped-down Perl RPM. I just wish they had called it "perl-minimal" or something like that, saving the name "perl" for the full Perl RPM.

davorg··on The Long Death of CGI.pm
The really galling thing is that Matt's scripts will continue to work find in this post-CGI world. The nms versions were written to the best practices of 2000 and therefore need CGI.pm.
davorg··on Perl's Problems
Oh, I agree completely. But Larry Wall has ruled out that possibility.
davorg··on Perl's Problems
But that's my point. People do understand how version numbering works. But Perl is trying to change that by saying that Perl 6 isn't the next major version of Perl - it's just another language in the Perl family. I think that just confuses people.
davorg··on Perl is 25 years old today
That's the same age as Perl 5.