Slashdot Mirror


Leap Second To Be Added Dec 31, 2008

ammorris writes "Don't be the laughingstock of your friends when you shout 'Happy New Years' a second too early ... The International Earth Rotation and Reference Systems Service has announced that a leap second will be added on December 31, 2008 at 23h 59m 60s, meaning that this year will be exactly one second longer. The last leap second occurred Dec 31, 2005; they are added due to fluctuations in the rotational speed of the earth. You can read all about leap seconds on Wikipedia."

255 comments

  1. Second! by tirerim · · Score: 5, Funny

    I tried to resist, but I still leapt at the chance...

    1. Re:Second! by Bordgious · · Score: 1, Offtopic

      Is there a way to possibly block this particular "Anonymous Coward's" IP from posting? This offensive comment has been posted on every article I've seen posted today...

    2. Re:Second! by Anonymous Coward · · Score: 0, Insightful

      Offensive?
      Seriously, it's a bit of fun that you may or may not see, depending on when you post (i.e., has he been modded to hell already?).

      Oh wait, you're browsing at -1 and complaining?

      He also does have a very good point, in that you're actually leaving a shit and not taking a shit.

    3. Re:Second! by Anonymous Coward · · Score: 1, Insightful

      If you find that offensive, what are you doing on the internet?

    4. Re:Second! by quenda · · Score: 1, Informative

      Why are you drawing attention to it? Just let the moderation system do its job. It only takes one mod to drop an AC into -1 oblivion.

    5. Re:Second! by Anonymous Coward · · Score: 0

      You're new here, because you don't know what offensive *really* is.

      http://en.wikipedia.org/wiki/Shock_site

      There are sone things that are hard to unclick.

    6. Re:Second! by kno3 · · Score: 1

      ...go away!

    7. Re:Second! by Anonymous Coward · · Score: 4, Insightful

      It's like raising a puppy. The worst punishment possible is to pay no attention.

      The Internet is full of idiots/trolls/criminals/mentally ill. Banning is not a solution. After banning they just start to hide and use a proxy.

      Ignoring is the best way.

    8. Re:Second! by Ash+Vince · · Score: 0, Offtopic

      I have absolutely no idea what anonymous coward crap post you are talking about as I have all AC's weighted at -5. If you got to your settings page on slashdot you should be able to figure out how to do this too. It is one of the most useful features of slashcode for me and a great many other slashdot users.

      The moral of this is that if you want people to read your comments then you need to sign up and join the karma system like everyone else.

      The problem with blocking his IP is that most people in europe have dynamic IP addresses so changing your IP is as simple as reconnecting to the net.

      --
      I dont read /. to RTFA, I read /. to offend people in ignorance.
    9. Re:Second! by Jerry+Smith · · Score: 0

      Why are you drawing attention to it? Just let the moderation system do its job. It only takes one mod to drop an AC into -1 oblivion.

      http://slashdot.org/faq/com-mod.shtml#cm1100
      Moderaters are supposed to read at a low threshold, to be able to remod someone up who has been downmodded without reason.

      --
      All those moments will be lost in time, like tears in rain. Time to die.
    10. Re:Second! by Anonymous Coward · · Score: 0, Insightful

      don't group the mentally ill with those scum. people with broken arms, cancer, aren't necessarily trolls. This is the stigma, and you are the cause, stop making it difficult for people who already have a hard row to hoe you stupid cunt.

    11. Re:Second! by Anonymous Coward · · Score: 0

      'cause it's funny

    12. Re:Second! by ConceptJunkie · · Score: 1

      That's what mods are for. Apparently, however, they enjoyed the joke!

      --
      You are in a maze of twisty little passages, all alike.
    13. Re:Second! by digitalsolo · · Score: 1

      People with broken arms, cancer, etc. also aren't necessarily mentally ill. Those are physical ailments, not mental problems.

      Random insults are a great way to prove your point though, bravo!

      --
      Just another ignorant American.
    14. Re:Second! by iknowcss · · Score: 1

      That would be censorship, and from what I've seen of the opinions of everyone around here, that wouldn't fly. I think a better compromise would be to give the users of Slashdot a means to "ignore" certain anonymous cowards by their IP. Or maybe someone could write up a greasemonkey script that lets you block slashdot comments that match a certain phrase like "dropped a brown rope."

      --
      Life is rarely fair. Cherish the moments when there is a right answer.
    15. Re:Second! by Mad-Bassist · · Score: 1

      Work a few years in the average convenience store and see if your view is unchanged. ;-)

      --
      "The only legitimate use of a computer is to play games." - Eugene Jarvis
    16. Re:Second! by mmullings · · Score: 1

      I second that. Sorry had to do it. So what has everyone got in mind to spend that extra second doing?

      --
      I remember when MOD was an audio format, and DOS wasn't a network attack....
    17. Re:Second! by Sparr0 · · Score: 0, Offtopic

      I browse at +3, with Funny weighted -3. I would love to know what moderations are being applied to this guy's posts that keep him above my threshold in every thread.

    18. Re:Second! by Anonymous Coward · · Score: 1, Insightful

      Actually, the average Slashdotter only objects to censorship they disagree with. They're red hot on censoring people who dare to point out that, actually, Vista isn't as bad as, for example, AIDS.

    19. Re:Second! by Anonymous Coward · · Score: 0

      good useless point captain obvious.

      Even obvious questions deserve an answer.

    20. Re:Second! by Mozk · · Score: 1

      In other words, do not feed the puppies.

      --
      No existe.
    21. Re:Second! by kno3 · · Score: 1
      Dreaming about a place where people dont start posts:

      I don't follow [current topic], but here's my story...

    22. Re:Second! by tehcyder · · Score: 1

      If you find that offensive, what are you doing on the internet?

      Casual racism, even if intended to be funny, is offensive to a lot of people, and trolls such as the original post are obviously intended to be offensive.

      Do you think you should have no moral, intellectual or aesthetic reaction to anything you see on the internet, or something?

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    23. Re:Second! by badkarmadayaccount · · Score: 1

      Yes?

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    24. Re:Second! by badkarmadayaccount · · Score: 1

      +1 Insightfull @

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    25. Re:Second! by badkarmadayaccount · · Score: 1

      *swears* Wednesday December 31, @11:30AM,

      Your point was?

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  2. Gee, thanks for the notice by holophrastic · · Score: 3, Funny

    Uhh, wouldn't it be nice if we were given a little bit more of a warning? Say, something like, oh a week?

    1. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 3, Informative

      Technically, the original announcement was in July. This is just a reminder.

    2. Re:Gee, thanks for the notice by KiloByte · · Score: 4, Informative

      The bulletin is dated 4 July 2008, it's just the Slashdot article that's late. Or even, just on time as a reminder.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    3. Re:Gee, thanks for the notice by MichaelSmith · · Score: 5, Interesting

      Uhh, wouldn't it be nice if we were given a little bit more of a warning? Say, something like, oh a week?

      You may laugh, but I work in Air Traffic Control. We rely on absolutely precise timing in a system distributed over 1000s of kilometres. Many components can be marked as non-functional by the system if they appear to have an incorrect clock.

      Every time we add a leap second we get issues raised. I have to say it is a real PITA.

    4. Re:Gee, thanks for the notice by fastest+fascist · · Score: 5, Insightful

      No-one ever R's the FA, so the date on the bulletin is completely irrelevant. If it's not in a slashdot summary, we don't know about it.

    5. Re:Gee, thanks for the notice by xous · · Score: 5, Informative
    6. Re:Gee, thanks for the notice by MichaelSmith · · Score: 5, Informative

      Yes, but we are talking about interfaces between a lot of different networks, each of which have their own GPS based time reference. An NTP daemon in each network talks to the GPS device, but there is no way to be sure that all the daemons will slew the time at the same rate.

    7. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      Not exactly the same as you mention, but I wonder. How many applications do you think consider the amount of time passed to be the difference of two time_ts? They will probably be affected by this, if only for a second... Or, perhaps more likely would be that your system doesn't observe these, never syncs with a system that does, and your clock ends up a second off..

    8. Re:Gee, thanks for the notice by rew · · Score: 2, Insightful

      You mean that in a critical field-of-work a system that fails more often than "doesn't work on leap days" gets past the acceptance tests?

      I now understand where the pressure to remove leap seconds comes from. From the idiots that can't specify systems that handle them correctly.

    9. Re:Gee, thanks for the notice by valen · · Score: 5, Interesting

      Yeah, we had problems in Google with these too; we have large networks of machines that used to use multiple different NTP servers (for resilience). Turns out not all NTP servers implemented leap seconds the same way, and many cluster based applications get upset when they aren't synchronized to within 100ms.

        Now, we run a dry-run of a fake leap-second with all software a few weeks before the leap-second failover. It's the only way to be 100% sure that applications changed since the last leap second won't have problems. Though, most unittest frameworks now have the ability to implement second skewing, since the suffering caused by the 2005 leap second.

        The main problem is that the POSIX description of how to do a leap second is retarded; you basically go from 00:00:00 to 00:00:59, some apps also get upset when they see the same time twice.

      John

    10. Re:Gee, thanks for the notice by MichaelSmith · · Score: 0

      You mean that in a critical field-of-work a system that fails more often than "doesn't work on leap days" gets past the acceptance tests?

      Yes, I suppose so

      I now understand where the pressure to remove leap seconds comes from. From the idiots that can't specify systems that handle them correctly.

      A leap second applied across a distributed system where clocks will slew at different rates is effectively a source of noise. When your noise level increases some degradation of service is inevitable.

    11. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 5, Interesting

      Some people mistakenly think NTP is a silver bullet for handling timing issues.

      NTP is great for keeping consistent time *over time*. It is horrible for handling stuff like a leap second, it simply takes too long.

      Some systems use GPS, some use IRIG-B and some use NTP. Some handle leap seconds and some don't.

      If you work with telemetry, like I do, you need time to be 100% correct all the time or else the data is worthless. This leap second is actually causing NASa and other space agencies to not do satellite supports close to midnight on new-years eve UTC.

    12. Re:Gee, thanks for the notice by xous · · Score: 3, Informative

      Then switch to a stable time scale: http://en.wikipedia.org/wiki/International_Atomic_Time

    13. Re:Gee, thanks for the notice by Detritus · · Score: 4, Interesting

      NTP isn't good enough for many systems. Where I work, millisecond level accuracy and resolution is the bare minimum. Some applications require microsecond level accuracy and resolution. That's why we have dedicated timing systems and timing distribution systems. NTP is used on systems, like general purpose PCs, that don't have a requirement for accurate time.

      --
      Mea navis aericumbens anguillis abundat
    14. Re:Gee, thanks for the notice by tyldis · · Score: 1

      The summary gives the impression that they figured this out today. The announcement is just a reminder and a PR magnet.

      This has been known for quite some time and is significant for some industries (like my field of work; satellite telemetry).

    15. Re:Gee, thanks for the notice by xous · · Score: 1

      This is true but perhaps I'm not understanding the full importance of precise time keeping in respect to the air traffic control application. Is this used to provide accurate location information?

    16. Re:Gee, thanks for the notice by rew · · Score: 1

      Excuse me? If everybody supports leap days, and time needs to be accurately kept across systems, then all systems should simply implement leap seconds.

      It is not acceptable if some software implements the leap-day as the first day of a leap year. It is only acceptable as the last day of february.

      So when a leap second comes about, everybody leaps a second at the same time, and no noise is introduced.

      If clocks slew at different rates, they need to be corrected for anyway. So either you run public NTP which will probably give you leap seconds as well, or you run NTP on your private network. This is an out-of-the-box solution, but you could also chose to implement anything again from scratch. Fine.

      (I think you're worried about some systems applying it an hour early, and others an hour too late. The idea about leap seconds is that they happen, just like leap days, at a precise specified point in the calendar. Here in Holland we've been through the whole new years thing already by the time the leap second hits: We're at UTC+1. Here the leap second gets added just before 1:00 AM.

      If you're worried about there being half a second or so jitter between applications of the leap second, then the problems are 100x less than what apparently exists now when some systems got accepted without support for leap seconds. )

    17. Re:Gee, thanks for the notice by MichaelSmith · · Score: 2, Interesting

      I love the bit about baselining time at mean sea level. I am always amazed by how much complexity there is in the universe.

    18. Re:Gee, thanks for the notice by MichaelSmith · · Score: 2, Informative
      A couple of things:
      • The NTP daemon is normally used to interface with GPS clocks and to distribute time around a LAN. It never allows time to just jump. It always slews the clock. My ubuntu desktop system at work took two weeks to slew the time by a couple of hours.
      • As another poster pointed out, POSIX doesn't understand leap seconds the way it understands leap days. The leap second has to be faked by changing the speed of a clock for a while and living with the inconsistency in the mean time.
      • The main problem is with real time systems which continually broadcast their physical state and the time at which that state was correct. When the time starts to slew the system which listens to those messages may think the sender has a fault because the interval between messages seems to have changed (as reported by the sender). You might be trying to get millisecond timing accuracy over a packet switched LAN. To do that you have to rely on time stamps.
      • You just can't use NTP everywhere. Different components will run different OS's, some of which can't run the same NTP software. Some won't have TCP/IP networks to them, like aircraft. GPS is supposed to give the universal time reference. Its just that every now and then, it doesn't do exactly that.
    19. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      http://www.timecube.com/
      If only we embraced Time cube, we wouldn't have to deal with this nonsense.

    20. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      This statement is an oxymoron. "Absoulte precise timing" and "Every time we add a leap second we get issues raised".

      Raw high precision timing sources are **never** effected by leap seconds and arbitrary decorations.

    21. Re:Gee, thanks for the notice by growse · · Score: 1

      I thought NTP could handle leap seconds though? I seem to remember when there was a leap second about 3 years ago looking through the NTP logs and finding an entry saying something like "woohoo an extra second here!" - it just chopped the clock back a second. Could be wrong though.

      --
      There is nothing interesting going on at my blog
    22. Re:Gee, thanks for the notice by TheRaven64 · · Score: 1

      Why on earth would you use a calendar date in these systems, rather than a number of seconds from a fixed epoch date? Most computers store the time internally in such a format, as a time_t (which is either a large integer or a double, depending on the system), with the epoch date determined by the system designers. Converting between two such systems is just a matter of adding a fixed offset (the difference between the two epoch dates, in seconds). Converting to a calendar date is more complex, but the only time you do that is for user interfaces.

      --
      I am TheRaven on Soylent News
    23. Re:Gee, thanks for the notice by Lumpy · · Score: 4, Funny

      know about what?

      I dont even read the Summary, so what the heck are we even talking about?

      --
      Do not look at laser with remaining good eye.
    24. Re:Gee, thanks for the notice by azery · · Score: 1
      It's rather that radars, ATC centers,... verify that information is not to old for display/use. As such, all equipment verifies different time sources (e.g.g internal clock, external GPS reference, DCF clock, etc)

      With the addition of a leap second, you run the risk that some alarms will go off, indicating that there is a potential timing issue. This might cause the shutdown of certain systems.

      Using NTP is not always an option: older systems cannot always connect to an NTP server (what with a 20 year old radar?), you need additional secured datalines, etc

    25. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      My NTP steps the time when the difference is larger than a certain amount. Probably configurable somewhere.

      Agreed, with posix, you're in trouble with leap seconds. If you're building custom realtime software for critical hardware, You'll have to put some thought into the leap second issue. And or your NTP configuration.

      So we're agreed on that you can't just let NTP tweak your clock by a significant amount to adjust for the leap seconds. On the other hand, If you spread out the readjust over a full hour, the difference is less than 0.03 percent. You're doing some pretty tight monitoring if you notice such a small difference. On the other hand, I wouldn't be surprised if the default NTP config will keep your clock running in ms-level-sync until the leap second, and then run your clock 10% slow for ten seconds to adjust for the leap second(*). Applying a 5% margin will catch that.

      (*) On the other hand, as noted below by Growse, I wouldn't be surprised if the clock was yanked backwards by a full second at the right time either.

    26. Re:Gee, thanks for the notice by ari_j · · Score: 0

      Any announcement of a time-system complication less than two years in advance of its occurrence is late.

    27. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      >Every time we add a leap second we get issues raised. I have to say it is a real PITA.

      If "components can be marked as non-functional by the system if they appear to have an incorrect clock", then why are you using UTC as your timescale?

    28. Re:Gee, thanks for the notice by deaton · · Score: 1

      What are you complaining about? They gave you about 259,200s notice.

    29. Re:Gee, thanks for the notice by teridon · · Score: 4, Informative

      "Slew the time"? What system does that? According to the following page, the NTP server announces the leap second in advanced, and "well-behaved" kernels count the extra second like they are supposed to; i.e. there is no slewing:
      http://www.cis.udel.edu/~mills/leap.html

      --
      I hold it, that a little rebellion, now and then, is a good thing. -- Thomas Jefferson
    30. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      NTP distributes UTC, so it's no solution to this guys problem.

    31. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      >A leap second applied across a distributed system where clocks will slew at different rates is effectively a source of noise.

      I now see you are either a poseur, or a simple idiot.

      A leap second, or other calendar applied across a distributed real-time system IS JUST FLAT OUT, INCOMPREHENSIBLY, UTTERLY, TOTALLY, 100% PURE, INCONTROVERTIBLY, ROCK-HARD >>STUPID.

      You need only observe NTP in action, and all the manifest problems it has to see why that is true.

      GLONASS is another good example of incredibly inept systems engineering re: time. Maybe too much Vodka at the design meetings?

      Please read carefully: UTC is not a timescale. It is a *CALENDAR* -- it is wall-time, bureaucratic time, a time connected to the day-night state of the Earth and its related human residents.

      And a pseudo-random one at that.

      If you are building or operating a system that controls/monitors a dynamical systems of some kind, then you need a timescale that corresponds to the 't' in your state transition equations. A time that just ticks away uniformly, without further incident. Examples include GPS, TAI, and many others.

    32. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      >Now, we run a dry-run of a fake leap-second with all software a few weeks before the leap-second failover.

      Using UTC in this application is just plain idiotic. Why do you torture yourself? Why deliberately introduce this risk of failure? Why create the need to conduct such lunatic tests?

      You can't even use the "lazy programmer" excuse, because doing the job the right way is vastly more simple.

      Why?

    33. Re:Gee, thanks for the notice by windsurfer619 · · Score: 1

      Sadly, it's true. I only come here for the comments. And free beer.

    34. Re:Gee, thanks for the notice by troll8901 · · Score: 1

      Second that. I have a friend who works as an ATC. He also told me today that leap seconds or any timing change that affects UTC time affects his work. However, the systems are automatically updated, so leap seconds are transparent to him.

      ... absolutely precise timing in a system distributed over 1000s of kilometres.

      Here in tiny SIN, there is only one major airport. Yet, timing precision is still important to his work.

      ...

      ATCs are amazing. Hundreds of lives are in their hands. Listening to my friend, I can feel the stress, pressure and alertness in his job.

      Suddenly, an army commando's stress seems small compared to an ATC's.

    35. Re:Gee, thanks for the notice by jacksonj04 · · Score: 1

      If you need microsecond accuracy you have your timing and distribution systems, you pay attention to the bulletins, and you program this particular event (which your timer should have capacity for) back in July which is when this was first announced.

      --
      How many people can read hex if only you and dead people can read hex?
    36. Re:Gee, thanks for the notice by jacksonj04 · · Score: 1

      It can.

      --
      How many people can read hex if only you and dead people can read hex?
    37. Re:Gee, thanks for the notice by darkpixel2k · · Score: 2, Funny

      Uhh, wouldn't it be nice if we were given a little bit more of a warning? Say, something like, oh a week?

      Yeah! This totally f*cks my schedule. One second totally ruins New Years for me.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    38. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 2, Funny

      (Score:5, leaks company procedures and shortcomings)

    39. Re:Gee, thanks for the notice by swillden · · Score: 1

      It never allows time to just jump. It always slews the clock. My ubuntu desktop system at work took two weeks to slew the time by a couple of hours.

      From "man ntpd":

      Normally, the time is slewed if the offset is less than the step threshold, which is 128 ms by default, and stepped if above the threshold.

      (That was from an Ubuntu 8.04 system, but it's consistent with my experience over the last decade+).

      If your machine slewed a two-hour correction, then something is strange about your configuration.

      Also from the man page, the slew rate of typical kernels is limited to 0.5 ms/s, so a two-hour slew would take 167 days, not two weeks.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    40. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      thus giving the Other Gods a perfect window to slip down to E4rth, untracked..

      (I knew that NORAD thing was just a distracting hoax..)

    41. Re:Gee, thanks for the notice by Just+Some+Guy · · Score: 1

      Turns out not all NTP servers implemented leap seconds the same way, and many cluster based applications get upset when they aren't synchronized to within 100ms.

      Given that most computers have utterly horrible tickers (irony: a $15 Timex watch keeps much better time than this $4,000 server), can you usually expect that much precision?

      --
      Dewey, what part of this looks like authorities should be involved?
    42. Re:Gee, thanks for the notice by HTH+NE1 · · Score: 2, Insightful

      You may laugh, but I work in Air Traffic Control. We rely on absolutely precise timing in a system distributed over 1000s of kilometres. Many components can be marked as non-functional by the system if they appear to have an incorrect clock.

      Every time we add a leap second we get issues raised. I have to say it is a real PITA.

      Leap seconds were invented in 1972. You mean your systems didn't get leap second support addressed when you got your Y2K fixes?

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    43. Re:Gee, thanks for the notice by swillden · · Score: 1

      According to the ntpd man page, the slew/step threshold is 128 ms, so a one-second change will cause a step. Theoretically, you could change this by starting ntpd with the "-x" option, which changes the threshold to 600 s. If you did, then a one-second change would slew gradually back into sync over a 2000-second period, a little over half an hour.

      However, ntp has explicit support for leap seconds. In the day before the leap second, the time server sets a flag indicating that a leap second is coming, so your local NTP process won't see itself getting out of sync with the server at all. Instead, at the end of the day it'll just move the time back by one second. If you repeatedly sample the time during the "extra" second, though, you won't see time jump backwards. Instead, you'll see it hold almost constant for one second. Each successive read should show a time value that is one nanosecond later than the previous read, until the end of the leap second, at which point time will begin to progress normally.

      I suppose you could deal with leap seconds by modifying the NTP daemon to ignore the leap second flag, and running it with -x or modifying the slew/step threshold to a value larger than one second. This would cause your clock to increase by 0.995s for each second that passes, until it has caught up.

      It's probably better to address it explicitly in your code, though.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    44. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      at the end of the day it'll just move the time back by one second

      That is borderline retarded. Even with the monotony enforcement, time is still going to "stand still" for a whole second, which is clearly not based on anything in reality. A system which measures a duration by recording the start time and subtracting it from the end time will measure one second short, which can have all sorts of horrible/costly effects. In reality, each second is as long as any other and there should be a count of the seconds past, no questions asked. If a system needs a daytime representation of time, it can account for leap seconds in the conversion.

    45. Re:Gee, thanks for the notice by Sophira · · Score: 1

      Except that the standard way of storing times as a POSIX timestamp (number of seconds since the epoch) specifically doesn't include leap seconds.

    46. Re:Gee, thanks for the notice by phizix · · Score: 1

      I love the bit about baselining time at mean sea level. I am always amazed by how much complexity there is in the universe.

      Is that present day mean sea level?

    47. Re:Gee, thanks for the notice by swillden · · Score: 1

      A system which measures a duration by recording the start time and subtracting it from the end time will measure one second short, which can have all sorts of horrible/costly effects.

      Which is why systems that need such accuracy have to address the leap second issue directly.

      It would be nicer if the base platform handled it correctly, of course, but honestly, for most timekeeping purposes leap seconds don't matter that much, and handling them correctly would add complexity to the time conversion code, and would require that it be updated at irregular intervals, whenever a new leap second is announced.

      I would argue that the complexity of correctly solving this problem (including the complexity of the required update distribution) makes handling it more likely to cause problems than ignoring it, for most applications. For the applications where it does matter, it must be addressed, of course.

      The ideal solution is probably for NTP to handle it exactly as it does, and then to have some high-accuracy time libraries that account for the leap seconds properly. Applications that care about such issues should use those libraries, and systems running those applications should ensure that the libraries receive needed updates.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    48. Re:Gee, thanks for the notice by Frankenshteen · · Score: 1

      I wonder if the exceptions agencies allow on clock synchronization afford an opportunity for nefarious intrusion into the system? "This doesn't look right, but we did just add a leap second.."

      --
      "It's a doughnut stuffed with M&M's. That way when you finish the doughnut, you don't have to eat any M&M's."
    49. Re:Gee, thanks for the notice by TempeTerra · · Score: 2, Funny

      One second totally ruins New Years for me.

      Which one is it for you? For me it's usually the one just before I get slapped in the face.

      What?

      --
      .evom ton seod gis eht
    50. Re:Gee, thanks for the notice by nabsltd · · Score: 4, Informative

      The NTP daemon is normally used to interface with GPS clocks and to distribute time around a LAN. It never allows time to just jump. It always slews the clock.

      This, of course, is wrong.

      First, by default it steps the time on startup, with a default limit of 1000 seconds offset, but you can disable this limit.

      Second, after startup, by default it slews the time unless the offset is greater than 128ms, in which case it steps the time. The 128ms value is configurable via the "tinker" command, but it is not recommended that it be changed.

    51. Re:Gee, thanks for the notice by Derling+Whirvish · · Score: 1

      Yeah! This totally f*cks my schedule. One second totally ruins New Years for me.

      Only if you celebrate New Year's at 23:59 GMT. All other time zones will have New Year's take place exactly on schedule to the second including Times Square in New York.

    52. Re:Gee, thanks for the notice by Anonymous Coward · · Score: 0

      RTFS, Lumpy. There's another second being added to the year.

    53. Re:Gee, thanks for the notice by darkpixel2k · · Score: 2, Insightful

      Only if you celebrate New Year's at 23:59 GMT. All other time zones will have New Year's take place exactly on schedule to the second including Times Square in New York.

      Call me geeky, but isn't that the only true way to celebrate it? That's when all my servers are celebrating it...

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    54. Re:Gee, thanks for the notice by strangepics · · Score: 2, Informative

      See here under 'What's the problem?'

    55. Re:Gee, thanks for the notice by strangepics · · Score: 1

      IIRC clockspeed/taiclock are good at handling leap seconds vs. NTPD: http://cr.yp.to/prot/utctai.html

    56. Re:Gee, thanks for the notice by strangepics · · Score: 1

      You can with clockspeed/taiclock. http://cr.yp.to/clockspeed.html

    57. Re:Gee, thanks for the notice by Just+Some+Guy · · Score: 1

      No, you can't. OpenNTPD and ntpd also adjust clock skew. The problem is that I've seen precious few servers that are consistently inaccurate. If you know that a ticker is off 21ms per day, then you can account for it. When it's off 21ms one day and -8 the next, there's jack that you can do other than keep an NTP daemon running and hope that the change in rate doesn't fluctuate too quickly.

      --
      Dewey, what part of this looks like authorities should be involved?
    58. Re:Gee, thanks for the notice by strangepics · · Score: 1

      IMHO clockspeed can. It synchronizes with the precision up to attoseconds and has leapsec support.

    59. Re:Gee, thanks for the notice by Just+Some+Guy · · Score: 1

      IMHO clockspeed can.

      Your HO is wrong. Seriously. And while clockspeed may claim attosecond precision (which is far more precise than any common hardware would support), it's nowhere near that accurate. For example, you are reading this at June 3, 1983 at 4:15:03.000000000000000001 PM CDT. That's precise but not accurate.

      At any rate, clockspeed is another weird DJBism that doesn't support the standard everyone else uses (UTC), and instead implements something fairly similar and arguably better (TAI) that no one else wants. Since TAI doesn't do leap seconds, neither does clockspeed so it's not really relevant to the subject at hand.

      --
      Dewey, what part of this looks like authorities should be involved?
    60. Re:Gee, thanks for the notice by Puppet+Master · · Score: 1

      Are you sure it wasn't dated April 1, 2008?

      --
      The day Microsoft creates a product that doesn't suck, it will be known as the Microsoft Vaccuum Cleaner!
    61. Re:Gee, thanks for the notice by mollymoo · · Score: 1

      I heard about getting baked and eating cake, but I didn't know there would be free beer too! Woohoo!

      --
      Chernobyl 'not a wildlife haven' - BBC News
    62. Re:Gee, thanks for the notice by Mozk · · Score: 1

      What?

      I don't even read the comments. What am I responding to?

      --
      No existe.
    63. Re:Gee, thanks for the notice by teridon · · Score: 1

      Thanks for the reference.

      But how does one tell if the NTP daemon and localtime() library on a particular system is repeating the second, slewing, or behaving correctly. (Other than the obvious/tedious -- testing :-D )

      --
      I hold it, that a little rebellion, now and then, is a good thing. -- Thomas Jefferson
    64. Re:Gee, thanks for the notice by Antarius · · Score: 1

      I'd be totally against baselining at Mean Sea Level!

      There's enough meanness in the universe as it is! Last thing we need is to start encouraging it!

    65. Re:Gee, thanks for the notice by ista · · Score: 2, Insightful

      The 64-bit NTP timestamp spans 136 years with a resolution of 232 picoseconds, the 128-bit NTP timestamp spans 584 billion years with a resolution of .05 attoseconds - so right from those points, NTP is good enough for your applications.

      What's still problematic is a problem that NTP also tries to compensate: the network latency.
      When you're receiving just two packets with exactly the same latency, you can't be sure that the third packet will be there with the same latency, so you're having an possible error rate of 33%. However, if you've seen a million packets with the same latency, your possible error rate is very close to zero, and that's why NTP can sort out the network latency problem only over time.

    66. Re:Gee, thanks for the notice by sqldr · · Score: 1

      Don't complain about an extra second in bed!

      --
      I wrote my first program at the age of six, and I still can't work out how this website works.
    67. Re:Gee, thanks for the notice by strangepics · · Score: 1

      At any rate, clockspeed is another weird DJBism that doesn't support the standard everyone else uses (UTC), and instead implements something fairly similar and arguably better (TAI) that no one else wants. Since TAI doesn't do leap seconds, neither does clockspeed so it's not really relevant to the subject at hand.

      So it's a matter of aversion. You have a DJB aversion. You also seem to speak for everybody. Try and prove that no one else uses TAI or clockspeed. I think someone tried that with qmail already.... Unfortunately for those unaware people and due to people like you that spread FUD, UTC is a broken standard, and TAI actually handles leap seconds instead of jumping around.

    68. Re:Gee, thanks for the notice by holophrastic · · Score: 1

      I don't plan to be in bed at midnight. I plan to be working. Do I get triple over-time for that second?

    69. Re:Gee, thanks for the notice by badkarmadayaccount · · Score: 1

      R's? I think you meant Rs. as in READs, not READ is.

      [/GrammarNazi]

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  3. 2008?!! by gooman · · Score: 5, Funny

    Gah! I can't take another second of this!

    --
    "Kittens give Morbo gas!"
    1. Re:2008?!! by Anonymous Coward · · Score: 1, Insightful

      2008?

      I live on the eastern hemisphere, you insensitive clod! Hooray for longer 2009!

    2. Re:2008?!! by Whiteox · · Score: 1

      I just think it's about time.

      --
      Don't be apathetic. Procrastinate!
    3. Re:2008?!! by aaron+alderman · · Score: 4, Funny

      Sounds like a Bush plan to keep him in the Whitehouse as long as possible. Damn Republicans messing with our science.

    4. Re:2008?!! by markov_chain · · Score: 1

      I second that!

      --
      Tsunami -- You can't bring a good wave down!
    5. Re:2008?!! by rrohbeck · · Score: 1

      Gah! I can't take another second of this!

      Yeah. Can we please call the leap second 2009-01-01-00:00:-1?

  4. legally speaking, it's the first leap for the US by at10u8 · · Score: 5, Informative

    Until 2007 legal time in the US was mean solar time, and that has no leaps, so this is the first leap second for the legal US time. Officially, of course, USNO and NIST were keeping UTC, but that didn't make it legal. The difference shows up in computer time scales.

  5. how will my computer know by Anonymous Coward · · Score: 0

    HOw will my computer know to add on the extra second? I run the CentOS

    1. Re:how will my computer know by TCM · · Score: 3, Interesting

      I don't suppose this leap second has been encoded into timezone information like daylight saving time has been.

      So I would just run ntpd and expect the clock to step 1 second.

      At second thought, I would expect ntpd to gradually slew system time since 1s is too small an offset to step the clock at once. Maybe it would be better to stop ntpd and restart it with -g or even delete its drift file since this second is not an error of the system clock but artificially introduced? Anyone know?

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    2. Re:how will my computer know by Anonymous Coward · · Score: 0

      Maybe you should also plug-out your computer, reformat the drive and reinstall your OS.

    3. Re:how will my computer know by Anonymous Coward · · Score: 0

      You know, new year, new computer! It all makes sense.

    4. Re:how will my computer know by Anonymous Coward · · Score: 0

      Since the leap second is a result of the unpredictable fluctuations in the rotation of the Earth, it can only be measured, not encoded in an algorithm.

      If accuracy and precision are important, then people need to learn the difference between time of day and time durations. Time of day is an empirical property which, strictly speaking, isn't divided into fixed length units (except for the "second", which we keep constant with artificial schemes like leap seconds). If you need to measure or specify a duration, don't do so by taking two time of day values.

    5. Re:how will my computer know by jacksonj04 · · Score: 2, Interesting

      NTP does include leap seconds if your timeserver knows about it, which all good timeservers should do. It shouldn't show up as a slew if ntpd behaves properly, it's a distinct step. Have a look at your logs after midnight and see if it's there.

      --
      How many people can read hex if only you and dead people can read hex?
    6. Re:how will my computer know by Anonymous Coward · · Score: 0

      Don't bother, it's just a freaking second ;)

  6. Longer, or shorter? by Smoke2Joints · · Score: 4, Informative

    "Don't be the laughingstock of your friends when you shout 'Happy New Years' a second too early ... this year will be exactly one second longer."

    So... wouldnt we be shouting it one second later than everyone else?

    1. Re:Longer, or shorter? by at10u8 · · Score: 1

      If you're in London, where legal time is still mean solar time, then the legal new year happens in the middle of the UTC leap second.

    2. Re:Longer, or shorter? by johanatan · · Score: 2, Funny

      Maybe he's assuming that the general population would get this one right and we uninformed nerds would not? :-)

    3. Re:Longer, or shorter? by vegiVamp · · Score: 1

      No, I rather think he was working on the assumption that your friends are also nerds, and better-informed than you :-)

      --
      What a depressingly stupid machine.
    4. Re:Longer, or shorter? by Anonymous Coward · · Score: 1, Informative

      Not only that, but the summary assumes you live in UTC. From Wikipedia:

      "Unlike leap days, [leap seconds] occur simultaneously worldwide; for example, the leap second on December 31, 2005 occurred at 23:59:60 UTC. This was 6:59:60 p.m. U.S. Eastern Standard Time and 0:59:60 a.m. on January 1, 2006 Central European Time."

    5. Re:Longer, or shorter? by Anonymous Coward · · Score: 0

      "Don't be the laughingstock of your friends when you shout 'Happy New Years' a second too early ... this year will be exactly one second longer."

      So... wouldnt we be shouting it one second later than everyone else?

      No, the quotation means that if you shout Happy New Year without considering the second, then you'll shout it one second too early, and since all of your friends already know about the added second, they'll laugh at you.

      The assumption is that all of your friends are nerds and know about the leap second.

    6. Re:Longer, or shorter? by LanMan04 · · Score: 1

      Only if everyone else doesn't know about the leap second. If they're all waiting that extra second, and you're not, you'd be the one to shout early.

      --
      With the first link, the chain is forged.
    7. Re:Longer, or shorter? by gnasher719 · · Score: 1

      Don't be the laughingstock of your friends when you shout 'Happy New Years' a second too early ... this year will be exactly one second longer.

      The original poster needs to be very, very careful. The leap second is introduced at midnight on the 31st of December in _UTC_ time. That is at midnight local time only in Iceland, Britain, Portugal and some west african countries.

      But speaking for the UK, this is a country that celebrated the start of the third millenium one year too early, with one minister saying that this would be celebrating Jesus Christ's 2000th birthday (which is nonsense on multiple levels; if the catholic church had got all their calculations right that birthday would have been on Christmas 2001, but those calculations are all over the place), A country that wasted a billion dollars on the "Millenium Dome" and then closed it on the last day of the previous millenium!. If you try to celebrate the next year one second later than everybody else, they will just look at you as if you are a freak.

  7. Re:legally speaking, it's the first leap for the U by timmarhy · · Score: 0, Troll

    well, the USA has also legally declared the tomatoe to be a vegtable, even though it's not (it's actually a berry..). i guess it's what happens when a nation has to low brow everything.

    --
    If you mod me down, I will become more powerful than you can imagine....
  8. Re:legally speaking, it's the first leap for the U by Anonymous Coward · · Score: 0, Funny

    If you don't mod this down you are not a patriot.

  9. Re:legally speaking, it's the first leap for the U by ta+bu+shi+da+yu · · Score: 5, Informative

    Yes, yes, that's Nix vs Hedden and it was ruling by the U.S. Supreme Court in 1893. The court ruled that in the common parlance of the time a tomato was seen to be a vegetable and not a "fruit of the vine", working from the assumption that most people at it for a main course instead of a dessert. I think that if you were going to pick up on the ridiculous nature of the case you'd focus on the reason behind the court case — that taxes needed to be paid on imported vegetables and yet not on imported fruit.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  10. There goes the space-time continuum... by Anonymous Coward · · Score: 0

    The Year 2008 + 1sec Bug?

    1. Re:There goes the space-time continuum... by cbrocious · · Score: 1

      Only if you're reading this from 2007.

      --
      Disconnect and self-destruct, one bullet at a time.
  11. That's UTC by Bruce+Perens · · Score: 5, Informative

    Those of us in the U.S. will get to celebrate our extra second during a reasonable time of day, as it's in UTC. The local astronomy museum generally has a baloon drop at that time, so that the kids can feel they celebrated New Year's properly.

  12. You have a chance! by Anonymous Coward · · Score: 2, Funny

    If you messed up in 2008 you still have an extra second to make good.

    DON'T WASTE THIS GOLDEN OPPORTUNITY!

    1. Re:You have a chance! by Anonymous Coward · · Score: 0

      Hey, that extra second could be a time for Slashdotters to get laid. :-).

    2. Re:You have a chance! by windsurfer619 · · Score: 1

      I just spent it replying to your comment :(

  13. I'll have to mention this to HR... by Frosty+Piss · · Score: 5, Funny

    I work a graveyard shift. You can bet I'll bring this up to the boss. I don't work for free!

    --
    If you want news from today, you have to come back tomorrow.
    1. Re:I'll have to mention this to HR... by sleeponthemic · · Score: 5, Funny

      No... you work for braaaiiinnnss

      --
      I record my sleeptalking
    2. Re:I'll have to mention this to HR... by againjj · · Score: 1

      Let's hope you work in Europe. In the US, midnight UTC is 4-7PM (depending on time zone). Similar statement for lots of Asia.

  14. Wha ...? by resistant · · Score: 5, Funny

    Wait just a second, now! I ... oh.

    --
    A truly excellent pizza parlor is a delight unto the heavens. Treasure the sauce and the toppings!
  15. Damn Bush by Anonymous Coward · · Score: 5, Funny

    Bush will do anything to remain president just a little longer.

    1. Re:Damn Bush by RightwingNutjob · · Score: 1

      And you all laughed when Dick Cheney threatened to use his time machine. Now who's laughing?!1!

    2. Re:Damn Bush by Anonymous Coward · · Score: 0

      Bumped to 5? You gotta be kidding. This is so lame.

  16. Excellent news for my sex life by unassimilatible · · Score: 4, Funny

    I will be able to give my GF an extra round of pleasure, with time to spare.

    OK, just kidding - I am a /.'er and obviously don't have a GF. But if I did, I am confident in my abilities that I could, in fact, perform my duties in the allotted one second.

    --
    Slashdot "libertarians": Small government for me, big government for those I disagree with. -1, I disagree with you
    1. Re:Excellent news for my sex life by Tablizer · · Score: 5, Funny

      I will be able to give my GF an extra round of pleasure, with time to spare.

      You'll have to hope for a leap-inch or two before that happens
                     

  17. While we're at nitpicking by Opportunist · · Score: 2, Interesting

    What timezone will it be added to at midnight?

    Yes, I know, it is not nitpicking because it's nontrivial for certain high precision science projects... even though I couldn't think of one right now, but it's gonna be quite important for someone.

    But just to add a joke: Effin' great, as if daylight saving didn't put enough stress on the mechanics of my clocks!

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:While we're at nitpicking by sFurbo · · Score: 1

      Well, the scientific project would have to be long-running and/or non-local if it shouldn't be easier to just define a local time for it. But, as someone already pointed out, this is very important in air traffic control.

    2. Re:While we're at nitpicking by Anonymous Coward · · Score: 0

      UTC.

      In other words, if you're ahead of that (most of Europe, say), the leap second will only occur AFTER midnight (your local midnight), so you won't have to worry about it for the purpose of hitting exactly the right second to raise your glass.

      If you live in the USA, for instance, you're out of luck: you'll have to take the leap second into account.

    3. Re:While we're at nitpicking by Opportunist · · Score: 1

      Considering the people here start to fire off their rockets any time between 6pm and 6am that special nite, I doubt the second really matters either way...

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    4. Re:While we're at nitpicking by lytir · · Score: 1

      UTC has no concept of timezones. But the GMT timezone is UTC+0 so midnight in UTC means midnight in the GMT timezone.

    5. Re:While we're at nitpicking by n3tcat · · Score: 1

      The only timezone that matters. GMT.

    6. Re:While we're at nitpicking by jecblackpepper · · Score: 1
      GMT doesn't have leap seconds since it is explicitly defined in terms of mean solar time at the meridian at Greenwich. So the length of a second in GMT is variable so that that solar day divides neatly.

      UTC is based on the SI-Second, which is of a fixed duration and hence needs leap seconds in order to remain approximately in line with solar time. Leap seconds are added to prevent UTC getting more than 0.9 seconds out of line with UT1.

  18. Added When by Bios_Hakr · · Score: 1

    The International Earth Rotation and Reference Systems Service has announced that a leap second will be added on December 31, 2008 [CC] at 23h 59m 60s

    My understanding is that the last 60 seconds of the year will be 1/60th of a second longer. Or will my GPS actually read "23h 59m 59s" twice?

    --
    I'd rather you do it wrong, than for me to have to do it at all.
    1. Re:Added When by Anonymous Coward · · Score: 0

      "After UTC 23:59:59, a positive leap second at 23:59:60 would be counted, before the clock indicates 00:00:00 of the next day." See http://en.wikipedia.org/wiki/Leap_second#Announcement_of_leap_seconds

    2. Re:Added When by Anonymous Coward · · Score: 0

      From the summary and TFA, a correct device should display 23:59:59, then 23:59:60, then 00:00:00.

    3. Re:Added When by gmthor · · Score: 1

      Actually, GPS dosn't know anything about "leap anything". Since the start of GPS not leap seconds or leap days where added to the GPS time because it is to dangerous to switch. See Global_Positioning_System#Timekeeping

      --
      How do I uncompress my MD5 archive?
    4. Re:Added When by Detritus · · Score: 4, Informative

      The length of the second doesn't change. An extra second is added. I work with precision timing systems where this is an issue.

      The sequence is:

      23:59:59 UTC
      23:59:60 UTC
      00:00:00 UTC
      00:00:01 UTC

      That means that the valid range for seconds is 0..60 and it is possible to have 61 seconds in a minute. You need to know this if you are using a programming language with range checks.

      GPS uses its own time scale that isn't affected by leap seconds.

      --
      Mea navis aericumbens anguillis abundat
    5. Re:Added When by Barnett · · Score: 1

      Does anyone know of any GPS units that display this correctly? Last time (in 2005) I checked both my Trimble and Garmin and neither displayed the leap second correctly.

    6. Re:Added When by Barnett · · Score: 2, Informative

      Yes, the GPS system uses its own internal GPS time which is different from UTC. But the difference is always exactly an integer number of seconds and the GPS system is made aware of the changes to this difference (like when a leap second is added) so a GPS unit can and should display UTC correctly, ie 59, 60, 00.

    7. Re:Added When by ionix5891 · · Score: 1

      maybe we should use stardates? they just sound so cool

      *read in a Picard voice*
      stardate 48182.647... captains log supplemental... #1 is humping my leg... off boy off! ... this Data guy is really freaking me out lately ...

    8. Re:Added When by Gnavpot · · Score: 1

      GPS uses its own time scale that isn't affected by leap seconds.

      I don't doubt that it does that internally, but GPS receivers usually put a timestamp on the position. How is this timestamp affected?

      Will a GPS receiver continue to convert the internal time to UTC following an outdated algorithm which is hardcoded into the receiver, or is the conversion algorithm part of the data received from the satellites?

      In other words: Can we trust the time from a GPS receiver, or will two receivers show a difference of N seconds, depending on how many leap seconds we have had since each GPS receiver was new.

    9. Re:Added When by imadork · · Score: 1

      The time scale GPS uses is basically the UTC timescale that was in effect when the GPS system went first live (1980?). This is the time that GPS broadcasts, forever and ever.
      Along with that time, there is a broadcast of the current offset between GPS time and the current UTC time. This offset goes up by 1 on every leap second since the GPS system first went live.
      So as long as the receiver is getting all the GPS broadcasts, it will always know what the correct UTC time is.

    10. Re:Added When by Anonymous Coward · · Score: 0

      *read in a Picard voice*
      stardate 48182.647... captains log supplemental... #1 is humping my leg... off boy off! ... this Data guy is really freaking me out lately ...

      See that's just stupid. The second digit of the TNG stardate is the season number (in your example, season 8)... Data is *NOT* "#1" in season 8, Riker is.
          Don't you know anything?
      (the captcha for this post is "lectured"...how appropriate)

    11. Re:Added When by siride · · Score: 1

      I think #1 humping and data freaking him out are two separate thoughts.

  19. Oops by dufachi · · Score: 1

    It seems wikipedia is experiencing that second right now... over and over again in a persistent loop of doom!

    Err, no, it's just been slashdotted!

    --
    -Kinsey
  20. Will windows automatically adjust my clock for me? by extagboy · · Score: 3, Funny

    Or, is that only in the vista ultimate edition?

  21. oh really by mestar · · Score: 1, Funny

    This is just plain stupid. If in 30 years sun rises like, 10 seconds too late, oh my, we'll just have to adjust. Geez.

    1. Re:oh really by Tablizer · · Score: 1

      This is just plain stupid. If in 30 years sun rises like, 10 seconds too late, oh my, we'll just have to adjust. Geez.

      Maybe they feel its easier to take it in small chunks instead of big chunks. If you don't have experience from the last one because it was too long ago, then fowling up minutes is likely to be a bigger problem in most cases than fowling up a second. Plus, it's fairly regular such that an organization can keep fresh on the procedure rather than have to dig people out of retirement.
               

  22. Re:Will windows automatically adjust my clock for by Anonymous Coward · · Score: 0

    No. The adjustment will only be available in Windows 7, under 3 metric tons of hidden registry keys and with an unwritten "WARNING, THIS COULD CRASH YOUR SYSTEM!!!" sign.

  23. Nah by Tablizer · · Score: 2, Funny

    No big d.......eal.
       

    1. Re:Nah by Anonymous Coward · · Score: 0

      I see you shiver with anticip...

      (notices "perverts" captcha) ... ation.

  24. Happy New..... by SilverJets · · Score: 1

    Second?

  25. Fluctuations? by Woek · · Score: 3, Interesting

    I'm sorry? Fluctuations in the rotation of the earth? You mean the earth is accelerating and breaking? It has nothing to do with the fact that a rotation around the sun is not exactly 365.25 rotations around our own axis? hmm...

    1. Re:Fluctuations? by Nick+Barnes · · Score: 5, Informative

      I'm sorry? Fluctuations in the rotation of the earth? You mean the earth is accelerating and breaking?

      Yes, that's exactly what we mean (well, "braking" rather than "breaking"). The earth does not have a constant angular velocity. To conserve angular momentum, as the mass distribution of the earth changes (e.g. due to glacial rebound), the spinning of the earth speeds up and slows down. It also slows down a little due to tidal braking. So a "day", as measured by the rotation of the earth relative to the fixed stars, is not exactly 86400 seconds. It's generally a little more, around 86400.001 seconds at present, and it varies from day to day and from year to year. Now that civil time (UTC) is kept with atomic clocks, this is a genuine problem. Leap seconds are introduced to keep UTC close to UT1 (astronomical time).

      It has nothing to do with the fact that a rotation around the sun is not exactly 365.25 rotations around our own axis? hmm...

      That's right. Leap seconds have nothing whatsoever to do with that. They don't affect the calendar. That's what leap days are for. Leap days keep the calendar in sync with the seasons (by setting the average calendar year length to 365.2425 days, very close to the vernal equinox year which is currently 365.242374 days).

    2. Re:Fluctuations? by berend+botje · · Score: 1

      The leap-second is caused by the rotation around the sun not being exactly 365.25 days.

      However, the rotation around the Earths axis isn't all that smooth. It indeed accelerates and breakes due to tidal movements, atmosferic influences and interference with the Earths polar wobble.

      The day-to-day difference can be as high as a few seconds, but averages taken over a long(ish) period are very stable. It has to be, conservation of momentum-wise.

    3. Re:Fluctuations? by chris_mahan · · Score: 1

      That would be revolution around the Sun.

      --

      "Piter, too, is dead."

    4. Re:Fluctuations? by Anonymous Coward · · Score: 2, Informative

      It has nothing to do with the fact that a rotation around the sun is not exactly 365.25 rotations around our own axis?

      No, it does not. Leap days are about keeping the calendar in sync with the seasons. Leap seconds are about keeping the clock in sync with the rotation of the earth. These are two different components of motion, and they are handled with different measures.

    5. Re:Fluctuations? by bitrex · · Score: 4, Informative

      The redistribution of mass after the 2004 Indian Ocean undersea earthquake was enough to measurably affect the rate of the Earth's rotation; the Three Gorges Dam project will also have a minute effect due to the concentration of water in the reservoir that's formed.

    6. Re:Fluctuations? by Gnavpot · · Score: 1

      the Three Gorges Dam project will also have a minute effect due to the concentration of water in the reservoir that's formed.

      Pun intended?

    7. Re:Fluctuations? by Anonymous Coward · · Score: 0

      Thanks for the explanation (and please, someone mod this up). But I'm still a little confused, maybe only about terminology. If it's a fluctuation, will it regress back to the mean? Will 2013 be a second shorter, for example? Or are we talking about drift instead?

      Your statement about 86400.001 seconds in a day seems to suggest that it's neither drift nor fluctuation that is causing this adjustment, but the plain simple fact that the Earth's angular speed cannot be expressed in an integral number of seconds per revolution.

    8. Re:Fluctuations? by Nick+Barnes · · Score: 3, Informative

      There is a drift, and there are fluctuations.

      Regarding the drift: The day length is getting gradually longer by about 1.7 milliseconds every century (+2.3ms due to tidal braking, -0.6ms due to glacial rebound). In about 1820 the day was 86400 seconds; now it is longer than that. In a thousand years, the day will be about 86400.017 seconds, and we will need a leap second every couple of months.

      [Note: I am simplifying a little here for the sake of clarity by ignoring the difference between a solar day and the stellar and sidereal days, which are about 4 minutes shorter].

      Regarding the fluctuations: There are fluctuations of the earth's angular velocity on many timescales. It fluctuates with weather, with the seasons, and with major events on the surface (e.g. a dam creating a new reservoir) and in the earth's crust (e.g. an earthquake or major volcanic eruption) and deeper interior (e.g. we don't really know). All these events are minor rearrangements of the mass of the earth, which change its moment of inertia. Conservation of angular momentum dictates that the angular velocity must change, and it does. Of course the earth isn't a rigid body and that complicates all this. Learn about Geodesy if you want to know more.

      In the 1990s the day length was approximately 86400.003 seconds, so we needed a leap second every year. For poorly-understood reasons (possibly some sort of deep mantle activity), the earth's rotation speeded up around the year 2000, and for a while the day length was about 86400.0004 seconds. Now it is slower again, about 86400.001 seconds. These changes all come under the "fluctuations" heading.

      There is an organisation called the IERS - International Earth Rotation and reference Systems Service - which collects measurements of all this stuff to very high accuracy and produces all sorts of reports, bulletins, data sets, etc etc.

    9. Re:Fluctuations? by at10u8 · · Score: 1

      Leap seconds do affect the calendar, but only if you expect that calendar to be good for more that 10000 years. Designing any human system to be good for more than 1000 years is somewhat of a conceit. Then again, designing a human system to fail in less than 1000 years might be given a different sort of apellation. This sort of choice is what the timekeepers of the world are trying to make as the ITU-R debates abandoning leap seconds.

    10. Re:Fluctuations? by Anonymous Coward · · Score: 0

      The Earth is not solid. It's basically a liquid ball that morphs and changes shape all the time. That affects the rotation.

    11. Re:Fluctuations? by Deadstick · · Score: 1
      It has nothing to do with the fact that a rotation around the sun is not exactly 365.25 rotations around our own axis?

      If it were, there would be 364.25 solar days in a year.

      rj

    12. Re:Fluctuations? by belg4mit · · Score: 1

      It's not 365.25 solar days per year, it's closer to 365.24.
      If it were the former, leap year calculations would be much simpler.

      --
      Were that I say, pancakes?
    13. Re:Fluctuations? by Woek · · Score: 1

      Thanks for the explanation! I'm going to have to think this over for a bit; the difference between syncing the seasons and syncing the daylight.

  26. Leap second at UTC, not Local midnight! by Terje+Mathisen · · Score: 5, Informative

    The UTC second 60 gets added at midnight only at those locations where UTC == local time, i.e. places like England.

    For us in the rest of Europe, the leap second will be added an hour after local midnight, i.e. at 01:00:60 CET.

    Terje

    --
    "almost all programming can be viewed as an exercise in caching"
    1. Re:Leap second at UTC, not Local midnight! by sidyan · · Score: 4, Informative

      00:59:60 CET, you mean.

      And there are other timezones besides Greenwich Mean Time and Central European Time in Europe too: Eastern European Time, Moscou Time and even a smattering of Samara Time and Yekaterinburg Time.

    2. Re:Leap second at UTC, not Local midnight! by Terje+Mathisen · · Score: 1

      Oops! Mea Culpa.

      You're totally right, and I really should know better. :-)

      Terje

      --
      "almost all programming can be viewed as an exercise in caching"
    3. Re:Leap second at UTC, not Local midnight! by Cro+Magnon · · Score: 1

      So, most of you Europeans (and Asians & Aussies) will be adding your second in 2009. Us Americans have to suffer through 2008 that extra second. :P

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
  27. Re:legally speaking, it's the first leap for the U by bgd73 · · Score: 1

    "No matter how hard we rant and scream about what a mess our predecessors made with their concept of reality, we can't get them to fix what they did. We just have to cope and move on. The best we can do is not to make the mess worse for our posterity."

      from the link posted above. Interesting read. I still wonder why we have a leap year, no need of it. I never got over what I learned from a bunch of unix chat servers world wide linked together. Absolutely amazingly Wrong, when time and reality have to work in milliseconds or seconds around the world together. leap year is dumber than a carpocalypse..oh wait.

  28. why rely on hh/mm/ss instead of millis elapsed... by Anonymous Coward · · Score: 3, Insightful

    Uhh, wouldn't it be nice if we were given a little bit more of a warning? Say, something like, oh a week?

    You may laugh, but I work in Air Traffic Control. We rely on absolutely precise timing in a system distributed over 1000s of kilometres. Many components can be marked as non-functional by the system if they appear to have an incorrect clock.

    Every time we add a leap second we get issues raised. I have to say it is a real PITA.

    What I find baffling is that architects/developers working in such a life-critical field managed to conceive application relying on days/minutes which are NOT fixed values. (a minute can have 59 or 61 seconds while a day can have 23 or 25 hours).

    That said, the clock of a Un*x system is usually calibrated in milliseconds since the epoch and this has absolutely zero, nada, zilch, nothing to do with leaps seconds. The fact that we decide that 31 dec 2008 with have a 61 seconds minute change *nothing* to the correct calibration of the clock.

    How distributed systems across the globe came to rely on hh/mm/ss speaks, well, a lot about the plain dumbness of many people.

    But do they really? I pity the poor sick, under-brained people who designed those GPS if they're really that deeply flawed.

  29. Re:legally speaking, it's the first leap for the U by Detritus · · Score: 2, Informative

    Leap years are a separate issue. They keep the calendar in sync with the seasons. Leap seconds keep our clocks in sync with the apparent positions of the Sun and stars.

    --
    Mea navis aericumbens anguillis abundat
  30. The Barnicle says by Lt.Hawkins · · Score: 1

    Leisure-suit up! This is going to be legend... wait for it...

    --
    -- My Sig is a P228.
  31. This is why by Anonymous Coward · · Score: 0

    Scientific clocks need to get off Earth time and just have a clock counting seconds from a certain point in time.

  32. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    AC gets all the points, thread closed.

  33. Re:why rely on hh/mm/ss instead of millis elapsed. by Gnavpot · · Score: 1

    the clock of a Un*x system is usually calibrated in milliseconds since the epoch and this has absolutely zero, nada, zilch, nothing to do with leaps seconds. The fact that we decide that 31 dec 2008 with have a 61 seconds minute change *nothing* to the correct calibration of the clock.

    Is that true?

    I know that this is how timezones, DST and leap years are handled, but are leap seconds handled like this too?

    In other words, if I ask a Un*x system about the number of seconds since epoch for 2008-12-31 23:59:58 UTC and 2009-01-01 0:00:01 UTC will there be a difference of three or four seconds?

    Well, it is easy to test, so why do I ask?
    $ date --utc --date "2008-12-31 23:59:58" +%s
    1230767998
    $ date --utc --date "2009-01-01 00:00:01" +%s
    1230768001

    Difference is three seconds, not four. It seems you are wrong, or my Debian Stable has an incorrect implementation of unix time.

  34. The older you get.... by 3seas · · Score: 1

    ....the faster time flies by...

    But damn'it... ya all don't have to help it.

  35. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    That's beside the point. If you need to synchronize different systems or measure exact durations, don't use a timescale which fluctuates with the unpredictable rotation of the Earth. Of course the algorithm used by the date program can't know that there is an extra second between 2008-12-31 23:59:58 UTC and 2009-01-01 00:00:01 UTC. That's empirical information encoded in a rather arbitrary decision to add a second right there (or worse, remove a second at some other time).

    Unix time is kept in the only unit that doesn't change: seconds elapsed since a defined point in time (milliseconds actually, but the base unit is the second). The other units of time (minutes, hours, days, months, years) are all variable length units, not suitable for keeping accurate and precise time. The conversion between a date/time in these units and milliseconds since the Epoch is mostly algorithmic, but involves those pesky leap seconds, which can not be taken into account for future times and must be recorded in tables for past times. Ask yourself if you really want or need to do this conversion to synchronize different systems. For purposes of synchronization, points in time should simply be specified in seconds (or fractions thereof) since a defined point in time.

  36. Re:why rely on hh/mm/ss instead of millis elapsed. by Gnavpot · · Score: 1

    That's beside the point.

    [...]

    Unix time is kept in the only unit that doesn't change: seconds elapsed since a defined point in time (milliseconds actually, but the base unit is the second).

    Sorry, but that is exactly the point. Unix time was given as an example of a correct time implemention using a fixed base, but as far as I can see, it does not use a fixed base in this particular case. If it did, ntp deamons on unix systems would not have to slew or jump the kernel clock when a leap second is inserted.

  37. Re:why rely on hh/mm/ss instead of millis elapsed. by Lumpy · · Score: 0

    Why not let all systems freak out for the minute it takes for the timing to correct it's self.

    it's not like any company will have $100,000,000 in sales during the 00:00:00-00:01:00 Jan 1 2009 time period. Even the loosely designed NTP will slew in that 1 second within a minute or so.

    Finally, what is the big deal about haing your equipment 1 second off for a while.

    "WE would nail those thieves, but your logs are off by 1 second, we cant prosecute them!"

    Time is relative, and if your system time matches across your system, then that is all that really matters. The FAA will not freak out if the plane landing logs are off by 1 second, anything critical can stay 1 second off until a service down time window can occur to reset the time clocks.

    --
    Do not look at laser with remaining good eye.
  38. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    OK, had to read up on it. You're correct, the Unix guys screwed up too. The definition of Unix time is seconds since 1970-01-01T00:00:00Z, not counting leap seconds. They could have left that last bit out and gotten a really useful time facility, but they had to ruin it, presumably to simplify the date/time conversion.

    So, the right way to synchronize systems is not to use Unix time but the number of seconds (or fractions thereof) since a defined point in time. Use GPS time.

  39. Re:legally speaking, it's the first leap for the U by compro01 · · Score: 2, Informative

    Leap days and leap seconds serve different purposes.

    Leap days are because our definition of a day (and thus a year) are not exact. A year is actually ~365.25 days, so we add an extra day every 4 years to compensate.

    Leap seconds are needed as there's another small random variance in the length of a day (The mean solar day lengthens by about 1.7ms per century, due to slowing of the earth's rotation), so we occasionally need to add a second to keep us in sync with astronomical time.

    --
    upon the advice of my lawyer, i have no sig at this time
  40. The last second of the day by Subm · · Score: 2, Funny

    To be subtle, they added the leap second to the one time in the entire year when everyone (at least in that time zone) is watching the clock and counting along with it.

  41. They ought to by mysidia · · Score: 1

    Defer leap seconds for a few years.

    And have "leap days" instead.

    Always to be on a Monday or a Friday (no weekend leap-days allowed).

  42. NTP and Leap by EyelessFade · · Score: 1

    I get the new second in 2009 since I live in UTC +1

    leap-second

    Summary: NTP and GPS know about leap seconds, operating system might not.

    From TA:
    "Linux kernels and most other Unix-like systems care about the leap seconds and handle them correctly. Some systems even add a notification to the system log when the leap second is inserted."

    "The Windows system clock does not know about leap seconds, either. However, there is a precompiled version of ntpd for Windows available which is capable of slewing the Windows system time quickly in order to account for the insertion of a leap second, without affecting the clock synchronization loop provided by ntpd."

  43. Re:why rely on hh/mm/ss instead of millis elapsed. by Gnavpot · · Score: 1

    So, the right way to synchronize systems is not to use Unix time but the number of seconds (or fractions thereof) since a defined point in time. Use GPS time.

    Which leaves two problems to be solved in a practical implementation:

    1. You have to use GPS receivers which actually shows true GPS time, not GPS time corrected to UTC.
    As someone has stated in another part of the discussion, GPS receivers will receive GPS time from the satellites, but they also receive a UTC correction which is calculated into the time which is reported by the device.

    2. You have to chose how you will handle this in your network, across different platforms:
    2a: Let your time daemons run GPS time internally (using your own GPS-based NTP servers for synchronization). This means that you will have to implement time correction in all software which needs to know/display correct UTC time.
    2b: Let your time daemons run GPS time internally but report UTC time to any software which asks. This means that you probably will have to develop your own time daemon for all platforms in use in your network, unless solutions already exists.

    My point is that it is too easy to just say "What I find baffling is that architects/developers working in such a life-critical field managed to conceive application relying on days/minutes which are NOT fixed values."

    When the recognized de facto industry standard of timekeeping doesn't have an optimal solution for leap seconds, there is a very hard choice between doing things right and risk adding your own errors in your home-made solution or doing things less right and at least use a proved solution.

  44. New countdown? by Jason+O'Neil · · Score: 1

    Ten!
    Nine!
    Eight!
    Seven!
    Six!
    Five!
    Four!
    Three!
    Two!
    One!
    One!

    Happy New Year!

  45. "Happy first bug of the new year!" by PolygamousRanchKid+ · · Score: 1

    That means that the valid range for seconds is 0..60 and it is possible to have 61 seconds in a minute. You need to know this if you are using a programming language with range checks.

    Oh, shit.

    Well, at least I'll know what I'll be doing on my first day of work next year.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  46. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    Yes, it is a mess. I've just read up on the definitions of the Java Calendar class and can't stop wondering what these people were thinking. The API doc starts with a preface detailing most of the problems affecting timekeeping: time zones, leap seconds, etc. Then the method documentation stresses that seconds can be 0-61 due to leap seconds. And then Sun's implementation completely ignores these issues and just does the Unix time calculations and equates that to both UTC and GMT. It would be acceptable to rely on an improper system time for "now()" if no better time source is available, but the Calendar class doesn't even try to do the calculations correctly.

    In that light, I think it would be advisable not to rely on any system implementation of time, but to go with a completely separate time system. It can't be any more borken than the stuff you buy. Internal timekeeping should simply count seconds (seriously, is that so hard? If the counter is at x now, then it is at x+1 one second later.) Everything else can be derived from that with algorithms and tables of leap seconds.

  47. Re:why rely on hh/mm/ss instead of millis elapsed. by evilbessie · · Score: 1

    I do like how people complain that they are trying to keep 'time' in keeping with actual observed sun/earth movements. If anyone is seriously using HH/mm/ss as an accurate system should move out of the pre-war era into the new fangled world of the microprocessor. I don't know about anyone else but I have in the past tried to do things with a computer and HHmmss and bugger me that was hard, then I used unix timestamps and lo life was easy (as long as someone has already done the module to convert timestamps to HHmmss to make the time readable again, although this should only be for output not further processing). But you could always use something like http://en.wikipedia.org/wiki/International_Atomic_Time if you really need to have an accurate time source. UTC should keep time in sync with the sun, if not midnight would become noon in a 'few' years, which would just be plain silly.

  48. Celebrate twice by karbyn-aceous · · Score: 0

    I, for one, will celebrate NYE both times it passes me by. Woo-hoo woohoo.

  49. IERS by cei · · Score: 1

    Damn. I've been following the International Earth Rotation and Reference Systems Service (IERS) emails for years and this one managed to slip into my spam filter. Thanks slashdot! for making sure I didn't miss it this year!!!

    (A great bonding moment with my father was counting along to 61 with the atomic clock signal on the short wave while sitting by the sundial at the local science museum...)

    --
    This sig intentionally left justified.
  50. Re:why rely on hh/mm/ss instead of millis elapsed. by markov_chain · · Score: 1

    Wow, that's such a crappy definition. It clearly states a linear time scale, while it is not actually linear.

    --
    Tsunami -- You can't bring a good wave down!
  51. Leap leap... by dna_(c)(tm)(r) · · Score: 4, Informative

    ...meaning that this year will be exactly one second longer...

    No it isn't. It's a 86401 seconds longer. Than last year. Or 86400 longer than the previous leap-second-year 2005. Oh, yeah, it's exactly 1 second longer than 2004 and 1996.

    I confess enjoying myself as a time nazi. Should not forget to count february 29th...

    1. Re:Leap leap... by HTH+NE1 · · Score: 4, Informative

      I'd mod you up if I could. Instead, I'll add these bits of trivia:

      The last time we had a leap second and a leap year was in 1992. The last time we had it on December 31 was 1976.

      The only time we had two leap seconds (June 30 23:59:60 and December 31 23:59:60) was on leap year 1972, the first year leap seconds were applied, and making 1972 the longest year.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    2. Re:Leap leap... by Ztream · · Score: 1

      Time Nazis would make an excellent Doctor Who episode..

  52. Timely article by Anonymous Coward · · Score: 0

    It seems ironic that an article about timekeeping should be several months late...

    I recorded the last leap second off WWV. I plan to record this one too. WWV omit the 29th and 59th second ticks, so the leap second sounded something like this:

    tick (23:59:57)
    tick (23:59:58)
    (silent) (23:59:59)
    (silent) (23:59:60)
    beep! (00:00:00)
    tick (00:00:01)
    tick (00:00:02)

    ...laura

    1. Re:Timely article by Anonymous Coward · · Score: 0

      um what?

  53. pendanticity by Anonymous Coward · · Score: 0

    year : A unit of time it takes for the Earth to complete one orbit around the Sun
    years : an ambiguous length of time consisting of at least one year (1.5 years, 200 years, many years)
    year's : possessive of a year (That year's highest temperature)

    It's "New Year's Eve", as is the eve of the new year. Meaning the day before the calendar year changes a
    It's not "New Years" (this makes no sense) or "New years eve" (again this makes no sense)
    It is "The new year" or "Happy new year" or "Happy new year's day" though even that last one seems a little odd. It is the actual changing of the year you are celebrating.

    On another note, why are there never any celebrations of the new months? Happy new month, New month's eve, etc? Seems bars would make more money pumping up these holidays like Hallmark has with all the other made-up ones.

  54. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    >When the recognized de facto industry standard of timekeeping doesn't have an optimal solution for leap seconds, there is a very hard choice between doing things right and risk adding your own errors in your home-made solution or doing things less right and at least use a proved solution.

    HA HA HA!

    The "optimal solution" has been shown to be fragile to the point of putting human life in peril. "Yes, sir, we must synchronize the motion of the airplanes to the rotation of the planet. Can you not see the connection?"

    All of this because some human nitwit wanted to be able to ask an ATC computer about the wall-clock time was.

    All the object oriented programming, agile development, and keen systems engineering are for naught if you begin from totally stupid requirements and premises.

  55. And in that one second... by religious+freak · · Score: 1

    The stock market will lose 20% of its value and the government will give an extra bagillion dollars in bailout money.

    Let's be done with '08 already - let's add that extra second to a good year

    /sarcasm

    --
    If you can read this... 01110101 01110010 00100000 01100001 00100000 01100111 01100101 01100101 01101011
  56. Complication? by wsanders · · Score: 2, Insightful

    Leap seconds get added all the time. They can't be predicted years in advance. http://en.wikipedia.org/wiki/Leap_second

    If you are running NTP or have a radio-controlled lock they will handle this just fine.

    If you have a real atomic clock you don't care, atomic clocks never get reset.

    Otherwise, you have a couple days to fix your bugs.

    --
    Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
    1. Re:Complication? by ari_j · · Score: 1

      I actually read that after I posted, of course. I always RTFASTL (seconds too late). :) (But I still think that we should learn to make better predictions. Haven't you guys solved the N-body problem yet?)

    2. Re:Complication? by robbak · · Score: 1

      The main contributing factor is the occurrences of earthquakes. A few earthquakes allow th earth to shrink slightly at the equator, and, like a child on a spinning office chair pulling his arms and legs in, the earth speeds up slightly. Another shift makes the earth expand, and we slow down.

      There is no way to predict this. All you can do is measure it. The question becomes how accurately we should make our atomic time follow these changes. Leap seconds every few years, or leap minutes every few hundred? I personally like the current system.

      --
      Prediction for end of Universe #42: Fencepost error in Quantum_bogosort.cpp
    3. Re:Complication? by ari_j · · Score: 1

      I was wondering the cause of the unpredictability. If it's earthquakes as you say, then my point stands: we should learn to make better predictions.

  57. "Length-of-day" is a serious geoscience parameter by peter303 · · Score: 1

    Astronomers have been measuring subtle changes in Length-of-Day for decades. Its the advent of atomic clocks that has made this very precise. Length-of-Day responds to changes in mass distribution in the earth - like the spinning ice-skater who extends or contracts arms to change spin rate. Generally the main cause are ocean currents and seasonal weather patterns. In turn, these may be affected by small changes in solar output. Very large earthquakes like Indonesia 2004 will lift or drop enough rock to affect the the rotation rate. Glacial melting, increased/decreased erosion may change it too.

  58. Kludgy fix by koafc2 · · Score: 0

    This sounds like a kludgy fix. Why not address the real problem, i.e. the unstable rotational speed of the world?

  59. Re:"Length-of-day" is a serious geoscience paramet by Deadstick · · Score: 1

    There's also a theorized seasonal component caused by sap rising and leaves growing in trees in alternate hemispheres, but that's pretty well down in the noise.

    rj

  60. Re:why rely on hh/mm/ss instead of millis elapsed. by swillden · · Score: 1

    I think it would be advisable not to rely on any system implementation of time, but to go with a completely separate time system. It can't be any more borken than the stuff you buy.

    Ah, the naivete of youth.

    I guarantee your implementation will be more "borken" than the stuff you buy. Accurate timekeeping is complex, even if you ignore conversion to wall clock time, and accurate time synchronization is even harder.

    A wise engineer will use the thoroughly-debugged implementations available, and implement a simple correction factor to address the leap second offsets that are not handled smoothly by the off-the-shelf code.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  61. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    I am no time scientist, but it is likely because linear number systems are not perpetual. A very fine time resolution like nanoseconds would rack up a very large number very quickly. Designing a system that will not overflow when the number gets too high would be a problem. GPS needs to run on small devices with limited resources. Devices designed to use the traditional date/time model will not need to add an extra digit for almost 8000 years.

  62. The Countdown by bondjamesbond · · Score: 1, Funny

    5... 4... 3... 2... 1... 1...
    Happy New Year!

  63. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    implement a simple correction factor

    That is called "job security": Making a complicated mess even more complicated by adding another small parameter which needs to be tuned just right. There is no simple correction factor which solves all use-cases. The "right" one depends on what you need the time value for: Duration? Point in time? Different assumptions about the requirements lead to different "corrections", which lead to systems falling out of sync.

    I didn't mean you should start from scratch. You take what you know to be a time source of sufficient quality (GPS would be a candidate, or even NTP-corrected Unix time on any other day) and base a counter on that source in a way that it always progresses 1 second per second (I wonder if I'm the only one who is disturbed by having to specify that a time-keeping facility should count one second per second). That's easy for GPS if your receiver gives you GPS time, and a little harder for UTC: you'll need a table of leap seconds which can be updated to account for future leap seconds. Basically convert a (for synchronization purposes) bad representation of time into a good one by algorithmically removing all irregularities, then make your systems use that time exclusively. Bonus points if you can standardize on an existing sane linear timescale.

  64. Poisson d'Avril by belg4mit · · Score: 1

    April Fool!

    Of course, this is a carry-over from the Roman new year.

    --
    Were that I say, pancakes?
  65. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    >I guarantee your implementation will be more "borken" than the stuff you buy.

    If you are distributing UTC inside and outside your application, then you have created a huge error.

    This is completely independent of the "system implementation of time", even ones that you may "guarantee", by whatever process -- even purchasing! -- to be completely bug-free.

    This issue transcends the "implementation": this is systems engineering. Sad to say it, but yours is _BUSTED_ by design.

  66. Re:why rely on hh/mm/ss instead of millis elapsed. by Repossessed · · Score: 1

    Check it again after ntp sends the change signal to your system (do you even have NTP on?).

    I don't expect anything different, but the experiment is somewhat useless at the moment.

    --
    Liberte, Egalite, Fraternite (TM)
  67. Re:why rely on hh/mm/ss instead of millis elapsed. by swillden · · Score: 1

    There is no simple correction factor which solves all use-cases. The "right" one depends on what you need the time value for: Duration? Point in time?

    Sure there is. In fact, you described it in your post.

    Use UTC-corrected timekeeping infrastructure, and keep a list of leap seconds so that you can "de-correct" to remove leap seconds. Store and calculate with de-corrected times. When you need to display human-readable times, first re-apply UTC correction and then use the standard conversion utilities. Handles all cases, and is MUCH simpler than replacing your system's timekeeping infrastructure.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  68. Re:why rely on hh/mm/ss instead of millis elapsed. by swillden · · Score: 1

    If you are distributing UTC inside and outside your application, then you have created a huge error.

    Bah.

    You have an "error" that is (a) irrelevant to most applications and systems and (b) can be relatively easily worked around for those applications that need non UTC-corrected time. In fact, the UTC de-correction needed by those applications requires the same infrastructure as that which would be required by all systems if they used TAI or GPS time internally and applied correction to display UTC time for human consumption. The only difference is that if systems used TAI internally, they would ALL have to be updated every time a leap second was announced. As it is, only applications that actually care about the issue have to be updated.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  69. 3... 2... 1... by dorianh49 · · Score: 3, Funny

    3 2 1 jokes in 3... 2... 1... 1...

    --
    Gravity is a contributing factor in nearly 73 percent of all accidents involving falling objects. -Dave Barry
    1. Re:3... 2... 1... by badkarmadayaccount · · Score: 1

      New meme! Thanks!

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  70. Re:why rely on hh/mm/ss instead of millis elapsed. by Estanislao+Mart�nez · · Score: 2, Informative

    Unix time is kept in the only unit that doesn't change: seconds elapsed since a defined point in time (milliseconds actually, but the base unit is the second).

    Um, no, that is not true. Unix time is kept in non-leap seconds elapsed since a defined point in time. Look it up.

  71. Re:legally speaking, it's the first leap for the U by HappyEngineer · · Score: 1

    If we leap one day in a "leap year" then shouldn't leaping a second be called a "leap minute" and not a "leap second"?

  72. Countdown from 11? by Anonymous Coward · · Score: 0

    Remember to start the countdown with an extra second.

  73. Radical Suggestion by John+Hasler · · Score: 1

    Drop leap seconds from the time stream and put them in the timezones file. Universal time should be an uninterrupted stream of numbered "atomic" seconds: TAI. Thus rather than the silly dance we are about to go through the IERS would simply publish a notice stating the number of seconds to be added to TAI to convert to UTC after the effective date.

    Computers would keep time, record timestamps, etc in TAI as the do now in UTC and would apply the appropriate leapsecond adjustment when they formatted time for display along with time zone and DST adjustments. The timezones file would contain enough information to permit times in the past to be correctly displayed.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  74. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    The problem with that approach is that the system time does not differentiate between 23:59 and 23:60. It's both 23:59 as far as Unix time is concerned (either standing still or repeated twice). To have a time facility which counts linearly, you have to use your own timers, synced with corrections at times when you know that the system time isn't playing tricks on you. Of course, if you have a reliable UTC source, you can use that and just convert it, but Unix system time is fundamentally broken, and so is the Java implementation that I tested, even though the documentation is written as though it should handle UTC correctly.

  75. Re:why rely on hh/mm/ss instead of millis elapsed. by tyldis · · Score: 1

    Can't give you any figures, but one second off would mean a lot of lost cash for us here at WeTalkToSatellites.
    Not enough to put us out of business, but enough to cause the execs to come screaming with tears.

  76. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    Make that 23:59:59 and 23:59:60.

  77. So what year is it? by extrasolar · · Score: 1

    During the leap second, is it considered 2008 and 1/2?

  78. Re:legally speaking, it's the first leap for the U by NinthAgendaDotCom · · Score: 1

    "Vegetable" is a culinary term, not a scientific one. Fruits can be vegetables.

    --
    -- http://ninthagenda.com/
  79. Re:why rely on hh/mm/ss instead of millis elapsed. by Anonymous Coward · · Score: 0

    You are making no sense at all.

    Two scenarios.

    1) The system in question doesn't care about leap seconds. This is handled by simply pretending TAI is UTC: just change the display strings and your job is done. This can be done via simple configuration, needed for many other purposes. (cf. "locale").

    2) The system must accommodate leap seconds. If so, then carrying around leap-second info inside the system (in and out of process) is, frankly, an error prone stupidity that must be avoided. The only rational approach is to gather and display UTC data only at the terminals of your system, and no where else, and deal with TAI (or an analog of it) everywhere else.

    Carefully note that in both cases, TAI is used internally and UTC, if needed, are present only at the extremities. Also note that if one day the first system is given a new "we need to handle leap seconds" requirement, simply update the aforementioned configuration file(s) and test your terminals.

    That you perceive the latter as "complex", and dealing with UTC pervasively throughout the system as (somehow) simpler, is indicative of a lack of systems experience.

    Naivete of youth, you say?

  80. IEEE 1588-2002, Precision Time Protocol by Anonymous Coward · · Score: 0

    The Precision Time Protocol (PTP) is a time-transfer protocol defined in the IEEE 1588-2002 standard that allows precise synchronization of networks (e.g., Ethernet). Accuracy within the nanosecond range can be achieved with this protocol when using hardware generated timestamps. http://en.wikipedia.org/wiki/Precision_Time_Protocol

    Close enough?

  81. Re:legally speaking, it's the first leap for the U by WuphonsReach · · Score: 1

    Well, the big problem is that the lengthening of the mean solar day is not a constant rate. You can't predict when leap seconds will be needed in the future with any accuracy.

    --
    Wolde you bothe eate your cake, and have your cake?