Re:Nice try, kid ...
by umjames on Wednesday January 30, 2008 @02:41PM
(#107013)
I actually did something similar when I was in middle school. The teacher wanted everyone in the class to write something like that 500 times and turn it in the next day.
I went home and ran the following program on my Apple IIe:
10 FOR X = 1 TO 500
20 ?"I will behave myself in class"
30 NEXT X
PR# 2
RUN
With the printer plugged into slot 2 on the machine, this sent the output of the program to the printer.
Needless to say the teacher was not impressed the next day, when I handed in several sheets of linefeed printer paper. I was impressed however.
He made me write it by hand about 100 times instead of 500.
Re:Nice try, kid ...
by tb on Wednesday January 30, 2008 @08:30PM
(#107202)
I have a friend who was suspended from high-school for (indirectly) refusing to do a word puzzle. His stated reason is that he doesn't like word puzzles. When he was asked to leave the room for failing to follow instructions, he refused. The punishments escalated and he refused each one on the basis that it was overblown punishment for refusing to do a word puzzle. Eventually he reluctantly agreed to a week's suspension because the only worse punishment available was expulsion.
He still carps on about being suspended for a week for refusing to do a word puzzle.
Re:Nice try, kid ...
by dkokelley on Thursday January 31, 2008 @03:36AM
(#107322)
I find it funny that many of these comments are on ways the code could be improved. We are a strange bunch of people indeed. Still, I laughed when I saw this image.
Re:Nice try, kid ...
by Xichekolas on Wednesday January 30, 2008 @06:35PM
(#107153)
I'm pretty sure the people in the Matrix will be confused when every printer in the world starts printing out "I will not throw paper airplanes in class." ... Of course, then the agents will reset the system and everyone will just experience deja vu.
I went home and ran the following program on my Apple IIe:
With the printer plugged into slot 2 on the machine, this sent the output of the program to the printer.Needless to say the teacher was not impressed the next day, when I handed in several sheets of linefeed printer paper. I was impressed however.
He made me write it by hand about 100 times instead of 500.
He still carps on about being suspended for a week for refusing to do a word puzzle.
"Funny how much commenting about improving code."
Second sentence should have been:
"We are strange."
Third sentence should have been:
"I laughed anyway."
50.6% as much text.
for x in range(500): print 'I will not throw paper airplanes in class.'
Or perhaps Arc!
[spawn(fun() -> print("'I will not throw paper airplanes in class.'") end) || N <- lists:seq(1, 500)]
Although, I assume the kid forgot the \n in his printf.
prn = print followed by newline
(repeat 500 (prn ...))
?