TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Daylight Saving Wastes Energy

12 pointsby muriithiabout 17 years ago

1 comment

gcvabout 17 years ago
Fascinating stuff. I wish a northern state, like Montana, would try a similar experiment in half of its counties, and ditch daylight saving time for a year and see what happens. I suspect it would save money, too.<p>On a slightly more hackerish note: I worked on a power trading system, and it would break like hell twice a year, on DST switch days. Because electricity trades on an hourly basis (except in Texas, which uses 15-minute intervals), everyone who deals with aggregating power flow or power over the course of a day, ends up writing a loop like "for (hour = 0; hour &#60; 24; hour++) { ... }", which is totally wrong. The spring forward day has 23 hours, and the fall back day has 25. That code therefore breaks twice a year and loses money because (a) it needs to be fixed, and (b) it did its accounting wrong. I hope studies examining the economic efficiency of DST take this sort of thing into account. Probably not.
评论 #129106 未加载
评论 #129104 未加载
评论 #129163 未加载