Language Selection

English French German Italian Portuguese Spanish

Change in daylight-saving time could confuse some programs

Filed under
Misc

A pending energy bill expected to soon gain approval from the U.S. Congress means some programmers will once again need to check over their software code for potential problems handling a calendar adjustment.

Congress is proposing a four-week extension of daylight-saving time (DST), a move that could trip up applications and gadgets programmed to adjust their internal clocks according to the "summer time" schedule the U.S. has kept for nearly two decades.

The IT industry will have plenty of time to prepare: The extension would take effect one year after enactment of the Energy Policy Act of 2005, which likely means a 2007 start date for the new schedule. The energy bill won approval yesterday in a joint U.S. Senate and House of Representatives conference committee, and is expected to soon pass the full Congress and move on to the White House.

The change would shift DST's start from April back to March and move its end from October to November. Those extra few weeks of DST will save 100,000 barrels of oil per day, according to legislators backing the change.

It will also confuse programs set to automatically handle DST hours. Summer time changes, observed in patchwork fashion around the world, have always been an annoyance for programmers and systems administrators: Online support groups are full of work-arounds and suggestions for an assortment of DST-related glitches. For example, Cisco Systems Inc.'s technical support has pages of detailed technical information on solving DST problems afflicting its servers and routers, while Oracle Corp.'s online discussion forum is filled with posts from developers seeking help handling esoteric DST challenges.

Full Story.

More in Tux Machines

10 tips for easier collaboration between office suites

Yes, you are likely using the Microsoft formats for your documents. However, they don't always follow OpenDocument Format (ODF) standards. Instead of opting for the proprietary Microsoft formats, switch over to one that's welcomed by nearly all office suites: ODF. You'll find a much more seamless collaboration process and fewer gotchas when moving between office suites. The only platform that can have a bit of trouble with this format is Android. The one Android office suite that works well with ODF is OfficeSuite 7 Pro. Read more

Outsourcing your webapp maintenance to Debian

It turns out that I'm not the only one who thought about this approach, which has been named "debops". The same day that my talk was announced on the DebConf website, someone emailed me saying that he had instituted the exact same rules at his company, which operates a large Django-based web application in the US and Russia. It was pretty impressive to read about a real business coming to the same conclusions and using the same approach (i.e. system libraries, deployment packages) as Libravatar. Regardless of this though, I think there is a class of applications that are particularly well-suited for the approach we've just described. If a web application is not your full-time job and you want to minimize the amount of work required to keep it running, then it's a good investment to restrict your options and leverage the work of the Debian community to simplify your maintenance burden. The second criterion I would look at is framework maturity. Given the 2-3 year release cycle of stable distributions, this approach is more likely to work with a mature framework like Django. After all, you probably wouldn't compile Apache from source, but until recently building Node.js from source was the preferred option as it was changing so quickly. While it goes against conventional wisdom, relying on system libraries is a sustainable approach you should at least consider in your next project. After all, there is a real cost in bundling and keeping up with external dependencies. Read more

How Intel HD Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers With Steam On Linux

As earlier this week I did a 20-way AMD Radeon open-source comparison, looked at the most energy efficient Radeon GPUs for Linux gaming, and then yesterday provided a look at the fastest NVIDIA GPUs for open-source gaming with Nouveau, in this article is a culmination of all the open-source graphics tests this week while seeing how Intel Haswell HD Graphics fall into the mix against the open-source Radeon R600/RadeonSI and Nouveau NV50/NVC0 graphics drivers. Read more

Leftovers: Gaming