Recently I was sitting around looking at my RasPi and I was thinking, dangerous thoughts.
"Given a long enough timespan, a room full of monleys with typewriters will re-create the entire works of William Shakespeare."
So I wrote a piece of Python code that uses the RasPi like a monkey in a room with a typewriter. The code generates a random set of characters to form a string the same length as a Shakespearian Sonnet. Then if the random string does not match the sonnet, it deletes the first character and adds a new random character to the end and tests again for a match. With the sonnet I am using being 560 characters including spaces long, I am expecting this to take a very long time.
The code is available for DL and or improvement on github:
https://github.com/super-nathan/monkeys-w-typewriters