Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Piers Cawley
Ian Phillipps [EMAIL PROTECTED] writes: On Mon, 03 Dec 2001 at 16:44:29 +1100, [EMAIL PROTECTED] wrote: Yellow Jersey Melbourne-Time - -- 103 Ronald J Kimball 04:32 03-Dec-2001 101 Keith C Ivey 07:58 95 Rick Delaney

Re: middle line (was Re: Daily Perl FAQ...)

2001-12-03 Thread abigail
On Thu, Nov 29, 2001 at 03:05:41PM -0500, Michael G Schwern wrote: On Thu, Nov 29, 2001 at 11:34:24AM -0800, Chris Thorpe wrote: On Thu, 29 Nov 2001, Yanick wrote: On Thu, Nov 29, 2001 at 01:34:02PM -0500, Michael G Schwern wrote: Yesterday, I saw an interesting related

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Andrew . Savige
Here's one prediction I got wrong: Japhy is cleverly using Ronald's slipstream: every time Ronald moves forward, Japhy goes with him (so I expect Japhy to post 95 soon:). No! He has gone ahead to 94! Now Ronald can use his slipstream :) Yellow Jersey Melbourne-Time -

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Aaron J Mackey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 3 Dec 2001 [EMAIL PROTECTED] wrote: Like Ian Phillipps, I am in awe of this leading bunch. This is a hot race. I am really enjoying looking at the incredible variety of solutions and learning a lot too. Hopefully there will be a recap

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Piers Cawley
Simon Drabble [EMAIL PROTECTED] writes: It might be instructive to have the lowest scores per hole published -- just the scores, not the golfer. I'm stuck at a pathetic 126[0] and would like something to aim at for my higher-scoring holes. [0] - doing better than I'd expected being new to

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread BooK
En réponse à Simon Cozens [EMAIL PROTECTED]: but I guess this would be a pretty useful idiom: perl -aln0 -F\n -e ... (Stick an entire file into @F, a line per element.) However, if you write it as a program, instead of #!/usr/bin/perl -aln0 -F\n ... you can say

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Ian Phillipps
On Mon, 03 Dec 2001 at 14:23:21 +, Robin Houston wrote: unless the file contains \0 characters... To cope with that, you have to use perl -aln0777F Santa has kindly said that there are no \0 characters. Ian

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Yanick
On Mon, Dec 03, 2001 at 09:46:51AM -0500, Simon Drabble wrote: It might be instructive to have the lowest scores per hole published What? And loose the angst of trying to figure out on which of the courses you're beaten by a few characters? Nay, I say, nay, nay, a thousand times nay!

PGA (Perl Golfers' Association)

2001-12-03 Thread Jeff 'japhy' Pinyan
I think the golfers among us should pool our efforts (after the rowdy, cut-throat competition ends, of course!) to amass a list of common -- or would that be uncommon? -- golfing techniques. While participating in a round on PerlMonks.org, I used rand$f?Y:X instead of the error-producing

Re: middle line (was Re: Daily Perl FAQ...)

2001-12-03 Thread Michael G Schwern
On Mon, Dec 03, 2001 at 12:09:49PM +0100, [EMAIL PROTECTED] wrote: A Crash Course On BigO Notation As Presented By A Guy Who Failed Fundamental Data Structures And Algorithms 1 * O(1) means it runs in a fixed amount of time regardless of how much data is to be processed.

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Andrew . Savige
Simon Drabble wrote: darn :( I have enough angst already with my 42-stroke mid.pl In the interests of reducing your angst, I am happy to confirm that 42 on the treacherous 4th hole (mid.pl) is a triple-bogey ;-) Santa.

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Bernie Cosell
On 4 Dec 2001, at 6:26, [EMAIL PROTECTED] wrote: Simon Drabble wrote: darn :( I have enough angst already with my 42-stroke mid.pl In the interests of reducing your angst, I am happy to confirm that 42 on the treacherous 4th hole (mid.pl) is a triple-bogey ;-) oh come on be a sport:

RE: The Santa Claus Golf Apocalypse

2001-12-03 Thread Ala Qumsieh
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 2:27 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: The Santa Claus Golf Apocalypse Simon Drabble wrote: darn :( I have enough angst

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Piers Cawley
Ala Qumsieh [EMAIL PROTECTED] writes: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 2:27 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: The Santa Claus Golf Apocalypse Simon Drabble wrote:

Re: middle line, redux

2001-12-03 Thread Philip Newton
On Sun, 2 Dec 2001 13:49:04 + (GMT), [EMAIL PROTECTED] (Jonathan e. paton) wrote: I honestly think I've found the only true solution, which is: perl -p Hm? How does this print only the middle line of a file? Cheers, Philip

Re: middle line, redux

2001-12-03 Thread Simon Cozens
On Mon, Dec 03, 2001 at 08:54:06PM +0100, Philip Newton wrote: perl -p Hm? How does this print only the middle line of a file? Who said anything about only? Write a program that reads the lines from a file and outputs the middle line. -- Actually Perl *can* be a Bondage

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Simon Drabble
On Mon, 3 Dec 2001, Piers Cawley wrote: In the interests of reducing your angst, I am happy to confirm that 42 on the treacherous 4th hole (mid.pl) is a triple-bogey ;-) My golf knowledge is not that good, but I guess my 38-stroke is pretty good ... no? Well, I've managed 26 on

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Andrew . Savige
This game has proved more popular than I expected! I am travelling for the next day or so and my family are starting to ask what am I doing locked away in the computer room. So, please keep sending me your entries, but in the interests of torturing your opponents, feel free to also post your

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Piers Cawley
[EMAIL PROTECTED] writes: This game has proved more popular than I expected! I am travelling for the next day or so and my family are starting to ask what am I doing locked away in the computer room. So, please keep sending me your entries, but in the interests of torturing your opponents,

Re: middle line, redux

2001-12-03 Thread Piers Cawley
Simon Cozens [EMAIL PROTECTED] writes: On Mon, Dec 03, 2001 at 08:54:06PM +0100, Philip Newton wrote: perl -p Hm? How does this print only the middle line of a file? Who said anything about only? Write a program that reads the lines from a file and outputs the middle line. I'm

RE: The Santa Claus Golf Apocalypse

2001-12-03 Thread Andrew . Savige
Piers Cawley wrote: Too bloody right he will. You've just moved the goalposts again. All of a sudden printing to stderr is worth a 4 stroke penalty, when last time it was only worth one. Yes, I know that head.pl dies. But only after it's passed the test. And if I change it so that it doesn't

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Piers Cawley
Ronald J Kimball [EMAIL PROTECTED] writes: On Mon, Dec 03, 2001 at 08:17:33PM +, Piers Cawley wrote: [EMAIL PROTECTED] writes: * I always chortle at Piers creative-in-the-extreme entries. He may claim a lower score. Too bloody right he will. You've just moved the goalposts

Re: The Santa Claus Golf Apocalypse

2001-12-03 Thread Ronald J Kimball
On Mon, Dec 03, 2001 at 08:49:33PM +, Piers Cawley wrote: Ronald J Kimball [EMAIL PROTECTED] writes: Why would printing to STDERR warrant a penalty anyway? It should disqualify the entry entirely. On what grounds? Nothing was mentioned when the challenge was set except that we