[home] | [profile] | [register] | [help] | [Contact Us] |
[Sections]
[Jokes]
this page |
Jokes |
[Append to Topic] [Tell someone about this] |
---|
By | Is life a predetermined joke? |
---|---|
Bill Williams
| Uploaded - 6 Aug 2001 22:44Is life a predetermined joke?As a result of earlier discussion on our conferencing system Cix on matters such as the meaning of life, and the improbability of men living to be 900 odd years old, I took once more to a topic I have tried before as a relaxation after a hard days work. The topic is the idea proposed that lots of monkeys working at lots of typewriters might produce the works of Shakespeare. I've tried simulating this before with no real success, but this time I tried to use the simplest possible program, but incorporating at least a little bias towards the English language. So taking Cixen as being roughly representative (rough lot on Cix). I did a letter count of a big message download & found the following frequencies. These numbers are the ratios giving a sum of 256, a convenient max size for a string. So I took these ratios & constructed an apparently random string of these letters, and then made the simplest possible program to select from the string at random. Was I divinely inspired, or are our lives totally predetermined by the stars or what. I must confess I do not know, yet here is a miracle: when I run this program it does indeed seem to produce the text of "A Midsummer's Night Dream". !!! Am I myself dreaming it, are my eyes confusing me, does it only do it on MY computer. How do I know? I beg you all please try out the algorithm, which I reproduce (shortened) below in Microsoft Qbasic (Dos 6.2), and let me know please, please please. I dont think I am going mad......mad ..... mad. WHAT does it all mean? Was Wil Shakespeare a basic computer ???? Bill.
................ .
|
Implemented by Bill Williams (IT)
based on ASP Forum.
7661
adv30_17.gif