A question of time

My first Common Lisp programming job was for Mercury Scheduling (no longer around) working on the back end of airline crew control software. The main focus was assisting crew controllers in scheduling personnel on flights. We had to satisfy literally hundreds of constraints from union regulations, government regulations to...what else?...oh yeah, the constraints of reality like not being in two places at once or starting a new shift 1000 miles away in an hour's time (computers are stupid, you have to tell them everything!).

One thing I learned is just how complicated time can be when you are inside a computer! Timezones, daylight savings, leap years, leap centuries, leap seconds....it's a real mess.

Well, it turns out that leap years, or more generally the difference between the calendar and the actual orbit of the earth around the sun, cause a discernible albeit insignificant effect in the monthly temperature anomalies. The actual orbitally controlled seasons are not in sync with the conventional calendar.

The issues are interesting, and Tamino at Open Mind goes into them, starting out with a paper by Cerveny et al., in an impressive level of detail, have a read.

More like this

"When in doubt, make a fool of yourself. There is a microscopically thin line between being brilliantly creative and acting like the most gigantic idiot on earth. So what the hell, leap." -Cynthia Heimel Once every four years, the elusive entity that is today -- February 29th -- comes along. The…
Get out your stop watches. Press start, and then answer this question: What day of the week was August 17, 1932? How long did it take you? Oh, the answer is Wednesday, by the way. I cheated, and used a calculator, because I'm not very good at calendrical calculations, but some people, usually of…
Within 15 minutes of my 6:00 am flight from Austin to Baltimore, I knew it was going to be a long, COLD, 3-hour trip. I'd already turned off the overhhad vents to stop the frigid air from blowing on me, and contorted myself into a ball on my seat trying to stay warm. As I visualized myself…
"What was most significant about the lunar voyage was not that men set foot on the Moon, but that they set eye on the Earth." -Norman Cousins What would life on Earth be like without the Moon? Our nearest neighboring body in the cosmos has a profound effect on us. It's helped not only shape our…

As a bit of trivia, what President's name used to be embedded in the UNIX time code?

A: way back, Nixon: there was a period when Nixon had moved Daylight Savings around, so there was a variable called "nixonflag"...

By John Mashey (not verified) on 23 Dec 2008 #permalink

If you look back over the course of the last few years, is there anything you would have done differently or is there anything you wished had happened but didn't happen?

In my opinion the largest threat for California are cataclysms and ecological catastrophes. Not important is how many money we have because one tragedy can us take all.

Amongst many time issues that pop up, such as synchronizing amongst computers (especially when one is wrongly set), the issues of resynching, and what one does with things like UNIX cron-scheduled events meanwhile, etc is another one for amusement:

excerpt from Vernor Vinge, all too plausible.

By John Mashey (not verified) on 27 Dec 2008 #permalink

A leap-year bug in Microsoft Zunes disabled them on the last day of 2008...

A few months ago, around the change of Daylight Savings Time, someone we were meeting missed by an hour, because between him and his secretary, one used a Mac and one Windows, and when exchanging calendaring information, something went wrong.

By John Mashey (not verified) on 01 Jan 2009 #permalink

Yes, surprising bugs abound around DST issues...

I was using an older version of postgresql and found that I got the wrong date when asking for CURRENT_DATE + 'interval 1 week' if a DST change occurred at any point in that interval! That was a bugger to figure out, and was never fixed just avoided through hackery.