Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Python Challenge ahead [NEW] for riddle lovers

32 views
Skip to first unread message

pythonchallenge

unread,
Apr 29, 2005, 4:38:53 PM4/29/05
to
For the riddles' lovers among you, you are most invited to take part
in the Python Challenge, the first python programming riddle on the net.

You are invited to take part in it at:
http://www.pythonchallenge.com

Shane Hathaway

unread,
Apr 29, 2005, 7:52:00 PM4/29/05
to pytho...@python.org

That was pretty fun. Good for a Friday. Too bad it comes to an abrupt
"temporary end".

Shane

P.S. I hope I didn't hammer your server on step 3. I was missing the
mark. :-)

Erik Max Francis

unread,
Apr 29, 2005, 8:13:30 PM4/29/05
to
Shane Hathaway wrote:
> pythonchallenge wrote:
>> For the riddles' lovers among you, you are most invited to take part
>> in the Python Challenge, the first python programming riddle on the net.
>>
>> You are invited to take part in it at:
>> http://www.pythonchallenge.com
>
> That was pretty fun. Good for a Friday. Too bad it comes to an abrupt
> "temporary end".

Ironically, I just used Unix tools (tr, grep, sed) for each of the
puzzles except the first one, and that first one was only because I tend
to use Python as a convenient calculator anyway :-).

--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Experience is the name everyone gives to their mistakes.
-- Oscar Wilde

David Murmann

unread,
Apr 29, 2005, 9:33:46 PM4/29/05
to
Shane Hathaway wrote:
> That was pretty fun. Good for a Friday. Too bad it comes to an abrupt
> "temporary end".
>
> Shane
>
> P.S. I hope I didn't hammer your server on step 3. I was missing the
> mark. :-)

Interestingly step 3 is actually wrong... there is an additional
solution, which looks like cqqmsxk. (I don't think that spoils the fun :))

Michael Spencer

unread,
Apr 29, 2005, 9:48:53 PM4/29/05
to pytho...@python.org

the 'm' is silent ;-)


darren kirby

unread,
Apr 29, 2005, 10:40:24 PM4/29/05
to pytho...@python.org
quoth the Shane Hathaway:
> That was pretty fun. Good for a Friday. Too bad it comes to an abrupt
> "temporary end".
>
> Shane
>
> P.S. I hope I didn't hammer your server on step 3. I was missing the
> mark. :-)

You're not the only one. This is where I am currently stuck. It's starting to
hurt my head.

There are 478 results in the form *BBBsBBB* but the thing said 'exactly'
right, well there are 10 results in the form *sBBBsBBBs*
None of them seem to work...

I quit ;)
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

bgs

unread,
Apr 29, 2005, 10:40:56 PM4/29/05
to

That was fun. The very first step in 6 was the most frustrating I
thought.

Shane Hathaway

unread,
Apr 29, 2005, 10:43:53 PM4/29/05
to bull...@badcomputer.org, pytho...@python.org
darren kirby wrote:
> quoth the Shane Hathaway:
>
>>pythonchallenge wrote:
>>
>>That was pretty fun. Good for a Friday. Too bad it comes to an abrupt
>>"temporary end".
>>
>>Shane
>>
>>P.S. I hope I didn't hammer your server on step 3. I was missing the
>>mark. :-)
>
>
> You're not the only one. This is where I am currently stuck. It's starting to
> hurt my head.
>
> There are 478 results in the form *BBBsBBB* but the thing said 'exactly'
> right, well there are 10 results in the form *sBBBsBBBs*
> None of them seem to work...

I did the same thing. Now just combine those ten results.

Shane

Mike Rovner

unread,
Apr 30, 2005, 12:30:41 AM4/30/05
to pytho...@python.org

3 IS wrong because if you use any not BIG letter after bodyguard on both
sides, you get extra 'eCQQmSXK\n' which slow me down for 5 minutes.

Mike


Mark T

unread,
Apr 30, 2005, 2:45:58 AM4/30/05
to

"pythonchallenge" <pyth...@nospam.not.com> wrote in message
news:d4u60o$akh$1...@news2.netvision.net.il...

Excellent puzzles! For others like this see http://www.osix.net. I love
these things :^)


Tim Peters

unread,
Apr 30, 2005, 3:16:02 AM4/30/05
to pytho...@python.org
[Mike Rovner]

> 3 IS wrong because if you use any not BIG letter after bodyguard on both
> sides, you get extra 'eCQQmSXK\n' which slow me down for 5 minutes.

Get rid of the newlines first.

