The legendary image of an army of monkeys typing letters at random and eventually producing the works of Shakespeare seems to have emerged gradually over a long period of time. In Gulliver’s Travels, written in 1726, Jonathan Swift tells of a mythical Professor of the Grand Academy of Lagado who aims to generate a catalogue of all scientific knowledge by having his students continuously generate random strings of letters by means of a mechanical printing device. The first mechanical typewriter had been patented in 1714.
After several eighteenth- and nineteenth-century French mathematicians used the example of a great book being composed by a random deluge of letters from a printing works as an example of extreme improbability, the monkeys appear first in 1909, when the French mathematician Émile Borel suggested that randomly typing monkeys would eventually produce every book in France’s Bibliothèque Nationale. Arthur Eddington took up the analogy in his famous book The Nature of the Physical World in 1928, where he anglicised the library: ‘If I let my fingers wander idly over the keys of a typewriter it might happen that my screed made an intelligible sentence. If an army of monkeys were strumming on typewriters they might write all the books in the British Museum.
’Eventually this oft-repeated example picked the ‘Complete Works of Shakespeare’ as the prime candidate for random recreation. Intriguingly, there was a website that once simulated an ongoing random striking of typewriter keys and then did pattern searches against the ‘Complete Works of Shakespeare’ to identify matching character strings. This simulation of the monkeys’ actions began on 1 July 2003 with 100 monkeys, and the population of monkeys was effectively doubled every few days until recently. In that time they produced more than 1035 pages, each requiring 2,000 keystrokes.
A running record was kept of daily and all-time record strings until the Monkey Shakespeare Simulator Project site stopped updating in 2007. The daily records are fairly stable, around the 18- or 19-character-string range, and the all-time record inches steadily upward.
0 comments:
Post a Comment