News for hackers. Stuff that matters.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by dweekly on Tuesday December 03, 2024 @11:11AM (#42307716)
A: This is great! Perl is much maligned but a fantastic Swiss army chainsaw and still runs so much critical infrastructure.

B: I find it concerning that $25k is a notable donation; is the Foundation doing that poorly? I would have hoped this number to have two more digits in it for it to be a front page worthy item.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by myrmidon on Tuesday December 03, 2024 @11:24AM (#42307892)
Regarding B: This tracks with what I've observed in this regard, namely that sponsoring by companies just doesn't work well as business model even for projects where you would assume that it should. The incentives are just not working out, and it seems impossible to mobilize even a fraction of the sums for OSS-donations than what companies burn for much less critical aspects of their operation than OSS tools/libraries/components (or waste outright).

Open source is largely a thing because lots of people voluntarily invest (valuable!) time on their own in my opinion (with corporate sponsorship being almost negligible by comparison).

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by that_guy_iain on Tuesday December 03, 2024 @12:26PM (#42308658)
Most big open-source projects are a thing because a companies invest in it. When we rely on people doing it in their free time what we see is unmaintained software.

The entire idea that open source is volunteer work is largely a myth when it comes to popular open source. Even the ones where you think it's volunteer work they do so much during their working hours that either they're lying to their employer or it's sponsored by their employer.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by creer on Wednesday December 04, 2024 @03:56PM (#42321972)
Isn't it both? In particular dependent on the size of the project?

And it's still easy for individuals to at least contribute detailed problem reports even to very large projects. And these are useful. Even when ignored by the lead mafia.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by gspencley on Tuesday December 03, 2024 @11:26AM (#42307927)
I'm surprised to learn that Perl is still used. Obviously there will always be legacy code to maintain but these days I can't even remember the last time Perl was mentioned in casual conversation amongst my peers unless we're sharing war stories from the 90s.

These days when we find ourselves needing to write a script our first go-to would be bash, and if we need more features or if it's going to be complex enough to have to worry about maintenance costs we'd probably reach for python.

TIL that there is a non-profit foundation that focuses, in part, on supporting Perl. That surprises me to the same extent that I would be surprised to learn that there is a foundation aimed at supporting VB6 (though now watch someone is going to share that there is).

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by lizknope on Tuesday December 03, 2024 @11:39AM (#42308125)
Most of my coworkers above age 45 still use Perl.

I am constantly parsing reports and then generating commands to run from that. I learned Perl in the 90's and it still works great for that.

I have to code in Tcl for most of our EDA tools (chip design) but I still parse reports in Perl. The younger engineers use Python and I've learned enough but I really don't care. I'm not writing big systems or anything in Perl or Python. It's the Tcl code that has tens of thousands of lines because that is what the tools require.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by cafard on Tuesday December 03, 2024 @11:46AM (#42308208)
I was about to say, Hey, I use Perl, but then I saw this posting with the over 45 qualification. Yep, that's me (way over).

Honestly, I write about a script a quarter in Perl, but it definitely is handy now and then.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by gertlex on Tuesday December 03, 2024 @11:51AM (#42308261)
Curious: do you also do script-writing in other languages? And just pull out perl for a subset of problems? Or are most things at the "bigger than a script" level for you?

I'm not here to judge. I still prefer to write my python scripts like it's the 2.7 days... (more effort goes to python "code")

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by cafard on Tuesday December 03, 2024 @01:35PM (#42309555)
Generally, if the script is more than a one-off, I will write in Python, since all the young seem to know Python, and very few seem to know Perl. There are two recurring jobs that I have not rewritten from Perl, one because "pack" is so handy.

The only other language I use much for scripting is Javascript, or rather Jscript, for our accounting department sometimes needs files munged for integration into Great Plains, and I can count on cscript being on the machine and running such scripts.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by kamaal on Wednesday December 04, 2024 @09:36AM (#42317811)
>>since all the young seem to know Python

'I know Perl' people != 'I know Python' people

Perl was/is just so powerful, people have used to do all kinds of things that most people probably don't even have idea can be done. Its some what similar to the power of macros in vim/emacs. People(especially young) are often surprised you can just open vim on a ec2 instance and do something in 30 seconds, they were planning to spend hours/days doing using java+bash or something.

I have both seen and done, people build such extreme, big and hard things with Perl and so quickly, that I'm sure somebody without that context would find it hard to imagine. Im sure you can do in Python, anything you can do in Perl. But definitely not in the same time, not the same size and more importantly- not often.

Programming culture has been trading tool power for beginners ease for decades now, and the market is swamped with tools that appeal and work only for beginners not for advanced users.

In its hey days Perl programmers would do things in a weekend, what the neighbouring Java team had 12 people and a year to do. There is a reason so much was built in Perl in those days. But like most things, money increased, people had lots of time and budget to get things done. Beginner tools got used more often. Perl also got its reputation as a hard to use tool around that time.

But honestly I see so much manual drudgery these days. Its irritating to see that as a Perl programmer. There is nothing more sad that watching people do work, that must be done by a program.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by dazed_confused on Wednesday December 04, 2024 @10:15AM (#42318253)
You're last line is why Larry Wall made Perl. I feel you!
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by creer on Wednesday December 04, 2024 @04:27PM (#42322213)
Do most of them even "know python" or just the crudest parts of python?
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by cafard on Thursday December 05, 2024 @10:35AM (#42329152)
I'm not sure how to answer that. Some can write a short, personally useful script. Some can do much more. Which are the crudest parts of Python, and which are less or not at all crude?
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by creer on Thursday December 05, 2024 @12:28PM (#42330325)
Languages have deep features. That's why people create new ones (except for PHP perhaps). You can write BASIC in any language you want, it's still BASIC.

Languages systems or environments have still other deep features themselves. The library or module systems in Python or Perl or Raku do not work the same.

Being able to write "a short, personally useful script.", is a great start. And does not count as "knowing Python" except for the purpose of inflated resumes. The clichés of complaining about "line noise" or WORN (write once read never) - since the fine article was about Perl - counts specifically as "not having learned Perl".

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by leejo on Tuesday December 03, 2024 @12:45PM (#42308882)
> I'm surprised to learn that Perl is still used.

For this year's London Perl & Raku workshop I shortlisted 70 companies to look for sponsorship. That was with minimal research and effort. These ranged from long term ("legacy") users of Perl to startups. From small companies to very large and profitable fintechs. I cover this briefly in the talk I gave at the end of the workshop: https://www.youtube.com/watch?v=el7qHRpEDeE

Yes, there is far less Perl than there was 20 years ago. But Perl was everywhere at one point, and the halflife of programming languages is long so it's still in a lot of places. Programming languages don't die, they just stop being talked about in favour of the shiny new ones.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by gspencley on Tuesday December 03, 2024 @02:07PM (#42309962)
> Programming languages don't die, they just stop being talked about in favour of the shiny new ones.

You're largely preaching to the choir, I don't disagree with anything you said.

As a web application developer who got started professionally in the 1990s, I not only vividly remember Perl being everywhere, I actively wrote a lot of it.

However, in my more recent experience, it is more likely to hear people talk about COBOL, FORTRAN or C++ than it is to discuss Perl. All of those languages predate Perl.

Java also still gets a ton of discussion and it's not shiny and new anymore.

Most of us who spent time writing and maintaining Perl in the 1990s were all too willing to abandon it in favour of other languages with similar features, not because they were shiny and new but because of major pain points with Perl (it earned the meme that it's a write-only language). In my opinion, Perl's greatest contribution and staying power was it's regex engine and syntax which persists.

I don't even like python, for what it's worth, but it's popular for more reasons than it just being "shiny and new" (to the extent that you can even say that about python these days).

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by leejo on Tuesday December 03, 2024 @03:33PM (#42311012)
I don't disagree with anything you've said either, in fact I've blogged about this at length: http://leejo.github.io/2017/12/17/tpc_and_the_end_of_languag...

My main issue is that "People still use Perl?" has essentially become a meme at this point. I'm relatively sure that any sufficiently commented on or upvoted thread on HN gets that statement in it somewhere.

Yes, Perl is still used. Extensively. People and companies just don't talk about it. That's the problem with Perl these days.

(Personally I think TAP and CPAN were Perl's greatest contributions, as I was never a heavy user of regexp).

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by robertlagrant on Tuesday December 03, 2024 @05:46PM (#42312482)
> People and companies just don't talk about it.

Why not?

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by stackskipton on Tuesday December 03, 2024 @11:22PM (#42314483)
Last company used Perl but we didn't talk about it because it was all frozen. If anyone ever considered touching it for more than 2 hours, it was likely to get rewritten into Python/Powershell. Last perl thing I had touched, entire repo hadn't seen a commit for 4 years until mine.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by leejo on Wednesday December 04, 2024 @02:54AM (#42315381)
> Why not?

I don't know. I could speculate:

  * The Perl they have is so low maintenance they don't think about it much
  * Or they're planning to rewrite it but haven't yet got around to it... after more than a decade?
  * They have nobody working on it that is vocal about it or active in the community/blogsphere/etc
  * The company policy is to not talk about it
  * Or talk about any tech they use - think: banks, large enterprise, fintech
  * Or they're successful enough they don't feel the need to talk about it
  * They're open source tools or distros that have a mass of other tech so Perl gets ignored even though its practically embedded - Linux distros, git, etc
  * The Perl is on the periphery, or not the core logic - test suites (memcached for example), used in build systems, pipelines, Make, oneliners, etc
There's an argument to be had that Perl's strong backwards compatibility has meant it has sat there working in the background for years (decades in some cases). And, as most of us know, when tech "just works" it doesn't get talked about.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by robertlagrant on Wednesday December 04, 2024 @04:46AM (#42315964)
I think that all makes sense. I would perhaps as an outside observer also lay the blame at Perl's feet - with Perl 6 the momentum seemed to crash completely over a decade or so.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by singingfish on Tuesday December 03, 2024 @09:39PM (#42314010)
I think the lack of discussion of perl is in part because from a bird's eye view, python and perl do exactly the same stuff in exactly the same way, but python has the mindshare. Because of perl's depth and flexibility, for the average developer team it can be really hard to manage.

There's a similar story around javascript - note how es6(?) introduced `"use strict"`. Old school javascript always struck me as a bit like crippled perl with really good vendor support.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by whiplash451 on Tuesday December 03, 2024 @12:52PM (#42308971)
You'd be surprised to see how much COBOL is still used as well then.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by kqr on Tuesday December 03, 2024 @01:06PM (#42309153)
In contrast to other people, I'm fairly young (low 30s) and I use Perl a lot. I've outlined my reasoning before[1] but it boils down to (a) very quick to get going, (b) runs everwhere I care about, (c) great compatibility story, and (d) can scale up to large applications in a pinch.

[1]: https://entropicthoughts.com/why-perl

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by worik on Tuesday December 03, 2024 @01:42PM (#42309634)
> these days I can't even remember the last time Perl was mentioned in casual conversation amongst my peers

You need better peers

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by markstos on Tuesday December 03, 2024 @05:00PM (#42312034)
DuckDuckGo is written in Perl. As a business decision, it's cheaper to keep Perl working then replace it.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by koito17 on Tuesday December 03, 2024 @07:07PM (#42313142)
Practically all Japanese BBS in use today are written in Perl. They are either proprietary CGI scripts or a proprietary fork of an open-source software like WebPatio[0] and Zero-channel Plus[1].

[0] https://www.kent-web.com/bbs/patio.html

[1] https://ja.osdn.net/projects/zerochplus/

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by toast0 on Tuesday December 03, 2024 @11:54PM (#42314583)
> these days I can't even remember the last time Perl was mentioned in casual conversation amongst my peers

I mean, what's there to talk about? It's there, it works, not an exciting subject. It's like municipal water (if you have it), it's indespensible, but what is there to say about it. (Unless it has stuff in it you don't want)

I did get some flack for writing a perl script for work recently, but I had some rubbish to list, and it does the job quite well.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by elevation on Tuesday December 03, 2024 @12:04PM (#42308417)
My sense is that perl deployment is declining as it's replaced with better tools. What infrastructure is perl running?

I started playing with Ubuntu in 2006. Exploring the system, I'd come across system scripts in perl here and there, but Lennart Poettering has gradually displaced these with unit files that are much easier to read.

These days I may invoke perl occasionally. A few years back I used checkconfig.pl to build a slimmed-down kernel config for an embedded board. I expect it will eventually be phased out of these peripheral utilities.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by rglullis on Tuesday December 03, 2024 @11:55AM (#42308310)
It is mind boggling how much funding there would be for the Gimp/Krita/Inkscape/Penpot developers if every designer gave them 5% of what they give to Adobe.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by miohtama on Tuesday December 03, 2024 @12:34PM (#42308770)
This is correct and sad.

Open source would be much better with sustainable funding models. But hard to see how this could happen in SaaS dominated modern world.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by rglullis on Tuesday December 03, 2024 @01:42PM (#42309638)
We "just" need to flip the narrative. Let's stop talking about "services" that people need to pay for and make FOSS something that people invest so they can (collectively) own later.

People love to shit on crypto, but no other industry got so many small-scale, open source projects that got funded when people have high hopes of making bank from it.

I wonder if we could get people to invest in open source projects that were tied to a short position on the proprietary counterpart.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by soygem on Tuesday December 03, 2024 @05:09PM (#42312138)
It would be better off if people stopped using cuckold licenses like MIT, instead of GPL and its various strains.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by cardanome on Tuesday December 03, 2024 @05:08PM (#42312127)
They kind of suck at asking for donations.

Look at Wikipedia. They are grossly OVER-funded, they have more money they could ever need in fact And they run purely on donations.

I always wanted to donate for Firefox but they don't offer me an option to do so.

Or look at Gimp: https://www.gimp.org/donating/

Not clear call to action. Lot's of confusion options. Not the best marketing.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by whiplash451 on Wednesday December 04, 2024 @04:19AM (#42315818)
You are welcome to propose more efficient ways of funding OSS.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by pjmlp on Wednesday December 04, 2024 @04:04AM (#42315730)
Same applies to most open source tools, that many devs use while expecting themselves to be paid.

I usually buy books from most projects I use, do occasional donations to projects when they are relevant enough for my work,...

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by whiplash451 on Wednesday December 04, 2024 @04:19AM (#42315812)
Indeed. What concerns me is that with the current AI trends, the amount of funding that the Adobes of the world will put into AI for their products will only widen the gap between OSS and proprietary solutions.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by rglullis on Wednesday December 04, 2024 @06:00AM (#42316337)
I see it as an opportunity. "Libre" models are already matching state-of-the-art models, so it's not like this power will not be available to the OSS developers.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by whiplash451 on Wednesday December 04, 2024 @07:54AM (#42316967)
Indeed but adapting the open models to the product costs massive amounts in compute and engineering.

Not sure the oss community can keep up.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by autarch on Tuesday December 03, 2024 @11:12AM (#42307733)
Here's some details about the foundation's financials - https://blogs.perl.org/users/makoto_nozaki/2024/10/understan...
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by riffraff on Tuesday December 03, 2024 @12:09PM (#42308478)
I don't understand why grant expenses surged in 2023 if revenue was going down.

I wish the Perl foundation good luck.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by verelo on Tuesday December 03, 2024 @11:22AM (#42307859)
So yeah, they’re doing rough…

Not sure what the path out here is? Seems like either finding deep pockets that care about their work or some new revenue stream, but without the cash to fund it I’m not sure how.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by stevenally on Tuesday December 03, 2024 @11:47AM (#42308218)
Maybe programmers at companies using Perl get together and raise the issue with management? It is a bargain. Imagine the cost of having to rewrite all that Perl.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by portaouflop on Tuesday December 03, 2024 @11:26AM (#42307941)
Stop doing it for free it the only way, OSS projects that rely on donations almost always do badly economically
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by knowitnone on Tuesday December 03, 2024 @11:35AM (#42308070)
ok. say they charge every user or business $100 a year. that would certainly kill off Perl
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by portaouflop on Tuesday December 03, 2024 @03:52PM (#42311254)
I’m not saying it’s practical right now, but yea the death of Perl is the only thing that can make it profitable.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by infecto on Tuesday December 03, 2024 @12:28PM (#42308677)
I don't know the dynamics of this board but does anyone else find it strange that the secretary is digging through public documents to generate a post outlining finances? Is that not what the treasurer should be helping with? Then the treasurer makes a public comment to the post? Feels very strange to me.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by autarch on Tuesday December 03, 2024 @01:55PM (#42309814)
Just to clarify, Dan Wright is the former treasurer. He retired from the TPRF board back in 2020 (https://news.perlfoundation.org/post/board_update_tpf_treasu...).

But to answer the bigger question, yes, I think this was a bit weird. I was also on the board for a while, and I think we did not do a good job of reporting on and monitoring financials. This was one of my frustrations with the organization, and part of the reason I stepped down from the board (though there were other, bigger, reasons not related to the board as well).

In fact, I had made the same points as Makoto does in his blog post maybe 1-2 years earlier in a board meeting. We were running a constant deficit and we didn't seem to have a clear plan for what we would do if that continued.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by caseyy on Tuesday December 03, 2024 @11:15AM (#42307770)
Perhaps it was not meant to be a flashy donation but a medium-sized one. It is still an act of good.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by dtquad on Tuesday December 03, 2024 @11:41AM (#42308139)
Plenty of talented developers in Eastern Europe who are $25k or cheaper.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by miroljub on Tuesday December 03, 2024 @11:48AM (#42308227)
Good luck finding just one talented developer in Eastern Europe willing to work for 25k or cheaper.

Thanks to globalisation, those times are long gone. Any mediocre developer can find a local employer that pays at least that much.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by creer on Wednesday December 04, 2024 @04:04PM (#42322040)
Projects don't often demand full time work. A quarter-time work from an effective developper is a lot of work.
Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by dale_glass on Tuesday December 03, 2024 @12:37PM (#42308793)
Perl used to, but I'd say not anymore at this point.

Many of the big Perl names long moved on; CPAN is full of abandoned modules. And the world doesn't sit still.

So as time goes by, there's more and more risk of you finding out that some Perl module you're using no longer works. It may not build because of API changes in the C library, or the API of some web service changed, or there isn't an API at all for some pretty big thing that showed up 3 years ago.

That didn't use to be the case.

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by whiplash451 on Wednesday December 04, 2024 @04:16AM (#42315792)
Given the number of private companies that rely on Perl, $25K is in the ballpark of what _each_ of these companies should contribute to the Perl community.

DDG is not responsible for the greed of companies that contribute zero.

I applaude DDG's decision. Their move is pragmatic and a lot more inspiring to the companies out there than day-dreaming of a single company donating 7- or 8-digit to the Perl community (which, frankly, would not be sane either).

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by DanielHB on Wednesday December 04, 2024 @08:37AM (#42317300)
> A: This is great! Perl is much maligned but a fantastic Swiss army chainsaw and still runs so much critical infrastructure.

You know, I hear this a lot (especially earlier in my career) but I _never_ ran into any system made in perl, ever. I started my professional career in early ~2010 and have been programming since ~2005.

Maybe they are just very black box-y and I don't even know that the underlying stack is perl?

Re:DuckDuckGo Donates $25,000 to the Perl and Raku Foundation by dazed_confused on Wednesday December 04, 2024 @10:10AM (#42318201)
take a look under the hood for any Linux distro