On level 7, I'm not sure whether there's something more to do, or
whether I'm looking at a bug in how IE displays .png files. Using
Windows is good practice in solving maddening riddles every day
<wink>.

Mike Rovner

unread,
Apr 30, 2005, 3:36:40 AM4/30/05
to pytho...@python.org

There is! That black and white line contains the message.

Mike

Leif K-Brooks

unread,
Apr 30, 2005, 4:53:40 AM4/30/05
to

Very neat, I love things like this. Level 5 is maddening. Keep up the
good work.

Dan Bishop

unread,
Apr 30, 2005, 6:31:03 AM4/30/05
to
darren kirby wrote:
> quoth the Shane Hathaway:
> > pythonchallenge wrote:
> > > For the riddles' lovers among you, you are most invited to take
part
> > > in the Python Challenge, the first python programming riddle on
the net.
> > >
> > > You are invited to take part in it at:
> > > http://www.pythonchallenge.com
> >
> > That was pretty fun. Good for a Friday. Too bad it comes to an
abrupt
> > "temporary end".
> >
> > Shane
> >
> > P.S. I hope I didn't hammer your server on step 3. I was missing
the
> > mark. :-)
>
> You're not the only one. This is where I am currently stuck. It's
starting to
> hurt my head.
>
> There are 478 results in the form *BBBsBBB* but the thing said
'exactly'
> right, well there are 10 results in the form *sBBBsBBBs*
> None of them seem to work...

The same thing happened to me, but then I figured it out.

Hint: Print all 10 results in a column.

Roel Schroeven

unread,
Apr 30, 2005, 10:19:57 AM4/30/05
to
Mike Rovner wrote:

Strange: I don't find eCQQmSXK\n, only eCQQmSxK\n. I guess the data has
been modified in order to get that potential confusion out of the way.

--
If I have been able to see further, it was only because I stood
on the shoulders of giants. -- Isaac Newton

Roel Schroeven

Dan Bishop

unread,
May 1, 2005, 1:08:20 AM5/1/05
to

Shane Hathaway wrote:
> pythonchallenge wrote:
> > For the riddles' lovers among you, you are most invited to take
part
> > in the Python Challenge, the first python programming riddle on the
net.
> >
> > You are invited to take part in it at:
> > http://www.pythonchallenge.com
>
> That was pretty fun. Good for a Friday. Too bad it comes to an
abrupt
> "temporary end".

They've added at least one more level since yesterday. Unfortunately,
I'm stuck on it.

Dan Bishop

unread,
May 1, 2005, 2:11:32 AM5/1/05
to

Correction: Now I'm stuck on Level 11. I think I'm supposed to do
something with the pixels in the image, but what?

Roel Schroeven

unread,
May 1, 2005, 3:55:11 AM5/1/05
to
Dan Bishop wrote:

> Dan Bishop wrote:
>
> Correction: Now I'm stuck on Level 11. I think I'm supposed to do
> something with the pixels in the image, but what?

Me too. I've tried making different images out of the even and the odd
pixels, but nothing interesting happened. I tried to combine both images
in various ways (using the Gimp), but that also seemed to be a dead end.

I don't think we need to concernt ourselves with the individual pixel
values; otherwise the image would not be a jpeg, it would be a non-lossy
format instead.

The forum's tips only go up to 9, so that doesn't help either.

Roel Schroeven

unread,
May 1, 2005, 6:37:45 AM5/1/05
to
Roel Schroeven wrote:

> Dan Bishop wrote:
>
>
>>Dan Bishop wrote:
>>
>>Correction: Now I'm stuck on Level 11. I think I'm supposed to do
>>something with the pixels in the image, but what?
>
>
> Me too.

There's a new image on the website now (still the same name though); I
solved the riddle now :-)

There's no level 12 yet though.

Dan Christensen

unread,
May 1, 2005, 10:32:13 PM5/1/05
to pytho...@python.org
Roel Schroeven <rschroev_...@fastmail.fm> writes:

> There's no level 12 yet though.

Now there's a 12 and a 13 (at least!).

Dan

Dan Bishop

unread,
May 2, 2005, 12:02:04 AM5/2/05
to

Roel Schroeven wrote:
> Dan Bishop wrote:
>
> > Dan Bishop wrote:
> >
> > Correction: Now I'm stuck on Level 11. I think I'm supposed to do
> > something with the pixels in the image, but what?
>
> Me too. I've tried making different images out of the even and the
odd
> pixels, but nothing interesting happened. I tried to combine both
images
> in various ways (using the Gimp), but that also seemed to be a dead
end.

