Re: Whitespace and Blocks (was RE: Fisher-Yates shuffle)

2002-04-16 Thread Stephen Turner
: if %some_nested_hash{very_long_descriptive_key}{another_key}...{last_key} { # do stuff } Ugh, ugh, ugh, that's even worse. Am I the only person who gets more scared of Perl 6 the more he hears about it? Still waiting for the regexp apocalypse with a mixture of hope and fear... -- Stephen Turner

Re: Teams?

2002-04-05 Thread Stephen Turner
On Thu, 4 Apr 2002, Keith C. Ivey wrote: Stephen Turner [EMAIL PROTECTED] wrote: On Thu, 4 Apr 2002, Dave Hoover wrote: With both ORA and ActiveState contributing prizes (bumper stickers, t- shirts, and *books*) My wife says: What's Bob going to do with so many books

Re: Why bother with separate lists?

2002-03-25 Thread Stephen Turner
a list) it would be better if it were an official @perl.org list. I wonder if it's possible to import any discussion to date into the archives of a perl.org list, and transfer the list of subscribers etc.? -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen

Re: Golf spectators

2002-03-18 Thread Stephen Turner
a hole: in Perl golf, it's everything.) -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: Golf Statistics: Career Money Leaders

2002-03-18 Thread Stephen Turner
On Mon, 18 Mar 2002 [EMAIL PROTECTED] wrote: Allocating prize money for each of the 5 Perl Golf tournaments at $4 million per tournament, according to the formula used by the US PGA, produces the following tables. Any mistakes below please let me know. 12. Stephen Turner

Re: Golf spectators

2002-03-18 Thread Stephen Turner
of that. But I wouldn't like it. By time Y, I'm always desparate to find out how Eugene can possibly have got down to only 23 strokes, or whatever. I wouldn't want to wait an extra week. (Of course, if Y - X is only a few hours, that's different). -- Stephen Turner, Cambridge, UKhttp

When to publish the leader board?

2002-03-17 Thread Stephen Turner
that there was a very high number of players this time, so maybe I'm worrying unnecessarily. But what do other people think? -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: 179:A

2002-03-14 Thread Stephen Turner
I vote FOR proposal 179:A. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: 179:A

2002-03-14 Thread Stephen Turner
On Thu, 14 Mar 2002, Stephen Turner wrote: I vote FOR proposal 179:A. Whoops, sorry. I meant to send that to frc not fwp. Reply-To useful, mumble. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches

RE: PGAS Web Service

2002-03-13 Thread Stephen Turner
, but that's much less likely. There is a genuine downside of plain text passwords, that someone will try and use a sensitive password for Perl golf; they would have to be warned about that. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon

Re: longest common substring (return of)

2002-03-13 Thread Stephen Turner
. This is essentially what my solution at http:[EMAIL PROTECTED]/msg01662.html did. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: Perl Golf as a sport

2002-03-11 Thread Stephen Turner
On Sun, 10 Mar 2002 [EMAIL PROTECTED] wrote: 3) Be pragmatic. Don't get too carried away with fanciful solutions. Perhaps, Eugene and Stephen Turner fell into this trap in the secret number game, where they both pursued deliciously complex variations involving the (${}) construct

Re: Perl Golf as a sport

2002-03-11 Thread Stephen Turner
On Mon, 11 Mar 2002 [EMAIL PROTECTED] wrote: For some reason, I have this image of Stephen Turner leaping up from his keyboard and prancing around the court like Tim Henman replete with lots of those little trademark Henman-esque fist clenches. Frighteningly, this isn't completely false

Re: Perl Golf as a sport

2002-03-11 Thread Stephen Turner
practice. http://www.cums.org.uk/ -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: recursive regexps

2002-03-11 Thread Stephen Turner
a recursive regexp? Well, I think the canonical example is the problem of matching nested parentheses. If you have the Camel book, the code and the explanation are on pages 213-214. And yes, I have actually used this in real life. I'd be interested to know of other real examples too. -- Stephen

Re: TPR1 post-mortem

2002-03-11 Thread Stephen Turner
On Fri, 8 Mar 2002, Stephen Turner wrote: $x*1.11%10(~Jukka-50, Rick-51, Ton-52) I've just discovered that this construction doesn't work inside an eval! The reason is that 08 and 09 become invalid octal numbers in that context. If anyone was wondering why I was doing

Re: TPR1 post-mortem

