93% of random OCR outputs are valid Perl programs. The paint splatters are a distraction.
93% of Paint Splatters Are Valid Perl Programs
71–80 of 135 posts
Re: 93% of Paint Splatters Are Valid Perl Programs
#72Because of the frequency I see undecipherable strings like this in actual Perl code, I don't like Perl the programming language. However, I love Perl the project. Take a look at the config file for Perl and how many systems and architectures it accommodates: https://github.com/Perl/perl5/blob/blead/Configure It's clearly such an incredible labor of love by Larry Wall et al. that I'm sad for them it isn't more popular…
25249 lines (23725 sloc)
Good grief. This is incredible. Thanks for sharing that.Re: 93% of Paint Splatters Are Valid Perl Programs
#73Because of the frequency I see undecipherable strings like this in actual Perl code, I don't like Perl the programming language. However, I love Perl the project. Take a look at the config file for Perl and how many systems and architectures it accommodates: https://github.com/Perl/perl5/blob/blead/Configure It's clearly such an incredible labor of love by Larry Wall et al. that I'm sad for them it isn't more popular…
> Take a look at the config file for Perl and how many systems and architectures it accommodates: https://github.com/Perl/perl5/blob/blead/Configure 25249 lines (23725 sloc) Good grief. This is incredible. Thanks for sharing that.
Re: 93% of Paint Splatters Are Valid Perl Programs
#74Earlier quoted context omitted.
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
#75I 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).
Re: 93% of Paint Splatters Are Valid Perl Programs
#76I love this footnote so much: > This feature does enable a neat quine: the Perl program “Illegal division by zero at /tmp/quine.pl line 1.”, when saved in the appropriate location, outputs “Illegal division by zero at /tmp/quine.pl line 1.” The reason for this behavior is left as an exercise for the reader.
> (To be fair to Perl, when perl is run with the -w flag to enable warnings, it does helpfully inform the user that at some point in the future, the Perl developers will most likely pick gggijgziifiiffif as a new reserved word:
>> Unquoted string "gggijgziifiiffif" may clash with future reserved word at - line 1.)
Re: 93% of Paint Splatters Are Valid Perl Programs
#77I recently wrote a little program that will create a Markov Chain from on our perl codebase, generate a few sentences and check against `perl -c`. It takes less than 10 attempts to generate a bunch of lines of [very funny] valid Perl code.
Re: 93% of Paint Splatters Are Valid Perl Programs
#78Re: 93% of Paint Splatters Are Valid Perl Programs
#79Earlier 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.
Of course, I don’t run it like this in production (to refresh the production app I have to go to "/reload" from a certain IP address and be logged into the admin account).
Don’t worry: the “old ways” are still here, even if no longer mainstream.
[0]: http://wiki.call-cc.org/eggref/5/awful#a-hello-world-example
[1]: http://wiki.call-cc.org/eggref/5/awful#reload-applications-c...
Re: 93% of Paint Splatters Are Valid Perl Programs
#80I 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).
mod_perl couldn't live safely on shared servers. You had to rent the whole box if you wanted to use mod_perl.
https://perl.apache.org/docs/1.0/guide/performance.html#Memo...