Slashdot Mirror


You Can Look Forward To 8 More Years of Leap Second Problems (cio.com)

itwbennett writes: As previously discussed here, the World Radiocommunication Conference (WRC) met "for nearly the entire month of November, and one of the hot-button issues [was] what to do about the leap second." But, as they did at the 2012 conference, the WRC voted to postpone the decision — not just until the next WRC in 2019, but until the one after, in 2023, while the International Telecommunication Union conducts further studies into the impact of tinkering with the definition of Coordinated Universal Time.

143 comments

  1. How is it a problem? by Anonymous Coward · · Score: 4, Insightful

    NTP handles leap seconds, where's the issue?

    1. Re:How is it a problem? by Anonymous Coward · · Score: 0

      I agree entirely. I've worked in IT since 1984 and I've never had the smallest problem with leap seconds.

    2. Re:How is it a problem? by msauve · · Score: 3, Interesting

      Actually, it doesn't. ntpd, the canonical implementation, doesn't follow the RFC for NTP. Other implementations do the same thing, simply because they're expected to be compatible with it. It does special handling for leap seconds (beyond simply advertising when they occur, so the OS can handle them properly). NTP isn't supposed to do anything with leap seconds, it's supposed to simply count seconds in an epoch. RFC 5905 says it's supposed to count seconds with a "monotonically increasing" UTC timescale.

      ntpd doesn't do that - when there's a leap second it counts backwards (or stops counting for a second, depending on how you think of it) in violation of the RFC, and then simply forgets about the leap second. It has the same fundamental flaw as POSIX.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    3. Re:How is it a problem? by Anonymous Coward · · Score: 0

      Your office isn't the ISS.

    4. Re:How is it a problem? by arth1 · · Score: 1

      NTP handles leap seconds, where's the issue?

      There are a lot of "foo[60]" arrays out there, and leap seconds triggering things like writing beyond the end of an array, or overwriting the last entry, losing data for the previous second. And in many cases it goes unnoticed, which can be even worse.
      Then there are interfacing between systems that handle leap seconds differently. Do you go from 23:59:59 to 23:59:60 or to a second 23:59:59? If the latter, what happens with jobs that are scheduled to run at 23:59:59.500?

      In my opinion, the solution isn't to get rid of leap seconds, but for developers to not make assumptions. If you look at time.h, it states:

      int tm_sec; /* Seconds. [0-60] (1 leap second) */

      So why assume 0-59?

    5. Re:How is it a problem? by RabidReindeer · · Score: 1

      NTP handles leap seconds, where's the issue?

      There are a lot of "foo[60]" arrays out there, and leap seconds triggering things like writing beyond the end of an array, or overwriting the last entry, losing data for the previous second. And in many cases it goes unnoticed, which can be even worse.
      Then there are interfacing between systems that handle leap seconds differently. Do you go from 23:59:59 to 23:59:60 or to a second 23:59:59? If the latter, what happens with jobs that are scheduled to run at 23:59:59.500?

      In my opinion, the solution isn't to get rid of leap seconds, but for developers to not make assumptions. If you look at time.h, it states:

      int tm_sec; /* Seconds. [0-60] (1 leap second) */

      So why assume 0-59?

      I may be mis-remembering, but it seems like a summer or 2 ago, there was a day with 2 leap seconds in it.

    6. Re:How is it a problem? by ceoyoyo · · Score: 2

      Heaven forbid developers actually test edge cases....

      Another solution would be to use TAI if you really can't be bothered to deal with an occasional leap second. The whole point of UTC is to have a time standard that's based on TAI but is numerically close to UT.

      I don't understand why this is suddenly a problem. Perhaps because of all the bootcamp developers writing code now?

    7. Re:How is it a problem? by davester666 · · Score: 2

      I'm not particularly coordinated, and I leapt at the wrong time. So now all my clocks are off and there is nothing I can do about it until next year. I've started training to do better.

      --
      Sleep your way to a whiter smile...date a dentist!
    8. Re:How is it a problem? by arth1 · · Score: 1

      I may be mis-remembering, but it seems like a summer or 2 ago, there was a day with 2 leap seconds in it.

      In 1972, there were two leap seconds, but one was in June and one in December, so there was no minute with more than 61 seconds. After that, there has always been 0 or 1 leap seconds per year.

    9. Re:How is it a problem? by AmiMoJo · · Score: 1

      A lot of industrial systems ignore daylight saving time. Too much hassle dealing with clocks jumping around when you are trying to log stuff or timestamp. Plus they keep changing the rules.

      Leap seconds are even worse. They are unpredictable. You they cause your nice GPS time sync to UTC to be ever further off. Your code has to handle occasional 61 second long minutes.

      For desktops no one much cares. For industrial/embedded systems it's a pain.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    10. Re:How is it a problem? by Anonymous Coward · · Score: 0

      if they're ignoring DST then that must mean they're 'free floating' and not normally querying an NTP server as part of their function, right?

      so then WHY should leap seconds be a problem in exactly the same situation?

    11. Re:How is it a problem? by Anonymous Coward · · Score: 0

      The official rule is that a leap second can be added to the end of any month, with preference given to June and December, followed by March and September. They then have the ability to in theory add 12 of them in a year without two occurring at once and really gumming things up. Given that aside from the first year, 1972, they've never needed more than one in a year, needing 13 in a year doesn't seem likely on a reasonable timescale.

      So, at worst, you're going to have a single leap second at a time to deal with.

      However, given that over 43 years we've had 26 seconds to add, to me it seems far more reasonable to do a leap minute or a leap five minutes. Short enough time that it doesn't really affect things like planning for sunrise/sunset for normal folks, and rare enough (100 to 500 years between), that you can figure something specific out for when it's coming. Give like a decade of notice. Should be ok.

    12. Re:How is it a problem? by karnal · · Score: 1

      You can still query an NTP server and set your timezone (if needed) to a fixed rather than a DST value. For instance, UTC-5 instead of "New York". No need to switch.

      --
      Karnal
    13. Re:How is it a problem? by MSG · · Score: 1

      One of the issues if that if you need a high-resolution measurement of the real time that has passed between one event and another, it simply isn't available under POSIX systems. For scientific purposes, that sucks.

      http://www.madore.org/~david/c...

    14. Re:How is it a problem? by msauve · · Score: 2

      "So why assume 0-59?"

      Because, POSIX.

      The committee which created POSIX (has any "design by committee" ever gotten things right?) decided to create an impossible situation - they both define a timescale of seconds in an epoch, AND define a day to be exclusively 86400 seconds. The only way that's possible is if a POSIX system doesn't claim to maintain UTC. Most/all do.

      Here's a good explanation, with the gory details.

      N.B. Leap seconds existed before POSIX, so they had the opportunity to get it right. They didn't. Leap seconds don't cause problems. POSIX does.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    15. Re:How is it a problem? by camperdave · · Score: 3, Interesting

      I may be mis-remembering, but it seems like a summer or 2 ago, there was a day with 2 leap seconds in it.

      Not possible. The leap second committee folks have a mandate never to let the difference between the UTC and UT1 (mean solar time) readings exceed 0.9 seconds. They usually decide to apply a leap second whenever the difference between UTC and UT1 approaches 0.6 seconds. Furthermore, they can add a leap second at the end of any month, although there is a preference for June and December and a second preference for March and September. For there to be two leap seconds in a day, something catastrophic would have had to have happened, like California sliding into the ocean, the Yosemite supervolcano blowing, or the Maple Leafs winning the Stanley Cup.

      --
      When our name is on the back of your car, we're behind you all the way!
    16. Re:How is it a problem? by Anonymous Coward · · Score: 0

      I don't understand why this is suddenly a problem. Perhaps because of all the bootcamp developers writing code now?

      It's not a coding problem; it's a coordination problem.

    17. Re: How is it a problem? by Anonymous Coward · · Score: 0

      There is no Yosemite volcano.

      It's the Yellowstone super volcano.

    18. Re: How is it a problem? by Anonymous Coward · · Score: 0

      Actually, I think "the worst" would be if they added a negative leap second, which is also allowed by the standard. I bet the code for dealing with that has many undiscovered bugs, and many implementations probably don't even handle it at all. Luckily, it's pretty unlikely.

    19. Re:How is it a problem? by jcdr · · Score: 1

      Exactly, you got it right. What's depressing is that, even after decades, POSIX is still unfixed.

    20. Re:How is it a problem? by jcdr · · Score: 1

      The industrial/embedded systems you describes must use TAI, not UTC or local time. Actually only the GPS broadcast the TAI in a direct usable form nearly everywhere. NTP broadcast UTC only and fail to send the TAI to UTC offset. PTP doe the right thing but is actually not broadcasted as NTP or GPS is.

    21. Re: How is it a problem? by camperdave · · Score: 1

      You're right. My mistake.

      --
      When our name is on the back of your car, we're behind you all the way!
  2. Time lost by Bovius · · Score: 1

    Someone should calculate how many people are studying / debating this issue and how long they've spent on it, and then see how many leap seconds each person on the planet would need to experience to match the time spent.

    1. Re:Time lost by Anonymous Coward · · Score: 0

      Somewhere between zero and one.

      Every time there's a leap second, the population in aggregate spends about 220 years of time experiencing it.

    2. Re:Time lost by Anonymous Coward · · Score: 0

      Its not about losing or gaining time. It's about the difficulty of synchronizing systems that are highly susceptible to time skew (often sub-second).

      Dealing with daylight savings time is a pain in the ass enough and that happens on a regular schedule. Adding or dropping seconds on an as-needed basis is a lot of work.

      Its obviously not that big of a deal if they're kicking the can down the road for the next 8 years or so. They decided that changing the current regime would be a more of an issue than doing away with it all together. They /really/ want to make sure they don't mess things up.

      It's not the seconds added or gained. It's making sure everyone is coordinated and on the same page. It's all about synchronization after all.

    3. Re:Time lost by Anonymous Coward · · Score: 0

      Welcome to the ITU - wasting time since 1865!

    4. Re:Time lost by Anonymous Coward · · Score: 0

      I don't think that "experiencing" is the right thing to compare too. You want to look at the time wasted because we have leap seconds, for example:

      - news bulletin spending 30 seconds to announce a leap second, times the number of listeners
      - time spent by people discussing it
      - time spent by developers coding workarounds
      - time spent by developers firefighting server crashes due to leap seconds
      - customer time wasted because a system was unavailable due to a crash

    5. Re:Time lost by marka63 · · Score: 1

      Daylight savings is a absolute mess compared to leap seconds. The dates when the shift occurs change often with as much notice as a leap second change. They vary per political boundary. Nothing is really coordinated. You can't actually compute how many seconds in the future a event will be. The direction changes per hemisphere. You get a hour (or two) of ambiguous time every year. Which 2:45am is it? You induce jet lag in large portions of the community.

    6. Re:Time lost by camperdave · · Score: 1

      I really hate that Google calculate has been dumbed down. Time was you could type in "7 billion seconds in years" and it would tell you. Now it just searches.

      --
      When our name is on the back of your car, we're behind you all the way!
    7. Re:Time lost by Anonymous Coward · · Score: 0

      You can still type 7*10^9 seconds in years, and that works.

    8. Re:Time lost by jcdr · · Score: 1

      Yet no one have found a better way to coordinate some important aspect of the worldwide telecommunication infrastructure. Keep in mind that there have to deal with governments with opposed sensibility or in conflict.

  3. They used the integrated face system by Anonymous Coward · · Score: 0

    They used the integrated face system to seamlessly add leap seconds to the calendar.

  4. Someone needs to ... by PPH · · Score: 4, Funny

    ... wind up the earth.

    --
    Have gnu, will travel.
    1. Re:Someone needs to ... by Anonymous Coward · · Score: 0

      If everybody would RUN to the west, at the same time, then the earth would speed up.

    2. Re:Someone needs to ... by radiumsoup · · Score: 1

      ...until they stopped.

    3. Re:Someone needs to ... by Hognoxious · · Score: 1

      They just need to stop when they're not in contact with the ground. By ... leaping into the air, or, ummm, diving into water.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    4. Re:Someone needs to ... by Anonymous Coward · · Score: 0

      ... wind up the earth.

      Before it stands still? Klaatu barada nikto! There, I said it. :D

    5. Re:Someone needs to ... by PPH · · Score: 1

      Stop? What are you talking about? Are you unfamiliar with the Agile Development paradigm?

      --
      Have gnu, will travel.
  5. Come On! by Anonymous Coward · · Score: 0

    Call it jitter and move the fuck on.

    They could have written off a second, long ago and no one would care. We deal with leap years and biannually shifting clocks by an hour and that doesn't seem to be insurmountable.

  6. This is stupid ... by gstoddart · · Score: 4, Insightful

    Leap seconds are an artifact of our timekeeping system, and actual physical properties of our orbit.

    For the ITU to be voting on if we keep leap seconds is kind of like politicians voting to determine that pi==3 ... it has nothing to do with reality.

    Like it or not, you have to solve the problem. You simply can't get a bunch of tech people on a damned committee getting together and saying "we're no longer having leap seconds". That's just stupid.

    --
    Lost at C:>. Found at C.
    1. Re:This is stupid ... by geschbacher79 · · Score: 1

      I agree that this is stupid, but I think the answer is "We should no longer care about calculating time with respect to the Earth's position around the sun down to the 1-second level". Who cares? Maybe once every 20,000 years we should add another leap day. But this constant fiddling with clocks for no reason just causes more problems than it solves.

    2. Re:This is stupid ... by Anonymous Coward · · Score: 1

      No it isn't stupid. You may think it sounds stupid - but that is due to your ignorance. There are real considerations in determining whether to keep or end the addition/subtraction of leap seconds. Continuous time scales are fundamental to a number of navigation & economic operations.

    3. Re:This is stupid ... by gstoddart · · Score: 4, Interesting

      See, the problem is most people don't understand where our system of time keeping comes from or why it's important.

      The reason we adjust for leap years and leap seconds is our calendar is a close approximation to our orbital period ... but it's not exact.

      At noon, on the day of a solstice or an equinox, the sun is in a known position in the sky. We use it for important things like navigation and timekeeping, and knowing when the hell things like eclipses, sun flares, high tides, and comets might happen ... or that asteroid which might kill us.

      It's a real physical property, which we kind of need to keep track of. It's NOT some thing you can say "oh, well, what does it matter if you're off by a couple of days?".

      --
      Lost at C:>. Found at C.
    4. Re:This is stupid ... by Anonymous Coward · · Score: 0

      From the perspective of an astronomer, leap seconds make sense. For almost everyone else, not. We defined time - and the second - by the number of vibrations of a Cesium atom. There's a good reason for that, and about every scientist agrees that it is a good definition.

      As far as leap seconds go, we could treat them the same as we do with leap years - we don't change a few hours every year, but we save them up. We can safely safe up leap seconds for centuries to come, and make a one-time pre announced adjustment.

      Example: on January 2200 we could just apply all leap seconds that are stale, around 10 or so. For humans, this not matters at all. For computers, it will be an event we can anticipate on. And for astronomers: they already ignore leap-anything and work with Julian dates, they could just and as easy adjust for their leap second if their calculations need it, instead of giving the whole planet the cumbersome issue of dealing with unpredictable leap seconds.

    5. Re:This is stupid ... by gstoddart · · Score: 1

      No it isn't stupid. You may think it sounds stupid - but that is due to your ignorance

      That's OK, you're an AC and therefore I assume you're a moron.

      Continuous time scales are fundamental to a number of navigation & economic operations.

      You do understand that the navigation is ALSO intrinsically tied to the astronomical positioning of things, right?

      That it causes problems for computers is a relatively modern problem. Keeping accurate track of the time as it relates to the actual sky has been with humans for thousands of years, and doesn't go away because some whiny idiots think it's inconvenient.

      --
      Lost at C:>. Found at C.
    6. Re:This is stupid ... by Jamu · · Score: 1

      I think the mistake was trying to use a fixed time-period for seconds. It might work for angles, but it's a mess when it comes to variable lengths like days or years. The second should just be a fixed fraction of today or the current year, and we should give up a conflating it with a unit of time. The SI "second" is a good unit time, similar to a second, and badly named.

      --
      Who ordered that?
    7. Re:This is stupid ... by Gr8Apes · · Score: 1

      I'm pretty sure the orbit won't stop if we wait to apply leap-minutes. The equinoxes and various other orbital mechanics already don't adhere to our time-keeping system, so why fiddle with leap-seconds? That said, it is still a problem, and I can just see the work day starting at 3pm (with sunrise at 2pm) if we don't address it. But from a computer's perspective, seconds are incremental steps in time from an arbitrary origin, the only "issue" is conversions, much like with Gregorian based calendars for dates. So why is this a problem? Because the ITU seems to be incapable of adding 1s as determined by the planet? This should even be something very easy to calculate in general, and relatively benign if you miss the agreed upon "addition" by a few seconds. In only very few scenarios will 1s be noticed, since machines tend not to be that closely synchronized in general anyways.

      --
      The cesspool just got a check and balance.
    8. Re:This is stupid ... by Anonymous Coward · · Score: 0

      We already have a mechanism to adjust time: As the stale leap seconds accumulate, people will eventually push for a timezone change of their region based on the belief that it'll improve sunlight hours. No need for anything else, really.

    9. Re:This is stupid ... by code_monkey_steve · · Score: 1

      like politicians voting to determine that pi==3 ... it has nothing to do with reality.

      It's irrational to try to redefine the irrational as rational.

    10. Re:This is stupid ... by TheRaven64 · · Score: 2

      If we don't bother with leap seconds, then the distance that the sun will be off from being directly overhead at the equinox is about the same as it is now from being a couple of hundred miles away from the meridian. A simpler solution to the problem would be to, every couple of thousand years, have a one-hour reset. There is basically nothing that depends on the position of the sun in the sky to that level of accuracy, but there are a huge number of things (including all air-traffic control systems) that depend on keeping time in sync to sub-second accuracy and are safety critical. These things all need some special handling for every adjustment and an extra hour would be no more difficult for them than an extra second, so doing one big correction every couple of thousand years would be far, far cheaper. That's of course assuming that we still care much for a time system that's predicated on a single planet's relationship to its star in 2,000 years. It seems likely that we'll either be sufficiently disbursed that we don't, or that we'll have damaged our civilisation enough that we will have far bigger problems to deal with.

      --
      I am TheRaven on Soylent News
    11. Re:This is stupid ... by TheRaven64 · · Score: 2

      You do understand that the navigation is ALSO intrinsically tied to the astronomical positioning of things, right?

      Today? Mostly (for anything where accuracy matters to the degree that leap seconds will make a difference in under a few hundred years) it depends on the GPS position, or some equivalent. GPS time, unlike UTC, does not have leap seconds.

      --
      I am TheRaven on Soylent News
    12. Re:This is stupid ... by Anonymous Coward · · Score: 0

      "At noon, on the day of a solstice or an equinox, the sun is in a known position in the sky."

      That would be useful if we kept LOCAL time, but it's confusing when the next town or village has a time that differs by a few minutes.
      With timezones local time is off by up to 30 minutes, and with politically dertermined zone borders it can be a good deal more.
      Daylights savings just makes a total pigs breakfast of the idea of "the sun being in a fixed place in the sun at noon.

      Also leapseconds have the nasty property of being unpredictable, if you have data points more than a few months in the future that's a problem...

      In short, who cares if we're off by a few minutes, as long as everyone uses the same time.
      We can just correct once a centure at the first leap day of the new century (and we'll know the correction well in advance)

    13. Re:This is stupid ... by Guy+Harris · · Score: 1

      The reason we adjust for leap years and leap seconds is our calendar is a close approximation to our orbital period ... but it's not exact.

      That's the reason we adjust for leap years. The reason we adjust for leap seconds is that the speed of the earth's rotation 1) isn't exactly 360 degrees in 86400 SI seconds and 2) changes over time, so it's not even a fixed value close to 360 degrees in 86400 SI seconds.

    14. Re:This is stupid ... by TechyImmigrant · · Score: 1

      Example: on January 2200 we could just apply all leap seconds that are stale, around 10 or so.

      The alternative, which is better is to do something so often that implementation problems get ironed out before the big-saved-up-event.

      So instead of a leap second, have a leap milisecond inserted 10,000 times more often than the leap-10-seconds. Humans wouldn't notice and implementation errors would be seen and fixed quickly.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    15. Re:This is stupid ... by PRMan · · Score: 2

      There have been only 25 leap seconds since 1972 (43 years). Why don't we just add 1-3 seconds on leap day instead? Time's already screwed up that day anyway.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
    16. Re:This is stupid ... by Anonymous Coward · · Score: 5, Interesting

      We use it for important things like navigation and timekeeping, and knowing when the hell things like eclipses, sun flares, high tides, and comets might happen ... or that asteroid which might kill us.

      I'm a professional astronomer, who occasionally needs to time things to sub-second precision over multiple years - and the leap second is, to me, nothing but a pain in the arse. Let's run down your list:

        * "navigation" - No one navigates by the sun and stars any more - at least, certainly no one who needs sub-second precision.

        * "timekeeping" - Atomic clocks keep time irrespective of the sun.

        * "eclipses" - Eclipses don't care whether the sun's at the meridian or not: they only care about the relative position of the sun and the moon, which you can calculate perfectly easily with an arbitrary time standard.

        * "sun flares" - Solar flares don't care whether the sun's at the meridian or not.

        * "high tides" - The sun makes a small contribution to the tides (which are dominated by the moon), so the leap second *does* help you keep track of this contribution - but who the hell needs to know the high tide to the nearest second?

        * "comets" - Comets don't care if the sun is at the meridian or not.

        * "that asteroid which might kill us" - That asteroid doesn't care if the sun is at the meridian or not - but there *is* a chance that someone might miscalculate its orbit and not realise that it's going to kill us, because there was a bug in their code dealing with leap seconds.

      So, this is something that genuinely puzzles me: who actually *wants* leap seconds? You seem to think that I should want them, but I certainly don't.

    17. Re:This is stupid ... by Kjella · · Score: 2

      At noon, on the day of a solstice or an equinox, the sun is in a known position in the sky. We use it for important things like navigation and timekeeping, and knowing when the hell things like eclipses, sun flares, high tides, and comets might happen ... or that asteroid which might kill us. It's a real physical property, which we kind of need to keep track of. It's NOT some thing you can say "oh, well, what does it matter if you're off by a couple of days?".

      But we're not talking about days. There's been 26 leap seconds in 43 years, we're talking about a drift of roughly one minute per century. For most things being off by a minute or two wouldn't matter and if you know 12:01 = 12:00 a hundred years ago it might be easier to correct for that. While leap seconds keeps us in sync with reality, it means that if you want to do something every X seconds you can't just rely on UTC and NTP because at some point it'll actually go X+1 seconds. And leap seconds take world-wide coordination because you have to know every six month whether to adjust the clock or not, it can't be put into an algorithm. Calculating the appearance of comets would actually be easier because they have a fixed period, whether the earth slows down or not.

      The only question is if we want a ton of small "discontinuities" in time, or if it's less stress to do set a much larger drift limit and pull a "y2k" for example once every 400 years where you add a "February 30th" that lasts exactly so long as you need it to last. And between those the day is 84600.00000000 seconds long, no matter what the big yellow orb outside says. We could instead publish drift numbers if you want solar noon, even every day. At this granularity the world is run by clocks, not by the sun.

      --
      Live today, because you never know what tomorrow brings
    18. Re:This is stupid ... by Archangel+Michael · · Score: 0

      GPS time actually doesn't exist, because clocks in orbit differ from clocks on the ground, due to Relativity. There is no "GPS" time, and in fact, the differences in time keeping between clocks is integral to how GPS actually works.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    19. Re:This is stupid ... by Anonymous Coward · · Score: 0

      the distance that the sun will be off from being directly overhead at the equinox

      That angular distance is pretty random because the equinox falls at an arbitrary time every year (see the this table). The point of leap seconds is rather to prevent a drift between our clocks and mean solar time. In particular, keeping mean solar noon at Greenwich close to 12:00:00 UTC.

    20. Re:This is stupid ... by ceoyoyo · · Score: 1

      If you're aiming a telescope, or a satellite dish, or computing an almanac, you care. The point of UTC is that it stays close to UT so that the people who need a time standard that's aligned with the actual rotation of the Earth have something to use. If you don't want to deal with leap seconds, there's already a standard for that. It's called International Atomic Time (TAI), and has been around since the early seventies.

    21. Re:This is stupid ... by Anonymous Coward · · Score: 0

      ATC doesn't require sub-second precision or accuracy. Perhaps coordinating computers does, but a well programed filter in STARS handles those errors graciously ... as we determined when we missed by an hour.

    22. Re:This is stupid ... by Anonymous Coward · · Score: 0

      So how would it be better if we had shifting timezones so you know when the working day starts?

      "I'm in Manhattan, and my Local Time Zone is +5h 12m 7s"
      "Well, I'm in Charlston, and my Local time Zone is +5h 56m 37s"

      Just so they go to work at 9am.

      Then four years later,

      "I'm in Manhattan, and my Local Time Zone is +5h 12m 8s"
      "Well, I'm in Charlston, and my Local time Zone is +5h 56m 38s"

      So that they go to work at 9am still.

    23. Re:This is stupid ... by petermgreen · · Score: 4, Informative

      Leap seconds are an artifact of our timekeeping system, and actual physical properties of our orbit.

      The latter we are stuck with but the former is something humanity has the power to change. There are basically three choices.

      1: Disconnect the civil time second from the SI second. Allow the civil time second to vary slightly to match the mean solar day.
      2: Allow civil time to drift relative to solar time
      3: Make periodic adjustments to civil time to keep it close to solar time.

      Each choice hurts different people. Choice 1 hurts anyone who needs to convert between civil time and "atom time". Choice 2 hurts people who rely on civil time as a navigational aid and future historians. Choice 3 puts a rarely excersised special case into computer systems leading to systematic failures.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    24. Re:This is stupid ... by Anonymous Coward · · Score: 0

      On the contrary, GPS time = TAI - 19s. They launched modified clocks in orbit so they wouldn't differ from clocks on the ground due to Relativity. Time-of-flight between satellites and you is how GPS actually works.

    25. Re:This is stupid ... by jbengt · · Score: 2

      There is a GPS standard time. I believe it is based on the Geocentric Celestial Reference System. (as opposed to the Barycentric Celestial Reference System that you may need for positioning beyond Earth orbit.)
      Anyway, if you don't like that, you could use the TAI (International Atomic Clock Time) instead.
      Leap seconds can be used for displaying time in UTC if you need to, while those that need a constant, uninterrupted tick of the clock could use TAI (or GPS) in the backend.

    26. Re:This is stupid ... by Xylantiel · · Score: 2

      Better yet, we need to FIX POSIX time not mess up UTC. Leap seconds are currently not representable in posix time.

    27. Re:This is stupid ... by tnk1 · · Score: 1

      Really, if anyone needs this sort of precision, they shouldn't be using calendar dates and times, they should be using epoch seconds or milliseconds. Then you can map calendar artifacts to a particular second all you want.

      Designate Jan 1 00:00 of each year as some specific second value and jitter to it. Or better, set certain dates of the year to less than a second and jitter to those.

    28. Re:This is stupid ... by Anonymous Coward · · Score: 0

      See, the problem is most people don't understand where our system of time keeping comes from or why it's important.

      The reason we adjust for leap years and leap seconds is our calendar is a close approximation to our orbital period ... but it's not exact.

      At noon, on the day of a solstice or an equinox, the sun is in a known position in the sky. We use it for important things like navigation and timekeeping, and knowing when the hell things like eclipses, sun flares, high tides, and comets might happen ... or that asteroid which might kill us.

      It's a real physical property, which we kind of need to keep track of. It's NOT some thing you can say "oh, well, what does it matter if you're off by a couple of days?".

      "Our clocks do not measure time. No, time is defined to be what our clocks measure." -NIST

    29. Re:This is stupid ... by Anonymous Coward · · Score: 0

      > It's NOT some thing you can say "oh, well, what does it matter if you're off by a couple of days?".
      Straw man. We aren't off by a couple days and nobody is arguing that days don't matter.

      We aren't even off by a minute since leap seconds came to be.

      For ALL the things you mentioned: navigation, timekeeping, eclipses, sun flares, tides, comets, leap seconds don't help us.
      These things happen regardless of our calendar or where the sun is exactly over head at 12:00:00.

    30. Re:This is stupid ... by AthanasiusKircher · · Score: 1

      If we don't bother with leap seconds, then the distance that the sun will be off from being directly overhead at the equinox is about the same as it is now from being a couple of hundred miles away from the meridian. A simpler solution to the problem would be to, every couple of thousand years, have a one-hour reset.

      Actually, the problem is worse than that (and shows the futility of the leap second system), because the earth is of course slowing down.

      So, while we now have to add a leap second every few years or whatever, eventually that will become every year, then two every year, and then the current system will break, because right now we're only allowed two leap seconds per year by the current standard.

      At best, adding up to two leap seconds per year will be able to keep up with the slowing earth for about another 200 years. If we added no leap seconds for the next 200 years, however, we'd only be off by maybe 5 minutes or so.

      So, the current system simply can't work for very long anyway. It's going to break well before we'd have gotten anywhere close to a need for a "one-hour reset."

    31. Re:This is stupid ... by Anonymous Coward · · Score: 0

      A full hour seems a little harsh to me. I'd recommend about 5 minutes. Should happen about every 500 years, and when you're talking about timezones, only 1/6th of the people in any given one are close enough to the center to be within 5 minutes of the middle anyways.

    32. Re:This is stupid ... by ceoyoyo · · Score: 1

      There are lots of things that depend on the position of the sun and stars to sub-second accuracy. Celestial navigation, pointing telescopes, pointing satellite dishes.

      I don't buy the objections to using UTC. If you can't code a safety critical system for leap seconds, you probably shouldn't be coding safety critical systems. Note that it hasn't been a big problem for the last thirty years, why is it now?

      If you REALLY can't deal with leap seconds, use TAI. That's why it exists.

    33. Re:This is stupid ... by karnal · · Score: 2

      What if the jitter routine has a bug in it? Is it then a jitter bug?

      --
      Karnal
    34. Re:This is stupid ... by ceoyoyo · · Score: 1

      I'll agree with you on the rest of the list, but I personally have navigated using the stars, requiring to-the-second accuracy.

    35. Re:This is stupid ... by ceoyoyo · · Score: 2

      GPS satellites report a time that is a strict offset of TAI, which is the standard that is designed for use by people who don't want leap seconds. GPS positioning depends on the precise position of points on the surface of the Earth underneath the GPS constellation, so although the satellites report a TAI-locked time, to actually determine your position you have to do a correction that's very similar to UTC, except with a granularity that's more like leap nanoseconds instead of seconds.

    36. Re:This is stupid ... by Yxven · · Score: 1

      Would you expand on this? It sounded like a reasonable assumption to me. If you're saying there are situations where it's not reasonable, it'd be nice to know what those situations are.

    37. Re:This is stupid ... by Anonymous Coward · · Score: 0

      But on 3, if you choose a number that's a reasonable size, like, say, 5 minutes, you adjust once every 500 years, but don't get the problem of Choice 2, because being off by an average of 2.5 minutes isn't going to significantly affect navigation/historical records. You announce the change like 20 years ahead of time, and sure, it will cause some bugs, but better bugs dealing with 5 minutes of stuff once every 500 years when you can massively plan for it.

    38. Re:This is stupid ... by knorthern+knight · · Score: 2

      A second used to be 1/86,400 of a mean solar day (e.g. high noon to high noon). A slowing day would mean a lengthening second, which would screw up measurements of basic physical constants, e.g. the speed of light.

      The current definition of a second is http://physics.nist.gov/cuu/Un...

      > The second is the duration of 9 192 631 770 periods of the
      > radiation corresponding to the transition between the two
      > hyperfine levels of the ground state of the cesium 133 atom.

      In theory, any sufficiently advanced research lab on the planet can duplicate this measurement.

      --

      I'm not repeating myself
      I'm an X window user; I'm an ex-Windows user
    39. Re:This is stupid ... by ceoyoyo · · Score: 2

      Reducing a sight in modern celestial navigation usually involves calculating the expected altitude of a target celestial body at a particular time at a particular place on the surface, noting the actual altitude of the body, then using the difference to determine your distance from the reference location. To do that you need to use a time standard that stays in sync with the heavens, or correct for the drift in one that doesn't. UTC is convenient because it's accurate to about a tenth of a second, as close as you could hope to measure by hand, and doesn't need overly frequent adjustment like UT1.

      An error of one second in reducing a sight translates to a positional error of around a quarter of a nautical mile, or about half a kilometre. As discussed here a while ago, celestial navigation is still an important backup for military and commercial shipping, as well as deep water private sailors who aren't idiots. A kilometre or two one way or another often doesn't matter, but sometimes it does. GPS, of course, also has to make the same corrections, although it uses finer grained ones than UTC does.

      If you're the OP, in regards to your original post, something I don't understand: if you're an astronomer who is noting the timing of astronomical events, why are you using UTC instead of terrestrial time: "a modern astronomical time standard defined by the International Astronomical Union, primarily for time-measurements of astronomical observations made from the surface of Earth?"

    40. Re:This is stupid ... by gumbi+west · · Score: 1

      Right, so then there's the question of why we give a fuck.

    41. Re:This is stupid ... by gumbi+west · · Score: 1

      Why not just keep a separate clock for these purposes and let the rest of us be?

    42. Re:This is stupid ... by gumbi+west · · Score: 1

      Reminds me of going to a conference at NIST with a bunch of engineers back when people had watches and didn't have cell phones. At some point everyone looked at the wall clock and thought, "OK that's what time it is... no wait, that's the actually what time it is. I'm going to set my watch." Lots of messing around with the wrist that day.

    43. Re:This is stupid ... by Bengie · · Score: 1

      If we don't bother with leap seconds, then the distance that the sun will be off from being directly overhead at the equinox is about the same as it is now from being a couple of hundred miles away from the meridian.

      How is that an issue? How does this affect humans on the other side of the Universe that need to have a unit of time defined as a "day"? We should use a unit of time that is useful for humans yet is not tied down to what is happening on Earth.

    44. Re:This is stupid ... by ceoyoyo · · Score: 1

      UTC IS the separate clock kept for those purposes. If you don't like leap seconds, set your clock to one of the half dozen time standards that don't have them.

    45. Re:This is stupid ... by jcdr · · Score: 1

      The current leap second system is still enough for many centuries and even several thousand of years is the leap seconds are allowed every months or weeks.

      Is you think about this more deeply you will realize that the best model will be to have what we actually call UTC defined in term of days counter since a epoch date and a second counter since the start of that day. This will allow to adjust periodically the day duration to the reality of the average earth rotation. Not only this model work with the earth rotation any time in his history, but it will work with any planets.

      But no matter what, programmer that can't directly use TAI only will have to deal with variable day duration and historical day duration table. At least it will be more easy to test because the difficult part occur every day.

    46. Re:This is stupid ... by jcdr · · Score: 1

      Yes this will make the programmer lazy about the problem and a big mess when the first change take reality. I largely prefer a model with a day counter and a time offset since the start of that day, so the day duration can be adjusted to the physical reality of the earth rotation. The advantage is that the programmer can test the day increment every night.

    47. Re:This is stupid ... by jcdr · · Score: 1

      1) Will lead to many more confusion between the two type of seconds.
      2) Will break the ancestral definition of time in all the civilization that ever existed.
      3) The only way and nobody is seriously make any other proposition. The discussion is how to improve it because the leap second is rare enough to make too many programmers not taking it seriously enough and testing is enough.

      So the solution is certainly not to make the adjustment more rare, but more often. My proposal is to define the civil time by a day counter and a offset since the start of that day. The day duration can be adjusted periodically to match the average earth rotation and the day increment will occur every night so the programmed need to be aware of it and can test it every night. As a bonus it will work on any planets.

  7. Has this actually affected anyone here? by JustNiz · · Score: 0

    Call me strange but I find it hard to imagine that a computer clock being a second off for a moment is anything but invisible to your average software developer/IT worker/server farm.
    I mean if your computer's clock is set up to sync with an NTP server every now and again, your system is probably already seeing corrections of that scale and more.

    1. Re:Has this actually affected anyone here? by Hognoxious · · Score: 1, Interesting

      It's never given me any problems.

      Then again, I'm not the kind of person who writes my own date/time validation routines because daylight saving is part of Agenda 21 and fluoride causes autism. I suspect it's them making most of the noise.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    2. Re:Has this actually affected anyone here? by Anonymous Coward · · Score: 0

      You're strange.

    3. Re:Has this actually affected anyone here? by rsborg · · Score: 1

      Call me strange but I find it hard to imagine that a computer clock being a second off for a moment is anything but invisible to your average software developer/IT worker/server farm.
      I mean if your computer's clock is set up to sync with an NTP server every now and again, your system is probably already seeing corrections of that scale and more.

      I would imagine that advanced scientific calculations as well as high-frequency-trading algorithms would be affected. Clearly the scientists can go fuck themselves, but I'm surprised that the needs of something as important as HFT has gone unheard in the WRC/ITC.

      --
      Make sure everyone's vote counts: Verified Voting
    4. Re:Has this actually affected anyone here? by Anonymous Coward · · Score: 1

      Yes, leap seconds ruined my first marriage.

    5. Re:Has this actually affected anyone here? by Anonymous Coward · · Score: 0

      You'd be surprised. A lot of crypto fails to validate if your time is different than the other person's.

    6. Re:Has this actually affected anyone here? by ceoyoyo · · Score: 1

      Why would a scientific calculation care about what time it is? Unless you're talking about astronomy, in which case astronomers have lots of time standards, and actually know how to use them.

  8. *I* can? Personally? by wonkey_monkey · · Score: 1

    You Can Look Forward To 8 More Years of Leap Second Problems

    I'm pleased to see others making this point, but personally I've never had any leap second problems, so I don't know who you're talking to, Mr Click-bait Headline.

    --
    systemd is Roko's Basilisk.
    1. Re:*I* can? Personally? by techno-vampire · · Score: 1

      I can't speak for anybody else, here, but I find the headline reassuring. I'm in my mid-60s and my health isn't too good (I take 27 pills per day, all prescription, plus insulin.) so the fact that I can look forward to being here for another eight years is good to know.

      --
      Good, inexpensive web hosting
    2. Re:*I* can? Personally? by wonkey_monkey · · Score: 1

      You can look forward to it. No-one said anything about looking back.

      (black humour aside, I hope you get to do both!)

      --
      systemd is Roko's Basilisk.
  9. first proposed in 2004, not resolved before 2024 by at10u8 · · Score: 2

    The first proposal to abandon leap seconds was presented to the ITU-R in 2004, and subsequent versions have been rejected for over a decade. It is evident that the usual process of ITU-R decisions is not capable of coming to agreement on the subject of leap seconds. It remains to be seen whether they will produce a new framework for studies which can produce an agreement in 8 years.

  10. Leap seconds are for LUDDITES. by Anonymous Coward · · Score: 0

    Modern app appers use APP seconds or APP apps, not LUDDITE leap seconds!

    Apps!

  11. How about fixing the systems? by virve · · Score: 1

    As I see it, this is a question about standardizing and implementing systems properly. Leap seconds are announced months in advance.

    It can't be such a big problem systems that handle this correctly.

    But then, daylight savings time still seems to give problems. Sheesh!

    virve

    PS. Anybody who knows about problems with leap days?

    1. Re:How about fixing the systems? by TheRaven64 · · Score: 1

      Leap seconds are announced months in advance

      i.e. with less warning than the revalidation time for a lot of safety-critical systems.

      Anybody who knows about problems with leap days?

      Well, aside from the Zune infinite looping...

      Leap days (which we call leap years, because consistency is hard) are predictable. Software written 40 years ago will have the extra days at exactly the same times and with exactly the same frequency that the designers thought that they would. You never have problems where some parts of a distributed system got the update and others didn't. Either the code is working, or it's broken. It's also really easy to test.

      --
      I am TheRaven on Soylent News
    2. Re:How about fixing the systems? by Anonymous Coward · · Score: 0

      > How about fixing the systems?

      How about fixing systemd, first?

      SCNR

    3. Re:How about fixing the systems? by laie_techie · · Score: 2

      Leap days (which we call leap years, because consistency is hard) are predictable. Software written 40 years ago will have the extra days at exactly the same times and with exactly the same frequency that the designers thought that they would. You never have problems where some parts of a distributed system got the update and others didn't. Either the code is working, or it's broken. It's also really easy to test.

      Actually, I wonder how much software written 40 years ago correctly calculates leap years. Every year divisible by 4 is a leap year, except for those divisible by 100, except those divisible by 400. How much software will consider the year 2100 a leap year because the algorithm was dumbed down to every four years?

    4. Re:How about fixing the systems? by virve · · Score: 1

      Leap seconds are announced months in advance

      i.e. with less warning than the revalidation time for a lot of safety-critical systems.

      Hmm., hopefully safety-critical systems are implemented so that they have provisions for leap seconds built in already. What should be needed is organizational procedures for setting the appropriate flag in time.

      Further, I would expect that many safety-critical systems are more concerned with elapsed time from some epoch (switch on, last firing of engine, last heart-beat) and less about civic(?) calender time (we meet on January 2nd, 2016 11:01:14 EST).

      Finally, in really hairy cases things should be referred to a simpler, monotonous scale (TAI or, yuck some domain specific scheme).

      virve

    5. Re:How about fixing the systems? by Anonymous Coward · · Score: 0

      I believe my calendar was programmed thru 2030 on my 70's system. Probably hardcoded in up til then. After that, you probably can't login and they expected you to buy a new system every 60 years!!! I assume it would have handled Y2K also but it was good excuse to update a 20-year old computer! (not that we gained much in the update)

      I'd turn it on and look but don't believe my wiring is up to the challenge...the HD alone is 1920 watts to spin up.

    6. Re:How about fixing the systems? by AthanasiusKircher · · Score: 1

      Every year divisible by 4 is a leap year, except for those divisible by 100, except those divisible by 400. How much software will consider the year 2100 a leap year because the algorithm was dumbed down to every four years?

      Actually, that rule is only true of the Gregorian calendar. Many countries have never officially adopted the Gregorian calendar, but rather use the Revised Julian Calendar, whose rules say that you only have leap years in centennial years when the year number/100 MOD 9 comes out to 2 or 6.

      (This was done because the Revised Julian algorithm produces a much more accurate approximation to the true year than the Gregorian calendar.)

      The Revised Julian Calendar and the Gregorian Calendar line up in their rules for now, but they will diverge in the year 2800. It seems unlikely that our political structures will survive until then with their different official calendars, but it does raise the question...

      Have you coded in preparation for the Y2.8k problem?

      (Actually, now that I say it, it sounds like some weird calendar problem in old modems....)

    7. Re:How about fixing the systems? by AthanasiusKircher · · Score: 1

      Sorry to self-reply, but I should clarify that I believe most if not all Western countries have officially adopted the Gregorian calendar. But a number of countries with strong presence of Orthodox Christians have official churches which have instead adopted the Revised Julian. There have been some politicians in these countries which have claimed the official calendar is not Gregorian...

      Obviously it's probably unlikely that anyone is going to care about this stuff 800 years from now. It's still an amusing bit of weird calendar discrepancies.

    8. Re:How about fixing the systems? by laie_techie · · Score: 1

      Sorry to self-reply, but I should clarify that I believe most if not all Western countries have officially adopted the Gregorian calendar. But a number of countries with strong presence of Orthodox Christians have official churches which have instead adopted the Revised Julian. There have been some politicians in these countries which have claimed the official calendar is not Gregorian...

      Obviously it's probably unlikely that anyone is going to care about this stuff 800 years from now. It's still an amusing bit of weird calendar discrepancies.

      The new calendar has been adopted by the Orthodox churches of Constantinople, Alexandria, Antioch, Greece, Cyprus, Romania, Poland, and Bulgaria (the last in 1963), called the New calendarists. It has not been adopted by the Orthodox churches of Jerusalem, Russia, Serbia (including the uncanonical Macedonian Orthodox Church), Georgia, Mount Athos and the Greek Old Calendarists. Although Milankovi stated that the Russian Orthodox Church adopted the new calendar in 1923, the present church continues to use the Julian calendar for both its fixed festivals and for Easter. A solution to this conundrum is to hypothesize that it was accepted only by the short-lived schismatic Renovationist Church, which had seized church buildings with the support of the Soviet government while Patriarch Tikhon was under house arrest. After his release, on 15 July 1923, he declared that all Renovationist decrees were without grace, presumably including its acceptance of the new calendar.

      Revised Julian calendar

      As you can see, it's been adopted by some Orthodox churches, but not any countries.

  12. You are all aware by nintendoeats · · Score: 1

    That sub-second syncronization is integral to the function of both GPS and the internet right? If we didn't account for relativistic variation in the timing of events between satellites and position on earth, GPS would completely non-functional. So yes, this is important. It simply isn't visible to the average user, even in IT. We don't need to deel with it because the low level programmers already have.

    1. Re:You are all aware by UnknownSoldier · · Score: 1

      > That sub-second syncronization is integral to the function of both GPS

      No. GPS does NOT use leap seconds.

      what-if xkcd #26 is actually on-topic for once.

    2. Re:You are all aware by nintendoeats · · Score: 1

      No, it doesn't. It is, however, an example of an area where this sort of thing matters.

    3. Re:You are all aware by ceoyoyo · · Score: 1

      GPS satellites report time that does not include leap seconds. But your GPS receiver has to make corrections to that time that are much more accurate than leap seconds to give you the correct position on the Earth's surface.

    4. Re:You are all aware by jcdr · · Score: 1

      GPS and PTP both broadcast TAI and UTC-TAI that sum up the past leap seconds, so your claim is not completely correct. I will add that GPS and PTP both lack a method to broadcast the leap second history table required to safely compute time in the past at the second precision. NTP need a major protocol upgrade to fix his multiples issues, or PTP need to be broadcasted as NTP is today.

  13. Horses for courses by elal1862 · · Score: 1

    If your system's incapable of proper leap second handling and major changes are considered too costly? Then quit barking up the wrong tree and switch to TAI! UTC-based time is intended for humans, y'know.

  14. We deal with DST fine, why are leap seconds harder by Anonymous Coward · · Score: 0

    Why is this such a big problem in the first place?
    We already have leap years. We even have DST, which is different in every country and the rules constantly change. Yet we manage just fine (aside from it being personally annoying). Why are mere leap SECONDS such a big deal?

  15. Good! 8 more years of time working correctly. by dwheeler · · Score: 2

    Good. 8 more years of time working correctly. The fundamental issue is that the Earth just doesn't care what our atomic clocks measure. If programmers want an exact time system without leap seconds, use TAI, that's what it's for. Most people in the world don't care if it's hard to code leap seconds. Instead, most people go outside occasionally, and they expect that 'noon' means approximately 'sun at highest point'. We can switch to some system other than leap seconds, but if we expect 'noon' to have its conventional meaning, then we need to agree on a system that does that.

    --
    - David A. Wheeler (see my Secure Programming HOWTO)
  16. Correction: 8 years minus 2.6 leap seconds by JoeyRox · · Score: 2

    Give or take a second.

  17. Re:Good! 8 more years of time working correctly. by AthanasiusKircher · · Score: 2

    Good. 8 more years of time working correctly. The fundamental issue is that the Earth just doesn't care what our atomic clocks measure. If programmers want an exact time system without leap seconds, use TAI, that's what it's for. Most people in the world don't care if it's hard to code leap seconds. Instead, most people go outside occasionally, and they expect that 'noon' means approximately 'sun at highest point'. We can switch to some system other than leap seconds, but if we expect 'noon' to have its conventional meaning, then we need to agree on a system that does that.

    Except that system is NOT UTC. The system where "noon" means "sun at highest point" is called UT1. UTC is the "smoothed out" version of UT1 that allows an error up to a second.

    Other than astronomers, nobody really cares about UT1. Nobody really cares about the 1-second error in UTC either when it comes to "noon." Heck, most countries shift where the sun is at noon twice each year to observe "daylight savings."

    The question is whether there is any practical benefit to keeping UTC within 1 second of UT1. People who really need UT1 already use it. People who don't generally don't care about that sort of precision for when the sun hits its zenith.

    SO -- what would happen if we just got rid of leap seconds for the moment and allowed UTC to drift for a while? We'd likely accumulate a few minutes of error over the next several centuries. Maybe when we get 10 minutes off, somebody might actually care that the sun isn't lining up, but that wouldn't happen for hundreds of years.

    And, you might say -- "BUT, BUT... we can't let that happen, because what about our systems in the year 2500 which will be running legacy code and will suddenly need to insert leap MINUTES! DISASTER!"

    No -- there would be disaster anyway. Because the earth is gradually slowing down, we'll begin to need more and more leap seconds as the centuries go by. By the time we get to the point that the collective error in UTC is enough for the average person to care where "noon" is, we'll already be to the point when two leap seconds per year probably won't be enough to keep us "on track," so we'll have to redesign the "leap second" system anyway as it's currently implemented.

    Thus, there's absolutely no good reason for leap seconds (at least in the current system). If you really care where the sun is, use UT1. If not, by the time the collective error builds up enough for anyone to care, it will be time to overhaul the time system anyway.

  18. itwbennett the new /. schill by b1ng0 · · Score: 1

    Come on Slashdot! itwbennett is the new nervals lobster schill on /. All of his posts link to ITWorld or cio.com, both owned by the same company. At least disclose these ties. We know Dice is hurting for cash to pay their execs their $1 million salaries but this is just ridiculous. You are alienating and losing your most loyal users and soon there will be nothing left.

  19. Wel, that's it, I'm comitting suicide. by Anonymous Coward · · Score: 0

    I just can't face the next eight years knowing that every now and then I will have to accept ANOTHER LEAP SECOND.

    I...

    I really can't...

    Sorry, I'm trying to hold it all together, but the terrible knowledge of this continuing tragedy that ruins countless lives worldwide will continue is hard to keep...

    No...

    That's it....

    I'm leaving.

    GOODBYE CRUEL LEAP SECOND WORLD!

  20. We are looking at this the wrong way... by Kojow777 · · Score: 1

    Rather than worrying about leap seconds all we really need to do is slightly alter the rotation of the earth to make it an exact 24 hour rotation. Problem solved.

    1. Re:We are looking at this the wrong way... by Anonymous Coward · · Score: 0

      Even with a perfect click, things still become unpredictable over time:
      "The world turns slightly faster and slower on a regular 5.9-year cycle, a new study suggests. Researchers also found small speed changes that happen at the same time as sudden alterations in Earth’s magnetic field.
      The world’s rotation speed can change slightly, by up to milliseconds per day, because of shifts in winds or the movement of fluid in Earth’s interior. Scientists can measure how fast the Earth spins by observing distant objects in space and timing how long they take to come back into view—that is one day length."

  21. Solutions by Anonymous Coward · · Score: 0

    "- news bulletin spending 30 seconds to announce a leap second, times the number of listeners"

    Solution: stop pretending there's a problem and telling everyone what they don't notice and don't need to know

    "- time spent by people discussing it"

    Only happens because some whiner complains about it happening. Stop complaining. Solved.

    "- time spent by developers coding workarounds"

    Libraries already written to do it. Stop writing your own.Solved.

    "- time spent by developers firefighting server crashes due to leap seconds"

    See "time spent" above. Also if they'd ACTUALLY spent that time, surely they won't have it crashing. Solved by above.

    "- customer time wasted because a system was unavailable due to a crash"

    Given that it crashed because it was an incompetent programmer who

    a) wrote their own
    b) wrote it wrong
    c) spent time debugging it and writing MORE code to get it STILL wrong

    I think they'd be wasting time because the system was unavailable due to a crash when there isn't a leap second. Moot. Solved by above.

    And the last three were all the same "count". Triple-dipping?

  22. Re:Good! 8 more years of time working correctly. by Xylantiel · · Score: 1

    I agree. The problem is not UTC or leap seconds, it is that POSIX time ignores the existence of leap seconds. The more appropriate fix to me would be to redefine POSIX time as TAI. Or more accurately obsolete POSIX time so programmers are forced to choose between TAI and UTC. Who would ever have tried to convert from posix time to year/month/day/hour/minute without a library anyway?

  23. Yes, those want accurate time. by Anonymous Coward · · Score: 0

    But they only need accurate RELATIVE time. It does not matter if your HFT was done 7:32:12.244101 or whether it was done 7:32:13.244101. Leap seconds don't make a difference when you're looking for an interval, and THAT is what those advanced scientific calculations are looking for.

    What DOES matter is lazy assholes making money from HFT who need their trade down in a form they "recognise", not as "seconds since epoch", which CAN be monotonic and unaffected by leap seconds; every second goes by and adds one to the "seconds since epoch" whether it is leap or not.

    But that is "confusing" and they don't want it.

    So, no, neither of your ideas are valid about leap seconds.

  24. I'll actually answer that query. by Anonymous Coward · · Score: 0

    Leap days, but mostly DST, are getting YOU, the worker, to conform to the business practice of working 9-5 (plus unpaid overtime, of course). It ensures you get into the mindset of doing what the business tells you. A thousand workers all changing their clocks just so the company employing them doesn't have to change their opening hours sign on the front door.

    However, each change of a leap second is businesses having to change their processes, if they constitute printing the date and time out and were written "in house". This makes business change at the behest of others. Worse, scientists, not MBAs. WORSE STILL, those dumb geeky moron "ASTRONOMERS". Hell, if it were the ASTROLOGERS doing this, they would at least get listened to. After all, US presidents have had Astrologer advisers. Not one AFAICT had an astronomer adviser.

    So that's why.

    DST: informs you you are a servant of the business.
    Leap Days: no change to business practices.

    Both fine.

    Leap seconds: isn't driven by business demands.

    TERRIBLE ATROCITY YOU HAVE TO SUFFER PROBLEMS FOR!

  25. Re:gstoddart is stupid ... by Hognoxious · · Score: 1

    There is basically nothing that depends on the position of the sun in the sky to that level of accuracy

    I own a sundial factory, you rotten bastard. What will my workers do if I fire them? The buggy whip manufacturers sure aren't hiring, not in this town.

    And what about my kids, I put their college fund into developing ones with luminous dials.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  26. Re:Good! 8 more years of time working correctly. by plcurechax · · Score: 1

    If programmers want an exact time system without leap seconds, use TAI, that's what it's for.

    No, it is not intended for programmers (as a monotonic clock without daylight savings and leap seconds), or as an alternative to UTC. The TAI, International Atomic Time, is a time standard based on the coordination of approximately 400 atomic clocks from government labs around the world (50+ counties). It has never been intended to be a time standard for general usage.

    Universal Time (UT) in its several variants (UT0, UT1, UT1R) are more likely to be appropriate, but UTC is still the best solution for being a time standard used as the basis for legal definition of time.

    Just as programmers have been repeatedly chastised for making short sighted assumptions about only storing the final (two) digits of the year, as well as making errors about leap years by hand coding checks rather than using well tested libraries, using everyday approximations and assumptions (e.g. every minute is 60 seconds, or assuming a year is 365 days) causes serious problems in many areas of programming not just with time, dates and calendar.

  27. You are confusing sidereal and solar days by Sheldon_Cooper_1 · · Score: 1

    The reason we adjust for leap seconds is that the speed of the earth's rotation 1) isn't exactly 360 degrees in 86400 SI seconds and 2) changes over time, so it's not even a fixed value close to 360 degrees in 86400 SI seconds.

    The earth rotates approximately 360 degrees in one sidereal day. But since the earth is orbiting around the sun, it needs to rotate approximately 361 degrees per solar day. The leap second is not to account for this difference. The leap second accounts for variation in the mean solar day relative to the average mean solar day when the standard second was established.

  28. Megalithic Units by Anonymous Coward · · Score: 0

    What if it turned out that the worlds original Measurement System was actually the most practical?

    The Megalithic System seems to be a built-in ratio system for the Earth, based on 366 degrees. It is almost intuitive. If Earth.exe=Sims.exe, the Megalithic Yard would be the Measurement System that was designed to be used within the .exe...maybe, as a metaphor?

    Yet, it seems that when it comes to 'dividing time', the 366 degree system makes the most sense.

    Thomas Jefferson, on his own accord, reproduced the Megalithic System, and attempted to make it the Measurement System of the US... under a different name, of course, since he was not familiar with the original system; he simply rediscovered it.

    I am short on time, but feel free to do a few google searches about these concepts. There are a ton of great books and resources... and of course, mathematical breakdowns that show how it all works. The Jefferson-Megalithic story makes for good reading, for any nerd!

  29. Re:Good! 8 more years of time working correctly. by ceoyoyo · · Score: 1

    How do you know about the difference between UT1 and UTC, and not know that your hypothetical non-leap second corrected time standard has existed for more than forty years and is called TAI?

  30. This is an OS & application problem by chaoskitty · · Score: 1

    If the OS and / or applications can't handle a leap second, then it should be fixed. Nothing should ever be changed to make up for the shortcomings of bad code.

  31. RFC 8675309 A Better Calendar by Anonymous Coward · · Score: 0

    We need to switch to a better calendar.

    13 Months
    28 Days
    1 New Years Day (Winter Solstice)
    =======
    365

    Plus 1 Leap Day approximately every 4 years (Day After Winter Solstice)

    The benefits?
    -7 day weeks fit perfectly into 28 day months. Sunday would be the same day every month. So would holidays such as Thanksgiving, Independence Day, etc.
    -No need to ever change the calendar.
    -Paid twice per month, or every other week? Same difference.
    -Is rent the same for February (28 days) as it is for March (31 days)? Not if every month is the same.
    -Bye-Bye to "30 days has November..."
    -Rename the months while we are at it. Screw the Caesars.

    1. Re:RFC 8675309 A Better Calendar by gumbi+west · · Score: 1

      I had a friend once propose this without the additional day. I pointed out that the number of days in a year was odd and she gave up. I like your addition.

      One issue: New Years is not a day of the week in your plan.

    2. Re:RFC 8675309 A Better Calendar by jcdr · · Score: 1

      I think we need to switch to a day counter and a offset since the beginning of that day to match the physical reality of the earth rotation.

  32. Re:Good! 8 more years of time working correctly. by davidwr · · Score: 1

    Bad. 8 more years of time not working correctly. The fundamental issue is that the atoms in the atomic clocks just doesn't care what the Earth measures. If non-programmers want to know when the sun is overhead, they can go outside and look at it.

    There, fixed^H^H^H^H^Hbroke that for you. :)

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  33. Don't Use UTC by Greyfox · · Score: 2, Interesting

    So just don't use UTC. The POSIX group only said "UTC" instead of "GMT" because they didn't know they difference and they thought saying "UTC" made them sound cooler. A lot of companies put it in their specs for the same reason. They're all like "Ooo we're all technical because we're using UTC!" Then you ask them if they're really using UTC or GMT and they ask you what the difference is. The only people it really matters for is NASA, and they convert from a well known time system to another well known time system as they need to. Most programmers just need to know the number of seconds since Midnight, Jan 1, 1970, GMT, as God intended.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:Don't Use UTC by subreality · · Score: 2

      Are you sure YOU know the difference between UTC and GMT?

      It's not that UTC sounds cooler... It's what we actually use. UTC ticks based on atomic clocks and it's what's distributed through NTP. GMT (really UT) tracks Earth's rotation, doesn't have a stable second, and there are no high-precision realtime references.

      Most programmers just need to know the number of seconds since Midnight, Jan 1, 1970, GMT, as God intended.

      time_t doesn't count the number of absolute SI seconds since the Epoch: it assumes days are always 86400.0 seconds long, and completely ignores leap seconds... even worse, before 1972 they used sub-second leaps, so the offset isn't even an integer.

      So, all told, why not refer to it as UTC since that's actually correct?

    2. Re:Don't Use UTC by Greyfox · · Score: 1
      Well the major languages I looked at (C, Java, Perl) just ignore leap seconds, as does the POSIX standard. If you ignore leap seconds, you're not UTC and saying you are is incorrect. Maybe you're actually just TAI, but probably not since the language APIs don't know about SI seconds and work on the assumption that there are 86400 seconds in a day. But since it's a linear timescale, I can at least convert to and from another one when doing astronomical calculations.

      I haven't checked but I suspect the situation is as bad on the Microsoft side of things, given that those guys still completely fail at DST adjustments on a regular basis. It's difficult to imagine them getting the occasional extra second every now and again correct. And really this situation would be fine except that everything always seems to break whenever anyone actually tries to use NTP to handle it correctly.

      So if I have a hypothetical database of satellite locations that are a month old and the spec calls for them to be stored in UTC, it immediately becomes impossible to correctly plot their locations on a map. Especially since the spec for the inputs also says UTC but the identifier in the file always indicates "Zulu Time". Which I believe is just GMT. So you already have a 26 or so second probable error putting the coordinate into the database (~15 miles off the satellite's location) which will only get magnified if anyone else between you and the database tries to do leap second accounting again. This is kind of a problem if you're trying to hit a target within half a meter on the surface of the Earth with a "Laser." You'll be aiming at Saddam and accidentally hit a French embassy. Entirely hypothetical example.

      Of course, if you start needing sub-second precision (Say, for targeting a femtosecond "laser" at the surface of the earth,) you might need to start thinking about relativity, since your atomic clock on your satellite will drift from your atomic clock for your ground station at sea level, even though both of them only ever lose a second about once every few trillion years. And they'll both be correct. Then you start to realize that the universe is just some poorly-written n-dimensional graduate student's thesis project, demonstrating how to convert hydrogen into plutonium, and retire to a profession where you don't have to deal with any span of time shorter than a season.

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  34. I wish they'd ditch daylight savings time. by Ungrounded+Lightning · · Score: 2

    Do you have any IDEA what a mess Daylight Savings Time makes of things like programs for process control and scheduling - and has at least since I did software for it back in the late '70s

    Heck: For far longer than that. I hear the railroads handle it like this:
      - In the spring, suddenly all the trains are an hour late. They work their way back to being on-time as they normally would - by running as fast as is practical.
      - In the fall they STOP FOR AN HOUR. They just sit there with their engines running...
    It's just easier than trying to figure out something "better" to do about it.

    The claims that it saves energy are currently backward and getting more so. They may always have been, or it may be because lighting is more efficient (so the savings is small) while air conditioners are far more prevalent (and run more if people get home earlier).

    Meanwhile it increases death rates: From DST-lagged drivers just after a change, from kids getting hit going to school in the dark on more days, from stress-related diseases exacerbated by the stress of the time change.

    It also was a big factor in killing drive-in theatres.

    If the government MUST twiddle with the clocks seasonally they should set them the OTHER WAY, creating Night Life Savings Time. We ALREADY have a shortage of dark time for evening recreation in the summer. Why take another hour away by shifting the clocks? Add one instead.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  35. That is NOT reasonable, however by Anonymous Coward · · Score: 0

    What it IS is saying "Well, fuck those people in the future, THEY can do a much much bigger change and fuck things up royally (vastly more things would be problematic on a several-minute change that gets rolled out at a different time around the world than when it's a one-second change), just so long as *I* don't have to do anything".

    Why the fuck is it fine to pass the buck 500 years? Here's an idea: we put in your "leap 5 minutes" sometime this year. That means for the next 1000 years, nobody else has to do the work to update all clocks in the world!

  36. Re:first proposed in 2004, not resolved before 202 by jcdr · · Score: 1

    It's not the usual process of ITU decision that is the cause of the rejection. The cause is the fact that the proposition itself is stupid and make the problem even worst. To be certain that the programmers take seriously the fact that the duration of day is variable the adjustment code path must occur more often. The most effective way will be to define the civil time by a day counter and a offset since the start of that day. The day duration can be adjusted periodically. The programmed will know that the day is not 86400 second and the day increment code path will be tested every night.