The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare.
Wikipedia Infinite Monkey Theorem
A while ago, I thought it might be fun to put the above idea to the test. But obviously I don’t have a monkey. So I’m struck with a problem: Where can I find an enormous number of barely literate primates, mashing away mindlessly at their keyboards?
Well, it struck me quite quickly…. Twitter obviously.
I spent some time tinkering with the Twitter API to query the latest tweets for text containing all the words in the entirety of Shakepeare’s combined works.
Check it out…