о библиотеках и вселенных

11:24 | 27-09-2011 | Lifeform, Science | 1 Comment

миллионы поддельных обезьян все же начали печатать Шекспира:

Today (2011-09-23) at 2:30 PST the monkeys successfully randomly recreated A Lover’s Complaint. This is the first time a work of Shakespeare has actually been randomly reproduced. Furthermore, this is the largest work ever randomly reproduced. It is one small step for a monkey, one giant leap for virtual primates everywhere.


Instead of having real monkeys typing on keyboards, I have virtual, computerized monkeys that output random gibberish. This is supposed to mimic a monkey randomly mashing the keys on a keyboard. The computer program I wrote compares that monkey’s gibberish to every work of Shakespeare to see if it actually matches a small portion of what Shakespeare wrote. If it does match, the portion of gibberish that matched Shakespeare is marked with green in the images below to show it was found by a monkey. The table below shows the exact number of characters and percentage the monkeys have found in Shakespeare. The parts of Shakespeare that have not been found are colored white. This process is repeated over and over until the monkeys have created every work of Shakespeare through random gibberish.

не совсем, правда, точная[1] симуляция (собрание сочинений Шекспира разбито на отдельные слова вместо единного массива. почему бы тогда и вовсе не разбить текст на отдельные буквы?), но все равно забавно. как говорится:

Вселенная — некоторые называют ее Библиотекой — состоит из огромного, возможно, бесконечного числа шестигранных галерей, с широкими вентиляционными колодцами, огражденными невысокими перилами.

[1] — иное дело былой эксперимент:

In 2003, scientists at Paignton Zoo and the University of Plymouth, in Devon in England reported that they had left a computer keyboard in the enclosure of six Sulawesi Crested Macaques for a month; not only did the monkeys produce nothing but five pages consisting largely of the letter S, they started by attacking the keyboard with a stone, and continued by urinating and defecating on it.


One Response to “о библиотеках и вселенных”

Leave a Reply