Slashdot Mirror


Leap Second May Be On the Chopping Block (ieee.org)

szotz writes: The days of 61-second minutes may be coming to an end. The World Radiocommunication Conference is meeting for nearly the entire month of November, and one of the hot-button issues is what to do about the leap second. The addition to UTC is supposed to keep atomic time aligned with Earth's rotation, but past leap seconds have caused server crashes, and some are worried that future problems could be even worse. Going into the conference, it doesn't look like there's much of a consensus on what to do. One official is expecting weeks of debate.

291 comments

  1. It's not the Earth's fault by plover · · Score: 5, Insightful

    So people write crappy code and rely on it without adequate fault tolerance strategies and that's somehow the problem of people who measure time? I think not.

    --
    John
    1. Re:It's not the Earth's fault by Anonymous Coward · · Score: 2, Insightful

      There will certainly be lots of problems if and when software is required to cope with relativity of time.

      But, whenever that does happen, it is certain there will be people complaining the old code is crappy because it does not take the necessary details into account.

    2. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      It's not really about fault. People are going to continue to write bad code, especially for an event that happens only every few years and is just going to continue to happen.

      The question is, why do you need a leap second, specifically? It's just not that important that the time be less than 1 second. Obviously we need SOME method to adjust the time the be in line with the sun, but there's no good reason it has to be only be within a second. Switching to a leap minute would delay the problems greatly, and give enough time to plan.

    3. Re:It's not the Earth's fault by rainmaestro · · Score: 5, Interesting

      This is a large part of the problem. More often than not these issues stem from people trying to roll their own time handling code / int'l address code / i18n / etc rather than using one of the standard (and well-tested) libraries available in their language.

      Time is hard to get right, addresses are hard to get right, i18n is hard to get right. Don't roll your own. There's a thousand edge cases you haven't accounted for.

    4. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      If that is your stance, then what is the problem of adding 1 second? If 1 second makes no difference, why do you have to not have :59 :59 :00? You've only added one second duration to the one second.

      Oh, maybe one second DOES make a huge difference.

      Shall I tell you the REAL reason for this?

      Wall Street High Frequency trading.

      Changing the time REALLY fucks up HFT because you can not "prove" someone made a bid 150ns earlier when the two systems may change the time of the second with a higher latency than that.

      And that's big money for those with big money (who are the only ones who can afford co-location).

      If it's a problem for them, it's a problem that MUST BE FIXED. Their money relies on it!

      HFT is why there's the bitch about DST changes or leap day/second.

    5. Re:It's not the Earth's fault by uncqual · · Score: 1

      Switching to a leap minute would delay the problems greatly, and give enough time for everyone to retire before having to address the issue.

      FTFY

      --
      Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
    6. Re:It's not the Earth's fault by CreatureComfort · · Score: 1

      In reality, the solution should be the opposite of what the OP suggested. There should be leap microseconds added throughout the year, as necessary.

      Come up with a standard. Implement it at the OS level, which shouldn't be that difficult. Then everyone will forget about it, because no one will ever notice at a macro level the addition of a microsecond here or there.

      --
      "Unheard of means only it's undreamed of yet,
      Impossible means not yet done." ~~ Julia Ecklar
    7. Re:It's not the Earth's fault by omnichad · · Score: 1

      HFT may help make the market more fluid, but it's also not the primary reason that stocks exist. Just block all trades 5 seconds before and after the leap second. It's fair to everyone, and 10 seconds of not being able to trade should not be a big deal.

    8. Re: It's not the Earth's fault by martin0641 · · Score: 2

      Except that then nothing can be accurately measured. It might fool the humans, but if you need a timer to go off with precision it's hard to make that happen if you are adding microseconds to the time just so fix the time relative to a rock slimming around a ball of hot gas. Sometimes 60 seconds really needs to be sixty seconds.

    9. Re:It's not the Earth's fault by 0123456 · · Score: 2

      This is a large part of the problem. More often than not these issues stem from people trying to roll their own time handling code / int'l address code / i18n / etc rather than using one of the standard (and well-tested) libraries available in their language.

      Uh, no. Not in the least.

      Most of these issues stem from operating system bugs which are only triggered by leap seconds, which can't easily be tested before the leap second happens. We had to get special firmware from our GPS manufacturer to get it to send out NTP packets that simulated a leap second, so we could do that.

      And even when you have backup systems, they fail at the same time, because the leap second happens everywhere at the same time.

      They're a freaking disaster, and anyone who cares about them can deal with them in their code, rather than forcing everyone to deal with them.

    10. Re: It's not the Earth's fault by aaron4801 · · Score: 5, Insightful

      One 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 caesium 133 atom."
      Everything else is derived off of that. Why does one minute every few years have to be redefined just to keep "one day" relatively constant? They've effectively got two units of measurement that conflict with one another. We let "one year" drift enough that it only needs to be corrected once it's off by a whole day. Why not let those seconds accumulate and have a second leap day every hundred thousand years or so?

    11. Re:It's not the Earth's fault by plover · · Score: 1

      This is a large part of the problem. More often than not these issues stem from people trying to roll their own time handling code / int'l address code / i18n / etc rather than using one of the standard (and well-tested) libraries available in their language.

      Time is hard to get right, addresses are hard to get right, i18n is hard to get right. Don't roll your own. There's a thousand edge cases you haven't accounted for.

      That may be fine advice for time formatting and time stamp storage routines, but how a system should behave when it's reference time is altered is a business logic decision. I might be working on a response time routine for approving credit, while you might be working on lag time between players in a FPS game; neither of which is a problem that's solved in a library. And if you think that Kerberos and LDAP systems handle this stuff properly today, you're also in for disappointment.

      Some of this stuff still needs answers. Trying to ignore reality by chopping out leap seconds isn't the right one.

      --
      John
    12. Re: It's not the Earth's fault by doublebackslash · · Score: 1

      If you are doing precision timing it would be wise to not use wall time. Wall time is adjusted on an ongoing basis on computers using NTP. Many times this is done by adding or subtracting microseconds smoothly, 'slewing' time so it is monotonic and all that, but that means wall time is only accurate in the long run, not at any particular moment.

      What you'd want is something that has a fixed timebase which is trained to the wall clock but doesn't correspond to adjustments to the wall time. I'm not sure as to all the details, but something like this:
      http://linux.die.net/man/3/clo...
      CLOCK_MONOTONIC
              Clock that cannot be set and represents monotonic time since some unspecified starting point.

      --
      md5sum /boot/vmlinuz
      d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
    13. Re: It's not the Earth's fault by ModernGeek · · Score: 1

      This is why you should always store timestamps as seconds past January 1, 1970 UTC. In this event, nano seconds.

      --
      Sig: I stole this sig.
    14. Re: It's not the Earth's fault by JesseMcDonald · · Score: 1

      Why not let those seconds accumulate and have a second leap day every hundred thousand years or so?

      Because for about half of those hundred thousand years, the gradual drift would mean that noon occurs in the middle of the night.

      Leap days results in a difference of up to one day, with noticeable seasonal changes occurring on the order of at least a month. Correcting by a full day to account for discrepancies in the length of the day would mean being off by up to one full day-cycle. That's not something you can easily ignore.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    15. Re:It's not the Earth's fault by doublebackslash · · Score: 1

      I feel as though it would be wise for the markets to move to another timebase, such as the one used by GPS (TAI if I recall correctly)
      It has a correspondence with wall time but it doesn't change to match wall time, the difference is merely changed when a leap second is added (or taken away, which has not happened).

      I presume that if they don't use a timebase such as this it is for historical reasons, but I'd be curious to know!

      --
      md5sum /boot/vmlinuz
      d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
    16. Re:It's not the Earth's fault by SvnLyrBrto · · Score: 1

      So, why not just make the leap second change when the markets are closed? We change to/from DST in the wee hours of the morning on the weekend.

      (Now, daylight savings time... THAT is something that should be abolished.)

      --
      Imagine all the people...
    17. Re:It's not the Earth's fault by invid · · Score: 1

      That's why we need to forget about basing our time on the motion of the Earth around the Sun and switch to Coordinated Pulsar Time.

      --
      The Moore-Murphy Law: The number of things that will go wrong will double every 2 years.
    18. Re:It's not the Earth's fault by Anonymous Coward · · Score: 1

      Yes, like MS handheld failed to handle a LEAP DAY, correctly. They were off line for day.

      Leap seconds are nothing to break over. Failed servers are failed programmers and QA testing. MY equipment been using NTP for years and years. The NTP stack is written so well that even if the time is off, it corrects it just like it got off, a little at time (drift) so higher level code does not see the drift. No skips in time (missing or counting twice).

      In the 80's had a great conversation with Naval Observatory about Tick and Tock. We talked about everything including "Is Midnight the first or last instance of the day". What it came down it was both!. The idea of 0:00:00 - 23.59.59 (some time :60) was because of the company in Colorado that built the atomic clocks made the choice. It was NOT based on ANY treaty or standards body, since it be codified. The reason this was meaningful in the databses of the day, we did not have null for a numeric field, so time from 0:00:01 to 24:00:00 worked better, so 0:00:00:meant no entry. We also used 24:00:01 to 48:00:00 as valid for system controlled time. This was because the business day did at align with the calendar day. So a posting after midnight but before business day change would keep the clock going, so the order of records in time would be correct. Our routines that then displayed the time would make the adjustment.

      Also one error we had at the time was the spedd of the equipment. Doing interfaces I saw regularly a failure at midnight. The interfaces would start to retrain. Found the failure in the in OS. I wrote a program to start running at 23:59:50 and stop at 00:00:10. It just read time in ar hard loop (with date total 14 digits), and if it was different write it to disk, via 10KB buffer, so was CPU speed. When I looked through the file, this was what I found:

      23:59:59 198x-xx-xx
      24:00:00 198x-xx-xx
        0:00:00 198x-xx-xx
        0:00:00 198x-xx-yy
        0:00:01 198x-xx-yy

      So 24:00:00 was the last instance and then steps backward in time by a day, during the carry before date is updated by 1 day. So 0:00:00 is the first instance of the day. I rewrote the program to also get timer ticks (8.192 microsecnds per tick). And found that all this happened in 1 timer tick. So I had to adjust our time processing to "not see" the one day step backwards. Compare is current "is grater than" prior, not just "not equa tol". :)

    19. Re:It's not the Earth's fault by dcollins · · Score: 1

      "But I'm smarter than other people, it'll be easy!", they all say.

      --
      We know where leadership by an anti-intellectual "strongman" who scapegoats minorities and likes boisterous rallies goes
    20. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      It's very hard to write perfect code and practically impossible to expect all component providers to do so.
      I witnessed a cluster of JBoss application servers hang themselves pretty hard last summer, forcing multiple restarts, one by one. If major providers can't get it right, how can small teams?

    21. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      So you'd prefer computers crashing possibly 1 million times a year, rather than once?

      These programs crash because they weren't written to deal with a non-continuous time system. Making it LESS continuous would make them less stable.

    22. Re:It's not the Earth's fault by pla · · Score: 1

      (Now, daylight savings time... THAT is something that should be abolished.)

      Funny, my first thought as well. We have something that actually serves a useful purpose, leap seconds, and we may get rid of them because a few niche uses of time don't deal well with them... But we keep a historical abomination that wastes energy (exactly contrary to its original goal), provably kills people once a year (25% increase in heart attacks the day following the start of DST), and causes billions of dollars in lost productivity due to having the entire population effectively jet-lagged for a week twice a year???

      Personally, I say do away with all three at once. Three, you ask? Throw "time zones" in there as well. We only care about leap seconds and DST in the first place because we want solar noon to fall relatively near local noon. Throw out that one bizarre requirement, and all the rest of this crap becomes a moot point.

    23. Re:It's not the Earth's fault by PopeRatzo · · Score: 1

      That's why we need to forget about basing our time on the motion of the Earth around the Sun and switch to Coordinated Pulsar Time.

      Too complicated.

      I'm living on Tulsa Time

      --
      You are welcome on my lawn.
    24. Re:It's not the Earth's fault by angel'o'sphere · · Score: 1

      Can you describe such a bug?
      I find it hard to believe that a leap second can crash any computer.
      What should be the difference when NTP tells me it is time X and my clock was off one second, or it tells me it is time X and my clock is off one second because of one leap second?

      Unless I get time synchronizations from the outside, I would not even know the rest of the world leaped one second forward.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    25. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Seems to me leap seconds are part of the physical world and a fact of life. The firmware is inadequate. 'But it's hard' isn't really a counter to that.

    26. Re:It's not the Earth's fault by angel'o'sphere · · Score: 1

      Throw out that one bizarre requirement, and all the rest of this crap becomes a moot point.
      So when travelling from A to B, instead of asking/figuring how you have to adjust the clock, you are asking how much you have to adjust *yourself*?

      What does it mean that we have a meeting at 0:35 ? When is actually the sun rising? And when I'm supposed to be in my office? When do we usually go to lunch? Ah, around 15:35? So the meeting at 0:35 is not even at the "same day"?

      Luckily you are not one of those idiots writing time related libraries ...

      How old are you?

      How old are the time systems on earth, hu? Do you really think if your proposal would simllify anything we had it not established thousands of years ago?

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    27. Re:It's not the Earth's fault by reanjr · · Score: 1

      You mean like when they created time zones just for the rail industry?

    28. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Actually. I would propose the opposite. It's not the software that is in error, but the people who designed a time keeping system where the current time jumps around in nonsensical ways that have nothing to do with reality, and throws all kinds of assumptions out of the window. In reality, time moves forward at a fixed speed, all the time. It does not stop, nor does it skip forward or backward.

      A second is a second. A minute is 60 seconds. etc. etc. As soon as you start jumping around time and changing these rules willy-nilly, you end up with the clusterfuck of time keeping bugs and quirks we have today, and somehow, all software in the world dealing with time in any way is just supposed to deal with that.

      If you don't like the fact that currently seconds and minutes and days don't accurately align with the movement of the earth, or the sun, then maybe you should have simply defined your timekeeping system/calendar correctly in the first place, maybe you should design a new one, hopefully this time one that makes sense.

    29. Re:It's not the Earth's fault by bluefoxlucid · · Score: 1

      if (datetime1 + datetimeobject(days=1) = today) {}

    30. Re: It's not the Earth's fault by Anonymous Coward · · Score: 0

      I'm living in a time cube.

    31. Re: It's not the Earth's fault by msauve · · Score: 1

      Regarding timing - sometimes it's desired that an event occur x seconds in the future, other times it's desired that an event occur at y time in the future. They're two different things, and need to be handled differently. Either can be handled with proper UTC timekeeping.

      But, if time is important, stay far, far away from anything defined by POSIX. Those idiots defined system time as a count of seconds in an epoch (since 1-1-1970), and ALSO defined a day to be 86400 seconds. So, in their own words "in POSIX time (seconds since the Epoch), leap seconds are ignored".

      That is the root cause of problems, not the leap second. POSIX simply does not handle UTC, which is a real world need.

      And, instead of fixing their mess, they want to redefine UTC and break it, too.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    32. Re: It's not the Earth's fault by GoRK · · Score: 1

      This is not necessarily true. It largely depends on how the rotation of the Earth might change over the next hundreds of thousands of years. We have only been running with leap seconds for a bit over 30 years. And we have only had the ability to measure the orbital period accurately enough to worry about seconds for about 100-150 years. Just because we have always "lept forward" in the current system, we can also leap backward. There is simply not enough collected data to know how far "off" our definition of the second is with respect to the history of the earth nor how much "jitter" we are likely to experience with an unadjusted clock. It's entirely possible that the error would never accumulate enough to be a big societal issue. If we are able to determine the average length of a year over a large time span more accurately, it's quite probable that the easiest fix might actually be simply to redefine the second.

    33. Re:It's not the Earth's fault by jandrese · · Score: 1

      The classic case is when you have a computer with an event loop and the leap second causes the timing to get messed up on the loop causing a double event or sometimes freezing it entirely. There were a number of websites that crashed during the 2012 leap second, including some airline ticketing systems. The 2015 event seemed less dramatic overall, but there were still a few reports of crashes.

      Google implemented an interesting strategy in 2015. They simply drifted their clocks over a 12 hour period instead of making the jump at once. This avoided the potential crash issues at the cost of being less than a second out of sync for half a day. Overall it seemed like a success and I kind of hope the IEEE mandates it for all clocks for the next leap second.

      --

      I read the internet for the articles.
    34. Re:It's not the Earth's fault by RabidReindeer · · Score: 1

      The problem with that is that leap seconds aren't a regular adjustment, they're arbitrary "bumps" because the earth's rotation isn't 100% constant. Gravitational effects and earthquakes have been held to blame in particular. So you can't do like you do with Leap Year and come up with a simple formula. Yes, the day isn't an integral number of seconds long, but that's only the starting point.

      That's unfortunate, because it means that there's no mathematical way to get sub-minute time differentials between different dates, and worse yet, no way to allow for future calendar adjustments.

      Of course, the massive dislocations that we willingly inflict upon ourselves twice a year is no one's fault but our own.

    35. Re:It's not the Earth's fault by lgw · · Score: 1

      Leap seconds serve no useful purpose unless you're an astronomer (and they keep their own time anyhow). We have leap year anomalies every 100 and 400 years anyhow, might as well add a full hour to one of those existing exceptions where needed.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    36. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Well, he got the whole correlation backwards. We moved to time zones because we wanted local noon to fall somewhere in the neighborhood of solar noon.

      The whole need to worry about that happened with the advent of trains, when it became *very* important to know what time it would be, to avoid having two trains on the same length of track at the same time (especially when traveling in opposite directions on said track). It became *very* important to ensure that you could convert from one local time to another accurately, precisely, and consistently.

      Prior to that, noon was, quite simply, the time of day when the sun was at its highest point for the day no matter where you happened to be. Back then, local times were coordinated quite simply by the town clock, which would ring bells every hour. If you were out of range of the sound of the bells, you generally made arrangements to meet based on celestial events (dawn, noon, dusk), and/or left much longer periods of time available to meet 'on time' for something.

    37. Re:It's not the Earth's fault by pla · · Score: 1

      Do you really think if your proposal would simllify anything we had it not established thousands of years ago?

      By "thousands of years", you realize you actually mean December 1st, 1847?

      And you want a great laugh? The entire server-world, along with the internals of most timezone-aware programs, already uses that same magic standard (created in 1847 for the convenience of getting trains and passengers to the same station at the same time): GMT, aka UTC. This radical, idiotic idea of mine already exists and most sane IT folks use it. Though, since end users insist on seeing local time, we still get to deal with all the headaches of time zones and DST and leap seconds and such on the front-end.


      Luckily you are not one of those idiots writing time related libraries

      You mean those same libraries that need to know a source location, a destination location, and the frickin' date, just to tell you you have a meeting at "8:35PM EDT"? Those same libraries that ubiquitously use UTC internally, as the only possible sane option? Those same libraries that don't just work forever without needing updates several times a year to track political changes in the modern world?

      I agree, good thing - Hell, great thing! Waaay too many headaches trying to keep up time zone boundaries that change every time some Ugandan warlord captures a tent on the other side of the river, or the idiots in DC decide to move daylight savings forward or backward a few weeks to pander to various special interest groups. You couldn't pay me enough to maintain that nightmare of a codebase!


      What does it mean that we have a meeting at 0:35

      It means that your clock and my clock both say 00:35, simple as that.


      When is actually the sun rising?

      Could you answer that any better if both our clocks say "8:35pm EDT"? Your question doesn't make sense because it lacks enough information to answer it. Do we actually both live on the US East coast? Do you live in Florida or Maine? Midsummer or Halloween?

      In any case... Does it matter when the sun comes up? If I accepted your meeting request, it means I can make it. Why do you care whether I attend at solar-noon or sunset or solar-midnight, as long as we both show up when our clocks say "00:35"?


      And when I'm supposed to be in my office?

      Whenever you and your boss agree you should - What does that have to do with whether you go to work at 8am or 2pm or 2am?


      So the meeting at 0:35 is not even at the "same day"?

      The question of "same day" also vanishes if you get rid of time zones. 10/30/2015 00:35:00 would to a single point in time, including the day, that everyone on the planet can agree on. It just doesn't need to have any correlation to where we see the Sun.

    38. Re:It's not the Earth's fault by petermgreen · · Score: 1

      Leap seconds are a human creation in an attempt to unify atomic time with planetary movements.

      There are basically 3 options.

      1: Tie civil time to the SI second, have 86400 seconds in a civil day and accept that the civil day will slowly drift relative to the astronomical day.
      2: Have 86400 seconds in a civil day but decide that the second of civil time can vary in length from the SI second and adjust the civil time second so that .
      3: Tie the civil time second to the SI second but periodically make adjustments through having civil time days that are not 86400 seconds long.

      Each option is bad for different people.

      Option 1 is likely to be confusing for future historians and astronomers as they have to deal with an offset between civil time and earth time that varies depending on when the data was collected.
      Option 2 is bad for people who need to interface between systems that work with civil time and systems that need to measure elapsed time very accurately. e.g. people who have their own atomic clocks or people who rely on GPS for getting the time.
      Option 3 is bad for IT systems as it introduces a rare special case which can cause a lot of systems to fail at once when their implemnentations of that special case differ.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    39. Re:It's not the Earth's fault by Teun · · Score: 1

      When the markets are closed, may I remind you earth is a globe and markets are everywhere, not just on Wallstreet?

      --
      "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
    40. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Or, one can simply implement to spec, and never assume 60sec per minute, that some minutes will have 61.
      All our JAVA, PHP, and C code expect a range of 0-60 for seconds (windows) or 0-59 (unix) where the extra second is duplicated (and validated as a leap second as per time tracking protocol, as they do differentiate 59 from 59 (leap)).

      There is simply no reason to make the assumption that there is 60sec in a minute.

      The same issue happened in 2010, when people coding time protocols for mobile services started displaying the date as 2016, because apparently they forgot how years worked in 1990-1999 (1001 0000 - 1001 1001) BCD. And for 2000-2009, they used BCD/Binary (0000 0001 - 0000 1001) And when 2010 rolled around, and the incoming SMS data had a year field of 0001 0000 ("0x10"), tons of SMS and Card Terminal readers failed assuming the incoming date was 2016.

      People just make assumptions and don't use the spec, or more importantly, they don't have regular unit tests to test common scenarios. And the y just die.

    41. Re: It's not the Earth's fault by Anonymous Coward · · Score: 0

      We at work need accuracy better than microseconds, we wish we could be as accurate to around 10 nanosecond, sadly GPS only gets us about +- 50 ns. But we also require wallclock time as we make and correlate the measurements in multiple locations.

      You can do many measurements with a monotonic clock, unless you need to measure in different locations where you can only use separate clocks. Then both clocks need to maintain the same clock frequency and in the same phase.

      A man with a clock is happy, because he knows the time.
      A man with two clocks is sad because he doesn't know which of his clocks is right.

    42. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Leap seconds are nothing to break over. Failed servers are failed programmers and QA testing. MY equipment been using NTP for years and years. The NTP stack is written so well that even if the time is off, it corrects it just like it got off, a little at time (drift) so higher level code does not see the drift. No skips in time (missing or counting twice).

      So if you "higher level code" need to log anything with a precision better than half a second, it may be wrong. That's also failed programmers and QA testing.

    43. Re: It's not the Earth's fault by rahvin112 · · Score: 1

      Why does one minute every few years have to be redefined just to keep "one day" relatively constant?

      Because the Earths rotational speed is slowing. The moon is slowing the planet down as it moves away from Earth. Because the rotational velocity is changing constantly if we want days/years to remain consistent we need to add a second every couple years. Keep in mind the number of days per year is defined by the number of rotations the planet makes in the time it takes to circle the sun one time.

    44. Re: It's not the Earth's fault by JesseMcDonald · · Score: 1

      If we are able to determine the average length of a year over a large time span more accurately, it's quite probable that the easiest fix might actually be simply to redefine the second.

      Maybe the adjustments will balance out, maybe they won't. Everything I've seen suggests that the Earth's rotation is slowing slightly, which would tend to result in more leap seconds than "leap anti-seconds" (or whatever the proper term is for skipping a second) on average.

      However, I cannot imagine a world where the easiest solution would be to redefine the second. That would have ripple effects throughout physics, chemistry, astronomy, engineering, etc. Fundamental physical constants would have to change. All the existing published papers would contain invalid calculations. A far simpler change would be to redefine the number of seconds in a day to include a fractional part. Even there we would run into a problem, because the Earth's rate of rotation is not uniform, but at least there aren't many fundamental units defined in terms of days.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    45. Re: It's not the Earth's fault by Anonymous Coward · · Score: 0

      POSIX time is an elegant solution. If you can't see that, then your part of the problem.

      But POSIX time isn't a solution for everything. Different classes of problems require different kinds of clocks. Trying to solve everything with a network-synchronized clock teaching UTC is as stupid as using POSIX time for high precision timers.

      Read the grey beards post elsethread, where he describes working on military satellites. Notice how he references no less than 5 distinct time references. This man understand that you can't judge solutions without reference to the problem.

      I think dropping leap seconds is a bad call not because I'm wedded to leap seconds, but because the intention is to make software less buggy. But IMO it will make things worse, making it easier for people to rely on the system's wall clock without considering the type of problem they're solving. It'd be like "fixing" some kinds of buffer overflows by passing a law which restricted variability in the size of network packets. Which is stupid on its face, because we understand that it fixed nothing; it just let's is put our heads in the sand.

    46. Re:It's not the Earth's fault by Yoda222 · · Score: 1

      Just for correctness, GPS and TAI are "parallel" but not identical (the gap between the two is always equal to 19s.) Because TAI is computed using the number of second since the 1st January 1958 midnight UTC, where GPS is similar, but with 1980, and there were 19 leap seconds between 1958 and 1980. (in fact, 9 leap second, plus the initial 10 seconds shift in 1971 or 1972).

    47. Re:It's not the Earth's fault by Yoda222 · · Score: 1

      You are right, a second is a second, a time is a time. The problem with the leap second is not a time problem. It's a date problem. Uniform second (TAI, GPS, ...) are great to measure the time elapsed between t1 and t2. Non uniform date (UTC) are great to indicate a precise date. They don't have the same purpose, but both are useful to different problems and people.

    48. Re: It's not the Earth's fault by Anonymous Coward · · Score: 0

      it's quite probable that the easiest fix might actually be simply to redefine the second.

      Goddammit, are you insane? People these days, sheesh!

    49. Re:It's not the Earth's fault by Xylantiel · · Score: 1

      Seems to me that unix (i.e. POSIX) time is what needs fixing. It ignores(!!) leap seconds by definition. (see here, or man 2 time.). Leap seconds are not uniquely addressable in posix time. The second repeats. Surely we can do better for the default standard.

    50. Re: It's not the Earth's fault by Znork · · Score: 1

      Yeah, you know, if you ask a human in 50000 years whether 'noon' means 'midday' or 'midnight', he'll say "zxyathslthe?" "blortpmi?".

      With changes in the range of thousands of years, language will change orders of magnitude faster than the specific number we ascribe to 'noon'.

      And yes, it is something you can easily ignore, as unless the human lifespan stretches into thousands of years, it's not like anyone's actually going to notice during their lifetime.

    51. Re:It's not the Earth's fault by Wycliffe · · Score: 1

      So you'd prefer computers crashing possibly 1 million times a year, rather than once?

      These programs crash because they weren't written to deal with a non-continuous time system. Making it LESS continuous would make them less stable.

      I disagree. One of the reasons that a leap second causes problems is because it's so infrequent and therefore people don't code for it.
      If it's happening every day then anyone who depends on a super accurate clock will be required to account for it.
      It's the difference between accounting for the leap year which happens every 4 years and 2 digit year changes(Y2K) that happen every 100 years.
      Most programs can handle the leap year and daylight savings time because they happen frequently.
      Many programs didn't account for Y2K or the missing leap year on the year 2000 because it's an infrequent event.

    52. Re:It's not the Earth's fault by Wycliffe · · Score: 1

      HFT may help make the market more fluid, but it's also not the primary reason that stocks exist. Just block all trades 5 seconds before and after the leap second. It's fair to everyone, and 10 seconds of not being able to trade should not be a big deal.

      Very few if any markets are open during the time period that the leap second is typically added.

    53. Re:It's not the Earth's fault by Wycliffe · · Score: 1

      Throw out that one bizarre requirement, and all the rest of this crap becomes a moot point.
      So when travelling from A to B, instead of asking/figuring how you have to adjust the clock, you are asking how much you have to adjust *yourself*?

      What does it mean that we have a meeting at 0:35 ?

      0:35 UTC is alot more descriptive that what we use now.
      You already have to adjust yourself when you travel. There are plenty of difference in business hours besides the timezone. With this new system, instead of having to fix your clock too, you just need to figure out when sunrise is. No more daylight savings time, no more weird towns that cross timezones. If you want a relative time, it would be easy enough to tell someone that you want to meet at 4 hours after sunrise but honestly in today's world 0:35 UTC is much easier to deal with and there is no second guessing when the meeting is suppose to take place.

    54. Re:It's not the Earth's fault by gnasher719 · · Score: 1

      GMT, aka UTC

      Not quite. GMT and UTC differ by up to 0.9 seconds.

      GMT is based on astronomy. When the earth wobbles a bit, and the time for one rotation changes a bit, GMT adapts to it. In GMT, a day always has exactly 86400 seconds, but the length of the seconds is just very, very slightly variable.

      UTC is based on atomic clocks. A second in UTC has always the exact same length (as far as we can measure it, which is pretty well. But because UTC seconds are fixed length, and GMT seconds are not, they can slowly drift apart. When they get 0.9 seconds apart, we add or remove a second from the day in UTC. So while the seconds are fixed length in UTC, days are not. They can be 86401 or 85999 seconds.

    55. Re:It's not the Earth's fault by jbengt · · Score: 1

      We had to get special firmware from our GPS manufacturer to get it to send out NTP packets that simulated a leap second . . .

      Which is ironic, because GPS is not adjusted for leap seconds.

    56. Re:It's not the Earth's fault by gnasher719 · · Score: 1
      Can you describe such a bug?

      Just a line of C code:

      if (leap_second) seconds = seconds++;

      That would be a bug that happens only in a leap second. It is undefined behaviour. But whether it actually causes trouble might be depending on your compiler, so the code may have been running fine for yours, and suddenly when you recompile with a new compiler, it breaks.

    57. Re: It's not the Earth's fault by Anonymous Coward · · Score: 1

      One 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 caesium 133 atom."

      Everything else is derived off of that. Why does one minute every few years have to be redefined just to keep "one day" relatively constant? They've effectively got two units of measurement that conflict with one another. We let "one year" drift enough that it only needs to be corrected once it's off by a whole day. Why not let those seconds accumulate and have a second leap day every hundred thousand years or so?

      Pope Gregory et al went to a lot of trouble to get the days and seasons relined up because the drift was so fucked up by 1582.

      The difference will accumulate until we're one minute off, then one hour off, then three hours off, then six hours off, etc. How are you going to adjust for being over a couple of hours off? How do you expect to realistically to wait for a full 24 hours? How will things work at 12 hours? 00:00 and 12:00 are swapped? Really?

      February 29 happens regularly and people screw that up, how are you going pre-plan a leap minute/hour/day that occurs at some arbitrary time in the future? At least now, the 61st second happens on a semi-regular basis (June 30 or December 31) that it's somewhat predictable.

      If you want to get rid of of leap seconds that's fine, but propose a system for re-syncing time with reality. If you don't have one, step off.

      A lot of people say we'll only have to worry about it in a couple hundred/thousand years from now: what small minds these people have! Perhaps let the (Catholic) Church decide (again) as they fixed it the last time, and they're one of the few organizations that have been around to perhaps the long-term thinking needed for this.

    58. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Please not. I write software that controls telescopes, a fraction of a second is acceptable for Google, not to track objects in the sky.

    59. Re: It's not the Earth's fault by Anonymous Coward · · Score: 0

      There are other kinds of clocks. For example a clock based on the number of CPU cycles.

      Fundamentally there is no such thing as a universal clock. You just demonstrated that.

      A man with two clocks understands the nature of time measurement better than the man with one clock.

    60. Re: It's not the Earth's fault by Anonymous Coward · · Score: 1

      Re: "Everything else is derived off of that."

      No, it isn't. You are missing something important. There are 2 ways of defining time. One defines time as an unvarying set of units that repeat endlessly. The other bases time on the rotation/revolution of the Earth, Moon and Sun (actually all timekeeping systems have their origins here). Solar system based time must change periodically because the orbital periods change, and permanently so, over long periods of time.

      Read up. The switch from the Julian to Gregorian calendar happened because the Julian didn't have (the equivalent of) leap seconds. Eventually they were celebrating Spring events (on the calendar) in the middle of Summer (by the seasons). It caused too many problems and Pope Gregory decided to put an end to the problems.

    61. Re: It's not the Earth's fault by KGIII · · Score: 1

      It just means we need to chalk a line in space. When we cross it, we'll know we're back around to the start. It's like hugging a fat woman. Chalk a line and keep going until you get back around to the other side, that way you know you're complete.

      No, no, I don't have anything meaningful to contribute.

      --
      "So long and thanks for all the fish."
    62. Re: It's not the Earth's fault by Anonymous Coward · · Score: 0

      Yeah, you know, if you ask a human in 50000 years whether 'noon' means 'midday' or 'midnight', he'll say "zxyathslthe?" "blortpmi?".

      I see you have met me while I was drunk.

    63. Re: It's not the Earth's fault by complete+loony · · Score: 1

      Never really understood leap seconds. I mean timezones are rounded to the nearest hour (mostly) and cover a large width of the earth's surface. IMHO we should simplify the global standard, and maybe consider shifting timezones by 15 minute increments when that starts to become a problem.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    64. Re:It's not the Earth's fault by jandrese · · Score: 1

      I assume you don't do leap seconds at all.

      --

      I read the internet for the articles.
    65. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      The problem with leap seconds is it creates a serious problem scheduling future events, and it frequently causes problems and crashes because someone writes code that advances one second, measures the difference, and finds a negative or zero value. Or writes an algorithm that that runs every 200ms because it's touching a chip that needs to be told to stay awake or it falls asleep in 500ms, and then a leap second happens, time goes backwards, and your alrithm waits an addational 1000ms and the chip goes to sleep, you code didn't expect that and crashes. These problems are really just poor coding, they shouldn't be using real time, they should be using CPU time, and then converting CPU time to UTC every single cycle for the display.

      But it's worse than that, today is October 30, I know yesterday was the 29th and tomorrow is the 31st, since it's a simple incrementing number, and I just need to look at my calendar to find out November 1st is after that, and using 365 days in a year as a standard, I know that October 31st 2016 is 365 days after November 1st 2015 (it's a leap year). But the same is NOT true for time with leap seconds, exactly 365 days from now, I do NOT know what time it will be, today I know there is no leap second at the end of the year, but I don't know about June, in fact I can't know. It's 11:02:00 pm right now, it's 11:01:59, 11:02:00 or 11:02:01 exactly 365 days from now, there is no algorithm to know. If I schedule an event for late next year, I CANNOT put the unix timestamp of that time in the database, because I simply don't know it. I can't know it until sometime in March 2016. Thus to actually work, all programs need to use a complex struct containing the target date, an integer or simple number can't be used to represent a universal constant that always increments at a constant rate. It's no so much that programs can't handle it, but a leap second create needlessly complex systems that don't actually help anyone. The only people who really care about leap seconds are astronomers, and leap seconds hurt them as well because it's too large, they go to NIST and subtract the leap second off of UTC and then add in the more precise version to get UT1 which is updated every week or so. So really everyone would be happy if you just remove the |UT1-UTC| 0.9s rule, then NIST will just say UT1 has a five second adjustment or whatever, and everyone is happy.

    66. Re:It's not the Earth's fault by tsotha · · Score: 1

      When you put it like that, it makes even more sense.

    67. Re:It's not the Earth's fault by Gavagai80 · · Score: 1

      There were essentially hundreds (thousands?) of time zones which we compressed into a little over two dozen.

      --
      This space intentionally left blank
    68. Re:It's not the Earth's fault by Dahamma · · Score: 1

      No mod points, manual +1 fucking awesome.

    69. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Which is possible as long as some clocks skip leap seconds. You proposed that IEEE mandates a 12-hour period drift for all clocks.

    70. Re: It's not the Earth's fault by Ashtead · · Score: 1

      Unless these multiple locations are less than 3 meters apart, there is no way there can be 10 ns accuracy as an event at one place cannot possibly affect anything happening at any of the other places.

      --
      SIGBUS @ NO-07.308
    71. Re: It's not the Earth's fault by Spinalcold · · Score: 1

      The main reason for the leap second is for astronomers to keep very precise measurements on the relation of the earth and the sky. They date everything to a very arbitrary date, but for the software to calculate sky's as they would have been at a certain date or in the future they calculate all this. It may not seem like a second is not much, but as others have stated it adds up, and it builds up quickly, especially for astronomers.

    72. Re: It's not the Earth's fault by Bengie · · Score: 1

      I can't wait to see what happens when we need to start syncing time among different planetary bodies. Constantly changing time because one arbitrary planet likes to keep time in sync with the sky is a horrible reason.

    73. Re: It's not the Earth's fault by Bengie · · Score: 1

      There are situations where you want to sync events faster than light. If you want two servers on different sides of the Earth to "do an event at the same time", light is too slow. At some point we need to stop caring because time dilation is different in different places, but I don't think 10ns is quite there.

    74. Re:It's not the Earth's fault by Bengie · · Score: 1

      How old are the time systems on earth, hu? Do you really think if your proposal would simllify anything we had it not established thousands of years ago?

      Even 20 years ago, yet alone a thousand years ago, very few people needed to care about what was happening on the other side of the Earth. Knowing you "eat at noon" is only useful for the timezone you're in.

    75. Re:It's not the Earth's fault by Bengie · · Score: 1

      We need an absolute reference time, like UTC, but doesn't change for anything. UTC can be based on this time.

    76. Re: It's not the Earth's fault by Spinalcold · · Score: 1

      By that...time-yes, I went there-we would have a much more complex time system, not based on individual clocks but maybe pulsars and some sort of relativistic conversion. Planets with larger suns, and larger planets have seconds moving slower compared to lighter ones, planets rotating faster would also have slower seconds. My guess is that conversions would have to be based on pulsars and your planet would have to convert your time to the pulsar time and the other planet convert to their planets time. Thus, galactic time and planetary time.

      That breaks my brain though....

    77. Re: It's not the Earth's fault by bickerdyke · · Score: 1

      Right.

      But then UTC, as corrosponding by definition to that rock's position relative to that gas ball, is probably NOT for you.

      If you have a problem with leap seconds and need each and every minute to be 60 seconds more than the sun reaching zenith over London at noon, use GPS time or TAI. More than enough timescales to pick from.

      But leave UTC as it is. Redefining UTC to be something else during its lifetime is guaranteed to end badly.

      --
      bickerdyke
    78. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      > There is simply no reason to make the assumption that there is 60sec in a minute.

      $ units
      Currency exchange rates from 2013-07-11
      2562 units, 85 prefixes, 66 nonlinear units

      You have: 1 minute
      You want: seconds
              * 60
              / 0.016666667
      You have:

    79. Re:It's not the Earth's fault by angel'o'sphere · · Score: 1

      Exactly, and you now want them to have lunch at a random time depending where they are, what was wrong with eating 'around' noon?

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    80. Re:It's not the Earth's fault by angel'o'sphere · · Score: 1

      Sorry, how should that code break in away that the program crashes?
      I'm a programmer myself.
      If that example was ment for laymen, make a real one.
      Your example makes no sense at all.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    81. Re:It's not the Earth's fault by angel'o'sphere · · Score: 1

      I suggest to form a club and try it.
      You will figure soon that your system wont work.

      For starters: time of sunrise changes every day.
      If I want a meeting every monday at 10:00 Local time (11:00 GMT), it wont be 4h after sunrise tomorrow, just because it is today. In winter it will be 3 and later even only 2h after sunrise.

      For the people involved it is much easier to simply stick with local time.

      Regardless when you have sunrise or sunset, local noon is always at 12:00, and your time zones noon is usually close to it. Unless you live in the USA or China.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    82. Re:It's not the Earth's fault by angel'o'sphere · · Score: 1

      No, I mean thousands of years.
      Basically all recorded human history I'm aware of uses "12:00" as noon and has either double hour "hours" or one hour long hours.

      The standard you mention is not used by the general public (facepalm). Train and flight and shipping plans use _local time_

      Hence when I fly from Frankfurt to Moskow and take a connecting plane from there to Ulaanbaatar I have _nothing_ to do except setting my watch to local time: and you can instruct most smartphones to do that automatically.

      I simply don't get why a human, like you, wants to oppress other humans by imposing rules on them that are ment for machines or universal 'data exchange'.

      10/30/2015 00:35:00 would to a single point in time, including the day, that everyone on the planet can agree on. It just doesn't need to have any correlation to where we see the Sun.
      Are you really such an idiot?
      If I get an email telling me you want to meet me at said date/time, I rather like to know imediatly/instinctively if Imcan sleep one night over it or if it is in thre hours.

      However you are free to use UTC in your emails by just adding UTC to your time string.

      Can't be so hard.

      Again: set your watch to UTC, live your life for a year according to it. Then report back here on /.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    83. Re: It's not the Earth's fault by Anonymous Coward · · Score: 0

      We let "one year" drift enough that it only needs to be corrected once it's off by a whole day.

      Which is exactly the same as what we do with the leap second; we wait until it only needs to be corrected once it's off by a whole second.

      Why not let those seconds accumulate and have a second leap day every hundred thousand years or so?

      For the same reason we don't let leap days accumulate and have a leap year?

      Keeping summer at summer is the goal of leap years. Keeping midnight at midnight is the goal of leap second.

      You describe a system which achieves nothing and breaks everything.

    84. Re: It's not the Earth's fault by GoRK · · Score: 1

      This is actually how we do it now, except the chalk line is measured by looking at the angular positions of various celestial bodies. This measurement determines the length of a sidereal year. We have been able to make it fairly accurately for the last 50 years or so, and extremely accurately for the last ~60, enough to know that our planet's rotation has slightly slowed during that time. But what we don't know is exactly how long a sidereal year was, say 100 million years ago. Perhaps the earth used to spin around 366 times during its trip around the sun instead of the current 365.25? It's mass and orbital period also change enough on a geologic timescale to affect this. These are problems we know about, but are difficult to solve because we just don't have the data.

    85. Re: It's not the Earth's fault by GoRK · · Score: 1

      I meant 150 not 50

    86. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Very few if any markets are open during the time period that the leap second is typically added.

      Few public markets, but the black markets where much HFT happens are open all the time.

    87. Re: It's not the Earth's fault by KGIII · · Score: 1

      Interesting. I thought we could plot the movement of the stars back quite a ways? Can we not use that for a deterministic approach?

      --
      "So long and thanks for all the fish."
    88. Re:It's not the Earth's fault by Anonymous Coward · · Score: 0

      Can't easily be tested??? Set the clock to three minutes before the leap second and start your test. I fail to see the issue here.

      Of course you may have to set up your own NTP servers or fake the GPS signal in some setups, but normally your code will not directly access those.

  2. Obvious answer by Anonymous Coward · · Score: 0

    Leap hour, wait until 3600 leap seconds build up, then add the spare hour that night pushing midnight to 25:00 (or 13:00AM) in all complying time zones.

    1. Re:Obvious answer by Anonymous Coward · · Score: 2, Interesting

      Midnight is always 00:00. There is no such hour as 24:00, but alas the ID10Ts at apple think there is and put one into Yosemite.

    2. Re:Obvious answer by Anonymous Coward · · Score: 0

      Right. Because the people who are incapable of writing routines that cope with a 61-second minute will take 25-hour days in their stride.

    3. Re:Obvious answer by aaron4801 · · Score: 1

      There's a 25-hour day coming up this weekend in most areas of the US. Most of Europe did it last weekend. It's already standard.

    4. Re:Obvious answer by Anonymous Coward · · Score: 0

      And the code to cope with it crashes just as much.

  3. Conspifrosty by Hognoxious · · Score: 0

    Daylight saving, leap seconds, flouridation. They're all part of Agenda 51.

    P.S. And systemd.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    1. Re:Conspifrosty by Tablizer · · Score: 4, Funny

      I like to hang out at Area 15. Less security and you glimpse an occasional dyslexic alien.

    2. Re:Conspifrosty by dotancohen · · Score: 1

      I like to hang out at Area 15. Less security and you glimpse an occasional dyslexic alien.

      The alien writing system is Right to Left, that is why they get confused:
      http://dotancohen.com/howto/rt...

      This is also why ancient writing systems such as Hebrew are Right to Left, they learned it from the aliens (who built the pyramids).

      --
      It is dangerous to be right when the government is wrong.
  4. Computers have some solution right? by 140Mandak262Jamuna · · Score: 1
    Isn't this an old problem solved by unix ages ago? If the computer goes off line from the network, it comes back and its local clock has drifted away from other computers... it happens all the time and it used to happen lot more often in the early days. The computer speeds up its clock imperceptably and achieves full synch in so many hours or days as specified by the sys admin.

    So the means to synch the servers exist, right? Or is this very out of date view of computer and the clocks?

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:Computers have some solution right? by Archangel+Michael · · Score: 2

      The problem isn't the system, it is the software and databases that require millisecond accuracy.

      The problem is that time is not as linear as we think it is. Even accurate clocks can start having time shifts in relation to each other. This is all spelled out in Physics and is (or at least, should be) well known.

      We need to change how we keep track of time, in a way that isn't linear.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    2. Re: Computers have some solution right? by Anonymous Coward · · Score: 0

      No, you're basically right. Dropping the leap second won't remoe bugs, it will simply make them more obscure and less commonly exercised.

      From a security standpoint that's not really a great idea, because then only attackers will know about them. (And an engineer's lack of imagination about how such bugs could be exploited is not evidence that they're benign.)

    3. Re:Computers have some solution right? by NeoMorphy · · Score: 1

      The problem isn't the system, it is the software and databases that require millisecond accuracy.

      There have been issues with the kernel in the past.

      https://rhn.redhat.com/errata/...

      The problem I saw was a lot of servers suddenly increased their cpu usage.To clear it you had to set the time to the current time(date -s "`date`").

    4. Re:Computers have some solution right? by Anonymous Coward · · Score: 0

      Things that need millisecond accuracy should actually be coded by people who understand time, and shouldn't get brainfucked by clocks being clocks. If you need a time source that doesn't have leap seconds, then pick something other than UTC. I suggest GPS time, because you can get a GPS and a cable or two and be not a problem for the rest of society.

    5. Re:Computers have some solution right? by arth1 · · Score: 1

      Isn't this an old problem solved by unix ages ago?

      No. Time drift is, but extra seconds aren't.
      Some programs may have hardcoded limits for seconds being in the 0..59 range, and will do unexpected things if a second value suddenly is 60.

      Imagine something like an array of seconds, dimensioned to 60 elements. Ka-boom.

      Or just look at the standard date command:
      date -d "23:59:60"
      date: invalid date `23:59:60`

      If we want to synchronize a common time with the orbit of the planet, we either need to add or remove time (like leap seconds), or speed up and slow down the clock, which would cause much bigger problems: If the second is no longer a constant, velocities (like m/s) would not be constant, unless we also changed the definition of distance on the fly.

      It's already enough of a headache that time is a local phenomenon only, and the flow changes with acceleration, including gravity.

    6. Re:Computers have some solution right? by Anonymous Coward · · Score: 0

      The bugs that cause servers to crash aren't related to formatting. They're related to clock slewing algorithms, which is very much related to how clock drift is handled.

      So, basically, removing the leap second won't fix anything; it'll just make it less likely for the bugs, which will still be there, to be encountered. But that's the kind of situation only managers and accountants delight in. It's the kind of logic that made Toyotas death traps because of how horrible their ECM software was/is.

    7. Re:Computers have some solution right? by 0123456 · · Score: 1

      Userspace code is irrelevant when your operating system blows up while trying to deal with a leap second.

    8. Re:Computers have some solution right? by 0123456 · · Score: 1

      Actually, one of the server crash bugs was due to a debug printout which was only triggered by a leap second, and was buggy, so it crashed the kernel in a small number of cases.

      Code that's only executed every few years, and at the same time all over the world, is a really, really, really big risk.

    9. Re:Computers have some solution right? by Kozar_The_Malignant · · Score: 1

      >We need to change how we keep track of time, in a way that isn't linear.

      The problem with this is that time is linear. That's why time machines don't work. Yes, there are spooky quantum effects, and maybe when the servers and desktops are all quantum computers new solutions will present themselves.

      --
      Some mornings it's hardly worth chewing through the restraints to get out of bed.
    10. Re:Computers have some solution right? by plover · · Score: 1

      We need to change how we keep track of time, in a way that isn't linear.

      Asynchronous clocks! I love this idea! Instead of every system implementing its own real time clock, every computer on the planet will instead constantly poll a universal clock service, and supply that digitally signed millisecond to all of its processes.

      The truly sad part is that I know there's some SaaS weenie out there who fervently believes this is a good idea.

      --
      John
    11. Re:Computers have some solution right? by Anonymous Coward · · Score: 0

      Linux systems implement clock slewing. With the default time keeping and locale, you'll never see a :60 or :61 second indicator. The bugs that have shown in Linux would still be bugs, and would still cause problems even without leap seconds. Some simple systems, like, OpenBSD, just repeat a second twice, or jump forward, depending on the type of leap second. (In fact, all POSIX systems must do something like this--unless they're gluttons for punishment--because in POSIX Time(tm) there's always only 86400 seconds per day.)

      Many of these bugs are fixed by using the system's monotonic clock.

      So there are many other options. Also, unit testing. Code is only difficult to test because it's poorly written. Any code which implements complex logic should always be written in a way that makes it easy to unit test. Kernel code is no exception, particularly in this case.

      And let's not forget TAI. TAI is what they're trying to redefine UTC to. But you're free to use TAI.

    12. Re:Computers have some solution right? by sjames · · Score: 1

      No, it isn't. Put an atomic clock on Earth and another in orbit. They will disagree soon enough. They will both be right.

    13. Re:Computers have some solution right? by swillden · · Score: 1

      The problem isn't the system, it is the software and databases that require millisecond accuracy.

      Many systems can be implemented without time synchronization, and many systems that rely on it don't need to. But there are classes of distributed problems that cannot be solved, or cannot be solved as efficiently, without a sufficiently-accurate shared reference time.

      Google has an interesting solution to this problem, first implemented in 2008, called the "leap smear". Over a 20-hour window centered on the leap second addition, the servers' clocks are skewed slightly slower so that for each second of real time that passes the clocks advance by 14 microseconds less than a full second. So time remains monotonically-increasing, with no jumps. It's just slightly out of agreement with the rest of the world for 20 hours. It's furthest out of agreement at the moment the leap second is inserted, when it goes from 500 ms slow to 500 ms fast, then it drifts back into alignment.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    14. Re:Computers have some solution right? by countach · · Score: 1

      I don't see why databases need millisecond accuracy. And as the previous poster pointed out, the kernel would adjust it slowly so apps wouldn't notice.

    15. Re:Computers have some solution right? by Kozar_The_Malignant · · Score: 1

      It's still linear. Relativity effects from your frame of reference don't change that.

      --
      Some mornings it's hardly worth chewing through the restraints to get out of bed.
    16. Re:Computers have some solution right? by sjames · · Score: 1

      I believe we are using a different sense of linear.

    17. Re:Computers have some solution right? by Anonymous Coward · · Score: 0

      Then fix your goddamn operating system, or quit playing with the big guys.

    18. Re:Computers have some solution right? by Bengie · · Score: 1

      Logically, time is linear. A certain atom at the right settings will vibrate at a very specific frequency. The problem is trying to keep many difference frames of reference in sync. Time can still be linear, you just need to make sure you're careful how to sync the differences between a one frame of time and another reference frame of time.

      The bigger issue is for a given frame of reference, you can only have so much useful precision. Two high precision atomic clocks next to each other can get out of sync because they're so precise that they pick up some very small variations in time dilation. You can compensate for these variations, with in reason.

    19. Re:Computers have some solution right? by Bengie · · Score: 1

      For a given frame of reference under a specific time dilation, time is roughly linear for our current purposes. Space-time may turn out to be foamy, but it should average out at the macro level of nanoseconds.

    20. Re:Computers have some solution right? by sjames · · Score: 1

      Sure, in the given frame of reference, but that doesn't in any way describe the uses we have for timekeeping today.

  5. Let me think about it for a second .... by pollarda · · Score: 2

    While I'm sympathetic for all the folks who want to drop the leap second, given an appropriate amount of time the difference will add up. It seems to me the problem is quite simple which is to publicize the leap second a bit more than it is now. It is an education issue -- at least no more or less than leap days and that seems to work just fine all in all.

    Perhaps Facebook can create a viral leap second post. Much better than viral kitty posts.

    1. Re:Let me think about it for a second .... by Anonymous Coward · · Score: 2, Funny

      Pass a law saying all bars / taverns / pubs are not allowed to charge money for drinks served during the leap second. It'd get plenty of publicity.

    2. Re:Let me think about it for a second .... by Anonymous Coward · · Score: 5, Interesting

      The problem with leap seconds vs. leap days is that leap seconds do not follow a regular pattern. It's fairly simple to write code that follows the leap year rules: February 29 occurs when (year mod 4 == 0 and year mod 100 != 0) or year mod 400 == 0

      The timing of leap seconds, on the other hand, are chosen on a case-by-case basis by some standards body (IERS) and announced, usually with only about six month's notice. Thus hardcoded rules for leap seconds are not a good idea, and you have to have some means of distributing leap second announcements to all systems where clock accuracy is critical. Either that or you accept a one-second margin of error, don't count the leap second and correct the clock later.

    3. Re:Let me think about it for a second .... by Xylantiel · · Score: 2

      Hopefully you realize that leap seconds are not "chosen by a standards body" per se, they are actually measurements of the slow-down of the earth's rotation and the standards body just decides how to schedule them. As another poster said, if you don't need to know the time of day, don't convert to UTC, just use a time standard that doesn't have leap seconds. The problem here is ignorant people who don't realize that time of day is not easily derivable from time-since-epoch. Changing from leap seconds to leap minutes just allows them to be ignorant longer, which I would argue is a bad thing.

    4. Re:Let me think about it for a second .... by amorsen · · Score: 1

      Changing from leap seconds to leap minutes would move the problem from NTP to time zone files. Time zone files are well tested, regularly updated, and generally high quality.

      We have high quality libraries which can calculate the time difference between two arbitrary times in different time zones. This is not possible for leap seconds, because they do not get scheduled in with a decent amount of warning. Changing time zones is tested in many locales twice a year, it basically never breaks.

      --
      Finally! A year of moderation! Ready for 2019?
    5. Re:Let me think about it for a second .... by Anonymous Coward · · Score: 0

      Leap seconds could also be recorded in time zone files.
      Actually you can download the leap second database file, store it in the correct location on your linux machine, and convert between UTC and TAI at your leisure.

    6. Re:Let me think about it for a second .... by AthanasiusKircher · · Score: 1

      It's fairly simple to write code that follows the leap year rules: February 29 occurs when (year mod 4 == 0 and year mod 100 != 0) or year mod 400 == 0

      Ah, you haven't anticipated the Y2800 problem. A number of countries in the early 20th century (particularly those more into eastern Orthodoxy rather than Catholicism) officially adopted the Revised Julian Calendar, rather than the Gregorian Calendar.

      Basically, the Revised Julian Calendar requires you to divide century years by 900 and look for a remainder of 200 or 600. Then you have a leap year. If the remainder is not 200 or 600, you have no leap year. (By the way, this approximation to the earth's true length of a year is much better than the Gregorian calendar's "leap year in century years/400" approach.)

      Which means that the Gregorian Calendar and the Revised Julian will diverge in the year 2800. Your algorithm isn't prepared for this.

      (P.S. The chances of our current technology surviving in any meaningful form until the year 2800 are of course quite low, so I'm sort of joking here. But as with everything dealing with measuring time, even assuming that our accepted calendar is "standard" everywhere is not always true.)

    7. Re:Let me think about it for a second .... by Xylantiel · · Score: 1

      According to this they already are.

    8. Re:Let me think about it for a second .... by amorsen · · Score: 1

      You can. It just does not help any, because NTP and the kernel will fuck up the system time during the leap second.

      The kernel has absolutely no business knowing about leap seconds.

      --
      Finally! A year of moderation! Ready for 2019?
  6. Really! by Anonymous Coward · · Score: 0

    There has to be some humor in "weeks of debate" over a second.

    1. Re:Really! by Anonymous Coward · · Score: 1

      In fact, after weeks of debate, the delegates were out of time. That is, until they developed, and immediately applied, the leap month.

  7. Fix your fucking servers already! by Anonymous Coward · · Score: 0

    I mean: leap seconds might make sense or they might not. But... crashing servers? Seriously? Has anyone of you observed that?

    (OK, you will possibly have to adapt time "softly" over some period to keep the clock monotonic, but if you are doing real time stuff sensitive to = 1sec you'll have another time reference anyway).

  8. I'm majorly confused by holophrastic · · Score: 4, Insightful

    In my 35 years, I've always seen time as a counted measure of how much time has passed since I started counting. I seem to be forever learning that's my novel idea.

    Why should I care where the sun is, where the moon is, where the earth is, with respect to time? If it's winter, I can start work at 9, I can start at 10, I can start an hour after sunrise. I don't need to adjust my clock to start work at the same clock-display every day. I see nothing wrong with a company that has different business-hours by the season.

    Similarly, since I'm not in the old west, I don't care if "high noon" is an noon, or 1, or 1 second after noon. I've never determined the time based on the sun.

    Last I checked, we have perfectly wonderful time-keeping and gps devices these days. So ocean ships and submarines no longer need a sextant and a chronometer to figure out when and where they are.

    So here's my petition. I'd like time to always move forward, and the same rate of 1 second per second. I'd like it to not jump, leap, crawl, rewind, fast forward, restart, end , or eject.

    Shit, I just realized that I'm not 35 years old. Or I am 35 years old, but not when measured in seconds. Wait for it...ok, now I'm 35 years old. Phew.

    1. Re:I'm majorly confused by Anonymous Coward · · Score: 0

      I don't care if "high noon" is an noon, or 1, or 1 second after noon.

      But do you care if high noon is at midnight? Because this is what will happen in about 4000 years if we don't do anything.

    2. Re:I'm majorly confused by Mr.+Slippery · · Score: 2

      Why should I care where the sun is, where the moon is, where the earth is, with respect to time?

      Because the primary function of time since the dawn of civilization has been to allow human activity to synchronize with the position of the sun, from planting seasons to night watches.

      If it's winter, I can start work at 9, I can start at 10, I can start an hour after sunrise.

      If you never leave the server room, perhaps. Most human beings have lives that are affected by sunlight. At the very least commuting in light or dark matters. Construction, farming, and many other jobs are deeply affected by daylight conditions. And some of us actually just like to go and play in the big blue room while it's blue. (Try it sometime!)

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    3. Re:I'm majorly confused by holophrastic · · Score: 1

      You mean if 12am is 12pm? Don't get me started on the stupidity of repeating times in the same day, or starting counting at 12, or that no girlfriend I've ever had can handle a 24-hour clock on the night table, or that every clock in my life, including six clocks in my kitchen, supports a 24-hour clock except my microwave.

      But to answer your question directly, no, I don't care. It's been so many seconds since I started counting. It's 1205 because it's been 12 hours and 5 minutes since we started counting.

      I'm really tired of stupid date math. Bad enough it's already five different bases across six different numbers, with three of those bases dynamic based on four of the others.

    4. Re:I'm majorly confused by Anonymous Coward · · Score: 0

      In principle it is possible to use only the Terrestrial Time for everything (on Earth, at least), in principle. The TT is supposed to always "move forward linearly" by definition. But this universal adoption of TT will not be backward-compatible. Lots of laws need to be rewritten and re-rectified, and the rolling-out of this change will not be uniform everywhere, and you'll need yet another transition grace period and compatibility layer. And taxpayers must fund this. And shoddy programmers will get it wrong.

      But wait, the UTC is exactly what it is -- the Universal Time, Coordinated -- a compatibility layer between TT (the "linear" one) and UT1 (the wobbly one that can be more or less physically related to centuries of astronomical observations). It is in this compatibility layer that leap seconds are inserted. You're not required to use it or sync to it -- actually you're encouraged to choose a suitable timekeeping scheme for each different kind of task -- but many others do, and there's no easy way to abolish it.

      P.S. Happy birthday.

    5. Re:I'm majorly confused by holophrastic · · Score: 1

      In those cases, where your plans are based on the sun, you ought to be basing your schedule on the sun.

      You can easily start work an hour after sunrise. If the sun matters to you, you'll skip the days when it's raining, or you'll wait for the rain to pass.

      "we leave at first-light" means when you can see, not when the sun is blocked by clouds.

      Say what you actually mean.

      But the primary function of time today, is not to synchronize activity with the sun. Today, it's to synchronize human activity with other human activity, often across great distances.

      For example, I'll call you at noon. Wouldn't it be nice if we had the same noon? I'll see you in six hours -- on the clock or on the stopwatch? Wouldn't it be nice if 8 were 6 hours after 2 -- always?

      I just watched a few series of baseball playoffs. The number of broadcast networks who said "the game starts at 7" for a game being played by two teams local to different time-zones! So half the fans are early or half the fans are late?!

      Hey, one network even said "...at 7 ET". There is no such thing as ET. There's EDT, and there's EST. You figure out which one they meant.

      And oh, by the way, what happens when a game is announced this week for next week? Which time do you think the announcer's schedule is going to show him?

    6. Re:I'm majorly confused by arth1 · · Score: 1

      Last I checked, we have perfectly wonderful time-keeping and gps devices these days. So ocean ships and submarines no longer need a sextant and a chronometer to figure out when and where they are.

      So here's my petition. I'd like time to always move forward, and the same rate of 1 second per second.

      The concept of measuring time but not have a clock is not new, and it falls apart due to time being a local phenomenon, and a local phenomenon only.
      If the gps satellite just counts time passing, it drifts away from the seconds you count. They're not the same. In fact, the gps system is adjusted precisely to compensate for time passing at different rates due to acceleration.
      Everyone's time passes at a slightly different and non-constant rate. There's a measurable difference in how fast time passes in Reykjavik versus in Colombo. So you can't just count time as "1 second per second" because a measured second differs between the two places.

      You need a universal clock, and local clocks syncronized to run in lockstep with that, and not bother about what the actual time passed is. Whose clock is that, and how do we synchronize to it?

    7. Re:I'm majorly confused by holophrastic · · Score: 1

      A very good point, actually.

      So then let's pick a clock; one that can govern us all. It doesn't matter which clock, as long as it's the same clock. So let's go either with one sitting an the north pole, or one sitting on the sun. Home world or home star. I don't really care which at this point.

    8. Re:I'm majorly confused by Anonymous Coward · · Score: 0

      You're pretty much the problem. You're making a ton of assumptions, some wrong, others irrelevant. This is what engineers do when they code bugs into their program.

      Take, for example, the recent case of Java servers on Linux, which locked up when the leap second came. They were using clock_gettime(CLOCK_REALTIME) instead of CLOCK_MONOTONIC. That's a bug in their code. Even if leap seconds were to be abolished, the code would still be wrong, because, e.g., clock drift and non-slewing updates (ntpdate, forced sysadmin time change) could cause the time to skip by large amounts.

      The only difference is that with leap seconds, the bug was triggered loudly. And it was quickly fixed. And alot of engineers learned a valuable lesson. Without leap seconds, the bug would probably be still there. And someday it might even have become an attack vector, allowing attackers the ability to DoS services.

    9. Re:I'm majorly confused by cellocgw · · Score: 1

      So then let's pick a clock; one that can govern us all.

      Oh you mean this one?

      One Clock to rule them all, One Clock to find them, One Clock to bring them all, and in the darkness bind them.

      --
      https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
    10. Re:I'm majorly confused by Dr.Boje · · Score: 1

      Happy birthday!

    11. Re:I'm majorly confused by mattventura · · Score: 1

      Why should I care where the sun is, where the moon is, where the earth is, with respect to time?

      Because the primary function of time since the dawn of civilization has been to allow human activity to synchronize with the position of the sun, from planting seasons to night watches.

      If it's winter, I can start work at 9, I can start at 10, I can start an hour after sunrise.

      If you never leave the server room, perhaps. Most human beings have lives that are affected by sunlight. At the very least commuting in light or dark matters. Construction, farming, and many other jobs are deeply affected by daylight conditions. And some of us actually just like to go and play in the big blue room while it's blue. (Try it sometime!)

      Okay, so let's say time drifts 6 hours. What was 6 am now occurs at noon.

      That just means that rather than working 900 to 1700, you now work 1500 to 2300. You'd still be working the same hours relative to the sun. The only difference is what direction the little hand on the clock points (if analog clocks even still exist at that point).

    12. Re:I'm majorly confused by Anonymous Coward · · Score: 0

      Similarly, since I'm not in the old west, I don't care if "high noon" is an noon, or 1, or 1 second after noon.

      That depends, what is your definition of "day"? Is it one rotation of the planet, or /exactly/ 86400 seconds? That is what this debate boils down to.

        I've never determined the time based on the sun.

      Last I checked, we have perfectly wonderful time-keeping and gps devices these days. So ocean ships and submarines no longer need a sextant and a chronometer to figure out when and where they are.

      The US Navy would disagree with you, as they're re-instating their celestial navigation course in case GPS gets attacked:

      * http://science.slashdot.org/story/15/10/17/2254250/

    13. Re:I'm majorly confused by SvnLyrBrto · · Score: 1

      Actually, the thing that drives me batty is not so much whether or not time noon is synced with solar noon or if the sun rises or sets at 5, 6, or 7. Between managing servers on various continents and syncing phone meetings with co-workers scattered all over the place, I've come to the conclusion that daylight savings time, time zones, and the am/pm thing are all the work of the devil, and they should be abolished and we should all use GMT.

      I don't see why it matters a whit whether I start work at 8:30am, 0830PST, 0930PDT, or 1630GMT. I'm still going to wrap things up and head out at 5:30pm, 1730PST, 1830PDT, or 0130GMT. Same goes for shopping hours, TV schedules, air & train timetables, etc. But having everyone and everything on the same clock would make it sooo much easier to coordinate people, and manage equipment, across time zones.

      --
      Imagine all the people...
    14. Re:I'm majorly confused by arth1 · · Score: 1

      I'm really tired of stupid date math. Bad enough it's already five different bases across six different numbers, with three of those bases dynamic based on four of the others.

      60 makes sense in daily life, though. An hour can be evenly divided into 1/2, 1/3, 1/4, 1/5, 1/6, each with a whole number of minutes.
      Same for minutes into hours.

      But what would have made even more sense is if there were 42 minutes to the hour, 11 hours to the day, and 13 days to the week.

    15. Re:I'm majorly confused by jittles · · Score: 1

      In those cases, where your plans are based on the sun, you ought to be basing your schedule on the sun.

      Most people enjoy seeing sunlight. In fact, the human body is designed to synthesize some of the vitamins it needs from sunlight. People tend to have more energy and feel more awake during daylight hours. So you can bet that most normal people want their schedule based around the sun. Since sunlight is a local phenomenon, the times that people schedule things are obviously going to be based on some local definition.

      You can easily start work an hour after sunrise. If the sun matters to you, you'll skip the days when it's raining, or you'll wait for the rain to pass.

      "we leave at first-light" means when you can see, not when the sun is blocked by clouds.

      Say what you actually mean.

      But the primary function of time today, is not to synchronize activity with the sun. Today, it's to synchronize human activity with other human activity, often across great distances.

      Says you. But again, most people want time to be based on useful hours of sunlight. And outside of playing video games on the internet, writing software and scheduling multinational meetings how often do you do things based on a universally coordinated time (let's just call it UTC for short)? I would bet most of your activities revolve around local people and local events. Which is why your locale has a coordinated time based on a specific timezone. When you're doing computer programming, or playing games on the internet what is to stop you from using UTC? You could set all of your watches to UTC. Why don't you? No one is going to stop you.

      For example, I'll call you at noon. Wouldn't it be nice if we had the same noon? I'll see you in six hours -- on the clock or on the stopwatch? Wouldn't it be nice if 8 were 6 hours after 2 -- always?

      8 is always 6 hours after two. Always. In the case of the upcoming daylight savings event, there will be two one AMs but only one two am.

      I just watched a few series of baseball playoffs. The number of broadcast networks who said "the game starts at 7" for a game being played by two teams local to different time-zones! So half the fans are early or half the fans are late?!

      Hey, one network even said "...at 7 ET". There is no such thing as ET. There's EDT, and there's EST. You figure out which one they meant.

      Again you're showing a lack of understanding of time. There is an Eastern Time Zone. And when you say that something is at 7 eastern time then you are saying exactly that. It does not matter whether or not there is daylight savings. There is exactly one hour per year where daylight savings matters and that is the one mentioned above - the two instances of 1AM that occur every fall.

    16. Re:I'm majorly confused by bws111 · · Score: 1

      Those are some pretty pathetic examples. First of all, the vast majority of HUMAN use of time is in the persons own local time. Yes, people do communicate with each other over long distances, but those interactions are certainly a very small percentage of the usage of time.

      Wouldn't it be nice if we had the same noon? No, it would not. No matter where you are in the world, 'noon' (if whatever language) has the same connotations: the sun is at its highest, most people are up and about, many people are getting ready for lunch, etc. Same thing for midnight. What is happening at 2AM (or 0200 if you prefer)? Most people are in bed. What is happening at 0200 UTC? Everything. The time has lost its sense of meaning. Noon is a perfectly good time for me to contact you, unless your 'noon' happens to occur in the middle of the night. The purpose of time, unlike your statement, is not simply to synchronize human activity, it permeates our culture. When you hear Billy Joel sing 'Its nine oclock on a Saturday' I'll be you have a pretty good mental image of what that means, and it does not entail people going out for breakfast, or sleeping, or working at the office.

      I'll see you in six hours. In what way is that ambiguous? 'In six hours' means six hours from now, it does not matter how you measure that six hours.

      If you actually saw a game where the announcer said 'the game starts at 7', chances are it was a LOCAL broadcast, and the time of course refers to LOCAL time. On national broadcasts they ALWAYS give at least 2 times (usually Eastern and Pacific). Nobody (expect you, apparently) has any difficulty understanding what they mean.

      At 7 ET. Yes, there most certainly IS an 'ET', it is the Eastern time zone. EDT or EST ONLY matters if you are using an offset from UTC, which most of the time you are not. At 7ET means 'in the Eastern time zone, the game starts at 7PM local time'. Nothing ambiguous about it. Again, you may be the only person who can't figure this out.

      And again, for games next week, there is ZERO ambiguity. The game starts at 7PM ON THAT DAY, regardless of what happens to the clocks between now and then.

    17. Re:I'm majorly confused by sjames · · Score: 1

      Part of it is because there's a million pointy haired morons out there who will throw a temper tantrum if you're not there at exactly 9:00 A.M. and they don't give a damn if the sun won't rise for another 9 hours.

      Moving right along to your 1 sec = 1 sec desires, what do you plan to do when your clock has drifted from the standard? You can either jump (against your express wishes) or slightly change the length of a second according to your clock until you come back into agreement (also against your express wishes). Your clock not drifting isn't an option, there's no room for an atomic clock in your tower case and you wouldn't like the price. So physics says "petition denied".

    18. Re:I'm majorly confused by bws111 · · Score: 1

      That works fine if you are the only person involved. In real life, most of us interact with other people, businesses, etc. And that requires synchronized time.

      So if we use your idea of not changing the clocks, but changing what time we do things, that means that every time there is an adjustment (to keep us synced up with the sun), EVERY SINGLE REFERENCE to time must change. Businesses are open different hours, meetings happen at different times, appointments occur at different times, etc. Not only that, but cultural references to time would lose their meaning: a book that describes events happening at 200 are now occuring in the middle of the day. Time has lost its meaning.

      Ot, we could do the logical thing, and adjust the clocks every once in a while. Gets even easier to do as more and more things use a common time reference like NTP.

    19. Re:I'm majorly confused by bws111 · · Score: 1

      No, having everything use GMT does NOT make it easier to coordinate people. While you may be starting work at 1630GMT, I am leaving then. How did it get any easier to coordinate? The only thing it would do is make it easier to COMMUNICATE times across boundaries, and the number of times that happens without a computer involved is a very, very tiny fraction of all of the other uses of time.

      And you are completely disregarding the cultural uses of time. If I say 5PM (or 1700) to you, what image does that evoke? Probably end of the work day, etc, no matter where you are in the world. If I say 1700GMT to you, what image does that evoke? It will be differerent everywhere. The VAST majority of our references to time is LOCAL to us. It makes no sense at all to switch to using some global time.

    20. Re:I'm majorly confused by sjames · · Score: 1

      You'll still have to deal with clock drift resulting in seconds that aren't exactly a second or occasional jumps.

    21. Re:I'm majorly confused by Anonymous Coward · · Score: 0

      In fact people playing eve online schedule game events always at "eve time" (which is the same as UTC).
      This allows everyone in different locations of the world to be at a fight at the same time, without confusion.

      Odly, I've played many other MMOs, some even have their own server time. Strangely most other MMOs use the local time of the game company. No one ever uses those server times to hook up in the game, most guilds would use Central European Time or UK time. I think other MMOs fail with their server time being used by guilds is because they don't use UTC.

    22. Re:I'm majorly confused by Yoda222 · · Score: 1

      Similarly, since I'm not in the old west, I don't care if "high noon" is an noon, or 1, or 1 second after noon.

      That depends, what is your definition of "day"? Is it one rotation of the planet, or /exactly/ 86400 seconds? That is what this debate boils down to.

      Isn't a day exactly 23 hours, 56 minutes and 4.0916 seconds? That depends on your definition day, but that's the duration of one rotation of the planet ;-)

    23. Re:I'm majorly confused by david_thornley · · Score: 1

      With computerized timekeeping, it gets much easier to maintain two time systems, real time and solar time. We do that whenever we store a timestamp in UTC and convert it on input and output.

      I doubt it would hurt anything to have a very occasional leap hour in solar time.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    24. Re:I'm majorly confused by evilviper · · Score: 1

      For example, I'll call you at noon. Wouldn't it be nice if we had the same noon?

      No, that would be a nightmare. Noon for you could be 3AM for me. Instead of needing one small (time-zone offset) number to adjust for time-zones, you'll need a more precise location, and always have to look-up the business-hours of that location.

      When you abolish time-zones, you end up with INFINITE time-zones...

      Hey, one network even said "...at 7 ET". There is no such thing as ET. There's EDT, and there's EST. You figure out which one they meant.

      Absolutely everybody knows what they mean, and their notation is more-correct and consistent. You're just being pedantic. I wouldn't do business with anybody who specified and/or used ST in a DST-observing location... that would be completely-unnecessary insanity! They might as well say they're on METRIC time, and they start work at 22:85 every day...

      If it's winter, I can start work at 9, I can start at 10, I can start an hour after sunrise. I don't need to adjust my clock to start work at the same clock-display every day.

      Actually, you probably can't. Just because you decide to get started an hour earlier, doesn't mean anybody else will. Your 7am start time will simply be before other businesses open, so you'll be unable to do a great many things. Switching our clocks, all at the same time, is by far the easiest way to coordinate our schedules. There are precious few jobs where people are completely independent of the rest of the world, so coordination is generally required.

      I see nothing wrong with a company that has different business-hours by the season.

      I almost agree with you there... I wouldn't mind working for a company that does something like nullifying DST by changing work hours to match. EXCEPT they are going to have to make it a big damn footnote for anyone they do business with.

      I can imagine plenty of folks will opt not to do business with them, rather than deal with the constantly changing schedule... I've certainly avoided some retail stores that shortened their hours, because it was such a damn inconvenience to me. Ironic that their money-saving effort costs them more sales, but presumably that was accounted for in their calculations.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    25. Re:I'm majorly confused by Twinbee · · Score: 1

      I'm really tired of stupid date math. Bad enough it's already five different bases across six different numbers, with three of those bases dynamic based on four of the others.

      Love that quote.

      This is why I've always advocated for two times. One based on what you want (constant intervals of time), and one based on the position of the sun as a percentage or similar. We can go to town with the complexity of the latter, but the former should be kept as simple as possible like you say.

      --
      Why OpalCalc is the best Windows calc
    26. Re:I'm majorly confused by Gavagai80 · · Score: 1

      If you actually saw a game where the announcer said 'the game starts at 7', chances are it was a LOCAL broadcast, and the time of course refers to LOCAL time. On national broadcasts they ALWAYS give at least 2 times (usually Eastern and Pacific). Nobody (expect you, apparently) has any difficulty understanding what they mean.

      A lot of us have occasional trouble with it, even though we work it out most of the time. I missed one playoff game this year because I kept hearing that it was starting at 4 and forgot to subtract 3 to work out that it'd be at 1 my time.

      --
      This space intentionally left blank
    27. Re:I'm majorly confused by Spinalcold · · Score: 1

      "So here's my petition. I'd like time to always move forward, and the same rate of 1 second per second. I'd like it to not jump, leap, crawl, rewind, fast forward, restart, end , or eject." Sorry, Albert Einstein isn't here to take your petition, please leave a message and when time travel is invented he will read it.

    28. Re:I'm majorly confused by thetrivialstuff · · Score: 0

      > 8 is always 6 hours after two. Always.

      Incorrect.

      During British Double Summer Time in World War 2, the second zone shift (from single summer time to double) occurred at a 02:00 which got redesignated to 03:00. So on a BDST transition morning, if you said "see you in 6 hours" at 01:59:59 and started a stopwatch, then met up again in 6 hours according to the stopwatch, the time on the wall clock would read 09:00, not 08:00 (well, 08:59:59 if you're being pedantic).

      Or, since the above example technically doesn't disprove the point because there is no 02:00 on that paticular morning, use a shift in the opposite direction: the shift from BDST back to BST occurred at 03:00, which got redesignated to 02:00. In that case you could say "see you in 6 hours" at the first 02:00, then meet up in 6 hours and see that it was 07:00 on the clock.

      This is the problem with human timekeeping that OP is talking about: the only rule you can make that's absolute, is that you cannot make *any* assumptions, no matter how reasonable they seem. Go ahead. Pick some other pair of hours that you think is safe to say something like this about, and I'll show you a case where you're wrong. Timekeeping could be such a simple thing, if we just ticked seconds, but to actually keep truly accurate human time in all possible situations requires thousands of lines of code and some fairly extensive lookup tables to keep track of all the exceptions.

  9. So, let's discuss this.... by bobbied · · Score: 1

    Hold up, slow down.... Wait just a second...

    We are going to debate this for weeks? The solution is clear and the question is easy... How close do we need to be to the astronomical time? Once you answer that, we all know what to do.

    --
    "File to fit, pound to insert, paint to match" - Aircraft Maintenance 101
    1. Re:So, let's discuss this.... by NonUniqueNickname · · Score: 1

      The solution is clear and the question is easy...

      Obviously we gotta speed up the earth's rotation so it keeps up with our clocks.

    2. Re:So, let's discuss this.... by Kythe · · Score: 1

      The main reason for aligning clocks with the sun is for navigational methods that aren't really used anymore.

      At this point, it makes much more sense to have a fundamental time reference that provides 60 seconds to a minute, period, and if you really want to translate to your local sun-referenced time, make use of translation tables.

      Right now, we muck with the fundamental reference. That's the basic issue that needs solving.

      --

      Kythe
    3. Re:So, let's discuss this.... by msauve · · Score: 2

      "How close do we need to be to the astronomical time?"

      For UTC, within 1 second. That's what it was created for, to follow Sol, just like the other UTx timescales.

      For those who don't care, there are timescales which don't have leap seconds - TAI, GPS, etc. Use them instead of trying to redefine UTC to be completely decoupled from its intended purpose.

      This issue isn't leap seconds, it's lazy or stupid programmers or committees who don't or won't understand how UTC works.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
  10. Software must tolerate timing errors by frog_strat · · Score: 1

    It must either deal with it or be designed to fail gracefully. It's not like we have a choice.

    1. Re:Software must tolerate timing errors by Anonymous Coward · · Score: 0

      It's not like we have a choice.

      There is a choice: you can buy better clocks so that the probability of a timing error is as low as the probability of an arithmetic error in the processor. When you do that you have no more reasons to design software to tolerate timing errors than you have reasons to design software to tolerate 2+2=5.

    2. Re:Software must tolerate timing errors by Anonymous Coward · · Score: 0

      Time tolerances aren't at a standstill, either. Clocks are more reliable and more precise, but we keep demanding more precision.

      If you think you can just wave the problem away, then you're part of the problem. Do you just abort() on malloc failure, too, because you've never personally encountered malloc returning NULL? Do you not care about arithmetic overflow, because you assume the operand values will always be small? People started making these bad assumptions when computers became more powerful And, it's true, the assumptions held more often, but they still fail for a substantial number of cases. And that's before we look at situations where attackers could induce failure.

      Please don't write any software that does anything remotely safety or security critical. Your laziness is the reason why software quality generally sucks.

  11. there is only one viable solution by Anonymous Coward · · Score: 0, Insightful

    Naturally: the earth's rotation must be sped back up to match the clocks.

    This avoids any trouble with legacy systems crashing and so forth, and is likely easier to implement.

    1. Re:there is only one viable solution by Guy+Harris · · Score: 1

      Naturally: the earth's rotation must be sped back up to match the clocks.

      Time for the International Earth Rotation and Reference Systems Service to get to work on providing that service, then....

      (It was better when it was just the International Earth Rotation Service and it was clearer from the name that adjusting the earth's rotation was their job.)

  12. Those who do not understand the calendar ... by Anonymous Coward · · Score: 0

    ... are doomed to reinvent it, poorly.

    Seriously, programmers need to get over it. There is not a damn bit of possibility that a fixed-size physical unit of "the second" will be adequate for timekeeping without inserting some form of leaps. The leap is not a programming issue. It is a fundamental feature of our Earth and its rotation. If you don't want to write software for Earthlings, go somewhere else.

  13. If you can't deal, don't use UTC by oneiros27 · · Score: 3, Insightful

    There are plenty of systems for time that *don't* involve leap seconds.

    If your system's too crappy to be able to deal with leap seconds or you don't have a way to update them, use TAI or GPS time.

    Don't screw with the definition of UTC just because you can't handle the complexities of it. It's not like someone's forcing you to use UTC, UT1R, or one of the other UT systems that are specifically intended to deal with issues of local noon.

    (disclaimer: I work for a group that deals with solar observations*)

    * and even one of them almost screwed the pooch and didn't distribute the update for the June/July 2015 leap second until 3 days before it happened ... and of course it was compiled in (for speed, they claimed**) rather than be an external file.

    ** if it really was for speed, then they need to flip their giant if/then structure so it starts in the present and walks backwards in time, rather than how they're doing it now where it runs dozens of tests that will always fail for a spacecraft that wasn't launched 'til 2010.

    --
    Build it, and they will come^Hplain.
    1. Re:If you can't deal, don't use UTC by Kozar_The_Malignant · · Score: 1

      Around here there is "River Time." It has considerable flexibility built in. For example, 1:00 p.m. can be read as, "sometime after lunch today, or maybe tomorrow morning." It works for most things, but probably not for launching that next probe to Europa.

      --
      Some mornings it's hardly worth chewing through the restraints to get out of bed.
    2. Re:If you can't deal, don't use UTC by Anonymous Coward · · Score: 0

      Screw you.

      The leap seconds are not announced by legislation. They're determined by observing the arrival time of extremely accurate natural time source -- pulsar signals -- and they're announced in at least 6 months' advance. How many months do you really need to update the bloody server?

      If there's a kernel problem when time gets stepped, update the kernel.
      If your application needs monotonic time, don't use the UTC for that job.
      If you're asked to use UTC in some aspect of the application for legal compliance, the NTP is there for you to sync with your nation's time source. Handle the leaps CORRECTLY as you are expected to do so.
      If your code gets "regular testing" and still fails, fix the code AND the tests. Or resign and let someone else do it.
      If you don't like your country's law, or the way it is enforced, vote it down, overthrow the government, or emigrate.

      Stop spewing shit.

    3. Re:If you can't deal, don't use UTC by sjames · · Score: 1

      Why are you bitching at the astronomers when the problem is clearly the legislators?

    4. Re:If you can't deal, don't use UTC by amorsen · · Score: 1

      Because it is the astronomers who are causing the problems. They are the ones who lobby to keep leap seconds in UTC.

      --
      Finally! A year of moderation! Ready for 2019?
    5. Re:If you can't deal, don't use UTC by sjames · · Score: 1

      That's like saying you are mad at car makers for not producing 2 wheeled cars that you sit on top of. Of course astronomers want leap seconds in UTC, that's it's definition. There exist plenty of standards that leave the leap seconds out, get your legislators to embrace one of those if that's what you want and quit trying to legislate a hammer into a screwdriver.

    6. Re:If you can't deal, don't use UTC by amorsen · · Score: 1

      Astronomers are the ones who are pushing for a standard with leap seconds to be used for general timekeeping. Their lobbying is what is stopping legislation from being sane.

      --
      Finally! A year of moderation! Ready for 2019?
    7. Re:If you can't deal, don't use UTC by at10u8 · · Score: 1

      I wish we lived in a world where regulators paid attention to astronomers. Astronomers were the ones who warned that implementing leap seconds was a bad idea (see the section "Coordinated Time" starting on page 345). Nobody listened to astronomers then, and astronomers have not gained such powers in the ensuing 45 years.

  14. Pick an epoch and go with it... by sjbe · · Score: 1, Interesting

    How close do we need to be to the astronomical time?

    My argument would be that we don't. Who cares if the seasons shift to different months over a few hundred years? It's not going to be important within the lifetime of anyone reading this. If it snows in June instead of December I just don't see that as an actual problem. Pick an epoch and count from there. No need to keep the seasons matched to the calendar for eternity. In fact if we leave Earth, doing that will quickly become highly impractical.

    1. Re:Pick an epoch and go with it... by Anonymous Coward · · Score: 0

      About the same number of people who would care that there was a leap second every now and then.

      But in 4000 years, those seconds will make for some uncomfortable retrofitting if they're not added in in the meantime,whereas if they solve the crashing bugs, they won't affect anything in 4000 years.

      And please remember that the ones making the problem important are NOT the programmers or engineers, it's the money in Wall St that want time to stay the time but stay convenient for THEM (and proving that they got the bid in first).

    2. Re:Pick an epoch and go with it... by 91degrees · · Score: 1

      I agree. Astronomers are smart enough to be able to compensate for a known few seconds of arc offset between the astronomical time and clock time. For the rest of us, having the timezone drift to the side is not going to cause any noticeable difference in the position of the sun for several centuries.

      Did find this on wikipedia though Under the proposal, leap seconds would be technically replaced by leap hours as an attempt to satisfy the legal requirements of several ITU-R member nations that civil time be astronomically tied to the Sun. So I guess these nations might still be causing problems, disliking this clunky workaround.

    3. Re:Pick an epoch and go with it... by UnknownSoldier · · Score: 1

      > But in 4000 years, those seconds will make for some uncomfortable retrofitting

      Uh, if we are still using the same software from 2015 in 6015 I think we just might have bigger problems. :-)

      It is far better to be consistent then accurate and inconvenient.

      Same reason we should get rid of that DST crap. Simple = far fewer accidents.

    4. Re:Pick an epoch and go with it... by Anonymous Coward · · Score: 0

      Leap seconds have nothing to do with seasons.

    5. Re:Pick an epoch and go with it... by spauldo · · Score: 1

      Leap seconds correct for the Earth's rotation, not its revolution around the sun.

      It's not that we'd see snow in July, but that we'd see sun at midnight.

      --
      Those who can't do, teach. Those who can't teach either, do tech support.
  15. I cut the board twice... by truck_soccer · · Score: 1

    ...and it was still too short.

  16. Re: Yoda needs at least another second to finish by Anonymous Coward · · Score: 0

    What in the wide world of sports is this?

  17. Ugh, not this again by 93+Escort+Wagon · · Score: 1

    I don't know what it is that drives a certain set of computer nerds to demand the rest of the world change their practices and deal with the cascading list of effects, just because said nerds find something inconvenient or annoying.

    This is so much like the "everyone needs to switch their lives to UTC" droning... it's just not funny anymore.

    --
    #DeleteChrome
  18. Yeah, solves every bug. Hide the problem. by Anonymous Coward · · Score: 0

    The problem is that the leap second shows how your systems fail if there is a synch problem or delay in time propagation. So removing the leap second merely means you won't find the bug and fix it when you know what the most probable cause is.

    Dealing with 61 or even 62 seconds in a minute would be required even if it were due to a lag of time updates causing 59 becoming 59 a second later, then maybe 59 another second after that, which could happen if the time servers propogate incorrectly.

    But try debugging that situation. Even the proximal cause is hidden because all you see are timestamps of :58 going to :59 and then going to :00.

    So, yeah, totally remove leap seconds.

    Because it's inconvenient dealing with time that isn't 100% monotonically increasing, like computers will do.

  19. Pular Star by Anonymous Coward · · Score: 0

    Shouldn't we be timing the world against a pulsar star instead of the earths rotation?

  20. Re: Yoda needs at least another second to finish by Zontar+The+Mindless · · Score: 1

    An old-timer?

    --
    Il n'y a pas de Planet B.
  21. Yay. by multi+io · · Score: 1

    The addition to UTC is supposed to keep atomic time aligned with Earth's rotation, but past leap seconds have caused server crashes

    So some day it'll be dark at noon, but our buggy software will still function.

  22. on_time_discreptancy :== reboot by swschrad · · Score: 1

    that'll hold the little bastards

    --
    if this is supposed to be a new economy, how come they still want my old fashioned money?
  23. Why not just adjust slowly via NTP? by khb · · Score: 1

    I appreciate that its necessary to adjust the clocks to celestial bodies as appropriate. But why do it all at once, and suffer from the aftereffects.

    When a leap second WOULD have been declared, have the NTP stratum-1 servers bias things a bit until the -1 and astro-time match, and let the world catch up over the next few hours/days (one tiny increment at a time).

    No software glitches. Tiny differences between systems, but we always have those anyway.

    Astronomer's and other's that really care, use -0 time adjusted directly ... or adjust their local clocks for a bit.

    1. Re:Why not just adjust slowly via NTP? by Anonymous Coward · · Score: 0

      This would work for most people I think, but the real issue isn't about most people. Nobody gives a shit what happens with leap seconds. Financial institutions, scientific operations, and GPS calculations DO need to know how this works precisely however.

    2. Re:Why not just adjust slowly via NTP? by Anonymous Coward · · Score: 0

      Effectively, this will change the (average) length of "a second" during those hours/days for all the clients, which will create new problems. Perhaps this will screw up NTP's synching algorithm, and it's likely the client sees this kind of unstable source as damage and routes around it.

      Right now, NTP can apply slews gradually if it is configured to do so, but it does this to the client-side's kernel clock. There's no reason you should do this in the time source.

    3. Re:Why not just adjust slowly via NTP? by Anonymous Coward · · Score: 0

      That's actually exactly what Google does with their server farms:
      https://googleblog.blogspot.co...

      (posting AC because mod points)

  24. Eh? by wonkey_monkey · · Score: 2

    The days of 61-second minutes may be coming to an end

    Wait... are they getting rid of days, seconds, or minutes?

    --
    systemd is Roko's Basilisk.
    1. Re:Eh? by Anonymous Coward · · Score: 0

      The days of 61-second minutes may be coming to an end

      Wait... are they getting rid of days, seconds, or minutes?

      Take your pick, it make no difference. One minute, one day, one week, one month, one year are all a second longer.

    2. Re:Eh? by Anonymous Coward · · Score: 0

      We'll get back to you in 61 minute-hours.

  25. Leap-Seconds Existed More Than 45 Years Ago by DERoss · · Score: 5, Insightful

    Leap-seconds were properly handled in computer software before most of today's software engineers and programmers were born.

    Back in 1969, I started working on a software system that already handled leap-seconds quite smoothly. At that time, keeping UTC aligned with the rotation of the earth involved introducing fractional seconds and also having UTC seconds NOT the same duration as atomic seconds (TAI). In 1972, this was simplified by having UTC seconds exactly the same duration as TAI seconds and (after an initial fractional leap) introducing only leaps that were full seconds. The software in the system on which I was working DID NOT HAVE TO CHANGE!!.

    Internally, the system on which I was working -- which evolved and continued in use to operate military space satellites for over 20 years -- kept all time in TAI, which never has leap-seconds. A relatively small routine converted in either direction between UTC for displays and TAI for internal time. Another small routine converted from UTC to UT! to sidereal time, the latter more closely reflecting the rotation of the earth, which is gradually slowing and also has predictable periodic fluctuations. The purpose of all this was that we needed to know very accurately the spot on the rotating earth directly under the orbiting space satellite. The position of the satellite was known in TAI while the surface of the earth was rotating very closely to sidereal time.

    Also note that the network time protocol (NTP) also accounts for leap-seconds and has done so for decades.

    I can only conclude that the current attempt to do away with leap-seconds is a result of lazy software "professionals" trying to shift blame for their ignorance about leap-seconds.

    1. Re:Leap-Seconds Existed More Than 45 Years Ago by rasmusbr · · Score: 1

      Today's average programmer (a web developer) is typically expected to write orders of magnitude more code than people were in the 1960's. Of course the code quality is going to be lower.

      But the stakes are a lot lower too. It's not like someone's crappy JavaScrip is going to down a satellite, or accidentally launch a nuclear strike against Russia. Your average code monkey today might perhaps bring down Google or Facebook for a couple of hours if they make a really nasty mistake, which would probably be a net good, all things considered.

    2. Re:Leap-Seconds Existed More Than 45 Years Ago by guruevi · · Score: 1

      These days coders should use the libraries that person above wrote. We have libraries perfectly capable of handling time. And you shouldn't use a time representation (eg. passing the string "10-12-15") in your code anyways.

      The problem is that we have too many so-called 'coders' that have no idea of what programming is and how it should be done. The problem is that a JavaScript app or an ActiveX plugin might actually launch a nuke invoked by a VBA script the President wrote in Word, simply because that was the language the coder(s) knew and nobody up and down the chain knew what the actual correct way of doing stuff was..

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    3. Re:Leap-Seconds Existed More Than 45 Years Ago by rasmusbr · · Score: 1

      I think developers probably do use the libraries most of the time, but time libraries are easy to misuse if you don't know what you're doing and you're not willing to research and learn before you write code.

  26. Just count from an epoch by sjbe · · Score: 1

    But do you care if high noon is at midnight?

    NO! I really don't. The number is just arbitrary. I don't care if noon occurs at night or during the day. I don't care if winter occurs in June or December. I think all of that is pointless complication to keep the calendar matched to rotations of the Earth and orbits of the Sun. Keep the time keeping simple

    I actually like the idea of time being counted as orders of magnitude of seconds. A kilo-second is roughly 1/4 hour. 100kilo-seconds is just over a day. A mega-second is about 11 days. Basically a metric sort of approach. The only unit that should really matter is the second and there is no reason to adjust our timepieces or calendars to match arbitrary astronomical events.

    Frankly if we really wanted to keep synchronized to orbits we should have defined the second to be (close as possible) some divisible fraction of the time of revolution of the earth. (pick the kind that you like - sidereal, stellar, whatever...) But since we didn't, we either need to use a second order number (some multiple of a second) to define time or just not worry about it.

    1. Re:Just count from an epoch by Anonymous Coward · · Score: 0

      Basically a metric sort of approach.

      How do you write down business hours on a door with that system?

      Frankly if we really wanted to keep synchronized to orbits we should have defined the second to be (close as possible) some divisible fraction of the time of revolution of the earth.

      They did: one second was exactly 1/86400 of a day in 1820. The Earth's rotation is slowing down, which is the source of the problem.

    2. Re:Just count from an epoch by dcollins · · Score: 1

      "...since 1967 the second has been defined as 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."

      This "second", what an inelegant unit to use for the basis; it's not inherently based on an order of magnitude count in the first place; really it's just a legacy of some base-60 divisions of Earth's rotation time. Don't you think it would be better to define the second more simply as 10^10 periods of cesium 133 radiation? Then you'd really be on to something.

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

      --
      We know where leadership by an anti-intellectual "strongman" who scapegoats minorities and likes boisterous rallies goes
  27. An...an... while they're at it... by Billy+the+Mountain · · Score: 1

    Make water boil at 200F and make pi be 3 again!

    --
    That was the turning point of my life--I went from negative zero to positive zero.
    1. Re:An...an... while they're at it... by Anonymous Coward · · Score: 0

      Don't forget perfectly circular orbits. We need to legislate that into existence. Oh. And let's bring back epicycles. I've always been partial to them.

  28. It's really not that difficult. by Anonymous Coward · · Score: 0

    Find the maximum acceptable delta between noon being when the sun is actually in the sky and UTC and only issue leap minutes when that delta has been exceeded. Leap minutes would make this a far less frequent event. It will take years before 12:00 is 12:01 and we have to issue a correction.

  29. Calendar drift is fine by sjbe · · Score: 1

    Astronomers are smart enough to be able to compensate for a known few seconds of arc offset between the astronomical time and clock time. For the rest of us, having the timezone drift to the side is not going to cause any noticeable difference in the position of the sun for several centuries.

    Exactly, and it REALLY doesn't matter if summer comes in June or December. We're just used to it a certain way but that doesn't mean it has to stay that way. Folks living 1000 years from now wouldn't know the difference anyway.

    Did find this on wikipedia though Under the proposal, leap seconds would be technically replaced by leap hours as an attempt to satisfy the legal requirements of several ITU-R member nations that civil time be astronomically tied to the Sun. So I guess these nations might still be causing problems, disliking this clunky workaround.

    Then those folks can handle the workaround themselves or get on board with the program. If they want to be a special snowflake then they can deal with the problems that causes. The rest of the world uses the metric system even though the US insists on sticking with US Customary Units and that works out ok (mostly).

  30. More and more of a solved problem by Anonymous Coward · · Score: 0

    Every time something craps out due to a leap second, they fix it, which means the # of things which can fail next time is less.

    Lather, rinse, repeat, and problem solved.

  31. They want to shift the problem to someone else. by NeoMorphy · · Score: 2

    Incompetent people like to shift problems to someone else. They're already trying to shift problems like "national debt", pollution,and "climate change" to the future generations and now they want to shift another problem to a future generation.

    I would prefer better coding and testing standards to be the norm. At the moment, every time a problem occurs because of a "leap second" it's noticed and fixed with a reminder that this is something to be watched and tested for. I would like to think that handling it would become part of the standard QA procedures, actually it should have already been part of QA, it's not new, this has been happening for over 40 years!

    If they think a "leap second" is a big deal then a "leap minute" or "leap hour" is going to really cause problems. They'll have longer periods of time for more bugs to accumulate and when they happen everything will have problems because either they'll fail or something they depend on will fail.

    1. Re:They want to shift the problem to someone else. by amorsen · · Score: 1

      If they think a "leap second" is a big deal then a "leap minute" or "leap hour" is going to really cause problems. They'll have longer periods of time for more bugs to accumulate and when they happen everything will have problems because either they'll fail or something they depend on will fail.

      Leap minutes or leap hours would be handled by the existing time zone handling, not by messing with the length of a second. That code is well tested and very robust.

      Warnings about leap minutes or leap hours could be made years in advance, leaving plenty of time to update the files on even the most remote systems.

      And yes, technically leap seconds should be handled via the time zone system as well. GNU even distributes a set of zone files for that purpose, the ones that start with "right" instead of "posix". No one uses them because they break if you use NTP. NTP does not distribute a leap-second free time scale. THAT is the true disaster in all this.

      --
      Finally! A year of moderation! Ready for 2019?
    2. Re:They want to shift the problem to someone else. by Anonymous Coward · · Score: 0

      Leap minutes or leap hours would be handled by the existing time zone handling, not by messing with the length of a second.

      Leap second does not mess with the length of a second. The second is defined as "the time of 9,192,631,770 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 a temperature of 0 K" and it stays as it is.

      Warnings about leap minutes or leap hours could be made years in advance, leaving plenty of time to update the files on even the most remote systems.

      In general, the "warning" of leap second is announced one year in advance. It cannot be made much sooner because it's an unknown quantity that must be measured.

      That code is well tested and very robust.

      The "very robust" code can handle timezone changes gracefully, but not leap seconds. Maybe it can be made more robust and handle both?

      And yes, technically leap seconds should be handled via the time zone system as well. GNU even distributes a set of zone files for that purpose, the ones that start with "right" instead of "posix". No one uses them because they break if you use NTP.

      Don't use incompatible combinations of software that are not meant to be used together.

      NTP does not distribute a leap-second free time scale. THAT is the true disaster in all this.

      The majority of NTP servers deliver UTC which has leap seconds. Calculate the monotonic time from that. The calculation is in principle not extremely different from retroactively calculating the local time using TZ files.

    3. Re:They want to shift the problem to someone else. by NeoMorphy · · Score: 1

      Leap minutes or leap hours would be handled by the existing time zone handling, not by messing with the length of a second. That code is well tested and very robust.

      I can see that working, but I'm not sold on the "well tested and very robust".

      If Apple iphones are working properly with time zones(daylight savings), that's only within the past two years. Can MS Windows use time zones properly or do you still have to set the hardware clock to the current time in the current time zone? Do they still prompt if it's okay to change to/from daylight savings if the computer was turned off during the time change? Java uses their own time zone files for some reason, no idea why they can't use the OS time zone files.

      You would think that it would be simple by now but for some reason a lot of developers do strange things with time handling. Until they learn to handle time zones properly I would expect them to mishandle time whether it be "leap minute" via time zone or "leap second" via ntp. If we switch to time zone handling for this then I envision a future where someone decides that we shouldn't have multiple time zones because it's too difficult to program for.

    4. Re:They want to shift the problem to someone else. by amorsen · · Score: 1

      The only problem with Windows time zone handling is the BIOS time being set to local time rather than UTC. If Windows has a time server configured, it will know whether the BIOS adjustment was made, so it is really not much of a problem in practice. It is only a problem if you dual boot, and that is probably deliberate.

      Yes, Java uses its own zone files, but they get updated regularly too.

      I haven't had an iPhone for many years, so I don't know how they do with time zones.

      --
      Finally! A year of moderation! Ready for 2019?
    5. Re:They want to shift the problem to someone else. by Todd+Knarr · · Score: 1

      As someone who's written that code, the problem doesn't lie in the timezone code. It lies in the Posix definition of the time() function, requiring it to return GMT/UTC which has leap seconds in it. Programmers too often treat that as if it were TAI which does not include leap seconds, and bugs pop up when leap seconds make UTC jump relative to TAI. If time() returned TAI directly and the timezone code handled leap seconds everything would be a lot better. I find it amusing that that change wouldn't break much Unix code and would in fact probably fix a lot of subtle bugs by bringing time()'s results into alignment with the assumptions of the code using it. And NTP wouldn't be a problem, conversion from NTP's time back to TAI isn't that difficult. But no, we still have to deal with UTC.

    6. Re:They want to shift the problem to someone else. by amorsen · · Score: 1

      The second is defined as "the time of 9,192,631,770 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 a temperature of 0 K" and it stays as it is.

      Not on any system connected to NTP, it doesn't.

      The "very robust" code can handle timezone changes gracefully, but not leap seconds. Maybe it can be made more robust and handle both?

      It can handle leap seconds gracefully, except the warning time is too short. However, if you use time zone handling for leap seconds, you suddenly find yourself without any means of synchronizing your time with the rest of the world. Running like that is not very helpful.

      The majority of NTP servers deliver UTC which has leap seconds. Calculate the monotonic time from that. The calculation is in principle not extremely different from retroactively calculating the local time using TZ files.

      The majority of NTP servers deliver UTC, which is exactly the problem. There is no way to determine from the NTP time how many seconds elapsed since the start of the epoch. If NTP had been delivering an actually useful time standard, we would not be in this mess.

      --
      Finally! A year of moderation! Ready for 2019?
    7. Re:They want to shift the problem to someone else. by amorsen · · Score: 1

      I would be perfectly happy to let my servers run in such a mode, but I do not know of any NTP implementation which allows the system time to be set to TAI. Also, NTP synchronization around the leap second event is a mess, because some NTP servers smear the time.

      And finally, if I fail to update one of the servers in the time between a leap second is announced and the time that it takes effect, the server will now be one second fast. Unless it somehow records that NTP showed a leap second event happening. If NTP carried TAI and a separate field with current offset between TAI and UTC, this would no longer be a problem.

      --
      Finally! A year of moderation! Ready for 2019?
    8. Re:They want to shift the problem to someone else. by gnasher719 · · Score: 1

      If Apple iphones are working properly with time zones(daylight savings), that's only within the past two years.

      The operating system has handled everything fine for a long time. The problems are in applications. For example an alarm clock that should ring an alarm every morning at 8am, but the programmer set it to ring an alarm every 24 hours. And twice a year, "24 hours later" is either 7am or 9am.

      An extreme case that caused me some headache (as a user of an alarm clock): An iPad notices when you move from time zone to time zone. I was on a ship, which would cross to another time zone through the night, and I wanted to be woken up at 8am. How do you set your alarm clock? Even if the alarm clock app handles DST (which it can because it can know how long away "8am tomorrow" is), the changed time zone is not foreseeable.

  32. Third-party dependencies by tepples · · Score: 1

    More often than not these issues stem from people trying to roll their own time handling code / int'l address code / i18n / etc rather than using one of the standard (and well-tested) libraries available in their language.

    In some cases, the well-tested library is a third-party library that ships with neither the language nor the default install of the operating system. This leads to "I couldn't get the application to start because I couldn't figure out how to follow the instructions to install the required third-party library" or "I couldn't get the application to start because I lack privileges to install the required third-party library." A company may think rolling one's own good enough library is cheaper than fielding these support calls.

    Or the well-tested library is either proprietary or copylefted and cannot be lawfully combined with a copylefted or proprietary application respectively. This affected me at work when I was looking for transliteration libraries to make addresses in foreign scripts recognizable to the U.S. Postal Service, but the good one that everyone recommended was GPL (not LGPL), and the boss chose that we roll our own rather than make our own application free software.

    1. Re:Third-party dependencies by UnderCoverPenguin · · Score: 1

      Or the well-tested library is either proprietary or copylefted and cannot be lawfully combined with a copylefted or proprietary application respectively. This affected me at work when I was looking for transliteration libraries to make addresses in foreign scripts recognizable to the U.S. Postal Service, but the good one that everyone recommended was GPL (not LGPL), and the boss chose that we roll our own rather than make our own application free software.

      There is a way around this: Turn the GPL library into a service, then the (proprietary) application can contact the service to perform the conversion and provide the result. Only the service based on the library would need to be GPL.

      Using "localhost" (IPv4: 127.0.0.1, IPv6: ::1), there will be no network traffic involved. If running this on some flavor of Unix (BSD, Linux, Mac OSX, etc), you could use named, Unix domain sockets instead.

      This would probably have been less effort to get working than creating your own library.

      IANAL, so can't speak to legal matters, but I am aware of many proprietary applications that use GPL services (and vice-versa) everyday. Also, many proprietary applications come with bundled GPL applications/tools. For example, several of the vendor specific compilers I use at work have copies of GNU Make and several other GPL licensed tools included in the package.

      Disclaimer: Always ask your intellectual property lawyer about any potential legal issues.

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    2. Re:Third-party dependencies by tepples · · Score: 1

      I guess "serverizing" the copylefted library in the manner you describe would have been fine in the specific case I ran into at work. The "aggregate" section of the GPL FAQ provides vague guidance as to when two programs are considered too coupled for an "aggregate" defense.

      But I can think of other cases where you can't bundle a copylefted executable in the install package at all, such as porting a game to a game console using a copylefted reimplementation of the engine and assets licensed from the game's copyright owner. Console makers' developer agreements ban copylefted software.

  33. get rid of winter time by stooo · · Score: 2

    in the same time, we could get rid of summer/winter time change

    --
    aaaaaaa
  34. Leap Seconds are about the sun by Anonymous Coward · · Score: 0

    Okay boys and girls, I've people talk repeatedly in these comments about leap seconds in the context of the earth's rotation around the sun. That's not what leap seconds are for. Leap seconds are for keeping the clock in sync with daylight hours. If you let it drift, sunrise and sunset drift, not the seasons.

    1. Re:Leap Seconds are about the sun by Anonymous Coward · · Score: 0

      Exactly, this is because the Sun revolves around the Earth.

  35. No need to set clocks to daylight by sjbe · · Score: 1

    Because the primary function of time since the dawn of civilization has been to allow human activity to synchronize with the position of the sun, from planting seasons to night watches.

    Most human beings have lives that are affected by sunlight.

    The sunlight will happen at its own schedule whether or not we set our watches and calendars by it. We use Daylight Saving Time in large part precisely because the standard definition (noon = sun at highest point) doesn't actually work well for many of us. I don't really care if daylight starts at 7am or 7pm and it won't change fast enough within my lifetime for it to affect me much.

  36. DST all year please! by sjbe · · Score: 1

    Same reason we should get rid of that DST crap. Simple = far fewer accidents.

    Yep, go to DST year around. I have no use for daylight during working hours or during my morning commute. I do have a use for it after I get home. DST all year!

    1. Re:DST all year please! by Anonymous Coward · · Score: 0

      DST, because you're too damn stupid to wake up earlier.

    2. Re:DST all year please! by Anonymous Coward · · Score: 0

      +1

  37. Sunlight-synchronized biological clocks by tepples · · Score: 1

    Scheduling life and work based on a pulsar would need to somehow override the biological tendency of the human body to synchronize its activity cycle to sunlight levels, which are correlated to the earth's rotation relative to Sol more than to a pulsar.

  38. Circadian rhythm by tepples · · Score: 5, Informative

    We let "one year" drift enough that it only needs to be corrected once it's off by a whole day. Why not let [86,400] seconds accumulate and have a second leap day every hundred thousand years or so?

    Because sunlight levels over a day control more recurring human biological processes, such as alertness, than any natural phenomenon with a year's period.

    1. Re:Circadian rhythm by peragrin · · Score: 1

      Yet those biological processes don't care about the number of transactions that occur in each millisecond.

      Adjust it once every4 years on the leap day. The biological processes won't notice and computers can figure it out easier with a lookup table.

      --
      i thought once I was found, but it was only a dream.
    2. Re:Circadian rhythm by medv4380 · · Score: 1

      Just let it build up over an hour and define a leap day light savings time where to don't move out clocks back an hour.

    3. Re:Circadian rhythm by physicsphairy · · Score: 1

      But the time we set our clocks to has no bearing on levels of sunlight, that's just how we originally began measuring it. We can start our days at 8am as well as we can start them at 7am. Apparently we really like being able to have everyone in large (but not too large) geographic regions say they 'start work at 7' and that 'Spongebob will be on at 9.' Whatever reasons we have for that, are they reasons which are going to fall apart if things shift by 1 second every couple of years? I'm guessing not.

    4. Re:Circadian rhythm by KGIII · · Score: 1

      Those are, indeed, words.

      --
      "So long and thanks for all the fish."
    5. Re:Circadian rhythm by Anonymous Coward · · Score: 0

      You're right, of course.

      And yet, to those recurring biological processes it doesn't matter one whit whether we call wakey-wakey time six o'clock or eight o'clock or twenty-one o'clock.

      Some SF story did away with time zones on Earth. Excellent idea.

  39. Stupid monkeys with their stupid wrist watches by TiggertheMad · · Score: 1

    Time isn't hard to get right. We have just done done a wonderful job of making it complicated. A second is defined as a fixed period of time based on what was thought to be 1/60th of 1/60th of 1/24th of a day. As we get better ways of accurately measuring a day, we just haven't redefined it.

    1) Redefine a second to account for leap seconds, leap centuries, and any other extra corrective increments we might need to apply. We now know really well how to measure the Earth's rotation accurately, and we could even account for relativity by taking in altitude if you want to be really accurate. A lot of hardware will need to be updated, so this seems impractical.

    2) Ignore leap seconds altogether. Why do we need the time to match when the sun is overhead during a solstice anyway? Why do you need time zones at all? Is it really important to have everybody in the word getting up at 8 am and going to bed at 10 pm? It is important to know that California is 8 hours ahead of GMT, but the actual local time is just a number. Ignoring leap seconds will cause gradual time drift, but if we stop trying to force a discrete calendar onto non-integer time cycles, the problem just goes away.500 years from now, the winter solstice might be in June in the Northern Hemisphere, but honestly, who cares?

    --

    HA! I just wasted some of your bandwidth with a frivolous sig!
    1. Re:Stupid monkeys with their stupid wrist watches by rainmaestro · · Score: 1

      Time isn't hard to get right. We have just done done a wonderful job of making it complicated.

      Also known as, we've made it hard to get right. We're not talking about time in the abstract, we're talking about our implementation of it being hard to get right because we have complicated the hell out of it.

    2. Re:Stupid monkeys with their stupid wrist watches by JazzLad · · Score: 1

      everybody in the word getting up at 8 am and going to bed at 10 pm

      Mmm, 10 hours of sleep a night, sign me up!

      --
      "If you have nothing to hide, you have nothing to fear." - Every fascist, ever
    3. Re:Stupid monkeys with their stupid wrist watches by angel'o'sphere · · Score: 1

      Perhaps you should read a bit about calendars.
      E.g. when and why the Gregorian calendar was introduced.
      I personally find it quite comfortable that in local time the sun is straight ahead above me. Regardless where I am. E.g. I don't have to mess around when sailing. South or north, depending where you are, is easy to figure.

      I don't get why idiots always proclaim 'time solutions' for the world.

      I suggest you put your watch to UTC. And life a year without adjusting it.

      A friend of mine did that, but gave up after two years, and we are only + one time zone off, in winter, + two in summer.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    4. Re:Stupid monkeys with their stupid wrist watches by kencurry · · Score: 1

      ... 500 years from now, the winter solstice might be in June in the Northern Hemisphere, but honestly, who cares?

      Father time.
      He is pissed off and wants to talk to you about this insensitive post.

      --
      sigs are for losers (except to point out that sigs are for losers)
    5. Re:Stupid monkeys with their stupid wrist watches by bluefoxlucid · · Score: 1

      We can't redefine time because time is already defined as how long it takes for light to travel 3 gazillion meters in a vacuum.

    6. Re:Stupid monkeys with their stupid wrist watches by countach · · Score: 1

      The problem is the earth is not consistent. Various factors make the length of a day keep changing by tiny amounts. Now I suppose you could redefine the second continually, but that would be much worse chaos for all the clocks in the world, and it would be chaos for scientists who like to make absolute statements with unchanging measurement units.

    7. Re:Stupid monkeys with their stupid wrist watches by jandrese · · Score: 1

      Anybody who thinks time is easy to get right has never looked too closely at it. There are a million complications, many of which are political or historical. Leap Seconds are only part of it. There are also Leap Years (quick, is the year 4000 a leap year?), changes in the calendar system (what happens when you try to display September 3, 1752? What if you change your locale to the US? What if you change it to France?), politicians deciding to screw around with Daylight Savings Time (thank you George W. Bush), Time Zones, politicians deciding to screw around with time zones (thank you Kim Jong Un), etc...

      Modern timekeeping is a nightmare. Even if you have a library dedicated to getting it right, they usually don't ask enough information to get it 100% correct because 99.9% of the time said inputs would be annoying and irrelevant. It's like asking for a library that just magically makes your code support Unicode. It's impossible because the implications extend into your own code as well. You have to think about the thousands of weird edge cases to get it completely right, there's no magic bullet. Oh, and virtually no program in the world gets it right. Not even huge ones that have thousands of professional developers. For example: Firefox and Chrome have issues with the RTL indicator, one of the first and most obvious pitfalls of Unicode development.

      --

      I read the internet for the articles.
    8. Re:Stupid monkeys with their stupid wrist watches by Yoda222 · · Score: 1

      Put a few giant thrusters around the equator or giant reaction wheels somewhere, and we could solve the earth time inconsistency by controlling the earth angular momentum. (note: if we use the reaction wheel option, we need also something to dump the accumulated momentum)

    9. Re:Stupid monkeys with their stupid wrist watches by Gavagai80 · · Score: 1

      The Earth's rotation is neither steady nor predictable. Over time it's slowing down, and events such as large earthquakes can cause unexpected changes. At any rate, keeping the length of a second precise as it is is extremely important to science. If you change the second, you also change the nanosecond etc.

      --
      This space intentionally left blank
    10. Re:Stupid monkeys with their stupid wrist watches by RockDoctor · · Score: 1

      As we get better ways of accurately measuring a day, we just haven't redefined it.

      You may not have seen it being redefined. I've lived through at least two redefinitions of how time is measured. In the late 1960s there was a switch from ephemeris (essentially astronomical) time to time defined by atomic clocks, and then in the late 1990s there was a switch from frequency definition to a speed-of-light definition, combining the second and the metre.

      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
  40. The time zone of each station's market by tepples · · Score: 1

    But the primary function of time today, is not to synchronize activity with the sun. Today, it's to synchronize human activity with other human activity, often across great distances.

    It's both. It's to synchronize human activity with other human activity, some of which also happens to be synchronized with the sun over the course of about a week.

    The number of broadcast networks who said "the game starts at 7" for a game being played by two teams local to different time-zones!

    It refers to the time zone of each terrestrial broadcast station's market, either the city of license or of the nearby major city that it serves. A signal at the permitted transmission power of a radio or TV station license usually doesn't reach far outside the intended time zone. A station licensed in a city in a different time zone would describe the start of the match relative to that city's time zone: "the game starts at 8".

    Hey, one network even said "...at 7 ET". There is no such thing as ET. There's EDT, and there's EST. You figure out which one they meant.

    Unless the event is near 2 AM Sunday morning on the transition day, it can be easily calculated from whether or not applicable law in the station's market applies DST on the date of the event.

  41. TAI is the fundamental reference by tepples · · Score: 1

    The main reason for aligning clocks with the sun is for navigational methods that aren't really used anymore.

    You mean like the human biological tendency to be active at certain hours before and after peak outdoor light?

    At this point, it makes much more sense to have a fundamental time reference that provides 60 seconds to a minute, period, and if you really want to translate to your local sun-referenced time, make use of translation tables.

    Theoretically this "fundamental time reference" is TAI (International Atomic Time, and the leap second history acts as the "translation tables" you describe between TAI and UTC. The problem is that UNIX adopted UTC as the basis for its timestamps.

    1. Re:TAI is the fundamental reference by Anonymous Coward · · Score: 0

      The problem is that UNIX adopted UTC as the basis for its timestamps.

      And if UNIX had adopted TAI as the basis for its timestamps, then a meeting scheduled for 2 pm UTC next year would later be displayed as 1:59:59 UTC when the system becomes aware of an upcoming leap second in 6 months. There's no easy solution.

  42. Re:It's not the programmers fault by museumpeace · · Score: 1

    remember how Y2K was supposed to crash all civilization because bad code in the bowels of all infrastructure and control systems could not deal with the rollover from 1999 to 2000? That didn't happen much. I am still here. How is it that a 1 second error brings down a server?

    --
    SLASHDOT: news for people who can't concentrate on work or have no life at all and got tired of yelling back at the TV.
  43. Why this has been debated for 15 years by Anonymous Coward · · Score: 0

    The ITU-R first received this issue as Question 236/7 in year 2001. They have spent nearly 15 years coming up with this list of 6 methods for dealing with leap seconds. In that note the most recent "Method D" from a group of countries who prefer no change because they are not satisfied with the documents that have been submitted to the ITU-R during the past decade.

    The debate continues because it is not a technical issue. We know how to count SI seconds by physicists watching cesium atoms, and we know how to count calendar days by astronomers watching the earth rotate. The question is about time producers and time consumers -- which of the time producers will have the hegemony, and whether the time consumers have enough agency to choose what time scale to use for their applications. The question is whether the days of the civil calendar will remain related to the rotating earth, or change to be 794 243 384 928 000 hyperfine oscillations of cesium-133.

  44. Adjusting time is too complicated by Anonymous Coward · · Score: 0

    Let's adjust the movement of the Earth instead. We just need to get the AIDA experiment right and scale it up a bit.

    1. Re:Adjusting time is too complicated by Anonymous Coward · · Score: 0

      Additionally, we should legislate that when we test rocket motors that the exhaust always points to the West.

    2. Re:Adjusting time is too complicated by tompaulco · · Score: 1

      It's way too complicated trying to get 3 things in sync: radiation of an atom, rotation of the Earth around it's own access and rotation of the Earth around the sun, no two of which are linked to another one other than our arbitrary standard, all three of which are not absolutes, but averages, and two (possibly 3) of which are slowly changing.

      --
      If you are not allowed to question your government then the government has answered your question.
  45. Why this has been debated for 15 years by at10u8 · · Score: 1

    The ITU-R first received this issue as Question 236/7 in year 2001. They have spent nearly 15 years coming up with this list of 6 methods for dealing with leap seconds. In that note the most recent "Method D" from a group of countries who prefer no change because they are not satisfied with the documents that have been submitted to the ITU-R during the past decade.

    The debate continues because it is not a technical issue. We know how to count SI seconds by physicists watching cesium atoms, and we know how to count calendar days by astronomers watching the earth rotate. The question is about time producers and time consumers -- which of the time producers will have the hegemony, and whether the time consumers have enough agency to choose what time scale to use for their applications. The question is whether the days of the civil calendar will remain related to the rotating earth, or change to be 794 243 384 928 000 hyperfine oscillations of cesium-133.

  46. Re:It's not the programmers fault by angel'o'sphere · · Score: 1

    Because the Y2K bugs got fixed.
    The one second leap second bugs: not.


            if (xx15

    Playing with various values of 19 and 20 for xx and yy and figure what would go on is left as an excersise for you!

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  47. kilo-second time keeping by sjbe · · Score: 1

    How do you write down business hours on a door with that system?

    Similar to how we do it now. Our current date and time system works from an epoch so it's really not much different. You'd need some sort of offset for a day for purely practical reasons. There are about 86164 seconds in a sidereal day but adjust the number to something close the actual rotation. Then it's just a multiple of that number from the epoch. Then you post the business hours as 32 kiloseconds to 64 kiloseconds. (that would be about 8 hours) Label the work week however you like. Could even remain the same as it is now if we like a 7 day week, though it might make sense to make a "week" 10 days or 5 days.

    1. Re:kilo-second time keeping by Anonymous Coward · · Score: 0

      If a shop writes "open from t % 86400 == 32000 to t % 86400 == 64000", and we have to do modulo math all the time to figure it out, then don't you think that we should instead base our time system on that 86400s cycle so that the modulo math is done by the notation?

  48. Unit tests by OrangeTide · · Score: 1

    If software developers would unit test their shit, this wouldn't happen.

    --
    “Common sense is not so common.” — Voltaire
  49. Re: Yoda needs at least another second to finish by Anonymous Coward · · Score: 0

    APK on a good day...

  50. Ahhh, a great excuse for a party! by Anonymous Coward · · Score: 0

    Atomic and earth time will always differ

    Folks run in earth time.
          Lawyer says auction at courthouse steps at noon, requires a legal definition of earth time.
          Airline says plane board at X time is in earth time.

    Machines run in atomic time.
        It provides a nice, smooth, continuous time stream.

    In order for folks to use machines, the 2 systems have to work together.
    This currently means that the 2 system's seconds tick together, but the labels for the seconds change from time to time.

    Assuming the 2 systems continue to tick together,
    the leap second discussion is about when the label relationship will change.
    Instead of having an occasional leap second, we might force our grandchildren to have a leap minute party at the turn of the next century.
    Unless you happen live in Greenwich and are married to the idea of the sun being directly overhead at noon,
      this seems a reasonable and fun compromise.

  51. Wait until it adds up... by Not-a-Neg · · Score: 1

    Wait until it adds up to an hour, then do an extra DST. Why do today what you can put off for a few decades?

    --
    -==- Buy a Mac and leave me alone!
  52. If I were king... by Billy+the+Mountain · · Score: 1

    I'd define a second to be exactly 1/86,400th of a day (where a day is the time for the earth to rotate about it's axis in reference to the sun)

    Thereby making each second a unique length of time. Each second going forward is slightly longer than the previous one. For consistency of measurement you must specify which second you are referring to. For example give me a second*, will ya? *The second that will occur on April 30, 2017, 16:07:54 UTC.

    --
    That was the turning point of my life--I went from negative zero to positive zero.
    1. Re:If I were king... by rubycodez · · Score: 1

      a negative leap second might be needed, the spec includes them though they are less likely. the earth's axis of rotation moves and jumps. so don't count on each second being longer than the next. otherwise your subjects might revolt and pass a metallic plane perpendicular to your axis at your minimum radius

  53. I just don't get how leap seconds are the problem by charrois · · Score: 1

    To me, this is like trying to legislate that pi equals 3. Like it or not, the Earth's rotation doesn't "behave" to our convenience. Getting rid of leap seconds is a massive step backwards, so after awhile the Earth's day doesn't align with the time we keep. Eventually, a fixed adjustment would need to be made, as has been done in the past when the problem wasn't handled as elegantly as leap seconds now do - and that's even more of a hack. The fact that servers crash just means that their software is poorly written in the first place and should be fixed. Many more servers than those isolated examples of problems, have handled the event just fine in the past, so it's not that hard to do. The simple solution - computer clocks kept synchronized internally to atomic time (TAI) which progresses simply and uniformly without caring about leap seconds and the Earth's rotation. Then, when humans need to view the time in a manner convenient to them, it's converted to local time which does account for leap seconds. No computer crashes, as it's just then a time display issue. Too bad Unix time doesn't already do this. If legislators wanted to get rid of needless and pointless complication, I'd much rather see them banning Daylight Savings Time... but that's another discussion.

  54. Use Regularly Scheduled Leap Seconds by crunchygranola · · Score: 1

    If you don't want the solar time and UTC to drift many seconds out of synch, but are willing to let the alignment between the two to drift by more than a second at any given time, then using the long-term average rate of rotation slowing to calculate regularly scheduled leap seconds seems the way to go.

    We add whole leap days at regular intervals, but it does not seem to cause any problems because everyone knows when they occur, even millenia in advance. It is not possible to schedule leap seconds that far in advance, but using an average trend over the last 20 years (perhaps), and the cumulative planning miss over the last decade, to plan for the next decade (say) would not allow deviations of more than a couple of seconds from solar time to ever accumulate.

    Look at a chart of the deceleration of rotation over decades.

    --
    Second class citizen of the New Gilded Age
    1. Re:Use Regularly Scheduled Leap Seconds by at10u8 · · Score: 1

      Please note that wikimedia chart shows the rotation of the earth has accelerated, not decelerated.

    2. Re:Use Regularly Scheduled Leap Seconds by rubycodez · · Score: 1

      No it doesn't, that's two graphs in one. The one graph shows a positive deviation to length of day (rotation slowing, day gets longer), and the other shows cumulative deviation from standard day (increasing in length over standard day so rotation slowing)

    3. Re:Use Regularly Scheduled Leap Seconds by at10u8 · · Score: 1

      At the beginning of the graph, about 1963, the length of day is 86400.0013 SI seconds.
      At the end of the graph, about 2015, the length of day is 86400.0010 SI seconds.
      That is a shorter day, a faster rotation, an acceleration.

    4. Re:Use Regularly Scheduled Leap Seconds by rubycodez · · Score: 1

      No, graph is of deviations.

      1965 day is 1.69776E+14 SI microseconds, 2015 day is 1.74096+14 microseconds

      Day is getting longer, look it up

    5. Re:Use Regularly Scheduled Leap Seconds by rubycodez · · Score: 1

      or to put another way, from 1900 to now the day is about 2 milliseconds longer on average. not much, no.

  55. Wake up earlier. by Anonymous Coward · · Score: 0

    Shift workers have to do it. And it's what you do anyway. How about stop making the clock lie and change when you get out of bed if you don't like when you get up?

  56. This is taking the wrong approach by spauldo · · Score: 1

    Why should machines use UTC at all?

    We have a time standard that doesn't use leap seconds - Atomic Time (TAI). We can convert between the two fairly easily.

    So why not instead push for software to use TAI in place of UTC, and then convert for output or whatever? We could just have leap seconds in our time zone files and forget about the machine actually experiencing 23:59:60 at all.

    --
    Those who can't do, teach. Those who can't teach either, do tech support.
    1. Re:This is taking the wrong approach by jc42 · · Score: 1

      Why should machines use UTC at all? We have a time standard that doesn't use leap seconds - Atomic Time (TAI). We can convert between the two fairly easily. So why not instead push for software to use TAI in place of UTC, and then convert for output or whatever?

      Yup; down at the lowest ("OS") level, that's exactly what's done, on all computer system except MS's DOS/Windows (and who among us actually know what those systems do internally? ;-)

      If you examine a unix or unix-like OS like linux's source code, you'll find that it has and uses the second counter that the time(3) function return, and has no need for anything above that. There are various user-level library routines that convert the time() value to assorted human-readable formats. Leap seconds are a feature of user-level code, not of the underlying system.

      I've seen any number of cases where a project attempts to deal with time via higher-level data formats than the simple second counter. All have eventually failed, and reverted to the second counter, which just keeps ticking along and leaves the conversion to complex time/date "display" formats to Someone Else.

      The one remaining problem is all the date formats that can't be reliably converted back to seconds. I keep running across dates like 10/8/12, for which it's utterly impossible to decide which field is the year, which is the day, and the other one must be the month. This often goes along with a time format that doesn't bother to include the time zone (or whether DST is in effect;-). But this is a social problem, not a technical one. The programmers understand that such formats aren't usable by the software, or even by humans in the near future.

      (Actually, I've seen some hints that a "formatted" time is in use inside Macs, perhaps in OS X itself, or in a very low-level library. This would explain some time anomalies that have been observed in a few apps. I wouldn't be surprised if they'd done something like this, to go along with the way the kernel munges file names so that strcmp() says the name in the directory is not equal to the name passed to open() when the file was created, thus breaking a lot of software developed on other systems. Maybe some day it'll be found and fixed. Or maybe not.)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    2. Re:This is taking the wrong approach by spauldo · · Score: 1

      It's user-level code I was thinking of. A lot of problems people are talking about aren't kernel-level, but related to bugs in the system libraries or applications.

      If applications used TAI for time and converted only for output, many of these problems would go away, or at least change "bug that crashes the server" into "bug that prints occasional wrong time value on reports." The latter is a lot more visible and would be easier to troubleshoot and get fixed.

      Databases are an example here: if databases used TAI instead of UTC for time values, it would eliminate a lot of the problems other people have been talking about in this discussion.

      Regarding Macs: I remember Steve Jobs saying at some point that Macs were Y2K compliant and had been from the start. Given that early Macs weren't 32 bit (and with classic MacOS not having any UNIX heritage), I wouldn't be surprised at all to find they use a formatted time. I'd be very surprised if OSX didn't use UNIX time at the core, though - having formatted time in a low-level library (for compatibility with classic apps) makes sense, though. But this is all speculation on my part.

      --
      Those who can't do, teach. Those who can't teach either, do tech support.
  57. Bad server software is bad server software by Anonymous Coward · · Score: 0

    That a server crashes when the NTP software updates is bad. And its not the atomic clock peoples' fault. And its not NTP's (the Network Time Protocol software that syncs a computers internal time clock with a remote accurate time server) fault. Its the software on the server that crashes the box. Its bad that it crashes the server. So fix the crap software. FIX IT! Don't say "oh its my blah blah blah system and I can't shut it off or fix it." No. Fix it or don't use NTP. There are systems that can slough systems in (slowly changing the time a few hundredths of a second per day till they are in sync). The worst are those who tell other people that they need to stop keeping accurate time. The time is the dog, and they are the tail. Tails can be cut off. Keep time accurate.

  58. Re: Yoda needs at least another second to finish by Zontar+The+Mindless · · Score: 1

    No, on his really good days, he does helpful things like getting access to /. from Tor blocked.

    --
    Il n'y a pas de Planet B.
  59. Stratum Zero leap smear over 6 mo/1yr? by TheRealHocusLocus · · Score: 1

    Following from Google's strategy, but spreading it out quite a bit so it would be more convenient and less devastating to tracking applications, YET would completely remove the leap hiccup from the IT world which seems to be the main concern...

    Why not agree to install a few 'shims' at all the world's stratum-zero sources that start a linear drift of 1 second over the course of six months to a year before the 'scheduled' leap second deadline? Then once the drift crosses the 1 second mark the shim is automatically disengaged? The drift would be precisely accounted for and measurable in GPS sources but would be hidden well below the noise level of NTP sync.

    If the drift would create a problem, it may only require specialized software to 'un-drift' the signal for those few high precision applications that already contain nanosecond-capable hardware and (presumably) a firmware update cycle.

    Just a few shims and some international coordination in place of umpteen million software changes or a clock drifting further out of sync... and the world's consumer GPS and Inter-networks would be infinitesimally off the mark for awhile?

    If you'd like to read what might be the world's only science fiction short story about loss of NTP sync, see my tiny yarn here on Slashdot, The Time Rift of 2100: How We lost the Future --- and Gained the Past.

    --
    <blink>down the rabbit hole</blink>
  60. Do more of it then by Anonymous Coward · · Score: 0

    Use the agile principle "If something is painful, do more of it". So we should introduce UJT, Universal Jitter time, where a control signal makes every third minute 60, 59 and 61 seconds long respectively. That makes sure that software can deal with all these cases on a routine basis. The control signal can then be adjusted to skip one of these in the cycle when a leap second is needed.

  61. Your sig / HOSTS by Tenebrousedge · · Score: 1

    I read SuricouRaven's post as referring to a DNS blacklist, which is the proper way to implement DNS-level blocks. Why are you promoting the worst way to interact with DNS?

    --
    Those who advocate genocide deserve every protection afforded by law, and none afforded by common human decency.
    1. Re:Your sig / HOSTS by tepples · · Score: 1

      Because you haven't explained how hosts is "the worst way".

      Hosts is two things: a file format for specifying DNS overrides, and a DNS blacklist tool that runs on the local machine and uses a file in hosts format. A DNS blacklist tool on a router could use hosts format or any other format, but hosts is widely supported by tools. A local DNS blacklist tool is helpful for someone who uses a laptop and wants his blacklist to follow him on any WLAN to which he connects. And there happens to be a blacklist tool built into each major PC operating system that uses the hosts file format.

    2. Re:Your sig / HOSTS by Tenebrousedge · · Score: 1

      Slashdot seems to filter posts with a high count of the words "hosts" and "file". I threw my post up on Pastebin, if you'd prefer an email exchange let me know.

      --
      Those who advocate genocide deserve every protection afforded by law, and none afforded by common human decency.
    3. Re:Your sig / HOSTS by tepples · · Score: 1

      You make a few good points about a certain DNS-level blocking tool. But in case that paste disappears, let me summarize the points with which I agree here:

      You mention two theoretical drawbacks of the hosts file format. One is lack of support for wildcards, such as *.cn or *.ru or *.someadnetwork.com. Another is lack of a way to specify NXDOMAIN, as applications may not treat a 0.0.0.0 result the same. But I don't see how "running a local web server" would make it malfunction, as 0.0.0.0 isn't the same as 127.0.0.1.

      In addition, you point out a practical deficiency in the resolver built into popular operating systems by not using an efficient indexing mechanism such as the Bloom filter described in the wiki page you mention. This causes a hostname not found in the file to take longer than one leap second to resolve, forcing a certain popular tool to have to reinvent the DNS wheel by managing its own cache of commonly used hostnames at the top of the file.

      As for your other points related to content-level blocking: A system-wide tool is useful to control applications other than your primary web browser. And even if web content blocking tools are faster, another claim is that their developers have "sold out" to the advertising industry by introducing initiatives such as "acceptable ads".

  62. Simple solution by vandamme · · Score: 1

    Speed up the earth, using solar-powered electric rail-guns at the equator to shoot depleted uranium at near-relativistic speeds, increasing the angular momentum to overcome losses.

    Thank you. Next, can we get rid of Daylight Savings Time?

  63. Seconds-Since-Epoch vs. Display Time by billstewart · · Score: 1

    Don't mess with the clocks - you can keep them accurate and adjust the display format for leap seconds, just like you do for leap year days, time zones, Daylight Savings, US-vs-EU Daylight Savings, etc. Yes, this means that some people won't fix their code, so they'll be off by a few seconds from consensus, but time will continue to be monotonically increasing so stuff won't explode. There are also people who write code that doesn't handle leap years properly (I'm less bothered by the people who only do Year%4 than the ones who check for Year%100 but don't check Year%400 .)

    And I haven't seen a Y2K bug in the field in, oh, at least a month or two (I forget if it was the "year=19100" bug or a different one.)

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  64. Re:It's not the programmers fault by Anonymous Coward · · Score: 0

    remember how Y2K was supposed to crash all civilization because bad code in the bowels of all infrastructure and control systems could not deal with the rollover from 1999 to 2000? That didn't happen much. I am still here. How is it that a 1 second error brings down a server?

    Yes, I remember spending a lot of time fixing those bugs. Thanks for giving those of us who worked hard to prevent a problem zero credit, asshole. Just because your job doesn't involve time accuracy doesn't mean mine doesn't. Me personally, I need to keep scientific instruments at different locations synchronized. Leap seconds are a total pain in the ass for us.

  65. Never was any real Y2K bug by Anonymous Coward · · Score: 0

    There never was any Y2K bug. There was a bug in 1986 where the 32 bit word in memory rolled over (I think it was 16:46 on a Thursday).

    Anyway, all the unfixed OS and applications at financial houses (TRW, etc) went down and they lost millions in the week or so it took to fix.

    The same folks the neglected to take take action in 1986 were "experts" warning of the "same" issue in 1999.