Feeds

Virtual cloud monkeys go bananas writing Shakespeare

Experiment to prove adage, without flung feces

Beginner's guide to SSL certificates

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. ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
Phones 4u slips into administration after EE cuts ties with Brit mobe retailer
More than 5,500 jobs could be axed if rescue mission fails
Driving with an Apple Watch could land you with a £100 FINE
Bad news for tech-addicted fanbois behind the wheel
Phones 4u website DIES as wounded mobe retailer struggles to stay above water
Founder blames 'ruthless network partners' for implosion
Radio hams can encrypt, in emergencies, says Ofcom
Consultation promises new spectrum and hints at relaxed licence conditions
Special pleading against mass surveillance won't help anyone
Protecting journalists alone won't protect their sources
Big Content Australia just blew a big hole in its credibility
AHEDA's research on average content prices did not expose methodology, so appears less than rigourous
Vodafone to buy 140 Phones 4u stores from stricken retailer
887 jobs 'preserved' in the process, says administrator PwC
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.