If you run most paint-spatters through OCR software, it will generate valid perl programs.
The discovery -- documented in this SIGBOVIK white-paper by Colin McMillen and Tim Toady -- came about as the result of Jake Archibald's snarky twitter response to Adrienne Porter Felt, who said that she didn't want her kid to learn to program, she wanted him to "smear paint on the walls" -- to which Archibald answered "but is it possible to smear paint on the wall without creating valid Perl?"
McMillen and Toady set out to answer the question and found that 93% of all paint spatters OCR to valid perl programs.
While the results presented in this paper are novel and important, they only begin to break ground on what could be a very fruitful area of further research.
The dataset used in this paper is a relatively small dataset of only 100 paint-splatter images. It would be good to confirm these results on a larger dataset, and with a greater variety of images. Perhaps next time ImageNet won’t be down.
We also noticed far too late that while the original question referred to paint smears, we elected to search Pinterest only for paint splatters. It is unclear at whether these results would change significantly for paint splatters vs. paint smears.
Similarly, our choice to select images from Pinterest ensured that they were reasonably high-quality paint splatters, as at least one Pinterest user had chosen to “pin” that image as something worth saving for later. It would be worth investigating whether amateurish, lower-quality paint splatters — such as those produced by a young child — are less likely to be parsed as valid Perl programs.
93% of Paint Splatters are Valid Perl Programs (paper) [Colin McMillen and Tim Toady/SIGBOVNIK]
93% of Paint Splatters are Valid Perl Programs (summary) [Colin McMillen]
(via Four Short Links)
Sculptor Jud Turner (previously) sends us two new pieces: Deindustry ("a meditation on the industrial divinity of late-stage capitalism, and combines my fear of heights with my fear of over-industrialization") and Scale of Themis ("an imagined tool for the Greek goddess Themis to weigh possible civilizations against each other. The tiny differences in these two […]
Grether Labs's Science Fiction Plot Generator can sure pick 'em: "You are friends with a talking fireplace, and you are working to solve this ancient puzzle before the creatures consume you"; "You are a cyan-eyed cartographer who is finding the awful truth beneath this false utopia, and who is struggling with the terribly thick underbrush […]
Every month, Tor Books' free Ebook Club gives away a different novel to people who have signed up; this month, the selection is my most recent novel, Walkaway! Sign up between now and the 20th to get your free copy (this only works in Canada and the US; different publishers have the rights in other […]
When businesses need big cloud projects done right, they need experts in DevOps. For the uninitiated, that’s shorthand for the framework that allows development and operations teams to work together toward the same goal – not as independent departments with their own agendas. There’s an arsenal of software that has cropped up to help in […]
Are you super organized? You’re going to love the Genius Pack G4 and its seemingly limitless, well-placed compartments. Not that organized? You’re still going to love this piece of luggage because it’s so well thought out that it practically does the packing for you. We’ve all tried to stuff a piece of carry-on so full […]
If you’re an entrepreneur, you’re not just hungry for success. You’re hungry for knowledge, the insights that can lead to bigger and better ideas and ways to implement them. That knowledge is out there in the bestselling biz books that have changed the game over the years. There’s just one problem: In a fast-paced lifestyle, […]