RE: PGAS Features & TPR Update

2002-04-11 Thread gary
Agreed. I don't think anyone would feel very good about winning a competition in which the best players were disqualified for doing too well. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 9:58 PM > To: [EMAIL PROTECTED]; [EMAIL

RE: Blast from the past: "Triple Challenge Tight Coding"

2002-04-15 Thread gary
yet another 22: #!perl -p $_ x=" $_"=~reverse > -Original Message- > From: Usenet News [mailto:[EMAIL PROTECTED]]On Behalf Of Ton Hospel > Sent: Sunday, April 14, 2002 8:49 PM > To: [EMAIL PROTECTED] > Subject: Re: Blast from the past: "Triple Challenge Tight Coding" > > > In article > <

RE: Blast from the past: "Triple Challenge Tight Coding"

2002-04-16 Thread gary
> > You can make it work like this: > -p $_ x=/(.)((??{++($0=$+)})){3}/ > Any ideas on what accounts for the need to use $0 instead of any other var?

RE: Blast from the past: "Triple Challenge Tight Coding"

2002-04-17 Thread gary
That first regex led me to an interesting "Abigailism" for Fibonacci numbers: http://www.perlmonks.com/index.pl?node_id=98691 perl -le '(1 x $_++) =~ /^(1(??{1x$-[1]}))*$/ && print while 1' perl -le 'print "Fibonacci" if (1x(-1+pop)) =~ /^(1(??{1x$-

RE: TPR(0,3) is open

2002-04-30 Thread gary
When I loaded that page, I subconsciously misread the page heading as: "The Monthly Curse" Hmmmm. -Gary > -Original Message- > From: Eugene van der Pijll [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 30, 2002 7:08 PM > To: [EMAIL PROTECTED] >

RE: TPR(0,3) is open

2002-05-01 Thread gary
> > H. Is that Gary really MeowChow in disguise? > > /-\ndrew > > Is Clark Kent really Superman? ;) -Gary

Leaderboard bug

2002-05-03 Thread gary
Looks like PGAS is caught in its own sandtrap: ## Content-type: text/html Software error: HTML::Template->param() : You gave me an odd number of parameters to param()! at /home/groups/p/pe/perlgolf/cgi-bin/PGAS/leader.cgi line 210 For help, please send ma

RE: Minigolf

2002-05-16 Thread gary
t break 41. Grrrr. -Gary

RE: Minigolf

2002-05-16 Thread gary
of $+[1] ? > Is this a not documented perlvar @+ ? > 47, actually. This was not my 41 char solution, which is really too dull to merit posting. -Gary

RE: hole: a memory leak

2002-05-29 Thread gary
Not the shortest, though perhaps the most ironic: eval 'use less "memory"' while 1; You may also want to check out http://www.perlmonks.com/index.pl?node_id=156461, for a similarly deranged golf contest. > -Original Message- > From: F.Xavier Noria [mailto:[EMAIL PROTECTED]] > Sent: W

Exhumed - life after burial

2002-06-23 Thread gary
The problem? Towers of Hanoi. The solution? So preposterously short that at first I thought it a troll. http://www.perlmonks.com/index.pl?node_id=176643 Who was that masked alien?

RE: Exhumed - life after burial

2002-06-23 Thread gary
Ton Hospel wrote: > > > > Who was that masked alien? > > Ah, that was a combined effort by Jukka Suomela and me. > It's a bit unfair really since you have to know where to > move the first disk, which depends on even/odd. > I still thought the end result was interesting enough to post. > (and I

RE: Shortest non-numeric Perl expression for each number

2004-03-11 Thread gary
The following snippet may yield some interesting, though often misleading insight. # WARNING! This program generates random code # DO NOT to run this on a privileged account # $|++; close STDERR; close STDIN; my @Chars = ( ' ', a..z, A..Z, split '', '[EMAIL PROTECTED]&*()-_=+\\|[{]};:\'",<.>/?');