Author Topic: FTT0109  (Read 13247 times)

Krys TOFF

  • Moderator
  • Addicted to spam
  • *****
  • Posts: 4713
  • Stunts Career project manager
    • View Profile
Re: FTT0109
« Reply #30 on: November 06, 2008, 10:14:16 PM »
I did some tests, and for weird reason I don't understand. Obviously, it seems there's an issue with the dates.
On time sumission form, time is displayed properly, but when I check the timestamps of deadline time (19H00 the 9th of November) and the one of the current time from the servor, there's a weird thing : timestamp of now is 6 days after deadline !!! :o ???
How can this be ?
If the servor's time has been increased by 6 days, then today's date and time would not be properly displayed on time submission form. But if servor's time is correct, why in Hell the time checking (to compare current timestamp with deadline's timestamp) is wrong ?!
Zak, any idea maybe ?

Duplode

  • Considering trying out spam
  • *******
  • Posts: 3454
  • Through the astral door - to soar
    • View Profile
    • The Southern Cross Stunts Trophy
Re: FTT0109
« Reply #31 on: November 06, 2008, 10:27:51 PM »
Oh Krys, I'm sorry - I have just screwed up the scoreboard a bit by posting a blank time just to see what would happen... (I thought either the submission would fail or I would see the deadline bug) Anyway, isn't it odd that my input actually was registered despite the issues CTG is having? ???

Edit: it seems the system (or you?) purged the blank entry - but the strangeness still holds...

Krys TOFF

  • Moderator
  • Addicted to spam
  • *****
  • Posts: 4713
  • Stunts Career project manager
    • View Profile
Re: FTT0109
« Reply #32 on: November 06, 2008, 10:30:02 PM »
It seems I found the issue : I wrote
mktime(19,0,0,11,09,2008)
and when I write
mktime(19,0,0,11,9,2008)
the issue seems to disappear. :)

But, I still don't understand why the issue happened suddenly and why writing 09 instead of 9 makes a 6 days difference ?! Php is weird sometimes. :D

Please try again to post yout time CTG.

Krys TOFF

  • Moderator
  • Addicted to spam
  • *****
  • Posts: 4713
  • Stunts Career project manager
    • View Profile
Re: FTT0109
« Reply #33 on: November 06, 2008, 10:31:46 PM »
Oh Krys, I'm sorry - I have just screwed up the scoreboard a bit by posting a blank time just to see what would happen... (I thought either the submission would fail or I would see the deadline bug) Anyway, isn't it odd that my input actually was registered despite the issues CTG is having? ???

Edit: it seems the system (or you?) purged the blank entry - but the strangeness still holds...
You posted this blank time just when I corrected the "09 instead of 9 bug". I saw it and deleted it from the DB immediately, thinking that CTG was still trying to post a time. :D

Oh, and I also changed the "look" of time submission form in English version of the website. Do you like it ?

Duplode

  • Considering trying out spam
  • *******
  • Posts: 3454
  • Through the astral door - to soar
    • View Profile
    • The Southern Cross Stunts Trophy
Re: FTT0109
« Reply #34 on: November 06, 2008, 10:42:12 PM »
But, I still don't understand why the issue happened suddenly and why writing 09 instead of 9 makes a 6 days difference ?! Php is weird sometimes. :D

The issue with leading zeroes immediately reminded me reminded me of octal numbers...

Syntax

Integers can be specified in decimal (base 10), hexadecimal (base 16), or octal (base 8 ) notation, optionally preceded by a sign (- or +).

To use octal notation, precede the number with a 0 (zero). To use hexadecimal notation precede the number with 0x.

(...)

Warning

If an invalid digit is given in an octal integer (i.e. 8 or 9), the rest of the number is ignored.

Example #2 Octal weirdness
<?php
var_dump(01090); // 010 octal = 8 decimal
?>

...and it seems indeed to be the case. :)
« Last Edit: November 06, 2008, 10:50:16 PM by Duplode »

CTG

  • Spam, egg, spam, spam, bacon and spam
  • *
  • Posts: 20046
  • Psycho
    • View Profile
    • UnskilledStunts Championship
Re: FTT0109
« Reply #35 on: November 06, 2008, 10:52:12 PM »
WOOOOOOOOORKING!!! :D:D:D:D

Chulk

  • Trying out spam for the first time
  • ********
  • Posts: 3621
  • "Do, or do not. There is no try."
    • View Profile
