Re: [julia-users] Re: -1 days old master

2015-02-19 Thread Patrick O'Leary
For what it's worth, I did see Oscar make a comment on an issue this morning which confirms that his clock is off. On Thursday, February 19, 2015 at 12:53:31 AM UTC-6, Ivar Nesje wrote: Git stores committer time with timezone, and we ask git for a UNIX timestamp and compare to the current

Re: [julia-users] Re: -1 days old master

2015-02-18 Thread Jiahao Chen
Actually, I wonder now if Base.GIT_VERSION_INFO.fork_master_timestamp may not be corrected for timezone differences between the git commit and the local build system. I just built Julia after committing a change and it correctly says 0 days old.

Re: [julia-users] Re: -1 days old master

2015-02-18 Thread Ivar Nesje
Git stores committer time with timezone, and we ask git for a UNIX timestamp and compare to the current system unix timestamp on startup, so I'm pretty sure we do things correctly. If the system clock is wrong, there is not much we can do.

Re: [julia-users] Re: -1 days old master

2015-02-17 Thread David P. Sanders
On 17 Feb 2015 16:07, Ivar Nesje iva...@gmail.com wrote: Nice, I'm glad my code didn't crash when given unexpected input. Maybe we should check the system clock against a online time server when you run make test. We just use the timestamp git adds when committing, so other than that, there

Re: [julia-users] Re: -1 days old master

2015-02-17 Thread Stefan Karpinski
Yes. On Feb 17, 2015, at 9:52 PM, David P. Sanders dpsand...@ciencias.unam.mx wrote: On 17 Feb 2015 16:07, Ivar Nesje iva...@gmail.com wrote: Nice, I'm glad my code didn't crash when given unexpected input. Maybe we should check the system clock against a online time server when

Re: [julia-users] Re: -1 days old master

2015-02-17 Thread Ivar Nesje
Definitely possible. The code is at https://github.com/JuliaLang/julia/blob/master/base/version.jl#L210

Re: [julia-users] Re: -1 days old master

2015-02-17 Thread Jiahao Chen
I see this too. Time to buy some lottery numbers! I'm going to guess some sort of rounding logic error. Thanks, Jiahao Chen Staff Research Scientist MIT Computer Science and Artificial Intelligence Laboratory On Tue, Feb 17, 2015 at 1:13 PM, Tony Kelman t...@kelman.net wrote: I think the

[julia-users] Re: -1 days old master

2015-02-17 Thread Tony Kelman
I think the clock on Oscar's computer might be running a little fast. I noticed github saying authored just now for that commit for maybe 15-20 minutes after it had already been committed. Apparently that can confuse version_git.sh. On Tuesday, February 17, 2015 at 9:19:52 AM UTC-8, David P.

Re: [julia-users] Re: -1 days old master

2015-02-17 Thread Ivar Nesje
Nice, I'm glad my code didn't crash when given unexpected input. Maybe we should check the system clock against a online time server when you run make test. We just use the timestamp git adds when committing, so other than that, there doesn't seem like there is much new can do.