You only got 2 images?

*** SPOILER ALERT ***

Split them again to get 4 images with (even, even), (even, odd), (odd,
even), and (odd, odd) coordinates. Two of the resulting images will be
useful.

Reinhold Birkenfeld

unread,
May 2, 2005, 7:44:08 AM5/2/05
to

Anyone solved 12? Hints?

thanks, Reinhold

msta...@gmail.com

unread,
May 2, 2005, 8:23:58 AM5/2/05
to
Any hints on level 6 ?
There is "zip" in the page source, "ZIp" in the
image data, but have no clue what to do with them
- tried many things :).

Thanks,
Maciek

John Hazen

unread,
May 2, 2005, 9:13:39 AM5/2/05
to msta...@gmail.com, pytho...@python.org
* msta...@gmail.com <msta...@gmail.com> [2005-05-02 05:10]:

Have you found the zip file yet?

(I did, and I still can't figure it out. I'm wondering if there are
comments embedded in the jpg that none of my viewers will show me.
Hmm, maybe there's a python module that does that... I'll play with it
more after I sleep on it.)

-John

Reinhold Birkenfeld

unread,
May 2, 2005, 9:31:34 AM5/2/05
to

It's best when you use the zipfile module.

*** SPOILER ***


Look carefully at the ZipInfo class for every file in the archive.

Ganesan Rajagopal

unread,
May 2, 2005, 9:49:58 AM5/2/05
to

I am stuck on level 3. I've tried every re that I can think of. Some body
give me a clue.

Ganesan

--
Ganesan Rajagopal


Maciek Starzyk

unread,
May 2, 2005, 9:58:26 AM5/2/05
to John Hazen, pytho...@python.org
On 5/2/05, John Hazen <jo...@hazen.net> wrote:
> * msta...@gmail.com <msta...@gmail.com> [2005-05-02 05:10]:
> Have you found the zip file yet?

Now I have it. Thanks :)

> (I did, and I still can't figure it out. I'm wondering if there are
> comments embedded in the jpg that none of my viewers will show me.
> Hmm, maybe there's a python module that does that... I'll play with it
> more after I sleep on it.)

Hint: Use Python module 'zipfile' :)

Thanks again,
--
Maciek Starzyk

Roel Schroeven

unread,
May 2, 2005, 11:47:56 AM5/2/05
to
John Hazen wrote:

Possible spoiler, so ROT13'ed:

Qvq lbh frr naq ernq gur ernqzr.gkg va gur mvc svyr?

Roel Schroeven

unread,
May 2, 2005, 1:15:30 PM5/2/05
to
Dan Bishop wrote:

> Roel Schroeven wrote:
>
>>Dan Bishop wrote:
>>
>>
>>>Dan Bishop wrote:
>>>
>>>Correction: Now I'm stuck on Level 11. I think I'm supposed to do
>>>something with the pixels in the image, but what?
>>
>>Me too. I've tried making different images out of the even and the
>
> odd
>
>>pixels, but nothing interesting happened. I tried to combine both
>
> images
>
>>in various ways (using the Gimp), but that also seemed to be a dead
>
> end.
>
> You only got 2 images?
>
> *** SPOILER ALERT ***

[...]

Is that on the original image, or the new one? I solved it with the new
one, but I'm still unable to do find the solution using the original one.

darren kirby

unread,
May 2, 2005, 1:47:03 PM5/2/05
to pytho...@python.org
quoth the Ganesan Rajagopal:

>>> t = /text of page source.../
>>> re.findall('[a-z][A-Z]{3}[a-z]{1}[A-Z]{3}[a-z]', t)

You should get ten results. Consider all ten together to get your solution...

-d

Reinhold Birkenfeld

unread,
May 2, 2005, 3:17:00 PM5/2/05
to
darren kirby wrote:
> quoth the Ganesan Rajagopal:
>> I am stuck on level 3. I've tried every re that I can think of. Some body
>> give me a clue.
>>
>> Ganesan
>>
>> --
>> Ganesan Rajagopal
>
>>>> t = /text of page source.../
>>>> re.findall('[a-z][A-Z]{3}[a-z]{1}[A-Z]{3}[a-z]', t)
>
> You should get ten results. Consider all ten together to get your solution...

Somehow writing '[a-z]{1}' is strange...

Reinhold

John Hazen

unread,
May 2, 2005, 5:01:25 PM5/2/05
to Reinhold Birkenfeld, pytho...@python.org
* Reinhold Birkenfeld <reinhold-birk...@wolke7.net> [2005-05-02 06:19]:

