Slashdot Mirror


June 30th Leap Second Could Trigger Unexpected Issues

dkatana writes: On January 31, 2013, approximately 400 milliseconds before the official release of the EIA Natural Gas Report, trading activity exploded in Natural Gas Futures. It is believed that was the result of some fast computer trading systems being programmed to act, and have a one-second advance access to the report. On June 30th a leap second will be added to the Network Time Protocol (NTP) to keep it synchronized with the slowly lengthening solar day. In this article, Charles Babcock gives a detailed account of the issues, and some disturbing possibilities: The last time a second needed to be added to the day was on June 30, 2012. For Qantas Airlines in Australia, it was a memorable event. Its systems, including flight reservations, went down for two hours as internal system clocks fell out of synch with external clocks.

The original author of the NTP protocol, Prof. David Mills at the University of Delaware, set a direct and simple way to add the second: Count the last second of June 30 twice, using a special notation on the second count for the record. Google will use a different approach: Over a 20-hour period on June 30, Google will add a couple of milliseconds to each of its NTP servers' updates. By the end of the day, a full second has been added. As the NTP protocol and Google timekeepers enter the first second of July, their methods may differ, but they both agree on the time.

But that could also be problematic. In adding a second to its NTP servers in 2005, Google ran into timekeeping problems on some of its widely distributed systems. The Mills sleight-of-hand was confusing to some of its clusters, as they fell out of synch with NTP time. Does Google's smear approach make more sense to you, or does Mills's idea of counting the last second twice work better? Do you have a better idea of how to handle this?

