TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Daylight Saving Wastes Energy

12 点作者 muriithi大约 17 年前

1 comment

gcv大约 17 年前
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 未加载