in reply to When will the 500.000th node appear?
Can the guesses listed on im2's be listed in order by the guess date instead of by the monk name? When we get closer to the 500,000th node, it will be easier to scan through the list and see who is already out and who is closest.
Also, is it closest without going over (Price is Right Style) or is it closest regardless of whether your guess is before or after the actual date-time of the 500,000th node?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: When will the 500.000th node appear?
by castaway (Parson) on Sep 20, 2005 at 12:24 UTC | |
Hmm, I suppose I could sort them.. (but since I cleverly stored them in the format you actually see, an alphabetical sort wouldn't be very useful.. C. | [reply] |
by ambrus (Abbot) on Sep 20, 2005 at 17:25 UTC | |
Don't sort them by the target date. That would make it very very easy to speculate and pick a large hole between the guesses so that you'd have more chance to be the closest. | [reply] |
|
Re^2: When will the 500.000th node appear?
by Random_Walk (Prior) on Sep 20, 2005 at 21:01 UTC | |
I guess you'd need some Practical sort of Extraction and Reporting Language for that ...
Some output ...
Cheers,
Pereant, qui ante nos nostra dixerunt!
| [reply] [d/l] [select] |
by ambrus (Abbot) on Oct 03, 2005 at 19:14 UTC | |
I've developped a solution independently without reading yours. Here's it. I cut and pasted the data from the browser to the file guesses (although it's not visible here, the fields are separated by tabs, as the browser exports the table in that way):
Then I run this:
Here's the output:
| [reply] [d/l] [select] |
by Random_Walk (Prior) on Oct 04, 2005 at 12:23 UTC | |
This is kind of fun. It is not pretty and it fails for muba who has bizzarly entered a bet in January 2005 but for the reasonable problem space (Sep .. Dec 2005) it works. perl -ne's/ (\d) / 0$1 /;@d=(split)[2..5];$d[0]=~tr/SOND/1234/;push@g,"@d$;$_";END{print$/;print map{(split/$;/)[1]}sort @g}'Copy the list from the web page, run the perl, paste the list, hit enter and CTRL-D, or redirect a file with the guess list to the script.
updateperl -ne's/ (\d) / 0$1 /;@d=(split)[2..5];$d[0]=~tr/SOND/1234/;push@g,"@d$;$_";END{print$/;print map{s/.*$;//;$_}sort@g}'Cheers,
Pereant, qui ante nos nostra dixerunt!
| [reply] [d/l] [select] |