43 karma · joined Nov 23, 2008 (18y ago) · 24 submissions
comment 17y ago · link · parent
Running it several times showed that the 20 cycle loop was fairly close, where the 20,000 loop was not even near close.
0.0000089 vs. 0.0000092
and 0.9846729 vs. 0.0006852
Edit: I also changed them both to add a fixed string, since I don't have enough memory for a 4 * 2^20,000 length string.comment 17y ago · link · parent
comment 17y ago · link · parent
comment 17y ago · link · parent
comment 17y ago · link · parent
http://www.cs.utexas.edu/users/arvindn/misc/knuth_song_compl...
comment 17y ago · link · parent
comment 17y ago · link · parent
comment 18y ago · link · parent
From a linguistic perspective, the phenomenon that a word after frequent repetition seems to lose its meaning is connected with the very nature of words. A word as a unit of language has three characteristics:
* It has form, i.e. it is shaped out of sounds or, in the case of written language, out of letters (characters).
* It has function, which (among other things) means that it operates in a meaningful sentence.
* It has meaning, which implies that it refers to a certain unit of thought (a concept or an idea) within a context.
However, when a word is repeated over and over again, it is in fact only the form which is repeated. There is no sentence, so the function of the word is eliminated. Its meaning, too, is effectively eliminated, because there is no context. A few repetitions will leave the language user's memory and expectation intact: he remembers the meaning and expects a meaningful reference. Continued repetition, however, will more and more foreground the word form to the exclusion of function and meaning, until the word literally "makes no sense". It is not the word that is being repeated, but only one of its aspects: the word form.
comment 18y ago · link · parent
I know you don't really care, but, there you go.