> John Hazen wrote:
> > Have you found the zip file yet?
> >
> > (I did, and I still can't figure it out....)
>
> It's best when you use the zipfile module.

Cool. I had just unzipped the zipfile, and was looking at the files
directly. The comments weren't added to the files in the OS, so I was
only thinking about jpeg comments (since the photo was also a "zip").

I love the way this challenge is making me poke into pieces of the
library I've never used before. :)

-John

darren kirby

unread,
May 2, 2005, 6:48:37 PM5/2/05
to pytho...@python.org
quoth the Reinhold Birkenfeld:

>
> Somehow writing '[a-z]{1}' is strange...
>
> Reinhold

>>> t = /text of page source.../
>>> re.findall('[a-z][A-Z]{3}[a-z][A-Z]{3}[a-z]', t)

Sorry dude! When it comes to logic puzzles I am easily frustrated, and that
leads to unclear thinking...

Dan Christensen

unread,
May 2, 2005, 11:23:11 PM5/2/05
to pytho...@python.org
Reinhold Birkenfeld <reinhold-birk...@wolke7.net> writes:

**hint below**


*


*


*


*


*


*


*


Look at the filename for the first image you see, and make a guess at
another filename.

Dan

Dan Christensen

unread,
May 2, 2005, 11:23:52 PM5/2/05
to pytho...@python.org
Dan Christensen <j...@uwo.ca> writes:

> Roel Schroeven <rschroev_...@fastmail.fm> writes:
>
>> There's no level 12 yet though.
>

> Now there's a 12 and a 13 (at least!).

Any hints for level 13? I know how to make a call, but don't know "who"
to call.

Dan

Ganesan Rajagopal

unread,
May 3, 2005, 12:03:47 AM5/3/05
to
>>>>> "darren" == darren kirby <bull...@badcomputer.org> writes:

> quoth the Ganesan Rajagopal:
>> I am stuck on level 3. I've tried every re that I can think of. Some body
>> give me a clue.
>>
>> Ganesan
>>
>> --
>> Ganesan Rajagopal

>>>> t = /text of page source.../
>>>> re.findall('[a-z][A-Z]{3}[a-z]{1}[A-Z]{3}[a-z]', t)

> You should get ten results. Consider all ten together to get your
> solution...

Ah, thanks. I tried having both sides identical, no results. Then I tried
the above re but stopped at the first result :-(.

Ganesan

--
Ganesan Rajagopal


Dan Bishop

unread,
May 3, 2005, 12:20:28 AM5/3/05
to
Dan Christensen wrote:
> Reinhold Birkenfeld <reinhold-birk...@wolke7.net> writes:
>
> > Dan Christensen wrote:
> >> Roel Schroeven <rschroev_...@fastmail.fm> writes:
> >>
> >>> There's no level 12 yet though.
> >>
> >> Now there's a 12 and a 13 (at least!).
> >
> > Anyone solved 12? Hints?
>
> **hint below**
>
> Look at the filename for the first image you see,

You mean "evil1.jpg"?

> and make a guess at another filename.

I've made tons of guesses, but none of them worked :-(

John Hazen

unread,
May 3, 2005, 12:47:44 AM5/3/05
to Dan Bishop, pytho...@python.org
* Dan Bishop <dan...@yahoo.com> [2005-05-02 21:09]:

> Dan Christensen wrote:
> > Reinhold Birkenfeld <reinhold-birk...@wolke7.net> writes:
> >
> > > Dan Christensen wrote:
> > >> Roel Schroeven <rschroev_...@fastmail.fm> writes:
> > >>
> > >>> There's no level 12 yet though.
> > >>
> > >> Now there's a 12 and a 13 (at least!).
> > >
> > > Anyone solved 12? Hints?
> >
> > **hint below**
> >
> > Look at the filename for the first image you see,
>
> You mean "evil1.jpg"?

yup.

> > and make a guess at another filename.
>
> I've made tons of guesses, but none of them worked :-(

Hmmm. The title of the html page is "dealing evil". If you were
playing war instead of solitaire, how would you change how you deal the
cards?

-John

P.S. - I think I've found everything, but still haven't figured out what
to do with it. No hints yet, though. I want to think about it some
more...

Dan Bishop

unread,
May 3, 2005, 2:42:57 AM5/3/05
to

John Hazen wrote:
> * Dan Bishop <dan...@yahoo.com> [2005-05-02 21:09]:
> > Dan Christensen wrote:
> > > Reinhold Birkenfeld <reinhold-birk...@wolke7.net>
writes:
> > >
> > > > Dan Christensen wrote:
> > > >> Roel Schroeven <rschroev_...@fastmail.fm> writes:
> > > >>
> > > >>> There's no level 12 yet though.
> > > >>
> > > >> Now there's a 12 and a 13 (at least!).
> > > >
> > > > Anyone solved 12? Hints?
> > >
> > > **hint below**
> > >
> > > Look at the filename for the first image you see,
> >
> > You mean "evil1.jpg"?
>
> yup.
>
> > > and make a guess at another filename.
> >
> > I've made tons of guesses, but none of them worked :-(
>
> Hmmm. The title of the html page is "dealing evil". If you were
> playing war instead of solitaire, how would you change how you deal
the
> cards?

Well, I'd deal them into 2 piles, and...

Damn! That was an obscure hint!

Now, how do I open *.gfx files?

Reinhold Birkenfeld

unread,
May 3, 2005, 3:07:10 AM5/3/05
to
Dan Bishop wrote:

> Well, I'd deal them into 2 piles, and...
>
> Damn! That was an obscure hint!
>
> Now, how do I open *.gfx files?

You don't directly.

Hint: gfx stands for?

************** SPOILER ****************

Graphic*s*.

Roel Schroeven

unread,
May 3, 2005, 8:36:04 AM5/3/05
to
John Hazen wrote:

> Hmmm. The title of the html page is "dealing evil". If you were
> playing war instead of solitaire, how would you change how you deal the
> cards?

Hm, I'm not familiar with playing war. You couldn't elaborate a bit on
that, could you?

Roel Schroeven

unread,
May 3, 2005, 11:50:30 AM5/3/05
to
Roel Schroeven wrote:

> John Hazen wrote:
>
>
>>Hmmm. The title of the html page is "dealing evil". If you were
>>playing war instead of solitaire, how would you change how you deal the
>>cards?
>
>
> Hm, I'm not familiar with playing war. You couldn't elaborate a bit on
> that, could you?

Never mind, I got it anyway now.

Chris McAloney

unread,
May 3, 2005, 1:58:03 PM5/3/05
to
Hi all,

Okay, so I've been working on level seven for a LONG time now. I've
decoded the first message to get the hint for the next level. Using the
same tactics, then I decode the hint as well, but there are non-printable
characters. I've tried stripping out those characters, quoting them to
include in the URL and various anagrams of the printable characters, but
nothing works. Does anybody have any suggestions?

Thanks,

-chris

Roel Schroeven

unread,
May 3, 2005, 2:49:14 PM5/3/05
to
Chris McAloney wrote:

I just took a guess for the first of those non-printable characters, and
proceeded from there. I thought it was going to be too simplistic, but
it worked. And fortunately my first guess was the right one.

Dan Christensen

unread,
May 3, 2005, 3:30:21 PM5/3/05
to pytho...@python.org
Roel Schroeven <rschroev_...@fastmail.fm> writes:

> Chris McAloney wrote:
>
>> Hi all,
>>
>> Okay, so I've been working on level seven for a LONG time now. I've
>> decoded the first message to get the hint for the next level. Using the
>> same tactics, then I decode the hint as well, but there are non-printable
>> characters. I've tried stripping out those characters, quoting them to
>> include in the URL and various anagrams of the printable characters, but
>> nothing works. Does anybody have any suggestions?
>
> I just took a guess for the first of those non-printable characters, and
> proceeded from there. I thought it was going to be too simplistic, but
> it worked. And fortunately my first guess was the right one.

Hmm, I didn't get any non-printable characters, just a regular English
word to be used to get to level 8. I think you guys must be doing
something wrong...

Dan

Roel Schroeven

unread,
May 3, 2005, 4:07:19 PM5/3/05
to
Dan Christensen wrote:

Indeed, and I found out what was wrong. The puzzle is much nicer now.

Tiziano Bettio

unread,
May 3, 2005, 4:16:53 PM5/3/05
to PYTHON GROUP
PLEASE HELP...

What the hell do i have to pronounce in puzzle 5????

Some useful hints would be awesome


thx

Tim Peters

unread,
May 3, 2005, 4:28:36 PM5/3/05
to pytho...@python.org
[Chris McAloney]

> Okay, so I've been working on level seven for a LONG time now.

Hmm. I've been staring at that one 18 hours a day since last Friday,
and still don't have the foggiest idea. I've counted boxes, counted
pixels, broken it apart and rearranged it like a jigsaw puzzle, ran
"strings" over the .png, ..., all in vain.

> I've decoded the first message to get the hint for the next level.

It's not nice to humilate your elders in public, Chris.

> Using the same tactics, then I decode the hint as well, but there are
> non-printable characters. I've tried stripping out those characters,
> quoting them to include in the URL and various anagrams of the printable
> characters, but nothing works. Does anybody have any suggestions?

Count boxes, count pixels, break it apart and rearrange it like a
jigsaw puzzle, run "strings" over it ... I have a lot of useless
suggestions, anyway.

Tim Peters

unread,
May 3, 2005, 4:32:04 PM5/3/05
to PYTHON GROUP
[Tiziano Bettio]

> PLEASE HELP...
>
> What the hell do i have to pronounce in puzzle 5????
>
> Some useful hints would be awesome

That's a funny one: I didn't understand the "pronounce it" hint until
long after I solved that one. Then again, Guido & I implemented PEP
307, so I knew what to do the instant I saw the file <wink>.

Tiziano Bettio

unread,
May 3, 2005, 4:40:34 PM5/3/05
to PYTHON GROUP
Tim Peters wrote:

well finally also i got the hint... but what to do on the next page that
follows???? i don't seem to get to puzzle 6...

greets

Leif K-Brooks

unread,
May 3, 2005, 6:49:18 PM5/3/05
to
Chris McAloney wrote:
> Okay, so I've been working on level seven for a LONG time now. I've
> decoded the first message to get the hint for the next level. Using the
> same tactics, then I decode the hint as well, but there are non-printable
> characters.

Frira be srjre pbcvrf bs gur fnzr cvkry va n ebj ner bar punenpgre, ohg
rvtug cvkryf ner gjb punenpgref.

Dan Christensen

unread,
May 3, 2005, 7:27:28 PM5/3/05
to pytho...@python.org
Tim Peters <tim.p...@gmail.com> writes:

> [Chris McAloney]


>> Okay, so I've been working on level seven for a LONG time now.
>

> Hmm. I've been staring at that one 18 hours a day since last Friday,
> and still don't have the foggiest idea. I've counted boxes, counted
> pixels, broken it apart and rearranged it like a jigsaw puzzle, ran
> "strings" over the .png, ..., all in vain.

*** small hint below ***

*** a bit further ***

Did you look at the RGB values of the pixels?

Dan

Tim Peters

unread,
May 3, 2005, 8:34:06 PM5/3/05
to pytho...@python.org
[Tim Peters, whines about level 7]

[Dan Christensen, gives a huge hint]

The first time I looked at it, I thought "hmm, I should use PIL for
this". I kept thinking that too <wink> -- but for some reason wanted
to see if there was a clear way to do it without something that
"fancy". I eventually gave up and did the obvious thing (and of
course that worked).

simple's-good-but-braindead-simple-ain't-always-enough-ly y'rs - tim

Chris McAloney

unread,
May 3, 2005, 10:27:09 PM5/3/05
to

Oh dear. I would **never** have gotten this on my own. I mean that, too,
since I discarded adjacent duplicates and used the "trimmed"
(equivalently: "wrong") version as my ground truth.

Thanks very much.

-chris

... and now on to number eight ...


Chris McAloney

unread,
May 3, 2005, 10:23:57 PM5/3/05
to
On Tue, 3 May 2005, Tim Peters wrote:

> Hmm. I've been staring at that one 18 hours a day since last Friday,

I'm very relieved to hear that I'm not the only one, then.

> > I've decoded the first message to get the hint for the next level.
>
> It's not nice to humilate your elders in public, Chris.

No humiliation was intended -- I was simply trying to use this fact as a
form of currency to hopefully barter myself a useful hint. ;-)

-chris

Martijn Pieters

unread,
May 4, 2005, 4:54:03 PM5/4/05
to pytho...@python.org
Dan Christensen wrote:
> Any hints for level 13? I know how to make a call, but don't know "who"
> to call.

I haven't figured this one out yet either. Rather frustrating really.
All the hints I've been given so far is to rmember the solution for
level 12.

Banging-my-head-against-it-didn't-help-either-ly yours,

Martijn Pieters

signature.asc

Roel Schroeven

unread,
May 4, 2005, 6:07:01 PM5/4/05
to
Martijn Pieters wrote:

> Dan Christensen wrote:
>
>>Any hints for level 13? I know how to make a call, but don't know "who"
>>to call.
>
>
> I haven't figured this one out yet either. Rather frustrating really.
> All the hints I've been given so far is to rmember the solution for
> level 12.

You don't really need the remember the solution; it's more the process
that led you to find the solution.

Michael Spencer

unread,
May 4, 2005, 6:09:06 PM5/4/05
to pytho...@python.org
Martijn Pieters wrote:
> Dan Christensen wrote:
>
>> Any hints for level 13? I know how to make a call, but don't know "who"
>> to call.
>
>
> I haven't figured this one out yet either. Rather frustrating really.
> All the hints I've been given so far is to rmember the solution for
> level 12.
>
> Banging-my-head-against-it-didn't-help-either-ly yours,
>
> Martijn Pieters
>
Same here. BTW I was unable to open one of the objects created in level 12. It
didn't stop me guessing the answer based on the others, but now I wonder whether
I might need the missing piece for level 13. Anyone else encounter this?

Michael

Roel Schroeven

unread,
May 4, 2005, 6:19:56 PM5/4/05
to
Michael Spencer wrote:

Indeed, there is one I could not open properly. One tool I tried gave a
warning and an incorrect image, another one showed a cropped image of
what I suppose should have been the real image.
I tried some variations to get an uncorrupted object, but didn't succeed.

However, I didn't need it for solving level 13.


When all else fails, try Google. It helped me, in any case.

Martijn Pieters

unread,
May 4, 2005, 6:16:50 PM5/4/05
to pytho...@python.org
Michael Spencer wrote:
> Same here. BTW I was unable to open one of the objects created in level 12. It
> didn't stop me guessing the answer based on the others, but now I wonder whether
> I might need the missing piece for level 13. Anyone else encounter this?

Nope, that piece is just a truncated version that opens fine otherwise
in Firefox which then gives you the piece that you correctly guessed at;
no hints there.

Martijn Pieters

signature.asc

Martijn Pieters

unread,
May 4, 2005, 6:19:54 PM5/4/05
to pytho...@python.org
Roel Schroeven wrote:
> You don't really need the remember the solution; it's more the process
> that led you to find the solution.

Yup, I do remember the process, and it hasn't been any help so far.. no
adjustable URLs leading to interesting files, no 'dealable' images, no nada.

Martijn Pieters

signature.asc

Martijn Pieters

unread,
May 4, 2005, 6:30:56 PM5/4/05
to pytho...@python.org
Martijn Pieters wrote:
> I haven't figured this one out yet either. Rather frustrating really.
> All the hints I've been given so far is to remember the solution for
> level 12.

Awwww, that was devious! I found it finally, how evil that was! I really
fell for it too, until I paid more attention to that error message. Got
it finally. *woot*

Martijn Pieters

signature.asc

Roel Schroeven

unread,
May 4, 2005, 6:38:30 PM5/4/05
to
Martijn Pieters wrote:

Unless Martijn Pieters here and mjpieters in the Python Challenge forum
are two differen persons, you've found it in the meantime, haven't you?

Martijn Pieters

unread,
May 4, 2005, 6:58:21 PM5/4/05
to pytho...@python.org
Roel Schroeven wrote:
> Unless Martijn Pieters here and mjpieters in the Python Challenge forum
> are two differen persons, you've found it in the meantime, haven't you?

Yup, I found it. How evil and devious. I found the hint without
Googling, BTW, but can see how Google would have led you to the
solution. I for one, will never again believe the claim there is no more
evils..

Martijn Pieters

signature.asc

Michael Spencer

unread,
May 4, 2005, 7:33:53 PM5/4/05
to pytho...@python.org
Martijn Pieters wrote:
> Roel Schroeven wrote:
>
>> Unless Martijn Pieters here and mjpieters in the Python Challenge forum
>> are two differen persons, you've found it in the meantime, haven't you?
>
>
> Yup, I found it. How evil and devious. I found the hint without
> Googling, BTW, but can see how Google would have led you to the
> solution. I for one, will never again believe the claim there is no more
> evils..
>
> Martijn Pieters
>
Aha - got it. Thanks for the hints

Michael

Dan Bishop

unread,
May 5, 2005, 12:56:37 AM5/5/05
to

You mean there's a hint in that XML-RPC fault?

Michael Spencer

unread,
May 5, 2005, 1:25:25 AM5/5/05
to pytho...@python.org

No - the hint is associated with another error message


Martijn Pieters

unread,
May 5, 2005, 7:34:36 AM5/5/05
to pytho...@python.org
[SNIP me whining then cheering about level 13]

Dan Bishop wrote:
> You mean there's a hint in that XML-RPC fault?

No, there is a hint in level 12. Remember how you could manipulate the
URL of the image of level 12 to get to the data file for that level. Now
continue that manipulation and don't believe the suggestion about no
more evils. *Then* pay close attention to what you find. If you get a
'Not Found' you either didn't pay attention in the previous step and
have passed over the hint, or you searched in the wrong direction.

Martijn Pieters

signature.asc

Martijn Pieters

unread,
May 5, 2005, 7:36:07 AM5/5/05
to pytho...@python.org
Michael Spencer wrote:

> Dan Bishop wrote:
> > You mean there's a hint in that XML-RPC fault?
>
> No - the hint is associated with another error message

Assuming a web browser (firefox in my case) is being used. ;) I got no
error message when I retrieved that URL with urllib and examined the
result..

