Previous / Next


Scripting News, the weblog started in 1997 that bootstrapped the blogging revolution.
DST bug

After all the discussion of possible computer bugs due to the change in Daylight Savings Time, I'm pleased to report I had one.  Permanent link to this item in the archive.
One of my servers didn't make the change automatically, or so it appeared. No problem, I did it manually. Then a few hours later it was back at the old time. I reset it again. Again, a few hours later it was wrong once again. Permanent link to this item in the archive.
I finally had a minute to investigate, and traced it to a Frontier verb, tcp.getCurrentTime. I tried running it on the server, and it displayed the incorrect time. I then found the place where it's called and disabled it, and now the clock shouldn't be off on the server. Permanent link to this item in the archive.
However, that wasn't the end of the mystery. When I run it on my desktop machine, calling the same government time server, time-b.timefreq.bldrdoc.gov, it returns the correct time! Permanent link to this item in the archive.
On more investigation, it's not quite as interesting I thought it might be. Apparently the server, which is running Windows 2000, isn't getting updates from Microsoft as my Mac OS X desktop is from Apple. My Windows machine still thinks it's in Pacific Standard Time, whereas my desktop computer knows it's Daylight Savings Time. When the clock is set locally, it's automatically adjusted properly, on the server it's adjusted improperly. Disabling the code should take care of it. Permanent link to this item in the archive.
And I thought it was a government foul-up! ";->" Permanent link to this item in the archive.



     

Last update: Thursday, June 3, 2010; 4:00:34 PM



~About the Author~

A picture named dave.jpgDave Winer, 55, is a visiting scholar at NYU's Arthur L. Carter Journalism Institute. He pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in New York City.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

Mail: Mailto icon scriptingnews1mail at gmail dot com.

March 2007
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Feb   Apr


RSS feed for Scripting News



© Copyright 1997-2010 Dave Winer. Last build: 6/3/10; 10:19:54 PM. "It's even worse than it appears."


Previous / Next