Re:NASA Declares End to Deep Impact Comet Mission
by aptwebapps on Saturday September 21, 2013 @04:45AM
(#6422390)
It seems to be approximately 2^32 tenths of second into the new millennium. Which is an odd way to do things, but I guess there were reasons.
[ Parent
| on HN ]
Re:NASA Declares End to Deep Impact Comet Mission
by lelf on Saturday September 21, 2013 @08:10AM
(#6422708)
Seems so
h> logBase 2 . realToFrac $ (secs "2013-08-11" - secs "2000-01-01")*10
31.999992174768167
Re:NASA Declares End to Deep Impact Comet Mission
by tinco on Saturday September 21, 2013 @08:29AM
(#6422747)
Totally off-topic, but that looks a lot like Haskell, what did you do to make ghci have such handy calculator functionality? (I can't find secs in Hoogle)
Re:NASA Declares End to Deep Impact Comet Mission
by lelf on Saturday September 21, 2013 @09:23AM
(#6422857)
It's just
secs = utcTimeToPOSIXSeconds . readTime defaultTimeLocale "%F"
Re:NASA Declares End to Deep Impact Comet Mission
by michaelhoffman on Saturday September 21, 2013 @03:35PM
(#6424147)
The standard for astronomical measurements today is the J2000.0 epoch.
http://en.wikipedia.org/wiki/Epoch_%28astronomy%29#Julian_ye...
Re:NASA Declares End to Deep Impact Comet Mission
by tinco on Saturday September 21, 2013 @08:24AM
(#6422739)
I bet there's a:
\\TODO: reset the clock before launch day
Somewhere that would have allowed it a ~13 years lifetime from launch day on instead of from 2000 on..
Re:NASA Declares End to Deep Impact Comet Mission
by munkeegutz on Saturday September 21, 2013 @11:50AM
(#6423301)
I bet that during the initial design phase, they wanted to keep the design simple, have enough timekeeping range to cover the mission and then maximize temporal resolution.
Someone realized that a counter operating on tenths of a second from 2000 was both easy to use and sufficient for the primary mission... they then thought nothing of it until the loss of contact