Live data from Hacker News

93% of Paint Splatters Are Valid Perl Programs

colinm.org

61–70 of 135 posts

Re: 93% of Paint Splatters Are Valid Perl Programs

#61
post #33

Earlier quoted context omitted.

The parent nailed it. It's easy to complain about PHP from various standpoints both pragmatic and PL-centric, but it has an amazing superpower which might be summed as "serverless for the web, v0".

No deployment setup will ever match the pure joy of dragging a .php file into WinFTP, watching the little blue progress bar, and refreshing your browser.

Yes! But not exactly relevant: this deployment technology is supported by Perl/CGI just as well.

Re: 93% of Paint Splatters Are Valid Perl Programs

#62

I wonder how much of Perl's decline can be attributed to the Duke-Nukem-Forever-tier delay in releasing perl6. It seemed like so much of the web ran on it in the late 90s and early 2000s that it would have at least as much traction as PHP does today.

Perl6 was a reaction to Perl's loss of mindshare, not its cause.

One can speculate what might have happened if focus had been put on evolving Perl5, or getting Rakudo production-ready as-is instead of going through yet another round of 'tinkering' (eg making the compiler backend-independent, the New Object Model refactor, creation of MoarVM, the Great List Refactor, ...) - however my crystal ball seems to be broken and just continues to display 42 no matter the question...

Re: 93% of Paint Splatters Are Valid Perl Programs

#63

I miss Perl. Why did PHP win again, in the late 90s? (though I'm mostly Python these days and shan't complain, there was a good 10 year stretch of PHP there I'm not proud of).

PHP won because you just wrote the code and it worked. With Perl you had to deal with the cgi interface which was a pain. Mod_perl came later. PHP was just extremely easy to get started with — you did t need to really understand Perl modules, the cgi spec, or anything to get started with it.

Re: 93% of Paint Splatters Are Valid Perl Programs

#64

> source code not available yet because i am bad at GitHub I had to chuckle at that. The whole this is so ridiculous and it's wonderful :D

The paper is part of the SIGBOVIK "conference" that takes intentionally funny computer science papers (of varying degrees of rigor) every year. This paper is in good company alongside "Aumann agreement by combat", "Survival in chessland" (an investigation of what chess piece you want to be to minimize your chance of being captured in a game), "NaN gates and flip FLOPS" (re-representing binary operations as valid floating-point logic on NaN and inf, then building a hardware implementation of a machine that computes on that logic using standards-compatible floating-point representations of those values), and "Need more RAM? Just invent time travel!"

Full proceedings document for this year: http://sigbovik.org/2019/proceedings.pdf

Re: 93% of Paint Splatters Are Valid Perl Programs

#65

> Also, ImageNet’s website was down on the day that we decided to perform this research. We therefore paid an unemployed person to download 100 examples of paint-splatter artwork by searching Pinterest using the query “paint splatter wallpaper”. Such brutal honesty would be welcome in other papers.

The author recently quit Google[0], so I believe he's unemployed. I think that's the joke (also, he really likes his memes).

[0] https://mobile.twitter.com/mcmillen/status/10863837264504053...

Re: 93% of Paint Splatters Are Valid Perl Programs

#66
post #14

Earlier quoted context omitted.

PHP won because it was easy to install and restrict (by memory usage) on shared servers, as well as the fact that writing a PHP script was as simple as renaming an .html file to .php so web designers who wanted some dynamic functionality could use it really easily. As bad as some aspects of PHP were, making it so trivial to install and make available on a server was a brilliant move that lots of languages could still…

Interesting. Similar to how typescript can be added with a rename from foo.js to foo.ts.

even on something with dependencies? i.e., with a few requires or ES2016 imports?

Re: 93% of Paint Splatters Are Valid Perl Programs

#67
post #47
post #13

Earlier quoted context omitted.

Because for anything you wanted to do there were 6 different ways to do it in Perl, making it rather hard to learn Perl. Perl also looks like line noise, which makes it hard to read. PHP also won because you can take a .html file add and it's a valid PHP program. Perl was harder.

It only looks like line noise if you make it look like line noise.

And people did. And other people celebrated. Context is a lot.

Re: 93% of Paint Splatters Are Valid Perl Programs

#68
post #61
post #33

Earlier quoted context omitted.

No deployment setup will ever match the pure joy of dragging a .php file into WinFTP, watching the little blue progress bar, and refreshing your browser.

Yes! But not exactly relevant: this deployment technology is supported by Perl/CGI just as well.

Definitely. I wasn't trying to be relevant so much as I got nostalgic at the mention :)

Re: 93% of Paint Splatters Are Valid Perl Programs

#69

> Also, ImageNet’s website was down on the day that we decided to perform this research. We therefore paid an unemployed person to download 100 examples of paint-splatter artwork by searching Pinterest using the query “paint splatter wallpaper”. Such brutal honesty would be welcome in other papers.

> We therefore paid an unemployed person

> Such brutal honesty would be welcome in other papers.

To say nothing of the commitment to employment fairness!

Post reply on HN