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

Colin McMillen's SIGBOVIK paper answers a long-standing question: can you smear paint on a wall without creating valid Perl? Using OCR on 100 splatters, he finds 93% parse as valid Perl, with seven counterexamples. The paper, accepted for SIGBOVIK 2019, includes a gallery of splatters and their Perl code, and won an Unwitting Participation Ribbon for including a genuine artifact.
We answer this question in the affirmative: it is possible to smear paint on the wall without creating a valid Perl program.
- snitty
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
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
- layer8
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 “\”). After resolving Unicode escapes, any character sequence is a valid properties file.
- zenincognito
The actual paper is also highly entertaining - https://www.mcmillen.dev/sigbovik/2019.pdf
- ideasphere
I’m more interested in how the OCR missed that ‘Stitch & Shutter’ watermark in the third one.