madore.org— A "quine" is actually a program that's output produces the exact code that it was generated from. Sounds stupid or pointless? Well give it a try and realize that it might not be as trivial as you think!
Apr 23, 2006View in Crawl 4
Have to disagree since this stuff is absolutely amazing. The code that is written would be the basis for Artificial Intelligence and self-replication and, as someone already pointed out, viruses.
A "quine" is also a Scots term for a girl or lady, the equivilent term for a male would be a "loon" - absolutely nothing to do with self replicating programmes, just thought I'd share it with my fellow diggers!
"If cheating is allowed, you can do it with even simpler code: "". Don't include the quotes."According to The International Obfuscated C Code Contest, that's not cheating since that was a winner :)
Closed AccountApr 24, 2006
Have to disagree since this stuff is absolutely amazing. The code that is written would be the basis for Artificial Intelligence and self-replication and, as someone already pointed out, viruses.
gaberbrunoApr 24, 2006
A "quine" is also a Scots term for a girl or lady, the equivilent term for a male would be a "loon" - absolutely nothing to do with self replicating programmes, just thought I'd share it with my fellow diggers!
nuxxApr 25, 2006
nice neuromancer ref...that was my immidiate thought too!"...I met Quine once, Real assh**e..."- Molly Millions
directorblueApr 25, 2006
Here's one in PHP without using the file system...<a class="user" href="http://directorblue.blogspot.com/2004/05/self-reproducing-code-i-was-reading.html">http://directorblue.blogspot.com/2004/05/self-reproducing-code-i-was-reading.html</a>
mrpackrat42Apr 25, 2006
Now that's funny.A question: How many of you tried that, and how many recovered without rebooting?
shecoApr 25, 2006
"If cheating is allowed, you can do it with even simpler code: "". Don't include the quotes."According to The International Obfuscated C Code Contest, that's not cheating since that was a winner :)
arthurApr 25, 2006
Some of these comments bring to mind one of my favorites from the old days ...<a class="user" href="http://www.phreak.org/archives/underground/40hex/40HEX-2.006.txt">http://www.phreak.org/archives/underground/40hex/40HEX-2.006.txt</a>"Fish Virus #9A Whale is no Fish!Mind her Mutant Fishand the hidden Fish Eggsfor they are damaging.The sixth Fish mutatesonly if the Whale is inher Cave."