Read more.IER announced that it is adding a second to the clock on June 30, 2015.
Read more.IER announced that it is adding a second to the clock on June 30, 2015.
The linked article says "Nowadays, however, adding a leap second—which is scheduled to occur at 23:59:59 on June 30 (the halfway point of the year)—can cause computer systems to become confused when their clock shows 60 seconds, rather than rolling over after 59—and we all know what that generally means—outages. Other computers will show the 59th second for two seconds in a row, which can also cause problems." Instead, why not just set the clock back by 1 second once we're a a couple seconds into July? You know, like we do with daylight savings when we're an hour in or whatever? Websites seem to deal with that ok don't they? I don't get why this is a big deal...
There are two kinds of problems, the COBOL style problem, and the duration problem.
The COBOL one, only effects really dumb programmers, so brace yourselves if you've got JS or PHP. Here someone treats a date, not as a number, but as a series of symbols (called a 'string' as they are symbols strung together). They then trigger something happening when the last 2 symbols equal something else. This is bad. Those responsible should be shot and their children shot.
You have the duration one, which is a bit more tricky, most systems measure time in the number of seconds (or fractions of a second) elapsed since a specific point in time (called an epoch). This is just a big number, computers like big numbers, and this of course doesn't change, as it's still 100 seconds ellapsed, regardless if you show 59 or 60, because the number ellapsed is obviously true.
However, sometimes people will calculate a duration, durations mean these seconds ellapsed have to be mapped to the time as we know it. If ever you needed any kind of proof that god isn't real, work with date and time, so one person might have the leap second in their lib, someone else, not. Will one second matter in this case? For most things, no. For things that really care about one second, they use time since an epoch anyway.
throw new ArgumentException (String, String, Exception)
Timing a duration you would use a monotonic clock not wall clock time, or at least you should. And there lies the problem, summer time hits us twice a year, leap seconds are not common enough to be well tested against.
I would have thought that most modern code runs on virtual machines where the clocks are so wonky that an extra second turning up would be casually accepted.
There will be an implosion, reality will cease to exist and be destroyed by the software erratum of 0 !!!
Listening to Bob marley until the End of...
It isn't the first time a leap second has been added, neither will it be the last. For the majority of systems it won't make any difference, and for those systems that synchronise over the net it won't matter at all, systems will sync real time plus whatever latency is there anyway. Those that synchronise over GPS will not be affected.
Where it would matter is in systems like GPS satellites, and that will be covered anyway, as will organisations that operate time standard clocks.
Personally, I shall enjoy my extra second of sleep!
(\__/)
(='.'=)
(")_(")
Been helped or just 'Like' a post? Use the Thanks button!
My broadband speed - 750 Meganibbles/minute
We survived Y2K, I think we will survive this.
Main PC: Asus Rampage IV Extreme / 3960X@4.5GHz / Antec H1200 Pro / 32GB DDR3-1866 Quad Channel / Sapphire Fury X / Areca 1680 / 850W EVGA SuperNOVA Gold 2 / Corsair 600T / 2x Dell 3007 / 4 x 250GB SSD + 2 x 80GB SSD / 4 x 1TB HDD (RAID 10) / Windows 10 Pro, Yosemite & Ubuntu
HTPC: AsRock Z77 Pro 4 / 3770K@4.2GHz / 24GB / GTX 1080 / SST-LC20 / Antec TP-550 / Hisense 65k5510 4K TV / HTC Vive / 2 x 240GB SSD + 12TB HDD Space / Race Seat / Logitech G29 / Win 10 Pro
HTPC2: Asus AM1I-A / 5150 / 4GB / Corsair Force 3 240GB / Silverstone SST-ML05B + ST30SF / Samsung UE60H6200 TV / Windows 10 Pro
Spare/Loaner: Gigabyte EX58-UD5 / i950 / 12GB / HD7870 / Corsair 300R / Silverpower 700W modular
NAS 1: HP N40L / 12GB ECC RAM / 2 x 3TB Arrays || NAS 2: Dell PowerEdge T110 II / 24GB ECC RAM / 2 x 3TB Hybrid arrays || Network:Buffalo WZR-1166DHP w/DD-WRT + HP ProCurve 1800-24G
Laptop: Dell Precision 5510 Printer: HP CP1515n || Phone: Huawei P30 || Other: Samsung Galaxy Tab 4 Pro 10.1 CM14 / Playstation 4 + G29 + 2TB Hybrid drive
Aren't satellites experiencing time differently anyway? Or are they not quite far enough out for that?
Some interesting posts here. But I bet the majority of us won't notice anything at all. My motherboard seems to keep falling behind with the time, then catching back up when it syncs with ms servers. It's nothing more than annoying. It's not messing with any programs as far as I can tell. But I do now understand that it could be messing with some computers/programs. I suppose it might cause some big problems for computers running time precise experiments or something..
There are currently 1 users browsing this thread. (0 members and 1 guests)