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)
There’s still magic in the world, as evidenced by this fairy’s-eye view of Children’s Fairyland, that charming 70-year-old storybook theme park in Oakland, California. You might remember that when I’m not blogging, I work with Fairyland. WELL… months before we were mandated to shelter in place, a local photographer, Stephen Loewinsohn, contacted our team at […]
We’ve been writing about Lea Redmond since 2009 here on Boing Boing. She’s just one of those kind of people who consistently makes neat things — a real Happy Mutant! Well, her latest creative venture is Home Sweet Home, an activity deck for kids (and the young at heart). It offers inspiring prompts for whimsical, […]
Listed at $159,900 this 1,075 square-foot home in Pittsburgh, Pennsylvania is bland on the outside but features rooms with outer space, submarine, tropical island, and moonbase motifs. The owners put a lot of work into it!
The world is holding its collective breath. As states begin cautiously reopening, no one is sure exactly what to expect. But one thing is clear: most Americans are worried about their bank accounts. By the end of March, the average American household was spending 40 percent less on their credit cards than they were one […]
Over 25 years, eBay has carved out its space as the commerce hub of choice online. With 182 million users worldwide, that works out to about 35 percent of all US mobile users who shop those eBay storefronts. But did you know there are usually around 1.3 billion — with a B — active for-sale […]
Software apps are a dime a dozen. Well, if you’re going by their actual monetary cost, maybe not really. But considering how useless some poorly conceived, poorly executed apps are at doing the job you actually downloaded them to accomplish, it isn’t a stretch to think that many apps aren’t even worth a free download. […]