233 comments

  1. Doesn't matter by StormShaman · · Score: 5, Informative

    The only problem mentioned is that they fall out of sync with each other. If they're both otherwise fine, just pick one. Sounds like the disadvantages of either one aren't as big as the disadvantage of them not working well together.

    1. Re:Doesn't matter by Penguinisto · · Score: 0

      Thinking the same thing here. Most time-sensitive systems outside of the stock market do allow for a little slop (even Active Directory allows a 5-minute slip betwixt client and AD Domain Controller before it refuses logins), so I'm not seeing too much of a problem with a temporary 1-second lag, let alone incremental millisecond lags between refreshes.

      TBH, in most commodity systems, a few milliseconds here and there would be the easiest, since most of them slide that far one way or the other...

      ...and don't get me started on virtual machines, which notoriously suck at internal/machine timekeeping.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
  2. Buggy software is buggy by guruevi · · Score: 0, Troll

    Slow news day? Software dependent on accurate timing should be able to handle such exceptions such as leap seconds, leap years etc. It is a simple test case and is well documented. So if your software fails, you have a bug in your software, which shows you either didn't test or you're simply incompetent.

    Also, most if not all languages have libraries that can handle accurate timing very well.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
    1. Re:Buggy software is buggy by pla · · Score: 2

      Also, most if not all languages have libraries that can handle accurate timing very well.

      I would consider t-SQL and *.NET pretty major languages, that completely fail to handle leap seconds.

    2. Re:Buggy software is buggy by CaptainJeff · · Score: 2

      But...it's not.
      Because you have different approaches to it. If the community could agree on how to address the (growing) difference in time as measured by Earthborn measures with solar/Earth/rotation measures, then it would be. But, there are legitimate and valid disagreements with how time should be kept.

    3. Re:Buggy software is buggy by Anonymous Coward · · Score: 0

      It's far from trivial: https://www.youtube.com/watch?v=-5wpm-gesOY

      And the hairy part isn't getting getting accurate/correct time. It's how your application handles the time it gets.

    4. Re:Buggy software is buggy by Anonymous Coward · · Score: 1

      Name some languages that handle leap seconds properly.
      I don't believe for a second (pardon the pun) that you've actually done this research and testing yourself.

    5. Re:Buggy software is buggy by mbone · · Score: 1

      But...it's not.

      Because you have different approaches to it. If the community could agree on how to address the (growing) difference in time as measured by Earthborn measures with solar/Earth/rotation measures, then it would be. But, there are legitimate and valid disagreements with how time should be kept.

      Really? UTC is defined by International Telecommunications Union Recommendation (ITU-R TF.460-6), and it includes leap seconds. Do you have an alternative Telecommunications Union you abide by?

    6. Re:Buggy software is buggy by petermgreen · · Score: 4, Interesting

      Leap years and leap seconds are handled very differently.

      The rules for leap years are according to a forumula that has been fixed for hundreds of years. Computers typically handle them as part of their conversion from internal "time elapsed since epoch" data formats to "human" date formats and otherwise don't care much about them. Even the simplified formula of "leap year every 4 years"

      Leap seconds OTOH cannot be predicted in advance so you cannot realiablly convert "time elapsed since epoch including leap seconds" to "time elapsed since epoch excluding leap seconds" or "human datetime" for future datetimes and to do it for past datetimes requires an up to date list of leap seconds.

      Then there is the problem that "time elapsed since epoch excluding leap seconds" which is a common way to represent time (presumablly due to the difficulty in converting "time elapsed since the epoch including leap seconds" to "human datetime" simply cannot correctly represent the times arround a leap second.

      The testcase is also anything but simple, to test the code you have to inject fake leap seconds, but for a correct test leap seconds can only be injected at specific times (NTP for example increases it's update rate around possible leap seconds) so either you can only run the test at specific times or your entire test environment needs to run on "fake time". This is a big problem if your tests need to interact with a system outside the test environment in a way that depends on time within the test environment being in sync with time outside the test environment.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    7. Re:Buggy software is buggy by at10u8 · · Score: 3, Informative

      The ITU-R has outlined 4 methods for the future of UTC. Methods A1, A2, B, C1, C2, and D are from various delegations of the international assembly, and they are in serious disagreement with each other.

    8. Re:Buggy software is buggy by petermgreen · · Score: 1

      Even the simplified formula of "leap year every 4 years"

      That should have said

      Even the simplified formula of "leap year every 4 years" works for 1901 to 2099 which is from before the introduction of computers to beyond what most system designers would consider to be a reasonable system life.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    9. Re:Buggy software is buggy by 93+Escort+Wagon · · Score: 4, Insightful

      The ITU-R has outlined 4 methods for the future of UTC. Methods A1, A2, B, C1, C2, and D are from various delegations of the international assembly, and they are in serious disagreement with each other.

      That's silly. There's no reason for it. Let's just sit down and come up with a new standardized method that covers all of these use cases.

      --
      #DeleteChrome
    10. Re:Buggy software is buggy by Killall+-9+Bash · · Score: 1

      This is a troll?!

      Is troll a synonym for insightful now?

      --
      "Prediction: within 10 years, Windows will be a Linux distribution." Me, 7-6-2016
    11. Re:Buggy software is buggy by Killall+-9+Bash · · Score: 1

      Perhaps I'm blissfully ignorant, but I don't understand why almost any software would need to be time synchronized down to the second.

      Assuming there are applications where synchronized time is mission critical..... in those cases, relying on a 3rd party to provide time in a way you have no control over is PURE LUNACY.

      The example of an airline grinding to a halt over 1 second..... I guess you do need highly synchronized computer systems so that you can tell me with 14 decimal places of precision that my flight is 20 minutes late.... Who the fuck built that system and said "Let's just sync it with time.nist.gov, because the government never screws anything up!"...?!

      --
      "Prediction: within 10 years, Windows will be a Linux distribution." Me, 7-6-2016
    12. Re:Buggy software is buggy by RavenLrD20k · · Score: 4, Funny

      The ITU-R has outlined 5 methods for the future of UTC [acma.gov.au]. Methods A1, A2, B, C1, C2, D, and E are from various delegations of the international assembly, and they are in serious disagreement with each other.

    13. Re:Buggy software is buggy by alexhs · · Score: 3, Informative

      The ITU-R has outlined 4 methods for the future of UTC

      Only method A1(*) proposes to redefine UTC. All other methods are keeping UTC just as it is.

      To sum up the methods :
      A1: No more leap seconds, UTC will drift from UT1.
      A2: Come up with a new name for "UTC without leap seconds" as the broadcast universal time, UTC becomes legacy.
      B: Keep UTC as it is, also broadcast a TAI-based reference time on an equal basis.
      C1: Keep UTC as it is, also broadcast a delta between UTC and TAI.
      C2: Same as C1, with more verbose recommendations.
      D: Keep UTC as it is.

      (*) With A2, UTC is not broadcasted anymore, so it has the same implications as A1, but mbone was going with the definition of UTC, so there's room for nitpicking :)

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    14. Re:Buggy software is buggy by Anonymous Coward · · Score: 0

      Just like UTC to local time conversion you can do the same with starting with TAI and include leap seconds as well.

      There has been serious discussion for having the internal time of Linux to be running in TAI. TAI counts the number of seconds since a certain Epoch and does not do any leap second adjustment. The timezone database includes the TAI timestamps when each leap seconds occurs.

      gettimeofday() must return UTC, but clock_gettime() may get a TAI version.

      I hope one day everyone decided that UTC was a dumb idea.

    15. Re:Buggy software is buggy by at10u8 · · Score: 1

      Take another look at Method D, which was just added in March: "No change to the Radio Regulations as the results of the studies are inconclusive." This is one group of delegations going on official record saying that all the effort expended by the ITU-R over the past 15 years has been worthless for making any decision to change the definition of UTC. That is serious disagreement.

    16. Re:Buggy software is buggy by 0123456 · · Score: 1

      Perhaps I'm blissfully ignorant, but I don't understand why almost any software would need to be time synchronized down to the second.

      Yes, you are. Fart apps don't care about the time. The systems that let you sell your fart app to mobile users do.

      Assuming there are applications where synchronized time is mission critical..... in those cases, relying on a 3rd party to provide time in a way you have no control over is PURE LUNACY.

      Most of the world syncs to GPS, either directly using the time, or by using a frequency output that's synced to GPS. If you don't sync to GPS, you'll be out of sync with most of the world.

    17. Re:Buggy software is buggy by guruevi · · Score: 1

      Most, if not all of them. Unix time is leap second-ignorant and there are a number of other time sources that likewise handle leap seconds. If you do for some reason, require solar seconds or GPS time, there are other solutions for that. Most likely though, it's your platform that needs to handle the leap seconds and Linux, Mac, BSD, Solaris is more than capable of that, don't know about Windows or other esoteric systems though.

      The issue is in human date/time representations and/or bad programming. I've seen many times programmers parsing a MM-DD-YYYY HH:mm:ss string rather than a proper timestamp. I've also seen programmers implement timers even in lower-level languages like C by simply subtracting "$current time" - "$past time" or having a timestamp with a "unique" requirement. If you've ever worked on platforms that do not keep accurate track of time or have no hardware clock such as embedded devices, virtual servers etc, then you know that it's a bad idea.

      If you're relying on mm:ss to progress 'properly' during these time events, then you're in trouble. The article gives the example of timers as well which just gives me the heebie-jeebies.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    18. Re:Buggy software is buggy by guruevi · · Score: 1

      You can never assume that time will not change due to external factors. That could be due to a sysadmin executing the 'ntpdate' command, leap years, leap seconds or even daylight savings.

      You're talking mainly about human representations of time though and although the conversion should be handled delicately, they should not be used for internal time representations (a major mistake I see very often is to handle/parse hh:mm:ss strings back and forth between a model and a controller).

      The testcase however is one that does need handling though if you do require such reliance on time. It may not be simple but yes, it is possible to fake the clock (ntpdsim). External (live/production) data within a test environment is likewise a 'bad thing', you most likely will not handle outliers if you assume the current external data includes improper data.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    19. Re:Buggy software is buggy by guruevi · · Score: 1

      Pick one, make sure your systems run against it. If you always use NTP sourced data, you cannot assume your GPS sourced data (or local nuclear clock data) will give you the same results.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    20. Re:Buggy software is buggy by swilly · · Score: 1

      .NET doesn't handle leap seconds because Windows doesn't. Its NTP client will ignore seconds values greater than 59, and then fix the time during the next update. This means that Windows can knowingly be up to a second off from UTC time between the introduction of a leap second and its next NTP update. This is important to know if you attempt a fully synchronous distributed system that relies on NTP for synchronization.

    21. Re: Buggy software is buggy by Anonymous Coward · · Score: 0

      Another relatively common use case is version control systems. They rely, at least in party, on accurate time stamps to resolve check-out and -in conflicts. Especially if multiple developers are working across a WAN or in the cloud, those timestamps would be fairly important. And--I'm speculating outside my area of expertise-- wouldn't there be a serious security vulnerability with a time discrepancy on mission-critical systems? A way to insert malicious code in that gap?

      So, yah, this is probably very important.

    22. Re:Buggy software is buggy by geminidomino · · Score: 1

      Chill out, dude. No one expected the UTC Inquisition.

    23. Re:Buggy software is buggy by Memnos · · Score: 1

      I think you mean "atomic clock", not "nuclear clock", since the standards rely on the electronic transition frequency of atoms in standardized environmental conditions (e.g., temperature.)

      --
      I don't trust atoms -- they make up stuff.
    24. Re:Buggy software is buggy by khchung · · Score: 1

      Leap years and leap seconds are handled very differently.

      The rules for leap years are according to a forumula that has been fixed for hundreds of years. Computers typically handle them as part of their conversion from internal "time elapsed since epoch" data formats to "human" date formats and otherwise don't care much about them. Even the simplified formula of "leap year every 4 years"

      You must have missed the Y2K boom.

      Even after that, programmers STILL cannot handle leap years properly, and gave us a 1-day outage of the PS3-PSN login on 29 Feb 2012 when the PS3 tried to sync the time from PSN on login and don't understand the result.

      --
      Oliver.
    25. Re:Buggy software is buggy by mbone · · Score: 1

      Take another look at Method D, which was just added in March: "No change to the Radio Regulations as the results of the studies are inconclusive." This is one group of delegations going on official record saying that all the effort expended by the ITU-R over the past 15 years has been worthless for making any decision to change the definition of UTC. That is serious disagreement.

      This is a disagreement about future possible standards There is no disagreement about the current standard, which is why software that does not implement the current fracking standard is buggy.

    26. Re:Buggy software is buggy by KGIII · · Score: 1

      I thought the .NET NTP server was grabbed from the system default? If that is true - and you indicate it is not - then wouldn't changing to NIST NTP work? Also - can one not change (I have never had a reason to even look into this) .NET to NIST?

      --
      "So long and thanks for all the fish."
    27. Re: Buggy software is buggy by kimhanse · · Score: 1

      Another relatively common use case is version control systems. They rely, at least in party, on accurate time stamps to resolve check-out and -in conflicts. Especially if multiple developers are working across a WAN or in the cloud, those timestamps would be fairly important. And--I'm speculating outside my area of expertise-- wouldn't there be a serious security vulnerability with a time discrepancy on mission-critical systems? A way to insert malicious code in that gap?

      So, yah, this is probably very important.

      Do you have a single example of a version control system that uses time to handle conflicts? I have never seen a system doing that, they all just handle it by looking at which commit reached the server first.

    28. Re:Buggy software is buggy by ixuzus · · Score: 1

      I get a strong urge to slap programmers who use the simplified evenly divisible by four rule to calculate leap years. It just so happens that 2000 was the 1 in 400 XX00 year that is a leap year so it works a couple of decades either way. The problems start when your code is applied to a longer or historical data set. This can happen when you don't have full knowledge of how your code is going to be used or just when you fall into your old bad habit of ignoring the function for your simple and wrong divisible by four rule and don't even see the problem coming, Symptoms include days of the week out of sync, computations involving date/time functions and the hand rolled divisible by four rule start to give odd results, your monthly and yearly averages are out, that very pretty graph dives from a narrow range in the thousands to zero at the end of February 1900, throwing the whole graph out of scale, and you get to find out how graciously or otherwise your system handles being asked about a date that doesn't exist, or if you're really, really lucky like I was - all of the above. I don't know who wrote the wretched code but I had to fix it. Most languages have a decent set of date/time functions - use them unless you have a really good reason not to.

  3. Leap seconds are for Luddites. by Anonymous Coward · · Score: 1, Funny

    Modern app appers app track of time using apps, not Luddite leap seconds!

    Apps!

  4. Google is right by phishybongwaters · · Score: 5, Interesting

    Typically when dealing with NTP you do not want big swings. In fact, a system using NTP that's too far out of sync, won't sync back up correctly. One that is slightly out of sync will slowly come back in sync over a period of time, hours or days even. Both approaches could work, they really could, but I think adding a few milliseconds here and there is a better way to get this done as long as the systems don't fall too far behind. I work with Avaya voice equipment and we've been warning people about this for months and months. We've provided instructions on several methods to ensure this doesn't cripple your system, but it all depends on how your NTP is setup. I also foresee issues with just adding an extra second to the day, this is not going to work for a bunch of systems and will actually throw them out of sync compared to googles approach. One of the solutions we've "provided" is to disable NTP shortly before the time roll over, then enable it once it's July. That's a pain in the butt, but if you can afford the few minutes of service interruption, it solves all of the issues right there, you turn it off when it's synced, turn it back on and it syncs to the new time. The real issues come in, for my field at least, with logging, this is going to throw a wrench into sys logs if it's not taken care of, and with some of the platforms, it will literally cripple the system.

    1. Re:Google is right by turbidostato · · Score: 1

      "Typically when dealing with NTP you do not want big swings."

      A second is not a "big swing" in general computation parlance. People working on near-RT systems already know -or should know, how to cope with leap seconds.

      "In fact, a system using NTP that's too far out of sync, won't sync back up correctly."

      Five to fifteen seconds at least. We are talking a different league, almost a different sport here.

      "I work with Avaya voice equipment and we've been warning people about this for months and months. We've provided instructions on several methods to ensure this doesn't cripple your system"

      Maybe the problem is that those Avaya systems should be able to cope with leap seconds on their own without having to warn and provide instructions.

      "with some of the platforms, it will literally cripple the system."

      Fill a bug and solve it.

    2. Re:Google is right by 0123456 · · Score: 1

      People working on near-RT systems already know -or should know, how to cope with leap seconds.

      Hey, guess what, those guys they outsourced the software development to in the third world... don't. And they know they'll have moved on to a new job by the time the next leap second happens.

      The rest of us have to deal with their hardware not doing what it's supposed to when the leap second hits.

    3. Re:Google is right by Penguinisto · · Score: 2

      Typically when dealing with NTP you do not want big swings.

      This is a solved problem, though (sibling points out the reason why: slew.) In practice, this is also a known conditions, especially with virtual machines (doubly so with VMWare-hosted VMs). This is because VM's time-slice the physical CPU, so the keeping time on the VM's OS clock is very imperfect anyway.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
  5. choose what standard to violate by at10u8 · · Score: 4, Informative

    A problem for sysadmins is that the status quo of the standards requires that we choose which standard we want to violate. We can violate the specification of UTC by not counting 23:59:60 or we can violate POSIX by counting it or we can violate POSIX and the SI second by not actually keeping the system clock on UTC using smeared seconds that are not suitable for tracking projectiles and other real-time applications. This problem is old, 50 years old, as seen in the 3 plots on this web page.

    1. Re:choose what standard to violate by mbone · · Score: 3, Insightful

      If the POSIX standards people had bothered to actually follow the existing SI and ITU standards back in 1988 when they were setting up their standard, this would not be an issue.

    2. Re:choose what standard to violate by suutar · · Score: 2

      one of the links from that page talks about how using custom timezone files you can use non-leap seconds and still translate to accurate real-world values. I'm not terribly familiar with time keeping protocols; installing ntp and pointing it at a server is about as far as I can manage. Do you see a problem with the approach laid out at "Correct precision handling of leap seconds using code already on POSIX systems "?

    3. Re:choose what standard to violate by Anonymous Coward · · Score: 0

      Huh? The POSIX time specification make it trivial to calculate dates using simple arithmetic, without resorting to lookup tables. It's a beautiful simplification, and skirts around all the debate and headaches currently underway regarding leap seconds.

      It necessarily follows that the POSIX second isn't the same as an SI second. But that's also a beautiful simplification. See, computers are becoming so fast, the tasks we perform with them so sophisticated, and the clocks we use so precise, that gravitational time dilation will soon (if not already) come into conflict with the very idea of a global clock. In other words, at a low-enough scale even the TAI second isn't the same unit as defined by the SI unit. And that scale is rapidly becoming something more and more projects will encounter.

      POSIX guys were smart. The dumb people are the ones who think they can solve all our time related problems by defining a global clock. But in the grand scheme of things, it really doesn't work much better than the POSIX clock (86400 "seconds" per day). See, there's no skirting around the issue of having to think about precision, locality, etc. All this debate about getting rid of the leap second is really people just putting their head in the sand and trying to cover their asses for the piss-poor software systems they wrote.

    4. Re:choose what standard to violate by butlerm · · Score: 1

      > Huh? The POSIX time specification make it trivial to calculate dates using simple arithmetic

      True, but the same property also makes the use of POSIX time for precision timing basically suicidal. POSIX time is a convenient and adequate encoding of civil time, as long as you do not need more than one second of accuracy.

      If you want to reliably measure or timestamp anything with more than one second of accuracy you should be using a clock derived or offset from a reliable clock instead. The use of POSIX time for precision timekeeping - even use by such rudimentary applications as 'make' - was defective from the beginning. NTP is equally defective as a consequence.

  6. Ablate the trailing side of the Moon by eis2718bob · · Score: 1

    A couple of nuke blasts on the moon would let us keep the Earth's rotation in sync with our atomic clocks. It's practice for asteroids, and good entertainment too!

    1. Re:Ablate the trailing side of the Moon by jfdavis668 · · Score: 1

      No, that will fling the Moon into interstellar space. http://en.wikipedia.org/wiki/S...

    2. Re:Ablate the trailing side of the Moon by mbone · · Score: 1

      A couple of nuke blasts on the moon would let us keep the Earth's rotation in sync with our atomic clocks. It's practice for asteroids, and good entertainment too!

      You do know that leap seconds are driven by angular momentum fluctuations in the Earth's liquid outer core? I don't think the Moon has much to do with those.

    3. Re: Ablate the trailing side of the Moon by Anonymous Coward · · Score: 0

      Except that the moon is gravitationally coupled to the Earth, so speeding up the moon would affect the Earth's rotation.

    4. Re:Ablate the trailing side of the Moon by mrbester · · Score: 1

      At least it will have the funkiest theme in sci-fi to see it off

      --
      "Wait. Something's happening. It's opening up! My God, it's full of apricots!"
    5. Re:Ablate the trailing side of the Moon by alex67500 · · Score: 1

      A couple of nuke blasts on the moon would let us keep the Earth's rotation in sync with our atomic clocks. It's practice for asteroids, and good entertainment too!

      You do know that leap seconds are driven by angular momentum fluctuations in the Earth's liquid outer core? I don't think the Moon has much to do with those.

      You mean like the Moon has no influence on other liquids on Earth?

  7. Dice: Please restore the Read More link. Thanks. by Anonymous Coward · · Score: 5, Insightful

    I understand the desire to change things, but putting some social media Share link in place of the Read More link goes against the kind of website Slashdot is.

    Please restore the original layout. Thanks.

  8. their approach is called: SLEW by Jizzbug · · Score: 2

    Their method has a name in NTP parlance, it is called slew.

    See man page ntpd(8).

    --

    -=/\- Jizzbug -/\=-
    1. Re: their approach is called: SLEW by Anonymous Coward · · Score: 0

      Actually, slew is how ntp itself handles updates. Google's plan is to use that skewing to adjust clocks to avoid the leap second altogether, which seems to be referred to as "smearing." IIRC they'll need to implement something like a custom ntpd or strata for this to work.

  9. Sync by Espectr0 · · Score: 3, Informative

    We have 600 machines in my company's network distributed over 20 cities in our country. The servers are all located on our main branch and are connected through slow WAN frame relay links (up to 4Mbps)

    We have time differences between machines, sometimes up to 3 or 4 minutes, and we don't seem to have issues. I find it strange than a possible 1 second different could cause so much issues.

    Perhaps the Google method is better because the adjustment will take place during the day and not at the last second.

    1. Re:Sync by 0123456 · · Score: 4, Informative

      I find it strange than a possible 1 second different could cause so much issues.

      It's not the time difference that causes problems per se, it's time going backwards. You presumably missed the fact that many Java servers crashed over the last leap second because of a kernel bug that screwed up their internal timers?

      We had problems last time due to faults reported by external hardware when it saw the time jump backwards. I'll be at my desk when it happens this time to deal with any problems that come up this time.

      And, given the chaos every leap second causes, hopefully we can finally convince the 'experts' to stop fiddling with time.

    2. Re:Sync by NatasRevol · · Score: 1

      This.

      With the exception of highly precise equipment, if your systems crash & burn because of 1 second differences, you're doing something wrong.

      --
      There are two types of people in the world: Those who crave closure
    3. Re:Sync by DigiShaman · · Score: 2

      Windows Active Directory I presume? You have a slack of about 5 seconds between DC (Domain Controllers) and member machines. Otherwise, you might get the following error in the event logs.

      Event ID 50: The time service detected a time difference of greater than 5000 milliseconds for 900 seconds. The time difference might be caused by synchronization with low-accuracy time sources or by suboptimal network conditions. The time service is no longer synchronized and cannot provide the time to other clients or update the system clock. When a valid time stamp is received from a time service provider, the time service will correct itself.

      --
      Life is not for the lazy.
    4. Re:Sync by Sarten-X · · Score: 1

      Similarly, a five-minute offset will prohibit logins and group policy updates. If your Windows Time Service configuration is pushed via group policy, you're kinda screwed, and you'll need to have a local admin on site to nudge the clock in the right direction.

      --
      You do not have a moral or legal right to do absolutely anything you want.
    5. Re:Sync by Anonymous Coward · · Score: 0

      Well, one of the systems I control is a telescope. This is a big issue, one second of time is 15 arcseconds on the sky.

    6. Re:Sync by ceoyoyo · · Score: 1

      If you've got equipment that needs such high precision and you're synchronizing it with NTP rather than an internal standard, you're doing something wrong.

    7. Re:Sync by Espectr0 · · Score: 2

      We experience this issues when the motherboard battery dies and resets the computer's date to year 2000 or such. Since most users aren't admins, the machines can't receive the correct time on their accounts therefore we logon with our admin accounts and the time corrects itself.

      But for 3-4 minutes we don't have issues.

    8. Re:Sync by NatasRevol · · Score: 1

      With the exception of highly precise equipment

      It's not like I wrote a huge wall of text...

      --
      There are two types of people in the world: Those who crave closure
    9. Re:Sync by NatasRevol · · Score: 1

      Agreed. Slew is acceptable in using NTP. Slew is often more than 1 second.

      --
      There are two types of people in the world: Those who crave closure
    10. Re:Sync by 0123456 · · Score: 1

      Agreed. Slew is acceptable in using NTP. Slew is often more than 1 second.

      If I remember correctly, NTP has a leap-second flag which indicates that the time should jump by a second at midnight. It doesn't slew, at least on Linux... otherwise different machines would be reporting different times until they'd all slewed back to what they should be.

    11. Re:Sync by ceoyoyo · · Score: 2

      Slew can be used in NTP for any clock adjustment, not just leap seconds. Linux does use slew (as opposed to step) to make clock adjustments. In the special case of leap seconds, it uses step, rather than slew.

    12. Re:Sync by Anonymous Coward · · Score: 0

      lol you said frame relay... If my current employer was using this WAN tech still, I would find another job...

    13. Re:Sync by DigiShaman · · Score: 1

      Solved.

      https://www.petri.com/forums/f...

      I ran into similar issues with DCs running as a VM under Hyper-V. It was a long time ago when 2008 (non-R2 edition) was first released. But yeah, no problem since then as all DCs have internet connectivity to poll the NTP server.

      --
      Life is not for the lazy.
    14. Re:Sync by TheCarp · · Score: 1

      I believe the proper phrase would be CAN use slew. Its actually a command line option on startup of ntp.

      I only know this because a particular piece of software I have had to install requires it and will refuse to install if its not set.

      --
      "I opened my eyes, and everything went dark again"
    15. Re:Sync by TheCarp · · Score: 1

      5 minutes? That is nothing, we had a bug in one of our builds were we forgot to set hardware clock. Turns out our blade vendor was sending us systems with the clock set years in the past, so after build, the system would boot with hardware time, refuse to sync the clock due to the enormous skew, and then refuse logins because..... our ldap ssl certificates were not YET valid!

      --
      "I opened my eyes, and everything went dark again"
    16. Re:Sync by ceoyoyo · · Score: 4, Informative

      I'm not sure exactly what arguments each Linux distribution uses, but this is from the man page on ntpd:

      -x
      Normally, the time is slewed if the offset is less than the step threshold, which is 128 ms by default, and stepped if above the threshold. This option forces the time to be slewed in all cases. If the step threshold is set to zero, all offsets are stepped, regardless of value and regardless of the -x option. In general, this is not a good idea, as it bypasses the clock state machine which is designed to cope with large time and frequency errors Note: Since the slew rate is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s. Thus, an adjustment of many seconds can take hours or days to amortize. This option can be used with the -q option.

      My reading of that is that the normal adjustment uses slew. Step is used only when there's a big discrepancy, and you can use -x to use slew even in that case.

    17. Re:Sync by Anonymous Coward · · Score: 0

      I find it strange than a possible 1 second different could cause so much issues.

      Google requires tighter synchronization for:

        Spanner http://static.googleusercontent.com/media/research.google.com/en/us/archive/spanner-osdi2012.pdf
        Dapper http://research.google.com/pubs/pub36356.html

      In general, I think you're right tighter synchronization isn't needed. I don't think there actually were a lot of problems.

      Other commenters that said time going backwards is a problem may be right, but remember NTP can step time backwards, too. True representation of the leap second puts a :60 in the seconds field, which sounds like it's begging for problems, but rolling time backwards by one second is a hack to avoid :60. The actual official definition of leap seconds doesn't roll time backwards, so the Dice summary begs us to compare two hacks.

      If some fool decides to build an unhacky Final Solution to the Leap Second Problem by implementing the wikipedia page in software, and said fool decides to store TAI in a database, you can have other problems besides :60 in the seconds field, like calendar events starting at 3:59:59 because a leap second was announced after a user created a future 4pm event and occurs before the event.

      I think the answer to the question, "which is the best hack?" is totally clear.
        - NTP would normally slew a single-second error because that was considered less disruptive, but now for some reason we decide to step? The different tradeoff is programmers showing off, not rational decision-making.
        - In 2005 Google had a problem with the Mills leap second implementation. lmgtfy http://googleblog.blogspot.com/2011/09/time-technology-and-leaping-seconds.html says they implemented leap seconds as a response to 2005. When the next leap second came, they smeared it and had no visible problems. Which one has fewer problems? The one that, according to experience that we now have, has fewer problems. Duh.

      Or you could keep speculating and arguing from "first principles."

    18. Re:Sync by Espectr0 · · Score: 1

      I'm in Venezuela, sadly this is what we use over here

  10. Blah blah blah... by Anonymous Coward · · Score: 0

    As long at Netflix continues to work, everything else is secondary. What up with crackle making me use credentials to watch now? Uninstalled!!!

  11. How Will The Naval Observatory Clock Handle This? by Anonymous Coward · · Score: 0

    Aren't all the NTP servers subordinate to the Naval Observatory Clock anyway?

  12. Re:How Will The Naval Observatory Clock Handle Thi by ledow · · Score: 2

    That's not the problem.

    Leap seconds are inserted by pretending that there's a 61st second in a minute. Everything not designed to handle that will fall flat on its face.

    It's not a question of not knowing what time it is, it's a question of whether your software was built with certain (I would say not unreasonable at first glance) assumptions, or whether it follows the actual specification of the functions it uses and the data structures it handles.

    58, 59, 60, 0, 1 tends to blow a lot of stuff up that was never built to handle such instances.

  13. Re:Dice: Please restore the Read More link. Thanks by enigma32 · · Score: 4, Informative

    +1 - Mod parent up.

  14. Re:How Will The Naval Observatory Clock Handle Thi by 0123456 · · Score: 2

    Linux (at least the kernel we run) handles a leap second as 23:58, 23:59, 23:59, 00:00. Code that has to do something specific at 23:59 then ends up doing it twice, unless you detect that and deal with it.

  15. Miss your flight? by Anonymous Coward · · Score: 0

    For Qantas Airlines in Australia, it was a memorable event. Its systems, including flight reservations, went down for two hours as internal system clocks fell out of synch with external clocks.

    Why would an airline, especially flight reservations, need sub-second synchronization between internal and external clocks (whatever they are)? That's got to be expensive maintaining that kind of synchronization.

    1. Re:Miss your flight? by Sarten-X · · Score: 1

      It's actually cheaper than trying to maintain only a loose synchronization. You just use prebuilt time equipment, which is almost always built for unnecessary precision, and have the service stop if the times are too far out of sync (indicating that a server stopped getting updates). If you have several servers in several sites, a single site losing its time service is not a big deal, as the service will fail over to the other sites. However, if none of your time clocks can handle the leap second, you'll lose all of your servers at the same time, as they all realize they aren't getting updates.

      It's a hazard of having a uniform environment. Unfortunately, uniform environments are also far more cost-efficient to manage.

      --
      You do not have a moral or legal right to do absolutely anything you want.
  16. We need a long-term solution by ErikTheRed · · Score: 3, Funny

    even if it means re-defining the second or decoupling official time measurements from planetary movement. Leap days, leap seconds, etc., are silly hacks that belong in a bygone era.

    --

    Help save the critically endangered Blue Iguana
    1. Re:We need a long-term solution by Anonymous Coward · · Score: 0

      Second and derivatives is completely decoupled from any "planetary movement". Days, as we know them (solar days), are not decoupled, for obvious reasons.

      https://en.wikipedia.org/wiki/...

      the duration of 9192631770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium 133 atom at rest at 0K

    2. Re:We need a long-term solution by ceoyoyo · · Score: 1

      We have at least three of them. GPS, LORAN and TAI standards do not include leap seconds. They drift ahead of UTC, but they're designed for applications that need good synchronization without having to worry about things like leap seconds. UTC is designed so that the sun will always be up during the day and down at night.

      If synchronization is what you want, use one of the standards designed for it.

    3. Re:We need a long-term solution by aardvarkjoe · · Score: 1

      UTC is designed so that the sun will always be up during the day and down at night.

      There have been 25 leap seconds since 1972. At that rate, it will take around 6000 years for UTC to be even an hour different from TAI. Leap seconds don't have any appreciable impact on the sun always being up during the day.

      I don't think anyone really cares about whether we use UTC or some other system, though. The problem is that software/hardware vendors have all been using the wrong time standard -- nobody but astronomers actually has a reason to want UTC. We just need to get developers to use a different standard that doesn't have the stupid leap second problem.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    4. Re:We need a long-term solution by Bengie · · Score: 1

      Exactly! Once we start colonizing other plants, time will never be in sync with the Sun for all places. Lets just agree on a rate and an epoch. The rate at which time de-synchs with the visible day is so slow, it'll spread over generations and at some point in the future, 12am local time will be "noon", but who cares. What's way off in the future and it will be normal for those people.

    5. Re:We need a long-term solution by ceoyoyo · · Score: 1

      *always* be up during the day.

      If you think a leap second is a pain, you should try switching to a new calendar. Some people can actually think past the next quarterly report.

      Personally, I think leap seconds are a great idea because they expose shoddily made software and hardware. If you (think you) need sub-second synchronization and just tossed in an NTP server instead of implementing a proper synchronization mechanism, you likely cut corners somewhere else too.

    6. Re:We need a long-term solution by aardvarkjoe · · Score: 1

      If you think a leap second is a pain, you should try switching to a new calendar. Some people can actually think past the next quarterly report.

      There's a difference between not looking past the next quarterly report, and not worrying about a completely unrealistic scenario -- in this case, that my software will still be running 50,000 years from now when there actually is a disagreement in date between UTC and another standard.

      Personally, I think leap seconds are a great idea because they expose shoddily made software and hardware.

      Introducing pointless complexity to try to "catch" poor software or hardware is a bad idea. Engineering is a hard enough job without purposefully making it harder.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    7. Re:We need a long-term solution by Anonymous Coward · · Score: 0

      Sorry, you are the one with the unrealistic scenario.

      There is NO SCENARIO where a temporary 1 second error will screw up your system if you chose to use NIST time clock synchronisation CORRECTLY.

      You can decide to drop a dependence on an external internet access for your time critical to one second at most system and get a problem, but the problem isn't leap seconds, ITS USING NTP IN THE FIRST FUCKING PLACE.

      Ping count goes to 2 seconds (temporary frame relay error at the ISP head) and your entire system is more fucked than it will be 30th June. This one can happen at any time with no warning.

    8. Re:We need a long-term solution by Anonymous Coward · · Score: 0

      At that rate, it will take around 6000 years for UTC to be even an hour different from TAI.

      That's a great argument against leap seconds! The accumulated error can be fixed by changing everyone's timezone every 6000 years. I'm pretty sure governments will muck with timezones for no good reason more often than that.

    9. Re:We need a long-term solution by mbone · · Score: 1

      UTC is designed so that the sun will always be up during the day and down at night.

      There have been 25 leap seconds since 1972. At that rate, it will take around 6000 years for UTC to be even an hour different from TAI.

      The long term behavior is a quadratic, so it will speed up; there could easily be multiple leap seconds per year by 2100. Likewise, the difference was about 4 hours only 2000 years ago (and, yes, we do have usable astronomical data going back to about 800 BC).

    10. Re:We need a long-term solution by mbone · · Score: 1

      We have that, and it's call "TAI."

    11. Re:We need a long-term solution by Anne+Thwacks · · Score: 1
      Some people can actually think past the next quarterly report.

      High frequency traders are busy looking at the next 1 second's report. If they can buy AFTER they sell by taking advantage of the fact that two different trading platforms do it two different ways, then there is a serious risk that the dollar will be toast

      No one cares if it takes one second longer to log in to a .NET system.

      Quite a few people care that there are traders who probably have devoted weeks to figuring out how to sell the entire content of Fort Knox, and buy it back one second later (or earlier, according to which time standard you are using) at half price.

      --
      Sent from my ASR33 using ASCII
  17. Metric time by jfdavis668 · · Score: 1

    Oh, excellent. Not only are the trains now running on time, they’re running on metric time. Remember this moment, people, eighty past two on April 47th, it’s the dawn of an enlightened Springfield.

    1. Re:Metric time by Anonymous Coward · · Score: 0

      Decimal (or the base that is most accurate) time code bounded to the latest atomic clocks and mapped to the Earth (or another planet) time might not be a bad idea. Finally, a monotonic time to end of the universe!

  18. We should do what GPS does by plover · · Score: 1

    Ignore it. How much does it impact humanity if the clock noon drifts a tiny bit from solar noon? We're looking at an impact of shifting noon by about a minute over the course of an average human's lifespan. The impact of ignoring it means that people who rely on sundials are left to solve the sync problem on their own, and that's a whole lot less of an impact than NTP.

    Other systems that synchronize with natural phenomena, such as automated irrigation systems or automated lighting systems, can be adjusted by their owners.

    If some purist insists that we have to fix it, let's agree to fix it once per century, and let the people 100 years from now figure out if it's important enough to them to worry about.

    --
    John
    1. Re:We should do what GPS does by heypete · · Score: 2

      I recently took a private tour of the time and frequency lab at METAS (the Swiss Federal Institute of Metrology) and got to observe their atomic clocks, ask the people there some questions, etc.

      The scientist in charge of the lab wishes everyone would use TAI for time distribution. TAI has no leap seconds and differs from GPS time by a constant 19 seconds. If TAI was used, computers would never have to worry about leap seconds internally and things would be greatly simplified.

      Computers don't care what time is used internally, and it's easy for computers to get a table of leap seconds and use that data to display UTC to users so the displayed time matches solar time.

    2. Re:We should do what GPS does by Layzej · · Score: 1

      We're looking at an impact of shifting noon by about a minute over the course of an average human's lifespan.

      Maybe not even that since leap seconds can be both inserted and removed as required depending on climatic and geological events. It could very well be a wash.

    3. Re:We should do what GPS does by mbone · · Score: 1

      Ignore it. How much does it impact humanity if the clock noon drifts a tiny bit from solar noon? We're looking at an impact of shifting noon by about a minute over the course of an average human's lifespan. The impact of ignoring it means that people who rely on sundials are left to solve the sync problem on their own, and that's a whole lot less of an impact than NTP.

      Other systems that synchronize with natural phenomena, such as automated irrigation systems or automated lighting systems, can be adjusted by their owners.

      If some purist insists that we have to fix it, let's agree to fix it once per century, and let the people 100 years from now figure out if it's important enough to them to worry about.

      GPS does not ignore it in the slightest. GPS is a big user of UT1 data and predicts, and has driven a lot of work in the Earth rotation field. However, what GPS does not do is use UTC as a very approximate version of UT1.

      People doing celestial navigation at sea do typically assume that UTC as a very approximate version of UT1, and that's why there are leap seconds at all (to keep the celestial navigation error to the kilometer level). As the use of celestial navigation declines, so does the need for leap seconds.

    4. Re:We should do what GPS does by mbone · · Score: 2

      I recently took a private tour of the time and frequency lab at METAS (the Swiss Federal Institute of Metrology) and got to observe their atomic clocks, ask the people there some questions, etc.

      The scientist in charge of the lab wishes everyone would use TAI for time distribution. TAI has no leap seconds and differs from GPS time by a constant 19 seconds.

      Yes, because the Air Force people setting up GPS time didn't understand why that was a fundamental difference between UTC and TAI (GPS - UTC was zero when the time scale was established).

    5. Re:We should do what GPS does by at10u8 · · Score: 1

      The designers of GPS system time did understand. GPS system time is *about* 19 seconds behind TAI, not exactly 19, and the difference varies by nanoseconds. Perhaps nanoseconds is unimportant to some, but for others nanoseconds is very important. That makes them not the same, so choosing a separate name and offset avoided any confusion that they were the same. Think of it like a trademark issue; there are many kinds of cola, but TAI is a name for the original cola, and only BIPM is authorized to make cola with the name TAI.

    6. Re:We should do what GPS does by mbone · · Score: 1

      I was there at the time, IMHO it was really clear they didn't understand what they were doing and in any case it was not done for any branding reasons.

      There are a number of different realizations of TAI/UTC, for example, UTC(USNO), UTC(NIST), etc. They are all different at the nanosecond level. The BIPM keeps a "paper clock" which (after the fact) provides estimates of offsets between the different realizations and the official TAI.

    7. Re:We should do what GPS does by plover · · Score: 1

      So let the sailors add the leap seconds back into their calculations. The rest of us shouldn't have to care about them.

      --
      John
  19. just a second by frovingslosh · · Score: 5, Funny

    At least it is just a second. That sudden extra hour of daylight in the spring is really bad for my rose bushes.

    --
    I'm an American. I love this country and the freedoms that we used to have.
    1. Re:just a second by goombah99 · · Score: 2

      The cows hate it too.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    2. Re:just a second by ceoyoyo · · Score: 2

      It's disturbing that you're modded informative.

    3. Re:just a second by jfdavis668 · · Score: 1

      What, you're not informed?

    4. Re:just a second by Anonymous Coward · · Score: 0

      Makes you wonder why they won't do the transition slowly over the course of a month.

      Daylight Savings must have an awful effect on health since we already know people that switch between day and night shifts sporadically can have increased health issues.

    5. Re:just a second by utahjazz · · Score: 1

      You need an extra hour of Whoosh! this spring.

    6. Re:just a second by ceoyoyo · · Score: 1

      No, I think I'm getting enough just being this close to the informative mods. And utahjazz.

  20. Massive stupidity by mbone · · Score: 2

    There is exactly one correct way to do this.

    2015-06-30T23:59:59
    2015-06-30T23:59:60
    2015-07-01T00:00:00

    David Mills approach is not correct, but will generally work and limits the pain to 1 second.

    Anything else is just stupid. We've only been doing this since 1972. You would think people would get with the program by now.

    1. Re:Massive stupidity by Anonymous Coward · · Score: 1

      But then a minute might have either 60 or 61 seconds in it...

    2. Re:Massive stupidity by NoOneInParticular · · Score: 2

      There's another exactly one correct way to do it. Lengthen the nanosecond to be in tune with the Earth's revolution around the sun instead of counting periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium 133 atom.

    3. Re:Massive stupidity by Xylantiel · · Score: 1

      No, what he is saying is that the 23:59 minute ALREADY may have either 60 or 61 seconds. Thus the "get with the program".

    4. Re:Massive stupidity by Anonymous Coward · · Score: 0

      And as a bonus, we'd be increasing the speed of light! Think of all of the savings there! /s

    5. Re:Massive stupidity by Anonymous Coward · · Score: 0

      That's great! Until next year when the Earth doesn't take the same time to orbit the sun. But I guess we could change it next year too. We'd have to label which nanosecond we were using by the year.

    6. Re:Massive stupidity by arcade · · Score: 1

      David Mills approach is a hack around a broken standard, namely POSIX.1. It's a good hack.

      Your solution is obvious and correct, but isn't possible to implement while being POSIX compliant.

      We all suffer from a broken standard. It's not possible to be both posix compliant and doing this correctly.

      --
      "Rune Kristian Viken" - http://www.nwo.no - arca
    7. Re:Massive stupidity by arcade · · Score: 1

      Leapseconds aren't due to the time it takes to orbit around the sun, but due to the time it takes for the earth to spin around its own axis.

      The earths is spinning sliiiightly slower over time.

      --
      "Rune Kristian Viken" - http://www.nwo.no - arca
    8. Re:Massive stupidity by Anonymous Coward · · Score: 0

      The problem is, if you do that, you'll eventually have to do it again, and again, as the earth's rotation continues to slow in the long term. It kind of destroys the notion of the second as a fundamental physical unit.

    9. Re:Massive stupidity by certsoft · · Score: 1

      Unfortunately some GPS receivers use a slightly different method, although it works out in the end.

      2015-06-30T23:59:59
      2015-06-30T23:59:59
      2015-07-01T00:00:00
      Unfortunately some GPS receivers use a slightly different method, although it works out in the end.

    10. Re:Massive stupidity by Anonymous Coward · · Score: 0

      Our revolution changes. Do you want to be constantly updating the length of time? Anything that comes into the solar system will cause tiny changes.

    11. Re:Massive stupidity by mbone · · Score: 1

      :)

    12. Re:Massive stupidity by mbone · · Score: 1

      The problem is, if you do that, you'll eventually have to do it again, and again, as the earth's rotation continues to slow in the long term. It kind of destroys the notion of the second as a fundamental physical unit.

      Before 1972, for a brief while there were changes in UTC rate, not just step functions in time, to keep UTC close to UT1 (or, at the time, UT2). It did not take long to realize that this was a massively bad idea and stop it.

    13. Re:Massive stupidity by Anonymous Coward · · Score: 0

      You do realize that astronomical cycles drift arbitrarily with time, from the cumulative effect of small and effectively random disturbances? If Earth's revolution around the Sun had been constant, the atomic second would have been defined to match it.

      Also, why did you pick Earth's revolution around the Sun, and not - for instance - Earth's spin? All those cycles can get out of sync with each other, and neither is more useful than any other. (For instance, as the Earth's orbit gets out of sync with Earth's rotation, you may well find out your definition places noon at 4:35pm.)

  21. Give up on synched time? by Anonymous Coward · · Score: 0

    Perhaps the correct solution is to give up on servers being forced to agree on what time it is, and instead just agree on how many seconds it has been since some arbitrary date (i.e. UNIX time). As long as everyone counts the "ticks" together, it shouldn't make a difference, and may prevent software failure.

    1. Re:Give up on synched time? by Anonymous Coward · · Score: 0

      What about having two definitions of a second? The SI unit of fixed period, and a solar one with minimal variation, but which removes the need for leap-seconds?

    2. Re:Give up on synched time? by Anonymous Coward · · Score: 0

      so they can crash on 03:14:07 UTC on 19 January 2038?

  22. I wouldn't call it unexpected by Sowelu · · Score: 1

    Anyone who's worked with time zones even a little bit knows that catastrophic failures aren't "unexpected" at all.

  23. Ignore Time by Anonymous Coward · · Score: 1

    It doesn't exist.

    1. Re:Ignore Time by Anonymous Coward · · Score: 1

      Especially not lunch time.

    2. Re:Ignore Time by rubycodez · · Score: 1

      Only photons get to say that; or they would if their birth, existence and obliteration didn't happen in the same instant in their reference frame

  24. Wrong solution, wrong problem by mcelrath · · Score: 1

    The whole problem strikes me as one of human preferences, not technical requirements. There's absolutely no reason not to use our atomic clocks and just count number of seconds since some starting point. The desire to have the sun directly overhead at "noon" is a human one, divorced from any technical requirement. All of science, computing, networking, telecommunications, would be much happier if we didn't continually redefine time like this.

    So let watch manufacturers and clock-app manufacturers deal with this, when reporting time for human consumption. It shouldn't be a problem for NIST and government bodies. NIST should instead be reporting Earth's orbital parameters as time delta from noon, as they change over time, not conflating time itself with Earth's orbital parameters.

    This is the way GPS, Loran-C and TAI handle time, and it's the right thing to do.

    --
    1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    1. Re:Wrong solution, wrong problem by mcelrath · · Score: 4, Informative

      Also this is an awesome graph, and illustrates that the Earth is a horrible clock: https://upload.wikimedia.org/w...

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    2. Re:Wrong solution, wrong problem by FrankSchwab · · Score: 1

      Exactly.

      File timestamps should be in linear time (GPS, TAI, whatever).

      What gets displayed to you as a human is in your local time - timezone + planetary adjustment - so it matches the time on the wallclock. Do you as a human really care about the LSB in the file time? For those rare times when you do, you'll use linear time.

      --
      And the worms ate into his brain.
    3. Re:Wrong solution, wrong problem by Anonymous Coward · · Score: 0

      The problem with linear time is that the function to convert between "display" and "linear" time isn't defined more than 6 months into the future. If for example you set up a meeting at 10am in 6 months, then it might display as 9:59:59am when you look it up later.

    4. Re:Wrong solution, wrong problem by NoOneInParticular · · Score: 1

      On the other hand, if you plot periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium 133 atom versus the Earth cycle around the sun, it will show that cesium 133 is a horrible clock. It's even worse, if you have two cesium 133 atoms that accelerate differently, they will go out of sync! We luckily only have one Earth, so it cannot go out of sync with itself.

  25. Re:Dice: Please restore the Read More link. Thanks by Art3x · · Score: 5, Insightful

    I understand the desire to change things, but putting some social media Share link in place of the Read More link goes against the kind of website Slashdot is.

    Please restore the original layout. Thanks.

    +1 - Mod parent up.

    +2. In a Slashdot comment, we must add links and formatting by typing HTML by hand. You would therefore think we know how to copy and paste a web address from Slashdot to Facebook, if that's what we really want to do. We don't need an icon to do it for us.

    If you're going to add icons, switch the places for Share and Comments. Put the Share link to the right of the heading. Put the Comments link at the bottom. To me it seems more logical that way, it puts the Comments link back where it was.

  26. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    If you feel that it is absolutely critical to increase Slashdot's presence in the social networking world in a big way, go ahead and add a share link. I get it. Expand or die. Join the bandwagon. If you don't have it, you're a 90's relic. Marketing department is very loudly demanding it and it's a quick and cheap way to shut them up. Great. There are lots of reasons for it. Fine.

    But DON'T REMOVE STUFF THAT'S WORKING FOR YOUR READERS TO DO IT! Especially when there's enough screen real estate for both.

    Also, it was mentioned elsewhere: We're here for the comments on the story, not just the story itself. Certainly not for the (often bad) summary. Let us share the whole story page, expanded with comments.

  27. Re:How Will The Naval Observatory Clock Handle Thi by turbidostato · · Score: 1

    "Aren't all the NTP servers subordinate to the Naval Observatory Clock anyway?"

    No.

  28. Blame posix by m.dillon · · Score: 1

    Blame posix for making all the goddamn pthread *_timedlock() calls take an absolute real time instead of a monotonic clock.

    In anycase, I'm not even going to bother doing anything fancy. I'll let the system suddenly be one second off and then correct itself over the next hour. I'm certainly not going to do something stupid like letting the seconds field increment to 60. Having the ntp base time even go through these corrections is already dumb enough. Base time should be some absolute measure and leap seconds should just be adjusted after the fact in a manner similar to timezones.

    -Matt

    1. Re:Blame posix by Anonymous Coward · · Score: 0

      If you need a timed lock for more than a couple of seconds, you won't have a problem with leap seconds. If you need a timed lock for less than a few seconds, you don't have to use timedlock, there are other posix calls to manage a shorter thread time lock.

      And if you need a timed lock far in the future, you want to give it a "wall clock" time because that's the time your clocks outside the computer will show. And that won't be affected by a one second shift some period in the meantime: you will NEVER need a time days in the future down to the sub-second in accuracy on ELAPSED time.

  29. 1s > 128ms, therefore slew by Jizzbug · · Score: 2

    NTP would typically slew a 1-second difference, so Google is not out-of-line to add the second at the beginning of the day and slew their systems over the course of the day. Google uses lots of vector clocks in their distributed systems, they may have calculated that slewing over the course of the day introduces fewer time differences between machines than counting the final second twice (due to drift, which is inevitable on any NTP slave, corrected by "frequency discipline" and error estimates).

    --

    -=/\- Jizzbug -/\=-
  30. Re:How Will The Naval Observatory Clock Handle Thi by mbone · · Score: 2

    That's not the problem.

    Leap seconds are inserted by pretending that there's a 61st second in a minute.

    Pretend, nothing. Those minutes do have a 61st second.

  31. New Time Protocol Standard NCSD by Anonymous Coward · · Score: 0

    New Time Protocol Standard *Network Connected Sun Dial* install a Giant Sun Dial at Greenwich to continuously keep the internet in sync with the planets rotation.
    Alternatively install a giant drive shafts and disk breaks at the poles to continuously adjust the earths rotation to keep it in sync with internet.

  32. Doesn't matter, so why do it? by goombah99 · · Score: 0

    Why do we even bother with this? Why can't we just let noon move a second. Even after a hundred years it won't make any difference. Time zones on average vary in the suns position by a whole hour so a 1 sec variation of the solar zenith makes no difference. Anstronomers will still be able to find there stars.

    So why even bother with this non sense?

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re: Doesn't matter, so why do it? by Anonymous Coward · · Score: 0

      Astronomers gave us usable time. Throw them a bone.

    2. Re:Doesn't matter, so why do it? by AthanasiusKircher · · Score: 2, Interesting

      Why do we even bother with this? Why can't we just let noon move a second. Even after a hundred years it won't make any difference. Time zones on average vary in the suns position by a whole hour so a 1 sec variation of the solar zenith makes no difference. Anstronomers will still be able to find there stars.

      Agreed. This is all nonsense. Even NIST admits that it's basically for legacy astronomical equipment. But any astronomer who needs real precision needs to deal with fractional-second corrections all the time now anyway, and there are published tables that allow one to do this. (For the current correction to convert from UTC to UT1, see here, which gives values accurate to +/-5 milliseconds.)

      If we ever got maybe a minute or more off, I could possibly see the reason for a correction. But a second? Who cares? As I said, the very small number of people who actually need to use UT1 mostly do fractional-second conversions all the time anyway, as leap seconds aren't precise enough to keep up with the continuous variation.

    3. Re:Doesn't matter, so why do it? by rubycodez · · Score: 1

      Not nonsense, time accuracy to milliseconds is indeed important in financial and database applications. More to the point, keeping systems in sync well enough for that is a long solved problem.

    4. Re:Doesn't matter, so why do it? by msauve · · Score: 1, Insightful

      What's nonsense is locking civil time to atomic time. There would be no need for leap seconds if civil time simply remained linked to astronomical time, as it was for millenia.

      Oh, and NIST - at least the person responsible for the leap second file they distribute (Judah Levine) - really has a very poor understanding of how leap seconds work. He's actually stated that "In the legal definition of UTC, a leap second is "forgotten" once it happens." That is, of course, completely incorrect. No wonder NIST wants to drop them, they don't understand them.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    5. Re:Doesn't matter, so why do it? by LaissezFaire · · Score: 1

      Agreed. In this case, the google answer is terrible because the answer for "what time is it?" is no longer the same. The other solutions stick a whole second at the time of departure, so the math is always consistent. With google's answer, 23:59:23 - 23:59:22 != 1 second. Ew.

    6. Re: Doesn't matter, so why do it? by bondsbw · · Score: 1

      Keeping systems in sync is the important thing. Keeping them so accurate, to second precision, with the solar day is practically useless for almost every real need. I mean, if we are going to be so arbitrary, why not choose millisecond precision, or microsecond precision?

      No, what would be useful is coming up with a solid, well thought out, global plan for making this correction next century. Then implement that plan, moving around a minute or two, all at one time for all global systems in a predictable and deterministic way. None of this choosing to do it when and how you want.

      (Oh, and get rid of daylight saving time and time zones while we're at it... kthx)

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    7. Re: Doesn't matter, so why do it? by Pinky's+Brain · · Score: 1

      People can't deal with leap seconds when they know they have to ... postponing it into one huge clusterfuck isn't going to improve matters.

    8. Re:Doesn't matter, so why do it? by goombah99 · · Score: 1

      Yes but that has absolutely nothing to do with my post.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    9. Re: Doesn't matter, so why do it? by bondsbw · · Score: 1

      Ok, so if more often is better, how about leap milliseconds? Adding a leap millisecond every day would almost precisely mimic the average rate of leap seconds... to the point of being off by less than one second every century. It would be regular enough to become a standard, so all devices that need such precision would be updated to take it into account.

      In any case, leap seconds are a bad implementation... they occur so often that they cause regular synchronization issues, and they don't occur often enough as to force those with a stake to come up with a standard solution.

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    10. Re:Doesn't matter, so why do it? by Anne+Thwacks · · Score: 1
      It won't matter when you get scammed by the market traders who use the discrepancy to steal your entire pension fund/house/car or anything else tied to "the system". Yes, planes may crash becaose of a 1 second error in interpreting GPS signals, and possibly even ships run aground.

      I care about these things. It seems like some other people do too.

      The solution is, of course, "international agreement" on how to handle the issue. Does not matter which approach, so long as everyone agrees on it. Good luck with that one.

      --
      Sent from my ASR33 using ASCII
    11. Re: Doesn't matter, so why do it? by OolimPhon · · Score: 1

      People can't deal with leap seconds when they know they have to ... postponing it into one huge clusterfuck isn't going to improve matters.

      Well, I don't know... we manage with a whole leap day every four years or so.

    12. Re:Doesn't matter, so why do it? by goombah99 · · Score: 1

      Right so, as I said. Don't change the clocks at all. so no problem. THere is no need to change the clocks. SO the sun is off by 1 sec in the sky. this does not affect time on earth.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    13. Re:Doesn't matter, so why do it? by AthanasiusKircher · · Score: 2

      What's nonsense is locking civil time to atomic time. There would be no need for leap seconds if civil time simply remained linked to astronomical time, as it was for millenia.

      Sorry, but what the heck are you talking about? Your "solution" makes no sense given the need for accurate timekeeping today. Astronomical time varies significantly with the earth's rotation all the time by various amounts of milliseconds (see here for an illustration of that variance since modern UTC standards were adopted).

      The "length of a day" is simply nowhere near precise enough for modern applications. It worked to lock civil time to astronomical time when an error of a few milliseconds here and there wouldn't make a difference -- you could just reset all your clocks. But now much of our timekeeping software dealing with civil time works on machines where a few milliseconds here and there will screw things up all over the place.

      Are you at all aware of the mess things were before the modern UTC standards were adopted? They tried to make corrections on an order of milliseconds on a regular basis, and it was annoying as all hell. That's why they proposed only altering the standard clocks when the collective error accumulated to closer to a second -- the shift could then easily take place.

      What exactly do you think you're proposing here? That seconds will just be arbitrary lengths for civil time, varying on a daily or weekly basis to track the earth's variance in rotation? Or we keep the second constant, but that we make daily or weekly corrections somehow? Or what?

      Modern technology needs civil time to be consistent. And it needs to be precise because there are far to many machines which depend on it not varying by random little increments all the time. There are various ways of solving this problem, but just waving your hands and getting out your sundial to mark noon every day (as they did for millennia) is simply not possible in the modern world.

    14. Re:Doesn't matter, so why do it? by msauve · · Score: 1

      People who need sub-second accurate time use TAI. Civil needs would be met just fine by a return to GMT, instead of UTC.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    15. Re:Doesn't matter, so why do it? by Anonymous Coward · · Score: 0

      Oh, and NIST - at least the person responsible for the leap second file they distribute (Judah Levine) - really has a very poor understanding of how leap seconds work. He's actually stated that "In the legal definition of UTC, a leap second is "forgotten" once it happens." That is, of course, completely incorrect. No wonder NIST wants to drop them, they don't understand them.

      It's not just NIST that doesn't understand them. Most programming languages I've used will do one of two things when given a leap second datetime to parse: (1) sigfault/except or otherwise crash, (2) return 23:59:59 on the proferred date instead of 23:59:60 as desired. Try doing timespan math around leap seconds and see how quickly things go to shit.

    16. Re: Doesn't matter, so why do it? by Anonymous Coward · · Score: 0

      So far as google (and others) are concerned, having seconds that are very slightly longer than 1.0 doesn't really matter, and if you cared to think for a second, it'd be immediately apparent why.

      Namely, almost all web-based services run on commodity hardware. Try counting CPU ticks to add up to a second sometime - it's impossible without specialized hardware.The boffins on my ntp team have the adjusted length of the second entirely within that margin of error; I'd imagine google's have as well.

      TL;DR - so far as the servers themselves are concerned, 23-22 always equals 1, within intrinsic precision limits.

    17. Re:Doesn't matter, so why do it? by rew · · Score: 1

      The thing that people-who-don't-know-better are suggesting is that the second will be the same all the time.

      They think that nothing bad will come from "thirty years from now, the sun is in the south at 11:59:30" (assuming an average of 1 leap-second per year).

      (I can't think of anything bad that would happen... but I know my limitations. It's probably annoying as hell to /some/ fields of research or something....)

    18. Re: Doesn't matter, so why do it? by rubycodez · · Score: 1

      nothing arbitrary about it, compliance auditing for various standards exists already. you are complaining about a solved problem and a standard way of keeping time.

    19. Re: Doesn't matter, so why do it? by bondsbw · · Score: 1

      I'm sorry, I don't understand what any of that has to do with synchronization with solar time (which is the point of leap seconds). You'll need to provide more info.

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
  33. beware the Digg effect by ei4anb · · Score: 2

    When you change a forum against the wishes of the users you risk the Digg effect. Please undo the "Share" change.

  34. Stop it already by Anonymous Coward · · Score: 0

    Seriously. There's no real advantage to keeping things tied to the solar day like this. Keep them separate. If you want to make adjustments, make them to the TZ rather than to the underlying time measurement. So, for example, EST would be adjusted to +1h1s from UTC.

  35. Re:Dice: Please restore the Read More link. Thanks by GoodNewsJimDotCom · · Score: 4, Informative

    I thought Slashdot was dead. I thought they killed the comments until someone told me where to look.

  36. Re:Dice: Please restore the Read More link. Thanks by war4peace · · Score: 5, Insightful

    The way they changed the design is clickbait of sorts.
    People trained their muscle memory to click that area to load more of the story or comments. Now they click and yell in frustration.
    That's a really shitty way of luring people. Shame on you, Dice!

    --
    ...gis sdrawkcab (usually not responding to ACs; don't bother posting as AC)
  37. Re:Dice: Please restore the Read More link. Thanks by 93+Escort+Wagon · · Score: 2

    I understand the desire to change things, but putting some social media Share link in place of the Read More link goes against the kind of website Slashdot is.

    Not only that, but even though they've added a new numeric post count inside of a little speech bubble... if you click on that, you don't get taken to the comments! You still get taken to the top of the page, and have to scroll down to get to the comments.

    I realize Taco and the others are long gone, but doesn't anyone on the Slashdot staff even bother to look at the pages after a design change has been made?

    --
    #DeleteChrome
  38. Those who write fragile code should be banished by Anonymous Coward · · Score: 1

    Those who write fragile code should be banished. The fact that so much software can't deal with time changes is very telling. It shows how stupid most software developers actually are.

  39. Re:How Will The Naval Observatory Clock Handle Thi by Anonymous Coward · · Score: 0

    That's a leap minute....

    But I know what you mean....

  40. I vote for Google by AndyKron · · Score: 1

    I like Google's idea better. I can't say why exactly, but it sounds cool.

    1. Re:I vote for Google by roc97007 · · Score: 1

      I like it too. There's something satisfying about preserving monotonically increasing time.

      --
      Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
  41. Deny the Sun's existance by Anonymous Coward · · Score: 0

    We will all live underground in the future anyway. As it is I hardly get out to see the Sun now.

  42. Abolish leap seconds by Anonymous Coward · · Score: 0

    Look guys lets just forget this nonsense and let it ride until we are all extinct.

  43. counting a second twice by roc97007 · · Score: 1

    My concern with allowing a second to happen twice is that time-scheduled events that just happen to coincide with that second might execute twice. Depending on the circumstances, the results could vary from unnoticeable to completely bizarre and damaging.

    --
    Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
    1. Re:counting a second twice by Todd+Knarr · · Score: 1

      That's easy enough to deal with, and the schedulers involved should already deal with it. It's not like the difference between level-triggered and edge-triggered events is something new or novel, how do you think those same schedulers handle the twice-yearly DST transitions that involve adding or dropping an entire hour to/from the clock? Just as handling those transitions involves discarding the misconception that a day is always 24 hours long, dealing with leap seconds correctly involves discarding the idea that a minute is always 60 seconds long. In the process you'll also realize why Unix cron schedules at the start of an interval, not the end (events trigger at the start of an hour, day etc., not on the last second of the hour/day/whatever).

    2. Re:counting a second twice by Anonymous Coward · · Score: 0

      only if you use badly layed out software.

  44. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    I understand the desire to change things, but putting some social media Share link in place of the Read More link goes against the kind of website Slashdot was.

    Fixed that for you.

    Someone tell Nerval's Lobster that this week's "How Much [language] do you need to know for an entry level position?" identikit Dice article plug is overdue. I'm placing my bets that it's going to be ALGOL-58 this time round...

  45. I have a better idea by Anonymous Coward · · Score: 0

    How about software developers stop relying on the notion of time being continuous? They could stop being lazy and actually implement algorithms that can handle discontinuous time.

    1. Re:I have a better idea by 0123456 · · Score: 1

      How about software developers stop relying on the notion of time being continuous? They could stop being lazy and actually implement algorithms that can handle discontinuous time.

      Yeah, because that'll work.

  46. I agree, why bother with this nonsense by Anonymous Coward · · Score: 0

    Though I disagree about what "this nonsense" is. You seem to think the nonsense is having noon at midday.

    I think the nonsense is the scaremongering about how bad it is that in June there will temporarily be a 1 second discrepancy between time recorded by two or more things using completely different clocks to measure the time.

    Why bother with that nonsense? Why is "Yeah. So what? Live with it" not acceptable and throw out this nonsense that we should only recognise monotonically incrementing time everywhere everywhen every moment?

  47. Re:Dice: Please restore the Read More link. Thanks by Moridineas · · Score: 1

    Ditto. This is an awful change.

  48. Daily adjustments? by JoeMerchant · · Score: 1

    Instead of having a special case every few years, how about going ahead and making a millisecond of adjustment every day as needed? The adjustments could start with 0 or 1 milliseconds, and as the oceans slosh us ever slower, we could start making 1 or 2 millisecond adjustments every day at midnight.

    Would also keep the stars better aligned to the official time.

    1. Re:Daily adjustments? by at10u8 · · Score: 1

      Been there, did that, in the US from about 1957, the US and UK starting in 1960, and internationally from 1961 until 1972. The authorities in charge of the distribution of time utterly rejected that in favor of leap seconds. Then they went on a world tour getting agencies and governments to officially adopt UTC with leap seconds as the perfect time scale for all purposes.

    2. Re:Daily adjustments? by JoeMerchant · · Score: 1

      Awesome, now that we have another 50 years of technological advance, maybe it's time to revisit the issue...

    3. Re:Daily adjustments? by mbone · · Score: 1

      Awesome, now that we have another 50 years of technological advance, maybe it's time to revisit the issue...

      There may or may not be a vote on new proposals this year.

  49. Re:How Will The Naval Observatory Clock Handle Thi by Anonymous Coward · · Score: 0

    do you run a super secret linux that lets you cron jobs by the second? http://www.adminschoice.com/crontab-quick-reference

    Are you polling constantly for a specific time? Broken code in, bugs come out...

    Sure, a leap second will throw off any timing measurements being done. But if you are barmy enough to program something that *dies* you just wrote a bug. There are all kinds of bugs, this one is not special.

  50. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    What kind of website do you think Slashdot is?

    I don't know if you've been following the news, but slashdotmedia owns sourcefourge, which has been doing some blatantly unethical thing to make money off of free software lately. Articles about this issue are being actively suppressed here on Slashdot.

    Did you notice how there is a store now (deals?)

    Slashdot is not the kind of website you think it is.

  51. Re:Dice: Please restore the Read More link. Thanks by caseih · · Score: 1

    Seconded! The share button is something I will never use and the lack of the read more link makes the web page a lot hard to use. Hope you'll do the right thing and stop screwing with things for change sake. Stop trying to bring the beta site back!

  52. Re:How Will The Naval Observatory Clock Handle Thi by Xylantiel · · Score: 2

    Exactly, just as February may have 28 or 29 days, the 23:59 minute may have 60 or 61 seconds. If your software time system was not built this way, it is technically wrong.

  53. Dice is deciding: cut-over or slew by davidwr · · Score: 1

    Should they change the social media link back to "read more" all at once or should they do it a little bit at a time so that, for a few hours on the day they do the change-over, you will get to read a little bit of the article then go to a cut-down version of a social media site.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  54. Re:How Will The Naval Observatory Clock Handle Thi by 0123456 · · Score: 1

    1. The code I wrote worked fine. But we have to interoperate with other people's code that doesn't.
    2. Any solution requiring programmers to write software properly is doomed to fail.
    3. No-one, at the last leap second, thought that Linux servers would crash when they printed out a message indicating that a leap second would soon happen.
    4. No-one, at the last leap second, thought their Java server software would go insane after a leap second because the internal timers stopped working.

    The world is full of code that will break when a leap second happens.

  55. The problem, and the IMHO correct solution. by arcade · · Score: 4, Interesting

    First off, the problem with leap seconds and unix is that unix time isn't UTC. Unix time is defined as seconds since epoch, ignoring leapseconds. Unix time is 'lossy' in that a the moment a leapsecond occurs can't be differentiated from the second before it. More information about that here: https://en.wikipedia.org/wiki/...

    The problem is that POSIX.1 is plain stupid when it comes to leapsecond.

    The correct solution to this problem would be as follows:
    1. Fix POSIX.1 to define unix time as TAI.
    2. Implement conversion routines i gettimeofday and other relevant functions.
    3. Use a handy store for leapseconds.

    Now, number 3 here is a bit tricky. Purists would probably want this in the TZ database or somesuch. This is well and good, but has the problem that the TZ files need to be packaged and updated on all the servers. If I remember correctly (please correct me if I'm wrong) Java is shipped with its own TZ files, and might also need them updated separately. Due to this, I think the most maintainable and portable way to do this across unixes would be to simply have an /etc/leapseconds file which lists the leapseconds since epoch. It does, however, depend on unix time being defined as TAI first.

    --
    "Rune Kristian Viken" - http://www.nwo.no - arca
    1. Re:The problem, and the IMHO correct solution. by at10u8 · · Score: 4, Informative

      Please look at this tzdist internet draft which is close to becoming an RFC. The tzdist protocol can communicate the list of leap seconds along with the list of time zones.

    2. Re:The problem, and the IMHO correct solution. by arcade · · Score: 1

      Thanks for the pointer! I've just had a skim through it.

      Initial thoughts: code is king. If it gets adopted, then that's what we have to deal with.

      Personal opinion; the standard is .. not the way I'd like it to be. Neither for TZ nor leapsecond information. I dislike the idea of stashing this in a SRV record in DNS. I dislike the lack of authority on where the information comes from. A laptop moving from one network to another could be in contact with systems that provide TZ data from different sources, but legitimate from the standard, instead of a single source of internet-wide truth.

      I furthermore dislike the complexity of the standard. The TZ data really doesn't need localization. This can be provided client side. Imagine a laptop talking to one TZ server not understanding the replies from a different one, due to localization [not entirely sure if this is correct, I might have skimmed too quickly].

      Then we have the 'version' string in the replies that is sloppily defined. Why have it so general, instead of a simple .. timestamp in seconds since epoch?

      There are lots of other nits and pieces I rather dislike - but also the entire idea that we should base it on HTTP and JSON. It also seems a bit too closely integrated with iCal from the get go.

      To sum it up: I'm not a fan of the standard. But as I didn't put my money where my mouth is and created my own when I started becoming interested in this problem some ~10 years ago, I'll go "mergh. ok then" if it's adopted in general.

      --
      "Rune Kristian Viken" - http://www.nwo.no - arca
    3. Re:The problem, and the IMHO correct solution. by Anonymous Coward · · Score: 0

      At Google, Unix time is not lossy. The smearing is algorithmic and can be undone, so converting from a Google UTC timestamp to unambiguous TAI is possible. Converting from "correct" Unix-UTC-seconds-since format to TAI is not possible because lossy.

    4. Re:The problem, and the IMHO correct solution. by arcade · · Score: 1

      Hello there cpt obvious. :-)

      The implementation we have at Google is obviously just 'yet another hack'. It's not lossy in the same way as unix time is lossy - but we're using unix time, but with a "hack" to avoid having a repeat-second.

      It's a nasty hack. It works, but it's nasty.

      --
      "Rune Kristian Viken" - http://www.nwo.no - arca
  56. More info on EIA Natural Gas Report trading? by Anonymous Coward · · Score: 0

    I would love to read more about the EIA Natural Gas Report trading, but don't see any more info in the article or in a google search. Did the computer traders parse the reports for keywords and determine instantly whether to buy or sell?

  57. Google is wrong. by msauve · · Score: 1

    The problem is systems which are poorly designed, and cannot properly handle leap seconds. That includes every POSIX system. Handling a leap second is fundamentally no different than handling a leap year. You have a minute with 61 seconds instead of 60, just like you have a month with 29 days instead of 28. But despite leap seconds existing since long before POSIX, the definers provided no means of enumerating a 61 second minute.

    Counting the same second twice or changing the length of a second, both are doing it wrong.

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
    1. Re:Google is wrong. by Anonymous Coward · · Score: 0

      +1

  58. alternatives by denbesten · · Score: 2

    There have been 35 leap seconds in the past 42 years. In very round numbers, we could have....

    1 leap millisecond 3 times per day,
    1 leap second every year or so,
    1 leap minute every 50 years or so,
    1 leap hour every 3000 years or so.

    1. Re:alternatives by mbone · · Score: 1

      The divergence is (roughly) quadratic; those estimates (well, for leap "something > 1 second") are off.

    2. Re:alternatives by Anonymous Coward · · Score: 0

      Correction: there have been only 25 leap seconds in the past 43 years

  59. silliness by denbesten · · Score: 1

    Keep in mind that the silliness of "leap seconds" is about the same as the silliness of "timezones". Both are involved with keeping the sun above our heads as we eat lunch.

  60. Critical systems? by Anonymous Coward · · Score: 0

    So rather than let the tz tools deal with this the way strftime's man page says it should, Google is going to deliberately pretend that June 30 is exactly 24 hours long, and they're going to deliberately make all timespan calculations that involve any part of June 30 be incorrect?

    My first thought is, the folks at the Large Hadron Collider couldn't get away with this crap.

    Good thing Google doesn't design any critical systems, like computer-driven automobiles!

  61. Re:Dice: Please restore the Read More link. Thanks by weilawei · · Score: 5, Interesting

    I'm willing to accept that layouts change and I'll need to look in a new place--but the new location is actually terrible usability. Here's why:

    First, I read the headline. Then, I read the summary. I'm moving down the page, and I'm scrolling the page, too. So, now I'm at the end of the summary, and the headline for any story with a long summary is now out of the window. Now, I need to scroll back up to see how many comments or to click to view those comments. Extra work, even if the summary isn't long.

    Fitts' Law applies here. They've made the target smaller in diameter, and placed it further away effectively. That means the difficulty of clicking to view comments is noticeably harder.

  62. Not a problem by Anonymous Coward · · Score: 0

    We don't have time machines nor, even if we invented them, the need to look at the timestamp of a file more than 6 months before it's written.

    We only need to know the time of a file after the file exists.

    Unless you're a TimeLord, in which case you won't be using NTP to sort out your tardis location system.

  63. heh... by Anonymous Coward · · Score: 0

    Amazon AWS could seize up and bring down half of the worlds IT infrastructure...

    Say, isn't there some saying and 'bout eggs and baskets?

  64. Re:Dice: Please restore the Read More link. Thanks by Livius · · Score: 1

    I thought Slashdot was dead.

    They haven't stopped trying.

  65. Concerns over trading? by LynnwoodRooster · · Score: 1

    Easy solution - add the extra second at 1 second after midnight on the last Sunday of June. No exchanges are open anywhere in the world at that time - so there's no advantage that 1 second gives anyone.

    --
    Browsing at +1 - no ACs, I ignore their posts. So refreshing!
  66. Real time systems by MichaelSmith · · Score: 1

    Its been raised as an issue with radar trackers where the radar and the tracker have their own time sources and they slew at different rates. The tracker gets upset and drops tracks where the timestamp from the radar seems to jump by a second.

  67. Re:Dice: Please restore the Read More link. Thanks by Stan92057 · · Score: 1

    Ya i seen that yesterday im like where the hell is the join conversation button. so i clicked the feedback button and sent in my unhappiness to them. I bet they are going to force us to the new Slashdot those of us who have been avoiding it with the nobeta tags

    --
    Jack of all trades,master of none
  68. Just do what GPS does by Anonymous Coward · · Score: 0

    GPS satellites avoid the problem by distributing leapseconds separate from a continuous timescale (unlike the Russian GLONASS, which distributes Moscow time with all of its nasties). UTC without leapseconds is essentially terrestrial time (TT) (which is just a constant offset from international atomic time (TAI)). If all these systems that get disrupted with a second jump just stored TT with leapsecond separately, there would be no ambiguity.

  69. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    I thought Slashdot was dead. I thought they killed the comments until someone told me where to look.

    You're supposed to look from left (always), to right.

  70. Everybody run west by iliketrash · · Score: 1

    "...the slowly lengthening solar day"
    "Do you have a better idea of how to handle this?"

    I do. Have everyone run west. This will transfer the force of their feet to the earth, causing it to rotate faster. Don't stop running or the earth will slow down again, wreaking the havoc described in the article.

  71. Chicken Little, the sky is not falling by msobkow · · Score: 2

    Every single time a leap second comes up in the future, we have these panic-stricken articles predicting doom and gloom for some services.

    If you haven't figured out how to deal with leap seconds that have been an issue since the '70s, I say your service DESERVES to crash and burn, and you DESERVE to spend long and stressful hours dealing with the mess.

    Leap seconds aren't a surprise to ANYONE with a functioning brain cell.

    --
    I do not fail; I succeed at finding out what does not work.
  72. Re:How Will The Naval Observatory Clock Handle Thi by butlerm · · Score: 1

    > Pretend, nothing. Those minutes do have a 61st second.

    Civil minutes may or may not have any correspondence with dictionary minutes. In the measurement of elapsed time intervals with more than one second of accuracy, dictionary minutes rule.

  73. Prefer David's way by Anonymous Coward · · Score: 0

    I prefer David's way. His method tells you the right time all the time
    Google is intentionally telling you an incorrect time for as long as their trickle method is in place before the actual leap second. is done.

  74. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    Absolutely correct. Special little snowflakes don't need to tinker when something not only works but is really liked.

    I still use this: ?nobeta=1

    If it weren't possible, I would remove the slashdot bookmark and be done with this site. I do use https://soylentnews.org/ too.

    Share button is a joke. The above commenters nailed it. Take this advice.

    F U if you don't.

  75. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    For years (decades?) you've been able to click on the title to view the article. I didn't even realize the comment count was clickable. There's no UI indication that makes you want to click it. I though DICE was trying to remove redundant paths to the same page. Apparently I gave them too much credit and putting a Share button where Comment used to be is pure evil.

  76. Re:You forgot about Y2K by KGIII · · Score: 1

    Do you know why that did not happen?

    Well, okay, it did not happen because some of us (most?) store the date as mm/dd/yyyy (here in the US) and not mm/dd/yy. You can display it anyhow you want - you can even display it in binary. How you store it matters. mm/dd/yy is a bad idea - even if you will be long gone by the time the company crosses 3000.

    --
    "So long and thanks for all the fish."
  77. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    The video section was bad enough!

    Now silly share button and without the number of comments.

    come on, Dice..

  78. too late to schedual vacation now... by l0n3s0m3phr34k · · Score: 1

    reading this gives me a bad feeling that my night might suck. My job is intimately involved with multiple airlines, real-time systems, mainframes, etc. So I'm sitting on top of a network that might actually be affected. I haven't heard a peep of this from my management either...I doubt they even realize this is going on or that it may impact us.

  79. Timezone question by Anonymous Coward · · Score: 0

    Does the leap second happen globally, synchronously in all timezones (e.g. at 23:59:60 UTC and 00:59:60 CET), or exactly at each timezone's own 23:59:60 for each tz.?

    Anyway, who cares, isn't every reasonable system supposed to use unixtime internally?

    1. Re:Timezone question by Anne+Thwacks · · Score: 1

      Unfortunately. 90% of the world uses an unreasonable system: "Windows". and 1% is out to exploit this f@$# up.

      --
      Sent from my ASR33 using ASCII
  80. Sex & Women by Anonymous Coward · · Score: 0

    I am a Doctor... healthguideness.com provides you diferrent advices for your health fitness. It's all about health that how to make people healthy. Mens who want to make their sex power increase please you can ask me anything about this. I am always stand for you. Everytime i reply your questions and advise you about successful health.
    Sex & Women

  81. Re:Dice: Please restore the Read More link. Thanks by Anonymous Coward · · Score: 0

    First, I read the headline. Then, I read the summary..... Now, I need to scroll back up to see how many comments or to click to view those comments.

    I apreciate you are old-school, experianced slashdot reader and you never RTFA but we, new progressive DICE-generation, do not even read the summary so we wellcome the change and possibility to go right to comments without need to srcoll through boring summary.

  82. Non-issue by Anonymous Coward · · Score: 0

    The biggest non-issue ever - the problems are silly.

    "Hours:minutes:seconds" is only a display issue - to which you may apply timezones or leap seconds or whatever. A leap second is really only the presentation timezones being shifted by one second.

    For timestamps and synchronization, count seconds from some chosen startpoints - such as the common january 1. 1970. This count is unaffected by the solar day and its occational leap second.

    Those who schedule "something" to happen at a certain time a certain day, really schedule it "x seconds from now". If they need to take leap seconds into account - well do that then. Leap seconds are published months in advance - plenty of time to fix software that currently doesn't cope well.

    And don't do sillies like spreading the leap second out over a day. No need! I happened to be using my PC last time - the display went from xx:xx:59 to xx:xx:60 and that was fine with me. No problems whatsoever, and filesystem timestamps were in seconds since 1970 so my make job did not hiccup. Those with strict timing constraint should operate independent of "display time" anyway. They should schedule their precision events "x (micro)seconds from now" - a form of timekeeping that is not affected by someone slamming an extra second (or a complete leap day) into the clock/calendar system. We already handle leap days and months with different lengths - leap seconds are really merely "more of the same".

    The whole thing is a non-issue blown out of proportion. Most systems don't need 1-second precision - I cannot understand why an airline system would be bothered by a 1-second drift. And those that need the precision, should avoid wall-clock time anyway.

    Of course some software happens to be buggy - just fix it then. Don't invent strange ways of handling the leap second - just handle it. It is not hard - and you know what went wrong last time. It is still plenty of time for preparing for the next one - and then it won't be a problem again ever. Fix such bugs once and for all.

  83. TAI by fredan · · Score: 1

    so how do I run my linux system with TAI instead of UTC?

  84. Confusion of terms. by rew · · Score: 1

    The article claims that NTP is the cause of the leap second. NTP is just a protocol that handles keeping computer clocks in sync with each other and with the official time (UTC, IIRC).

    If NTP handles leap seconds by increasing update frequency and then coming to the conclusion: "Whoa! my offset just went from 0.3 ms to 1000.25 ms, lets step the clock a second once we're sure this was not a fluke measurement". then that's a bad way of handling it in my opinion. (also suddenly speeding up does not provide a smooth-enough transition).

    One of the things that is bad about this is that when normal operation can handle (the bandwidth of) most hosts updating every 1024 seconds, and a few hosts (just rebooted, just installed, sync lost, whatever), now all of a sudden a synchronized (pun intended!) attack will take place where many many hosts will increase their update frequency by several order-2 magnitudes.

    For google, they internally have needs for synchronized clocks. Why I don't know, and I don't care. They have decided to handle the leap second in a more controlled way. It's actually not that hard. Just make sure that everything syncs off one level-0 server, and during the 20 hour period leading up to the leap second, add a variable number of microseconds to the exported time.

  85. Re:How Will The Naval Observatory Clock Handle Thi by Anonymous Coward · · Score: 0

    >>it's a question of whether your software was built with certain (I would say not unreasonable at first glance) assumptions

    Yeah, like sony assuming that february always has 28 days. These simplifications do not work.

  86. Now I understand something on the LHC 2015 Schedul by luehringf · · Score: 1

    For several months I have been checking on the on the official LHC schedule:

    https://espace.cern.ch/be-dep/...

    and had been wondering about the notation "leap second" on the Wednesday of week 27 of 2015. This posting now makes me understand what is going on. I can imagine lots of consequences for the both the machine (think of how far in the lab frame a 7.5 TeV proton goes in 1 s) and the enormous (at least enormous if you aren't Amazon, Apple, Google, or Microsoft) pile of HTC servers on 6 continents we use to reduce the data into Nobel prizes (hopefully prizes plural...).

    Fred

  87. Re:You forgot about Y2K by dave420 · · Score: 1

    You don't remember it because it was one of the largest mobilisations and tasking of programmers the world has ever seen. If nothing was done, there would have been massive problems throughout every computerised industry, as all kinds of bugs were identified and fixed. I was there - were you?

  88. If I write nonsense, why'd you agree w/ it? by Anonymous Coward · · Score: 0

    "I just reply to you when I see you spamming Slashdot with your nonsense"- by dave420 (699308) on Friday June 19, 2015 @10:31AM (#49945047)

    1st: See subject dimwit & this quote from you agreeing w/ my points:

    "I'm not denying all those things" - by dave420 (699308) on Wednesday September 17, 2014 @11:39AM (#47927435) FROM -> http://yro.slashdot.org/commen...

    Of course you're not: It's impossible to dispute FACT on HOSTS FILES superiority to other methods!

    (Since they're fact in favor of hosts doing more than so-called competitors & doing more with less for more security, speed, reliability, + anonymity online - which is, of course, more than a mere trolling stalking harassing "ne'er-do-well" like yourself could *EVER* manage).

    ---

    "I'm simply pointing out that it takes an AdBlocker to block your spamming"- by dave420 (699308) on Friday June 19, 2015 @10:31AM (#49945047)

    Then WHY DON'T YOU DO THAT, shithead? Answer that!

    If you're "so-called 'better solutions'" are BETTER, & I bother you? Use them... OBVIOUSLY, asshole, you don't & you're just a "ne'er-do-well" troll, OR you have "other motivations" (see next):

    (No, instead you stalk/harass me instead!)

    * DO YOU WORK FOR AN ADVERTISING FIRM, or ARE YOU A WEBMASTER/WEBCODER, or ARE YOU A MALWARE MAKER, or ARE YOU AFFILIATED WITH 1 OF MY COMPETITORS?

    Answer that too!

    I'll be waiting (but you'll avoid every question, or lie - which only makes you look stupider than ever vs. myself)

    (You must be involved with 1 of those above, especially since you're TOO STUPID to EVER "get the best of me" & you know it, witness the above - & their "so-called 'solutions' are INFERIOR TO MINE on TONS of levels, evidencing their stupidity in & of itself via inferior designwork!)

    APK

    P.S.=> SEE Dave420 SQUIRM everybody, lol - evasions galore from him to ensue are almost guaranteed... apk

  89. Problem? by Anonymous Coward · · Score: 0

    As you aren't continually running NTP syncs every millisecond, engineer the systems to cope with a minor difference and correction via an occassional NTP sync, and the problems all go away.