Main Site

This is Gem Newman's blog. Return to the main site.


04 September 2012

Lies, Damned Lies, and Timestamps

So I just spent the last several hours working out an absurdly awesome solution to a time zone representation problem in MATLAB—after having spent a fair portion of the last year rewriting the way MATLAB handles dates and timedeltas (which, contrary to what MathWorks seems to believe, are not the same thing) from the ground up.

Having come up with a really fun, fairly optimal partial implementation of the median function that ignores NaN values just yesterday, I was pretty pumped. And then my cousin Henk (who's also a programmer) linked me to these two articles about time that caused me to grin like a maniac:

Falsehoods Programmers Believe About Time
More Falsehoods Programmers Believe About Time

If you're a programmer, or if you've ever had to work with multiple time zones in a professional capacity, you will like them! So, er, read them and stuff.

No comments:

Post a Comment