OMMs is a freeware program made by REALbasic.
OMMs stands for "One Million Monkeys". That's from "One million
monkeys typing on one million typewriters...".
The typewriters have 1000 keys, 73 with 'a', 9 with 'b', ... , 19
with 'y', and 1 with 'z'. These are average frequencies for English
text. There are no punctuation keys.
You set the number of characters to be typed in the "Chars. typed"
box. You select the monkey type in the Popup menu, and, if necessary,
enter a numerical value for x. Then click on the "Monkey Types"
button, and, perhaps after some noticeable time, you will see the
characters typed by the monkey.
How does this happen? The program uses Victor Shoup's multi-precision
library, NTL, through my Extended Plugin. So if 1000 characters are
to be typed, the NTL precision is appropriately set. Then, if x=2 say
and the sqrt(|x|) monkey is selected, sqrt(2) is calculated to 3000
places after the decimal point. Conversion to base 1000 is
accomplished by grouping by three after the decimal point. From left
to right in order after the decimal point, each group value (plus
one) provides an index from 1 to 1000. This index is used to select a
character from a REALbasic string containing 73 a's, 9 b's, ... , 19
y's, and 1 z. The resulting sequence of characters form the monkey's
output.
So for sqrt{|x|} don't use perfect squares like x=4. Its square root
has zero places after the decimal point, so the monkey doesn't type
anything. Choose x's whose square roots have unending places after
the decimal point.
Once you have the monkey's output you can search for words by eye or
search for a particular word.
The last monkey in the popup menu is "pasted number". Since
calculating pi to one million places would take a very long time,
with the last monkey you can paste someone else's calculated pi, or
any number with a decimal point, in the "Typed by monkey" box. Then
clicking the "Monkey Types" button will use the pasted number and
replace it with the monkey's output.
If you find a long English word, please email me at
[EMAIL PROTECTED] with the parameters you used. For Chars.
typed=1000, x=3.1, and monkey=sqrt(|x|) the longest word is "penny"
at Find Index=990.
Download page:
http://homepage.mac.com/delaneyrm/OMMs.html
Have fun!
Bob
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>