Martijn Pieters

signature.asc

James Carroll

unread,
May 5, 2005, 9:08:00 AM5/5/05
to Martijn Pieters, pytho...@python.org
Och! Thanks for the hint! I actually guessed the answer of who to
phone earlier in the day, but didn't have the capitolization
correct... Damn! Great riddles!

-Jim


On 5/5/05, Martijn Pieters <m...@zopatista.com> wrote:
> [SNIP me whining then cheering about level 13]
>
> Dan Bishop wrote:

> > You mean there's a hint in that XML-RPC fault?
>

> No, there is a hint in level 12. Remember how you could manipulate the
> URL of the image of level 12 to get to the data file for that level. Now
> continue that manipulation and don't believe the suggestion about no
> more evils. *Then* pay close attention to what you find. If you get a
> 'Not Found' you either didn't pay attention in the previous step and
> have passed over the hint, or you searched in the wrong direction.
>
> Martijn Pieters
>
>

> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
>

Dan Bishop

unread,
May 5, 2005, 9:40:31 AM5/5/05
to
James Carroll wrote:
> Och! Thanks for the hint! I actually guessed the answer of who to
> phone earlier in the day, but didn't have the capitolization
> correct... Damn! Great riddles!

I found the answer with a brute-force search (using
/usr/share/dict/words).

