- 3,746
A lot of people (myself included) follow the developments each week in the WRS through Luxy & Small_Fryz's excellent Unofficial Leaderboard. I've been wondering for a while how the leaderboard was updated, and through a recent conversation with Luxy I've found out it's updated manually. Luxy or Small_Fryz go through all of our posts looking for sector times to update the board. This seems like quite a laborious and (presumably) monotonous job. So, I thought I'd give it a shot at writing a program to automatically scan the thread looking for sector times so that instead of taking an hour of someone's time it takes a quarter of a second to do all the work. As you can probably imagine, it's pretty difficult to sift through all the code that makes up the thread, weeding out everything that's not useful and just getting down to the times. Thus, I need your help. I had intended on developing the program to cope with all possible scenarios in terms of what format people post in, so as not to disturb people's normal activities, however there are a few things that I'm finding pretty hard to get around.
The first thing is that I've noticed that Event posts times in the following format:
"x'xx.xxx / x'xx.xxx / x'xx.xxx"
This particular format has been giving me a bit of a bad time, I can't seem to develop a way of coping with it that doesn't require a huge hack of the code. If it would be possible, Event, could you please post times in the following format:
"x'xx.xxx
x'xx.xxx
x'xx.xxx"
or
"xx.xxx
x'xx.xxx
x'xx.xxx"
These two formats are perfect for the program
The second major problem is people quoting other people's sector times in their posts. So far, this has been a right pain in the rear. I can't (at the moment at least) see a general purpose solution to this problem. Basically what happens at the moment when someone quotes another person's sector times, the person quoting gets the first person's sector times, which in the first 100 posts of the Week 14 thread means that "santiagomo87" ends up with "holl01"'s sector times (wish that would happen to me one of these days).
Oh, and this is another post where the format makes the program go a bit wonky, if this kind of format could be avoided it would be greatly appreciated.
I'm intending on building in a safeguard of sorts into the program which makes sure everyone is within a certain margin of each other, but if the program can't pick up times properly from a certain post, it just means a human has to check, slowing down the process.
Ok, a summary (I know long posts are boring, I didn't intend it to be this long )
Please try to post sector times in one of the following formats, if possible:
"x'xx.xxx
x'xx.xxx
x'xx.xxx"
or
"xx.xxx
x'xx.xxx
x'xx.xxx"
The first thing is that I've noticed that Event posts times in the following format:
"x'xx.xxx / x'xx.xxx / x'xx.xxx"
This particular format has been giving me a bit of a bad time, I can't seem to develop a way of coping with it that doesn't require a huge hack of the code. If it would be possible, Event, could you please post times in the following format:
"x'xx.xxx
x'xx.xxx
x'xx.xxx"
or
"xx.xxx
x'xx.xxx
x'xx.xxx"
These two formats are perfect for the program
The second major problem is people quoting other people's sector times in their posts. So far, this has been a right pain in the rear. I can't (at the moment at least) see a general purpose solution to this problem. Basically what happens at the moment when someone quotes another person's sector times, the person quoting gets the first person's sector times, which in the first 100 posts of the Week 14 thread means that "santiagomo87" ends up with "holl01"'s sector times (wish that would happen to me one of these days).
Oh, and this is another post where the format makes the program go a bit wonky, if this kind of format could be avoided it would be greatly appreciated.
I'm intending on building in a safeguard of sorts into the program which makes sure everyone is within a certain margin of each other, but if the program can't pick up times properly from a certain post, it just means a human has to check, slowing down the process.
Ok, a summary (I know long posts are boring, I didn't intend it to be this long )
Please try to post sector times in one of the following formats, if possible:
"x'xx.xxx
x'xx.xxx
x'xx.xxx"
or
"xx.xxx
x'xx.xxx
x'xx.xxx"