Re: Golf challenge: decode CETI message

2002-01-12 Thread Ilmari Karonen
On Fri, 11 Jan 2002, Philip Newton wrote: On Wed, 9 Jan 2002 20:34:30 -0500, [EMAIL PROTECTED] (Keith C. Ivey) wrote: But s'\x0\xff' @' to make it shorter and more visible on my system. y(s))y) ? qBut y'\x0\xff' @' to make it yhorter and more viyible on my yyytem. ? Besides, aren't

Re: Golf challenge: decode CETI message

2002-01-12 Thread Ronald J Kimball
On Sun, Jan 13, 2002 at 03:41:40AM +0200, Ilmari Karonen wrote: On Fri, 11 Jan 2002, Philip Newton wrote: On Wed, 9 Jan 2002 20:34:30 -0500, [EMAIL PROTECTED] (Keith C. Ivey) wrote: But s'\x0\xff' @' to make it shorter and more visible on my system. y(s))y) ? qBut y'\x0\xff'

Re: Golf challenge: decode CETI message

2002-01-12 Thread Keith C. Ivey
Ilmari Karonen [EMAIL PROTECTED] wrote: Besides, aren't single quotes special for s/// and y/// anyway? I think what Keith _really_ meant was tr[\0\xff][ @] or equivalent. No, I was intending for the operation to be performed on the program Patrick had suggested (or my revision), not on

Re: Golf challenge: decode CETI message

2002-01-11 Thread Philip Newton
On Wed, 9 Jan 2002 20:34:30 -0500, [EMAIL PROTECTED] (Keith C. Ivey) wrote: But s'\x0\xff' @' to make it shorter and more visible on my system. y(s))y) ? Cheers, Philip

Re: Golf challenge: decode CETI message

2002-01-10 Thread Casey West
On Wed, Jan 09, 2002 at 02:22:57PM -0500, Patrick Gaskill wrote: : :There's an article about CETI's next message into space : : http://slashdot.org/article.pl?sid=02/01/08/231247mode=nested [ snip ] : :My attempt, at 79 characters:

Golf challenge: decode CETI message

2002-01-09 Thread Patrick Gaskill
There's an article about CETI's next message into space http://slashdot.org/article.pl?sid=02/01/08/231247mode=nested and CETI is providing the message in ASCII 1's and 0's (with example noise added) to be decoded for our own amusement. Of course, I wrote a Perl script to do this for me. Of

Re: Golf challenge: decode CETI message

2002-01-09 Thread Keith C. Ivey
Patrick Gaskill [EMAIL PROTECTED] wrote: My attempt, at 79 characters: $\=$/;undef$/;$_=;s/.{70}//s;tr,01\n,\x00\xff,d; print$1while/(.{1,127})\n?/g; Are we doing this without command-line switches? This should do the same in 65 characters: