Page 1 of 1

'Your Turn'- Problem

Posted: Sun Oct 26, 2008 8:09 pm
by odi84
Hello,

i've got a problem to solve the 'your turn' challenge.
It's your turn to host a page. That page's contents should be 'pewter scooter'.
I think the appropriate solution should be very easy. So I created a file which contains the given string. Then I put the URL of these file in the given input-form.
But it doesn't seems to be the right solution :roll:
'pewter scooter ' is incorrect.
Could someone give me a hint, please?

Posted: Sun Oct 26, 2008 8:42 pm
by therethinker
It's incorrect because it has a trailing newline. (it shows up as a space in the "'pewter scooter ' is incorrect" because HTML uses <br> for newlines. look at the source and there will be a newline)

You'll have to figure out why its there & remove it.


EDIT: 0x0a IS a newline character ;-)

Posted: Sun Oct 26, 2008 9:06 pm
by odi84
thanks a lot!

there was a '0A' (Hex) Char at the end of file.

i wonder why that happen - usually my texteditor should display those special chars :roll:

Posted: Mon Oct 27, 2008 10:53 pm
by sigi
0x0a is a newline character. Nothing special about it :-).

Many editors append an extra new line to the end of new files. I had the same problem because I did use 'nano' to edit the file at first and that damn thing won't even let me save a file without the extra newline at the end. Fixing it with a sane editor did the trick.

I really like these kinds of small traps in the puzzles, because they make you think about all the little things that actually DO matter in many cases.

Posted: Tue Nov 11, 2008 9:47 pm
by slax
Hi,

I created a simple file with vim on my linux rootserver.
-> http://www.slax.de/tmp/challenge.html

There is no character at the end of the file. it only contains 'pewter scooter'.
Is it possible that the checkscript is not working correctly?

thx a lot

Posted: Tue Nov 11, 2008 11:03 pm
by tails
slax, it does contain the newline (0x0a) character at the end. Usually vi does not show newlines explicitly.

And please don't forget to change the url later.

Posted: Wed Nov 12, 2008 12:32 pm
by slax
tails, thx a lot
url is deleted

Posted: Thu Nov 13, 2008 2:12 am
by therethinker
Everyone and their fancy editors. You know, you could just use an standard unix tool. By "standard" I mean its built into some shells ;-)

Posted: Thu Nov 13, 2008 2:37 am
by Allosentient
I call everything in the discussed category "legacy software"

Posted: Fri Nov 14, 2008 3:51 am
by sigi
"legacy" is a weasel word. What it means depends entirely on who is using it and in what context.

E.g. if Microsoft talk about "legacy" what they mean is "every software not by MS or not being supported by MS", or, even shorter, "every software that we're not currently marketing".

And so on.