Re: FTT0109
« Reply #36 on: November 06, 2008, 11:57:35 PM »
The issue with leading zeroes immediately reminded me reminded me of octal numbers...
Turn repeating turn repeating mode off!
There's a General Custer for every urban tribe

Duplode

  • Considering trying out spam
  • *******
  • Posts: 3454
  • Through the astral door - to soar
    • View Profile
    • The Southern Cross Stunts Trophy
Re: FTT0109
« Reply #37 on: November 07, 2008, 01:10:37 AM »
The issue with leading zeroes immediately reminded me reminded me of octal numbers...
Turn repeating turn repeating mode off!

Perhaps it better I write sentences a single direction, of rewinding due to every because of every of any single little mistake little...

Mark L. Rivers

  • Straight Specialist
  • ***
  • Posts: 1179
    • View Profile
Re: FTT0109
« Reply #38 on: November 07, 2008, 03:20:30 PM »

I never hate a track as I'm hating this one.
Last section is worst than a lottery. And I don't like lottery...



Duplode

  • Considering trying out spam
  • *******
  • Posts: 3454
  • Through the astral door - to soar
    • View Profile
    • The Southern Cross Stunts Trophy
Re: FTT0109
« Reply #39 on: November 07, 2008, 03:32:16 PM »
Last section is worst than a lottery. And I don't like lottery...

By now I think I have found a suitable analogy to describe what is the likelihood of finishing the last sector like: http://en.wikipedia.org/wiki/Drake_equation#The_equation ...

Krys TOFF

  • Moderator
  • Addicted to spam
  • *****
  • Posts: 4713
  • Stunts Career project manager
    • View Profile
Re: FTT0109
« Reply #40 on: November 07, 2008, 04:06:50 PM »
I never hate a track as I'm hating this one.
Last section is worst than a lottery. And I don't like lottery...
I have an idea : simply follow the road. :D :P ;D

Chulk

  • Trying out spam for the first time
  • ********
  • Posts: 3621
  • "Do, or do not. There is no try."
    • View Profile
Re: FTT0109
« Reply #41 on: November 07, 2008, 04:11:01 PM »
Last section is worst than a lottery. And I don't like lottery...

By now I think I have found a suitable analogy to describe what is the likelihood of finishing the last sector like: http://en.wikipedia.org/wiki/Drake_equation#The_equation ...
???

I never hate a track as I'm hating this one.
Last section is worst than a lottery. And I don't like lottery...
I have an idea : simply follow the road. :D :P ;D
So that's what was needed! I knew they couldn't do 1:17 off-road!
« Last Edit: November 07, 2008, 05:57:41 PM by Chulk »
There's a General Custer for every urban tribe

Duplode

  • Considering trying out spam
  • *******
  • Posts: 3454
  • Through the astral door - to soar
    • View Profile
    • The Southern Cross Stunts Trophy
Re: FTT0109
« Reply #42 on: November 07, 2008, 04:50:08 PM »
Last section is worst than a lottery. And I don't like lottery...

By now I think I have found a suitable analogy to describe what is the likelihood of finishing the last sector like: http://en.wikipedia.org/wiki/Drake_equation#The_equation ...
???

That equation gives an estimated number of extraterrestrial civilizations able to communicate with us from the whole set of stellar systems within our galaxy...

Mark L. Rivers

  • Straight Specialist
  • ***
  • Posts: 1179
    • View Profile
Re: FTT0109
« Reply #43 on: November 07, 2008, 07:58:51 PM »

When I was 16 year old, I studied differential equations during my high school. I learnt that this kind of equations were able to calculate with absolute precision whatever movement, motion, action, system in order of the variables indicated. They can really determine the path of every body in motion in the universe. But sure they have a limit. They can't determinate how a Corvette has to be vectored to jump on several bankroads in FTT0109 in order to avoid a nervous crisis....

Chulk

  • Trying out spam for the first time
  • ********
  • Posts: 3621
  • "Do, or do not. There is no try."
    • View Profile
Re: FTT0109
« Reply #44 on: November 07, 2008, 10:54:50 PM »
...They can't determinate how a Corvette has to be vectored to jump on several bankroads in FTT0109 in order to avoid a nervous crisis....
Do you need my .rpl file. (Ooops, I talked too much...) ;)
There's a General Custer for every urban tribe