2002-03-11 Thread Stephen Turner
On Mon, 11 Mar 2002, Stephen Turner wrote: If anyone was wondering why I was doing such an odd thing, I was trying to see how much I could shorten this sort of idea: print$_=pop,$/;s/./$9)+$).($-9*($+/g;/\(.*\)/exec$ Sorry, that got munged by my mailer. It should read print$_=pop,$/;s

Re: TPR1 post-mortem

2002-03-11 Thread Stephen Turner
different method. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: TPR1 post-mortem

2002-03-09 Thread Stephen Turner
Thanks for all the replies about the history of Perl golf. One more question: when is the earliest example of a proper organised competition, rather than just a challenge on a mailing list or whatever? Are there any before the recent five? -- Stephen Turner, Cambridge, UKhttp

Re: TPR1 post-mortem

2002-03-09 Thread Stephen Turner
variables it can see. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: TPR1 post-mortem

2002-03-09 Thread Stephen Turner
On Fri, 8 Mar 2002, Stephen Turner wrote: Methods for looping: `$^X $0` (Stephen-54) By the way, to return to the conversation I was having with Andrew during the competition, I think this choice of looping method was probably the reason why I got away with using only 14

Re: TPR1 post-mortem

2002-03-08 Thread Stephen Turner
? :-) -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: TPR1 post-mortem

2002-03-08 Thread Stephen Turner
effect either: % perl -le'print abcdefgh=~/\B./g' bdfh -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: TPR1 post-mortem

2002-03-08 Thread Stephen Turner
/// (MTV-49, Jukka-50, Rick-51, Chris-53b, Lyon-54 `$^X $0` (Stephen-54) -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: BoB

2002-03-06 Thread Stephen Turner
last night, but now Ton's shot an eagle and a couple of birdies to leave me 6 off the pace. I might be worth a punt at 50-1 if you fancy backing an outsider, but don't accept any shorter odds. :-) -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th

Re: TPR(0,1) scores

2002-03-04 Thread Stephen Turner
On Mon, 4 Mar 2002, Keith C Ivey wrote: I don't seem to be getting the epiphany yet, so I guess I've got a few days of obsession to go Funny, I thought I'd had several epiphanies, and yet I'm still a stroke behind you -- Stephen Turner, Cambridge, UKhttp://homepagentlworldcom

Re: TPR(0,1) scores

2002-03-04 Thread Stephen Turner
On Mon, 4 Mar 2002, Keith C. Ivey wrote: Stephen Turner [EMAIL PROTECTED] wrote: Funny, I thought I'd had several epiphanies, and yet I'm still a stroke behind you... I apologize for my unseemly whining. I've been punished for it by being dropped from 7th to 11th place overnight

BoB

2002-03-04 Thread Stephen Turner
Well, I see BoB's got 52 I'm still stuck on 60 Still, even if I am 8 behind BoB, at least I'm only 4 behind Eugene :-) -- Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01

Re: TPR(0,1) scores

2002-03-02 Thread Stephen Turner
call a 'bunker'? Is 'bunker' also used? -- Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01

Re: TPR(0,1)?

2002-03-01 Thread Stephen Turner
with it I note that it's currently only 4:14am in Illinois -- Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01

Re: TPR(0,1)?

2002-03-01 Thread Stephen Turner
using earliest entry as a tie breaker, I'm worried that it might be unfair on people who aren't subscribed to fwp -- Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01

Re: TPR(0,1)?

2002-03-01 Thread Stephen Turner
On Fri, 1 Mar 2002, Jerome Quelin wrote: On Vendredi 1 Mars 2002 11:32, Stephen Turner wrote : I'm keen to get on with it, but on the other hand if you're still using earliest entry as a tie breaker, I'm worried that it might be unfair on people who aren't subscribed to fwp No, tie

Re: TPR(0,1)...at last

2002-03-01 Thread Stephen Turner
On Fri, 1 Mar 2002, Philip Kendall wrote: Do we have to deal with the case of the input having leading zeros? Hmmm I'm now trying to think of an approach that would not handle leading zeros automatically! -- Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen

Re: tpr01 golf contest reopened

2002-03-01 Thread Stephen Turner
/TR/html401/interact/formshtml#h-17134 you mean :-) -- Stephen Turner, Cambridge, UKhttp://homepagentlworldcom/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches BBC, 2/Jul/01

Re: TPR0 Final Results

