Download GTPEDIA's Track Directory for free!
Go Back   Forums / Online Events / Racing Series / GTP Weekly Race Series Time Trials

 
Thread Tools
Paulie's Avatar
AustraliaQLD, Down Under
Dec 27 2009, 7:21 PM #21
Paulie Bathurst Pilgrim 2012
Better than I imagined, superb effort guys!
   
 
Mad94d's Avatar
AustraliaSydney
Dec 27 2009, 8:52 PM #22
Mad94d Taking it to the world!
Fantastic work!
   
LinPark's Avatar
United StatesBradenton, FL
Dec 27 2009, 8:55 PM #23
LinPark Diamond Member
Truly outstanding stuff!

Any hints on how the parser works? Do we all have to put something like this each time:

T1 0'28.186
T2 1'03.019

Just curious being a programmer myself.

Again, Great Work!!!!

EDIT: Nevermind, found the FAQ on the site - this is really, really nice - the section with the replays is awesome as well - can't say it enough - GREAT WORK!!!
Last edited by LinPark; Dec 27 2009 at 9:26 PM.
   
JoostBaksteen's Avatar
No Country SpecifiedNetherlands
Dec 28 2009, 1:07 AM #24
JoostBaksteen Moderator Online Now!
LinPark View Post
Any hints on how the parser works?

Just curious being a programmer myself.
As a programmer I understand it's nice to know how the system works, so here's a little insight for any programmer on the inner workings of the system. (All the parsing is done with regexes to ensure maximum quality.) The system works as follows:
  1. The system fetches this HTML to check for any new weeks, and if found parses the week data and inserts a new week in de db
  2. Next the system fetches the HTML from all active weekly threads (that is, the ones not in the archive forum yet)
  3. Then the system extracts every post from the weekly thread, stripping all the HTML, quotes and strikethrough text
  4. Now some post info is extracted like the PSN, the post ID etc
  5. After that any time prefixes like 'T:', 'S1: ' etc are stripped from the beginning of the lines
  6. Now the times can be extracted from this preprocessed posts, this is done with this regex /^(([0-9])?[\':,\.]+)?([0-9]{1,2})[\':,\.]([0-9]{3})/
  7. The database is now checked if the run exists, if it doesn't (or if it's edited) it is inserted in the database and the old run is removed from the overview

Besides this there are a lot of other things going on. Like fetching of new drivers, division updates, information about the new weeks (tracks, cars, deadline etc), parsing of the official results, fetching of the replays and extracting the data from the replays etc.

But this is how the system works in a nutshell.
   
steven's Avatar
Netherlandshaarlem (nl)
Dec 28 2009, 3:49 AM #25
steven Diamond Member
Nice background Joost

I'll paste it into the next version of the FAQ in the WRS Leaderboard in case anybody else is interested.
   
dranddad's Avatar
Dec 28 2009, 5:42 AM #26
dranddad Diamond Member Online Now!
Well done guys, It was a pleasure to view and comment on this new leader board format before its release. I’m sure the members will have great pleasure from keeping track of their results, which is all due to your hard work.

Fantastic addition to GTPlanet .
   
NielsG's Avatar
No Country SpecifiedDenmark
Dec 28 2009, 6:06 AM #27
NielsG OLR Enthusiast
Great work, Joost. Just what the WRS has needed for many years.
   
OnlyMe's Avatar
BelgiumKontich
Dec 28 2009, 6:36 AM #28
OnlyMe Shuffleheads unite
Big hand for all involved. The new board looks fantastic.

Fantastich werk geleverd, jongens!

Also a big thank you for Luke and all volonteers who updated our previous board. Once I created and maintained a (very, very simple) leaderboard for another race-series here on GTP, so I know that it can be very timeconsuming! Thanks for all your efforts over the years!
   
maximumattack's Avatar
No Country Specifiednewcastle, england
Dec 28 2009, 9:37 AM #29
maximumattack is getting slower :(
Good work chaps

The board is looking good



   
nuclearfire's Avatar
No Country SpecifiedHavertown P.A.
Dec 28 2009, 1:45 PM #30
nuclearfire Don't Starve!
Great Job with the new leaderbord
   
EnglandEngland
Dec 28 2009, 3:16 PM #31
Aderrrm Work hard Play hard
Great work, thanks guys!
   
Anghammarad's Avatar
SwedenStockholm, Swe
Dec 29 2009, 7:09 AM #32
Anghammarad Feet of Clay Online Now!
How about adding a "Gap" column for the results page as well?
   
JoostBaksteen's Avatar
No Country SpecifiedNetherlands
Dec 29 2009, 7:29 AM #33
JoostBaksteen Moderator Online Now!
Anghammarad View Post
How about adding a "Gap" column for the results page as well?
That's a good addition, thanks!

Will put it on the todo list.
   
LinPark's Avatar
United StatesBradenton, FL
Dec 29 2009, 8:06 AM #34
LinPark Diamond Member
Since this is part of GTPlanet now is there any chance we could get a direct link to it added to the forum somewhere?
   
EDK's Avatar
United StatesEast Bay, CA
Dec 29 2009, 8:23 AM #35
EDK WRS Admin Online Now!
LinPark View Post
Since this is part of GTPlanet now is there any chance we could get a direct link to it added to the forum somewhere?
I'll ask Jordan if he can do something like the Live Racing Chat.
   
Jump_Ace's Avatar
United StatesPortland, OR
Dec 29 2009, 9:52 AM #36
Jump_Ace Honda Fanboi
Truly Amazing work guys, you've really out done yourselves!

Jerome
   
Fuzzy's Avatar
United KingdomUnited Kingdom
Dec 29 2009, 12:40 PM #37
Fuzzy Diamond Member
Very impressive, thanks for your hard work put into making the new leaderboard.
   
steven's Avatar
Netherlandshaarlem (nl)
Dec 29 2009, 1:41 PM #38
steven Diamond Member
Anghammarad View Post
How about adding a "Gap" column for the results page as well?
JoostBaksteen View Post
That's a good addition, thanks!

Will put it on the todo list.
LOL in fact it was already on the todo list (tho not in writing) because Nigel suggested it in his prebeta feedback.

Nonetheless a good suggestion Cohiba
   
Synwraith's Avatar
Dec 29 2009, 4:39 PM #39
Synwraith Gran Turismo 5
A monumental amount of work and a fantastic achievement, you should be widely credited with bringing something so positive to the community.

In case you haven't guessed, I love it

EDIT: I've just noticed the results for week 24 (F430 @Eiger) aren't included in the individual driver stats

All the best
Maz
Last edited by Synwraith; Dec 29 2009 at 4:45 PM.
   
spyrrari's Avatar
NetherlandsAMSTERDAM
Dec 29 2009, 4:40 PM #40
spyrrari GTDiamond
EDK View Post
I'll ask Jordan if he can do something like the Live Racing Chat.
Its up!!!


Thanks Jordan




spy.
   

Thread Tools

Forum Jump