develooper Front page | perl.fwp | Postings from March 2002

Re: PGAS Web Service

Thread Previous | Thread Next
From:
Yanick
Date:
March 15, 2002 15:48
Subject:
Re: PGAS Web Service
Message ID:
20020315185823.A23449@gilgamesh.sympatico.ca
On Thu, Mar 14, 2002 at 01:50:50PM +0100, Stefan `Sec` Zehl wrote:
> On Wed, Mar 13, 2002 at 08:21:27PM -0500, Yanick wrote:
> > 	A first tentative to see what kind of stuff can be done
> > with that can be found at 
> > 
> > 	http://babyl.dyndns.org/golf/golfers.epl
> > 
> > 	There we have a list of all golfers and, if one click on
> > the name of one of them, we get to see the various solutions
> > submitted so far by that noble golfer. Nothing fancy, but it's
> > fun to look at. :)
> 
> Can you make the list of Golfers sortable by winning score, too?

	http://babyl.dyndns.org/golf/course.epl

	Again, please don't mean the spartan esthetism, the page is
still in its early alpha lifecycle. :)


	I have added two new types of score. The first I called
the Y-index (for hubristic reasons) and is simply:

	10 * ( score - median ) / ( median - best_score )


	this seems to be a decent normalized measure to 
carry from hole to hole. Why the median instead of the
mean? To make that measure resistant to any ridiculously
large entries. Call it preventive paranoia against 
we-know-who with his we-know-which-module. ;)

	Which brings us to the second score that I called
the A-prize (in honor to the same we-know-who who proposed
the thing in the first place). It's based on the way golf 
tournaments award prizes. The algorithm to get the A-prize
for everybody has been graciously provided by we-know-who.
I'll not even try to describe it. It's outlandish, quirky 
and plain weird. Which makes it a perfect scoring method
for perl golf. :)


Of course, further comments and suggestions are welcome.

Joy,
`/anick



	

-- 
Love is what we feel toward those who show us that which
is lovable about ourselves.              -- Gerry Spence

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About