2002-02-20 Thread Stephen Turner
a better solution, but I learnt a new trick with this $\ -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: TPR0 Final Results

2002-02-19 Thread Stephen Turner
than 46. But maybe there isn't one. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: TPR0 Final Results

2002-02-16 Thread Stephen Turner
there must be more to it than that. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

RE: Explanation of my 7918-stroke Perl Bowling entry

2002-02-16 Thread Stephen Turner
On Sat, 16 Feb 2002 [EMAIL PROTECTED] wrote: after auto-conversion, I manually touched it up by tracing Eugene's head onto a piece of plastic and sticky-taping it to the screen! This has got to be the funniest-with-Perl story I have ever heard. -- Stephen Turner, Cambridge, UKhttp

RE: TPR0 Final Results

2002-02-16 Thread Stephen Turner
On Sun, 17 Feb 2002 [EMAIL PROTECTED] wrote: Oh deary me, Stephen, you beat Spiff by two hours but forgot that map{$expr}list could be shortened to map$expr,list. And, in the last game, you forgot that for could go at the end. I know, I know. I need more practice. -- Stephen Turner

Re: TPR0 Final Results

2002-02-16 Thread Stephen Turner
On Sat, 16 Feb 2002, Jerome Quelin wrote: Then you'll be able to practice soon: next tournament for tpr1 begins march the 1st [...] This may be too soon, but we are to stick with tpr issues. We hope that you'll submit anyway. The sooner the better! -- Stephen Turner, Cambridge, UK

Re: TPR0 Final Results

2002-02-15 Thread Stephen Turner
^^^ no, -T too -T can appear on the #! lang, I believe. Although I've never made it work under Windows. Does anyone know anything about this? Next puzzle: come up with a golf problem for which -T is a plausible approach. :-) -- Stephen Turner

Re: TPR0 Final Results

2002-02-15 Thread Stephen Turner
using POSIX? -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: Longest Common Substring

2002-02-14 Thread Stephen Turner
); -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: TPR0 golf tournament: fixing rules.

2002-02-11 Thread Stephen Turner
are the rules: - Number is to be taken as first arg of the script. first and only arg? -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

RE: Golf and the Perl Review

2002-02-09 Thread Stephen Turner
as input and producing a file to stdout, is that it provides a uniform method for testing them. But maybe it's too restrictive for the problem setters? -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC

Re: Golf and the Perl Review

2002-02-08 Thread Stephen Turner
, my first attempt is 52. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: Golf and the Perl Review

2002-02-06 Thread Stephen Turner
dictionary (the best single-volume British dictionary) says it does. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: Golf and the Perl Review

2002-02-06 Thread Stephen Turner
On Wed, 6 Feb 2002, Stephen Turner wrote: Chambers dictionary (the best single-volume British dictionary) says it does. I just checked in the full Oxford English Dictionary too. Excerpts: 1. = CABBALA 1: The Jewish tradition as to the interpretation of the Old Testament. Obs. 1616

Re: Golf and the Perl Review

2002-02-06 Thread Stephen Turner
About this golf marking module -- shouldn't we be trying to find the shortest such module? -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: 176:9 INVALID, -1.0

2002-02-06 Thread Stephen Turner
aloud what would you say? The multiplicative indentity plus the additive identity??? Sure, if you had to read it aloud. The question was not what to say but what to write though. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon

Re: Beginner's definition ?

2002-02-01 Thread Stephen Turner
myself to be a beginner. I agree that the term is not well defined, but also that it's hard to make it better without setting up onerous formal rules. Anyway, I think as I only missed out on the beginner's prize by one stroke, I'm going to promote myself to the main division next time. -- Stephen

Re: even.pl solutions

2002-01-29 Thread Stephen Turner
liked my earlier (66) effort better. Not very short, but I thought it was cute. It kept explicitly counting the newline at the end of the line in order to make all the counts odd; then multiply them together and they stay odd. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie

Re: even.pl solutions

2002-01-29 Thread Stephen Turner
$a is above. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ This is Henman's 8th Wimbledon, and he's only lost 7 matches. BBC, 2/Jul/01

Re: STDERR

2002-01-27 Thread Stephen Turner
This is another question about the golf, isn't it? We've been asked not to post our solutions to the list, but what is the etiquette about asking for help on golf-related topics while the competition is still running? I'm new to this list, so someone give me some guidance... Thanks. -- Stephen