sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
alden wrote:
"What?"
Hmm?
upthorn
He/Him
Emulator Coder, Active player (388)
Joined: 3/24/2006
Posts: 1802
Kuwaga wrote:
"I so hate it when people are parroting me..." I know. >_>
I think you mean "Stop copying me!"
How fleeting are all human passions compared with the massive continuity of ducks.
Banned User, Former player
Joined: 3/10/2004
Posts: 7698
Location: Finland
Derakon wrote:
Warp wrote:
Bisqwit wrote:
DaTeL237 wrote:
repeat twice after me: "repeat twice after me"
Taking the pedantic-aggressive attitude, you get: "twice after me repeat twice after me."
I think that the answer ignores the punctuation, and is thus incorrect.
Even then you'd get "repeat twice after me repeat twice after me", which loses the colon and quotation marks needed to make a valid "program".
Thinking about it, yeah, you are right. The output is not identical to the original, even if the original is interpreted properly.
upthorn
He/Him
Emulator Coder, Active player (388)
Joined: 3/24/2006
Posts: 1802
Warp wrote:
Derakon wrote:
Warp wrote:
Bisqwit wrote:
DaTeL237 wrote:
repeat twice after me: "repeat twice after me"
Taking the pedantic-aggressive attitude, you get: "twice after me repeat twice after me."
I think that the answer ignores the punctuation, and is thus incorrect.
Even then you'd get "repeat twice after me repeat twice after me", which loses the colon and quotation marks needed to make a valid "program".
Thinking about it, yeah, you are right. The output is not identical to the original, even if the original is interpreted properly.
If you go by the rules for palindromes, punctuation and spacing are discarded in the comparison, so the output would satisfy the requirements. Of course, this is something that has always bothered me about palindromes. Reversing "Go hang a salami, I'm a lasagna hog" produces "goh angasal a ,m'I imalas a gnah og", which is clearly not the same sentence.
How fleeting are all human passions compared with the massive continuity of ducks.
Banned User, Former player
Joined: 3/10/2004
Posts: 7698
Location: Finland
upthorn wrote:
If you go by the rules for palindromes, punctuation and spacing are discarded in the comparison, so the output would satisfy the requirements.
If we are talking about quines, I don't think preserving only the alphabetic characters is enough, especially if losing the punctuation changes the meaning of the sentence. The result of a quine should also be a quine in itself, which when run produces the same result.
Player (121)
Joined: 8/11/2009
Posts: 73
Location: Texas
How about "This is the sentence which you must repeat."
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Kumquat wrote:
How about "This is the sentence which you must repeat.
"Huh, why?"
Joined: 7/16/2006
Posts: 635
In the programming sense, would a program like
main{
   print quine.c
}
where quine.c is the file containing the source code and print is a function that prints the contents of files be considered a quine? The reason I ask this is because this program seems to be the equivalent of "Repeat this entire sentence.", so whether or not the above is a quine should determine whether whether that sentence can be considered an English quine.
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
No, because filenames can change. The traditional C quine, main() { char *s="main() { char *s=%c%s%c; printf(s,34,s,34); }"; printf(s,34,s,34); }, and its variants in other languages, are based on the idea of embedding a copy of the program's source code within the program (here indicated with blue color), and where the recursion would occur (i.e. the embedded code would in turn contain a copy of the program), a special sequence is used (here indicated with red), and the program replaces that sequence with a copy of the entire string (here indicated with yellow). In other words, you need a variable to store a string into, and a way to refer to that string twice. This translates to speech such that you must use an indirect reference to the spoken sentence, such as "this" or "what I just said", because otherwise you need to recurse infinitely: "tell me [tell me [tell me [tell me [tell me [tell me [...]]]]]]]".
Joined: 5/13/2006
Posts: 283
Unless you assume a perfectly willing responder, no English quine is foolproof. Some of the responses that I saw through my quick skims show more fault on the part of the responder and his unwillingness to comply than on the command itself.
<Zurreco> if so called professional players cant adapt to every playing field, theyre obviously not that great