Feeds

Virtual cloud monkeys go bananas writing Shakespeare

Experiment to prove adage, without flung feces

Designing a Defense for Mobile Applications

A developer and Simpsons fan has reported his first success in an experiment to test the infinite monkey theorem: that primates could produce Shakespeare by randomly pressing keys.

Jesse Anderson set up software to generate random sets of nine ASCII characters and then match them against the complete works of Shakespeare, retaining useful letter matchings while deleting anything else. After over 5.5 trillion characters, he has now completed a near perfect copy of the Bard’s “A Lover’s Complaint,” a 11,621 character poem contained in an appendix to Shakespeare’s sonnets.

Anderson used Hadoop’s MapReduce with Amazon’s Elastic MapReduce and Ubuntu Linux to run the simulation. He was inspired by a scene in the classic "Last Exit to Springfield" episode of the Simpsons, in which Mr. Burns is revealed to have monkeys working on future screenplays. Anderson tells El Reg that he started the experiment in the spirit of fun, funded it entirely himself, and is now following up to see the end results and to share them with others.

“I did an interview with Fox News about this and their viewers started ranting about how this was a waste of government money,” he says. “I’ve funded this entirely by myself out of a spirit of inquiry. It’s disappointing when people only try new things to make money.”

Originally, Anderson made use of the free aspects of Amazon’s EC2 service, but as the project grew he was looking at around $20 a day to keep the simian simulation going. He then transferred the system to a home PC and is finishing the research himself to avoid living off peanuts to economize.

The mapping of other Shakespearean character sets is also continuing, with Anderson currently just two characters from finishing The Tempest and seven short of As You Like It. Technically, the experiment isn’t an exact test, since running through every conceivable letter in the hope of getting an exact match of the entire text – not mere nine-0character snippets – would take billions of years of trial and error. But it is statistically possible.

Anderson’s technical fix, however, is a lot more successful than earlier attempts. An earlier experiment in 2003 at Paignton Zoo in Devon, UK, saw six Sulawesi crested macaques being given a computer and left to get typing. The primates proved unsuccessful, mainly pressing the letter S and then destroying the computer and urinating on the keyboard – although some may argue that their last act could be construed as an accurate review of much of Shakespeare’s comedic output. ®

Using blade systems to cut costs and sharpen efficiencies

More from The Register

next story
BBC goes offline in MASSIVE COCKUP: Stephen Fry partly muzzled
Auntie tight-lipped as major outage rolls on
iPad? More like iFAD: We reveal why Apple ran off to IBM
But never fear fanbois, you're still lapping up iPhones, Macs
Nadella: Apps must run on ALL WINDOWS – PCs, slabs and mobes
Phone egg, meet desktop chicken - your mother
HP, Microsoft prove it again: Big Business doesn't create jobs
SMEs get lip service - what they need is dinner at the Club
ITC: Seagate and LSI can infringe Realtek patents because Realtek isn't in the US
Land of the (get off scot) free, when it's a foreign owner
Samsung threatens to cut ties with supplier over child labour allegations
Vows to uphold 'zero tolerance' policy on underage workers
Dude, you're getting a Dell – with BITCOIN: IT giant slurps cryptocash
1. Buy PC with Bitcoin. 2. Mine more coins. 3. Goto step 1
There's NOTHING on TV in Europe – American video DOMINATES
Even France's mega subsidies don't stop US content onslaught
You! Pirate! Stop pirating, or we shall admonish you politely. Repeatedly, if necessary
And we shall go about telling people you smell. No, not really
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.