logoalt Hacker News

93% of Paint Splatters Are Valid Perl Programs (2019)

152 points • by zenincognito • yesterday at 10:34 PM • 25 comments • view on HN

Comments

snitty • yesterday at 11:40 PM

SIGBOVIK papers are almost always a delight

EDIT: From their 2026 publication

>Permission to make digital or hard copies of portions of this work for personal use is granted; permission to make digital or hard copies of portions of this work for classroom use is also granted, but seems ill-advised

gnabgib • yesterday at 11:07 PM

Popular in:

2024 (515 points, 125 comments) https://news.ycombinator.com/item?id=40197013

2021 (431 points, 165 comments) https://news.ycombinator.com/item?id=27929730

➕ show 1 reply
layer8 • yesterday at 11:22 PM

Tangentially related, the only way for a Java properties file to be invalid is if it contains an invalid Unicode escape sequence (“\u” not followed by four digits, and not preceded by an odd number of “\”).

zenincognito • yesterday at 10:38 PM

The actual paper is also highly entertaining - https://www.mcmillen.dev/sigbovik/2019.pdf

➕ show 1 reply
jacquesm • today at 12:51 AM

Someone should reverse that and see how many paintings can be made to execute as Perl and what those programs do when invoked.

➕ show 1 reply
baron3dl • today at 12:32 AM

i loved programming perl. both the act, and the book. i long since gave it up, but i am still awed by how it could both be completely unceremonious and absurdly ceremonious. my $self = shift; for instance.

idlewords • today at 1:22 AM

A whole new twist on "Hackers and Painters"

brisket_bronson • yesterday at 11:49 PM

Figure 6 represents the string “gggijgziifiiffif”, which by pure coincidence happens to accurately represent the authors’ verbal reaction upon learning that “unquoted strings” were a feature intentionally included in the Perl language

➕ show 1 reply
sadboi_fandango • yesterday at 11:00 PM

Jackson Pollock was writing perl code all along

➕ show 1 reply
polarsanel • today at 1:48 AM

93% of Perl Programs are valid Paint Spatters too.

criemen • yesterday at 11:59 PM

> Apparently in the brave new world of neural nets, Anything Goes™

Quite some foresight indeed!