Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-06 Thread TZOTZIOY
On Fri, 29 Apr 2005 23:38:53 +0300, rumours say that pythonchallenge
[EMAIL PROTECTED] 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...
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread Martijn Pieters
[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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread Martijn Pieters
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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread James Carroll
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 [EMAIL PROTECTED] 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
 
 

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread Dan Bishop
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).

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread willitfw
any help on level 4 would be appreciated.  i've looked at the hints,
but isn't obvious

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread Martijn Pieters
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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-05 Thread willitfw
yes, I have done that.  i'll keep working on it.
thanks

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Martijn Pieters
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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Roel Schroeven
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.

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Michael Spencer
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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Martijn Pieters
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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Roel Schroeven
Michael Spencer wrote:

 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?

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.

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Martijn Pieters
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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Martijn Pieters
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.
A, 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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Roel Schroeven
Martijn Pieters wrote:

 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.

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?

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Martijn Pieters
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
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Michael Spencer
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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-04 Thread Dan Bishop

Martijn Pieters wrote:
 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.

 A, 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*

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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Dan Bishop

John Hazen wrote:
 * Dan Bishop [EMAIL PROTECTED] [2005-05-02 21:09]:
  Dan Christensen wrote:
   Reinhold Birkenfeld [EMAIL PROTECTED]
writes:
  
Dan Christensen wrote:
Roel Schroeven [EMAIL PROTECTED] 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?

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Reinhold Birkenfeld
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*.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Roel Schroeven
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?

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Roel Schroeven
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.

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Chris McAloney
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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Roel Schroeven
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.

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Tiziano Bettio
PLEASE HELP...

What the hell do i have to pronounce in puzzle 5

Some useful hints would be awesome


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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Tim Peters
[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.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Tim Peters
[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.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Tiziano Bettio
Tim Peters wrote:

[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.
  

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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Chris McAloney
On Tue, 3 May 2005, Leif K-Brooks wrote:

 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.

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 ...


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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-03 Thread Chris McAloney
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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Reinhold Birkenfeld
Dan Christensen wrote:
 Roel Schroeven [EMAIL PROTECTED] writes:
 
 There's no level 12 yet though.
 
 Now there's a 12 and a 13 (at least!).

Anyone solved 12? Hints?

thanks, Reinhold
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread [EMAIL PROTECTED]
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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread John Hazen
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]:
 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 :). 

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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Reinhold Birkenfeld
John Hazen wrote:
 * [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]:
 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 :). 
 
 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.)

It's best when you use the zipfile module.

*** SPOILER ***




























































Look carefully at the ZipInfo class for every file in the archive.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread 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


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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Maciek Starzyk
On 5/2/05, John Hazen [EMAIL PROTECTED] wrote:
 * [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]:
  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 :).
 
 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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Roel Schroeven
John Hazen wrote:

 * [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]:
 
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 :). 
 
 
 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

Possible spoiler, so ROT13'ed:

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

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Roel Schroeven
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.

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

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Reinhold Birkenfeld
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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread John Hazen
* Reinhold Birkenfeld [EMAIL PROTECTED] [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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread darren kirby
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...

-d
-- 
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


pgppGkifujJIs.pgp
Description: PGP signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Ganesan Rajagopal
 darren == darren kirby [EMAIL PROTECTED] 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


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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread John Hazen
* Dan Bishop [EMAIL PROTECTED] [2005-05-02 21:09]:
 Dan Christensen wrote:
  Reinhold Birkenfeld [EMAIL PROTECTED] writes:
 
   Dan Christensen wrote:
   Roel Schroeven [EMAIL PROTECTED] 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...
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-01 Thread Dan Bishop
Dan Bishop wrote:
 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.

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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-01 Thread Roel Schroeven
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.
--
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton
Roel Schroeven
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-01 Thread Roel Schroeven
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.
--
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton
Roel Schroeven
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-01 Thread Dan Christensen
Roel Schroeven [EMAIL PROTECTED] writes:

 There's no level 12 yet though.

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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-30 Thread Mark T

pythonchallenge [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 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

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


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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-30 Thread Tim Peters
[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.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-30 Thread Mike Rovner
Tim Peters wrote:
[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.
There is! That black and white line contains the message.
Mike
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-30 Thread Leif K-Brooks
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
Very neat, I love things like this. Level 5 is maddening. Keep up the 
good work.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-30 Thread Dan Bishop
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.

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-30 Thread Roel Schroeven
Mike Rovner wrote:
David Murmann wrote:
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 :))
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.
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
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-30 Thread Dan Bishop

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.

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread 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. :-)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread Erik Max Francis
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  [EMAIL PROTECTED]  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
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread David Murmann
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 :))
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread Michael Spencer
David Murmann wrote:
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 :))
the 'm' is silent ;-)

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread darren kirby
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...

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


pgpi12dSB8kSg.pgp
Description: PGP signature
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread Shane Hathaway
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...

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

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread bgs
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 fun.  The very first step in 6 was the most frustrating I
thought.

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


Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread Mike Rovner
David Murmann wrote:
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 :))
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
--
http://mail.python.org/mailman/listinfo/python-list