willitfw

unread,
May 5, 2005, 3:07:52 PM5/5/05
to
any help on level 4 would be appreciated. i've looked at the hints,
but isn't obvious

Martijn Pieters

unread,
May 5, 2005, 3:20:18 PM5/5/05
to pytho...@python.org
willitfw wrote:
> any help on level 4 would be appreciated. i've looked at the hints,
> but isn't obvious

It isn't meant to be too obvious.. If you're expecting obvious
solutions, you won't like the rest of the challenge. ;)

What have you tried? Have you studied the source of the page, tried the
link, seen what you get back from that link and then adjusted the URL
according to what you got back? From there on out, just follow the
chain, the linked list.

Martijn Pieters

signature.asc

willitfw

unread,
May 5, 2005, 4:16:40 PM5/5/05
to
yes, I have done that. i'll keep working on it.
thanks

Christos TZOTZIOY

unread,
May 6, 2005, 5:52:15 AM5/6/05
to
On Fri, 29 Apr 2005 23:38:53 +0300, rumours say that pythonchallenge
<pyth...@nospam.not.com> might have written:

>For the riddles' lovers among you, you are most invited to take part
>in the Python Challenge, the first python programming riddle on the net.

>You are invited to take part in it at:
>http://www.pythonchallenge.com

This is not only about riddle lovers, but a great way to advocate python
to other programmers... I already had a session with a friend (he did
the thinking, I did the programming next to him) and he was enchanted :)

I'm already investing a little time to think some new riddles to suggest
(extending stdlib coverage).
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...

Greg Ewing

unread,
May 27, 2005, 12:58:01 AM5/27/05
to
Can someone give me a hint for No. 10? My MindBlaster
card must be acting up -- I can't seem to tune into
the author's brain waves on this one.

I came up with what I thought was a perfectly good
solution, but apparently it's wrong. :-(

--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg

Tim Peters

unread,
May 27, 2005, 1:22:37 AM5/27/05
to pytho...@python.org
[Greg Ewing]

> Can someone give me a hint for No. 10? My MindBlaster
> card must be acting up -- I can't seem to tune into
> the author's brain waves on this one.

There are hints on the site; for level 10,

http://www.pythonchallenge.com/forums/viewtopic.php?t=20

> I came up with what I thought was a perfectly good
> solution, but apparently it's wrong. :-(

The On-Line Encyclopedia of Integer Sequences should be better known
-- it's an amazing resource:

http://www.research.att.com/~njas/sequences/

It knows about this sequence, so don't use it unless you want the
answer given to you. If it doesn't know about your sequence,
"perfectly good" is debatable <wink>.

0 new messages