Eugene van der Pijll [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] schreef op 06 december 2001:
if there is any interest ... hmm, Piers, do you give a damn?
Eugene, I think there is intense interest in your scores!
I did get that impression.
I would like to leave it up to Eugene to decide
Santa checking in.
It's 5:15 AM here in Sydney (not sunny yet;-).
Still, I've got my 6-pack of beer ready.
When this is over, I'll drink a toast to the winners,
then go the the beach :).
Current Leaderboard
---
1. 89Eugene van der Pijll
2. 91Piers Cawley
3.
On Tue, 4 Dec 2001 22:33:45 +0100 (CET), [EMAIL PROTECTED]
(Philippe 'Book' Bruhat) wrote:
it's straightforward Perl, as documented in Amelia
What's Amelia?
Cheers,
Philip
Philip Newton sent the following bits through the ether:
What's Amelia?
Amelia is the London.pm beanie baby camel:
http://use.perl.org/journal.pl?op=listuid=2490
(or Programming Perl, see the back)
;-), Leon
--
Leon Brocard.http://www.astray.com/
Claus Golf Apocalypse
[EMAIL PROTECTED] schreef op 07 december 2001:
According to my reckoning, there is 2 hours to go
before the cut-off time.
Do you have daylight savings time in Australia? According to your last
post there is still 3 hours to go.
Eugene
[EMAIL PROTECTED] writes:
*** Eugene van der Pijll: 89 (11 19 13 25 21) ***
--- rev.pl -
#!/usr/bin/perl -p
$\=$_.$\}{
That's just *beautiful*. I just couldn't see past 'print reverse'.
--
Piers
It is a truth universally acknowledged that a
*** Eugene van der Pijll: 89 (11 19 13 25 21) ***
--- rev.pl -
#!/usr/bin/perl -p
$\=$_.$\}{
That's just *beautiful*. I just couldn't see past 'print reverse'.
I've been wondering for hours now how he keeps $_ from being
destroyed by the last
Karsten Sperling [EMAIL PROTECTED] writes:
*** Eugene van der Pijll: 89 (11 19 13 25 21) ***
--- rev.pl -
#!/usr/bin/perl -p
$\=$_.$\}{
That's just *beautiful*. I just couldn't see past 'print reverse'.
I've been wondering for hours now how he
On Fri, Dec 07, 2001 at 10:01:05AM +1100, [EMAIL PROTECTED] wrote:
--- mid.pl -
#!/usr/bin/perl -p0
$_=$1while/.^(.+)^/ms
Someone want to explain why this works?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl
On Dec 6, Piers Cawley said:
[EMAIL PROTECTED] writes:
*** Eugene van der Pijll: 89 (11 19 13 25 21) ***
--- rev.pl -
#!/usr/bin/perl -p
$\=$_.$\}{
That's just *beautiful*. I just couldn't see past 'print reverse'.
I tried that route for hours
There were no leaderboard changes in the last hour, so I won't repost.
I would like to congratulate Eugene for his brilliant victory
and the worthy hole winners too: Ronald, Japhy and Rick.
I would especially like to thank everyone for their encouragement and
support and for the spirit that the
Jeff 'japhy' Pinyan schreef op 06 december 2001:
On Dec 6, Piers Cawley said:
[EMAIL PROTECTED] writes:
*** Eugene van der Pijll: 89 (11 19 13 25 21) ***
--- rev.pl -
#!/usr/bin/perl -p
$\=$_.$\}{
That's just *beautiful*. I just
On Thu, 6 Dec 2001, Philip Newton wrote:
On Tue, 4 Dec 2001 22:33:45 +0100 (CET), [EMAIL PROTECTED]
(Philippe 'Book' Bruhat) wrote:
it's straightforward Perl, as documented in Amelia
What's Amelia?
Amelia is the name Paris.pm people gave to Programming Perl, 3rd ed.
Fido is the name of
a life to
get on with.
-b
-Original Message-
From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 6:51 PM
To: [EMAIL PROTECTED]
Subject: Re: The Santa Claus Golf Apocalypse
Geez, I have three different solutions for tail.pl, ALL the same length
Current Leaderboard
---
1. 89Eugene van der Pijll
2. 92Piers Cawley
3. 92Rick Klement
4. 92Japhy
5. 94Yanick
6. 94Rick Delaney
7. 94^ Damian James
8. 95Ronald J Kimball
9. 95Robin Houston
10. 95- BooK
11. 97
[EMAIL PROTECTED] writes:
A quality test program is vital to a successful game.
Ideally, you would like to just say: If it passes the test
program, it is OK. I could even envisage a 100% automated
system where you would not need a human arbiter at all.
I think it is also crucial to have a
Brad Greenlee [EMAIL PROTECTED] writes:
What's really stumping me is that there has to be a shorter solution for
wc.pl (mine is 23), but I haven't been able to get past the need for printf
(at least, not for a shorter solution). Has anyone managed to do it without
it?
Gah! You've obviously
En réponse à Brad Greenlee [EMAIL PROTECTED]:
What's really stumping me is that there has to be a shorter solution
for
wc.pl (mine is 23), but I haven't been able to get past the need for
printf (at least, not for a shorter solution). Has anyone managed to do
it
without it?
My wc.pl is 21,
BooK [EMAIL PROTECTED] writes:
En réponse à Brad Greenlee [EMAIL PROTECTED]:
What's really stumping me is that there has to be a shorter solution
for
wc.pl (mine is 23), but I haven't been able to get past the need for
printf (at least, not for a shorter solution). Has anyone managed to do
Jeff 'japhy' Pinyan wrote:
Geez, I have three different solutions for tail.pl, ALL the same length
(19 chars). Has someone gotten below 19?
I stuck on 19 too and I don't think it can be shorter :)
(this could sound like trying to put out a fire with gasoline
but I really think
IMO it is better to post everyone's solutions (regardless duplications)
it won't be big message (still there were longer ones I guess)...
well at least I'm curious :)
P! Vladi.
Eugene van der Pijll wrote:
[EMAIL PROTECTED] schreef op 05 december 2001:
Given that tsanta.pl has many
On Wed, 05 Dec 2001 at 10:55:25 +, Piers Cawley wrote:
Eugene van der Pijll [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] schreef op 05 december 2001:
Please let me know when you think we should end the game.
Well, 6 December is St Nicolas' day, so that sounds like a good time to
stop...
On 5 Dec 2001, at 13:14, Vladi Belperchinov-Shabanski wrote:
IMO it is better to post everyone's solutions (regardless duplications)
it won't be big message (still there were longer ones I guess)...
Indeed. At about 100chars per entry, it wouldn't be a very long email message,
would it...
On Wed, Dec 05, 2001 at 04:57:48PM +1100, [EMAIL PROTECTED] wrote:
The programs should be sound; passing tsanta.pl is no guarantee.
A program that failed on files longer than 100 lines, for instance,
would certainly be disqualified.
Urgh. Then you can s/2.1/2+.5/ my entries and
On 5 Dec 2001, at 12:40, Piers Cawley wrote:
Bernie Cosell [EMAIL PROTECTED] writes:
On 5 Dec 2001, at 18:04, [EMAIL PROTECTED] wrote:
Piers Cawley wrote:
I think the particular 'creative in the extreme' entry that Andrew was
referring to was my head.pl that printed 10 lines then
Bernie Cosell schreef op 05 december 2001:
On 5 Dec 2001, at 14:09, Eugene van der Pijll wrote:
Bernie Cosell schreef op 05 december 2001:
Meta-question: since Perl is content to try to *call* 'main::;' is there
some trickery to *DEFINE* such a subroutine? For example, trying:
Bernie Cosell [EMAIL PROTECTED] writes:
On 5 Dec 2001, at 14:09, Eugene van der Pijll wrote:
Bernie Cosell schreef op 05 december 2001:
Meta-question: since Perl is content to try to *call* 'main::;' is there
some trickery to *DEFINE* such a subroutine? For example, trying:
main:: {
On 5 Dec 2001, at 14:46, Eugene van der Pijll wrote:
Bernie Cosell schreef op 05 december 2001:
On 5 Dec 2001, at 14:09, Eugene van der Pijll wrote:
2) WHY does perl allow this --- it still seems like a slam-dunk syntax error
situation to me
The global variables @a, $a, %a and a are
On 5 December 2001 14:29, BooK [mailto:[EMAIL PROTECTED]] wrote:
En réponse à Piers Cawley [EMAIL PROTECTED]:
perl -e '*{ } = sub {42}; print { }'
I can't pretend that I *like* this, but it has a certain
cute insanity
to it.
Since the symbol table is a hash, I'd say that the
On 5 December 2001 14:49, [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote:
On Wed, Dec 05, 2001 at 08:37:49AM -0600, [EMAIL PROTECTED] wrote:
With fixes for Win2k's command shell, it does indeed work...
perl -e *{''} = sub {13}; print {''}
The real question is of course, is
On Wed, Dec 05, 2001 at 10:05:16AM -0500, Ala Qumsieh wrote:
Bernie writes:
On 5 Dec 2001, at 14:09, Eugene van der Pijll wrote:
Bernie Cosell schreef op 05 december 2001:
Meta-question: since Perl is content to try to *call*
'main::;' is there
some trickery to *DEFINE* such
Eugene van der Pijll wrote:
Just post the entries of the top-5 to fwp, and let everyone comment,
including the competitors.
You're right; it's the Perl way. I am sure the competitors can
agree among themselves. In the unlikely event of a dispute,
I can call in the independent experts for a
On Wed, 5 Dec 2001, Andy Bach wrote:
Doesn't seem fair, you're giving the Aussies a whole extra day!!!
a
Well, they need it ;)
*g,dr*
Si.
Piers writes:
Best scores per hole would be really good. Sooner rather than later
please.
I second that. This gives the rest of us a chance to catch up before the end
of the game!
--Ala
On 06 Dec 01 at 11:09:22AM, [EMAIL PROTECTED] wrote:
Mysteriously, a new 'nameless' dark horse, [EMAIL PROTECTED],
has also emerged with a sensational opening bid of 92 strokes.
And former English cricketing great, Ian Botham, has opened with
a very tidy 96 strokes (our first celebrity
On 06 Dec 01 at 11:38:19AM, [EMAIL PROTECTED] wrote:
s/t/re/;
Actually, I didn't intend this to be the only info given. In my mailer
I saw Ian Boreham [EMAIL PROTECTED], and thought, well, it's OK this
time.
Then when I got the mail from the list, I discovered that it had been
stripped out
[EMAIL PROTECTED] schreef op 06 december 2001:
if there is any interest ... hmm, Piers, do you give a damn?
Eugene, I think there is intense interest in your scores!
I did get that impression.
I would like to leave it up to Eugene to decide when/if he posts
his scores. I will be sleeping
Now that Eugene has shown great sportsmanship in revealing
the lowest scores for each hole, I am free to reveal the
current hole leaders.
Significantly, Ronald J Kimball, Japhy and Rick Delaney all
won their holes on their first posts of the game, just hours
after it was announced! I think that
Jeff 'japhy' Pinyan wrote:
On Dec 4, [EMAIL PROTECTED] said:
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
On Tue, 4 Dec 2001, Rick Klement wrote:
Jeff 'japhy' Pinyan wrote:
On Dec 4, [EMAIL PROTECTED] said:
As goaded, I'm now at 92, thanks to a word or two of wisdom from
Piers; sans assistance, I'm at 94, and I don't see much room for
deprovement.
I'm now at 92 with no
[Sorry Philippe, I sent this as a private reply first, so you've seen
this already...]
Philippe 'BooK' Bruhat schreef op 04 december 2001:
On Tue, 4 Dec 2001, Rick Klement wrote:
I'm now at 92 with no assistance :)
I am at 94 with the assistance of the previous fwp thread for mid.pl...
Eugene van der Pijll [EMAIL PROTECTED] writes:
[Sorry Philippe, I sent this as a private reply first, so you've seen
this already...]
Philippe 'BooK' Bruhat schreef op 04 december 2001:
On Tue, 4 Dec 2001, Rick Klement wrote:
I'm now at 92 with no assistance :)
I am at 94 with the
Piers Cawley schreef op 04 december 2001:
Eugene van der Pijll [EMAIL PROTECTED] writes:
There is a very nice 26-character mid.pl solution which is not based on
anything in that thread.
Hmm... I think I have the same mid.pl as you. So, I need to get three
chars off either tail.pl or
Eugene van der Pijll [EMAIL PROTECTED] writes:
Piers Cawley schreef op 04 december 2001:
Eugene van der Pijll [EMAIL PROTECTED] writes:
There is a very nice 26-character mid.pl solution which is not based on
anything in that thread.
Hmm... I think I have the same mid.pl as you. So, I
On Tue, 04 Dec 2001 at 22:33:45 +0100, Philippe 'BooK' Bruhat wrote:
I am very curious to see what else than the obvious can be done for
rev.pl. And I wonder if shorter than the obvious is possible (I guess so).
Ah, you mean the one that's in the perl documentation :-)
I wrote that as a
Hurrah! I am back in sunny Sydney again, 23 degrees.
Plus a proper operating system; if I never use Windows 98
again, it will be too soon (can't even redirect stderr, sigh).
Top priority is leaderboard update since it has been over a day now.
We now have 20 competitors! I would like to encourage
Eugene van der Pijll [EMAIL PROTECTED] writes:
Piers Cawley schreef op 04 december 2001:
Hmm. Oh yeah, I just got rid of the -p trickery I was using in wc.pl.
Shame about the 'all on one line' rule or I'd be down to 90 now... How
Eugene got down to 89 is a completely mystery though.
Geez, I have three different solutions for tail.pl, ALL the same length
(19 chars). Has someone gotten below 19?
--
Jeff japhy Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for Regular
When to end the torture?
On one hand, I want to give more people a chance to enter.
Some may have been away the last couple of days; others may
have been too busy to get to it yet. OK, there is some ego
in this too -- I might get in the Guinness Book of Records
as Arbiter of the biggest golf
Keith C. Ivey wrote:
I'm not unhappy, but it seems an unnecessary restriction. An
alternative would be to change GolfScore() to something like
sub GolfScore {
my $script = shift;
open(FF, $script) or die error: open '$script';
local($/, $_);
$_ = FF;
close(FF);
Piers Cawley wrote:
I think the particular 'creative in the extreme' entry that Andrew was
referring to was my head.pl that printed 10 lines then crashed using:
#!perl -p
11..
Yes indeed. When I first saw that I fell off my chair laughing.
When I was finally able to pick myself up
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
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
-
-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
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
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
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
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!
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.
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:
-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
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
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
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
[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,
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
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
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
Please take pity on Santa, on holiday here in Melbourne,
with only a Windows 98 pussbox to play with and limited
and very slow Internet access :-(.
Now, apart from an unfortunate underarm bowling incident
in cricket, we Aussies pride ourselves on good sportsmanship
(we just lost the Davis Cup
Yellow Jersey Melbourne-Time
- --
103 Ronald J Kimball 04:32 03-Dec-2001
101 Keith C Ivey 07:58
95 Rick Delaney 08:51
93 Eugene van der Pijll 08:55
Rick was the first the break the 100 barrier but had
just four
70 matches
Mail list logo