TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hate leap seconds? Imagine a negative one

156 pointsby rdpintqogeogsaaover 3 years ago

13 comments

fanf2over 3 years ago
Since that was published, the earth has been slowing down gradually. I keep a casual eye on IERS Bulletin A, which has the latest earth rotation observations, predictions for the next year, and a simple formula for longer-term estimates. <a href="https:&#x2F;&#x2F;www.iers.org&#x2F;IERS&#x2F;EN&#x2F;Publications&#x2F;Bulletins&#x2F;bulletins.html" rel="nofollow">https:&#x2F;&#x2F;www.iers.org&#x2F;IERS&#x2F;EN&#x2F;Publications&#x2F;Bulletins&#x2F;bulletin...</a><p>The line I look at is<p><pre><code> UT1-UTC = -0.1204 + 0.00020 (MJD - 59593) - (UT2-UT1) </code></pre> which gives the current value of UT1-UTC (if -0.1204 grows to more than about +0.5 then we need a negative leap second) and the estimated long-term difference between earth’s rotation and 24x60x60 seconds (0.20 ms fast was up to 0.26 ms fast a few months ago).<p>Actually, I have some code that looks at Bulletin A for me, <a href="https:&#x2F;&#x2F;github.com&#x2F;fanf2&#x2F;bulletin-a" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fanf2&#x2F;bulletin-a</a> which until recently was estimating that the next leap second would be a negative leap second in about 2028&#x2F;9. But now its guess is receding into the future past 2030.<p>I have a few tweet threads on this topic, which you can find via <a href="https:&#x2F;&#x2F;twitter.com&#x2F;fanf&#x2F;status&#x2F;1478767806187552776" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;fanf&#x2F;status&#x2F;1478767806187552776</a> with some clicky-clicky to dig the older ones out of twitter’s delightful user interface.<p>See also <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25145870" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25145870</a> for some previous discussion here on this topic.<p>So nothing dramatic is likely to happen any time soon, though the current situation is quite weird.
评论 #29925481 未加载
评论 #29928635 未加载
beeforporkover 3 years ago
A negative leap second would be a fun experiment. E.g. in Germany, the atomic radio clock signal DCF77 does have a bit to announce a positive leap second, but it has no way of announcing a negative leap second.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;DCF77" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;DCF77</a><p>Now, cheap DCF77 clocks (e.g., alarm clocks) don&#x27;t care about the leap second bit anyway, but they will just adjust a few minutes later during normal resync. And they will do so just fine with a negative leap second. But some clocks, most probably those hidden in industrial systems, controllers, etc., may need to stay exact, and I am sure it&#x27;s fun to find out which systems really care and will then fail and in what ways. :-)<p>Interestingly, the Japanese and the British atomic radio clock signals can do negative leap seconds:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;JJY" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;JJY</a> <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Time_from_NPL_(MSF)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Time_from_NPL_(MSF)</a><p>For WWVB, whether negative leap seconds are supported seems to depend on whether amplitude or phase shift modulation is used.
评论 #29929418 未加载
评论 #29927763 未加载
civilizedover 3 years ago
Now we&#x27;re going to have &quot;lies programmers believe about time&quot;:<p>1. Seconds in one time system last the same amount of time as seconds in another time system<p>2. Seconds in the same time system last the same amount of time as each other<p>3. Time numbers are strictly increasing - the same time number can&#x27;t happen again<p>4. [etc, kill me]
评论 #29925656 未加载
评论 #29926787 未加载
评论 #29927836 未加载
评论 #29929863 未加载
评论 #29931079 未加载
gamacheover 3 years ago
Applying a negative second to a fleet is a solved problem, using the &quot;leap smear&quot; technique by Google. <a href="https:&#x2F;&#x2F;developers.google.com&#x2F;time&#x2F;smear" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;time&#x2F;smear</a><p>Applying it to millions of individual servers with different OSes? I&#x27;ll make the popcorn.
评论 #29925449 未加载
评论 #29927739 未加载
评论 #29929467 未加载
vbezhenarover 3 years ago
I don&#x27;t understand why do we need to have leap seconds. Even if time on Earth moves few minutes back, nobody would notice but astronomers. If time moves one hour back, just change your local zone offset, it happens all the time anyway, and that&#x27;s about it.<p>It makes time calculations unreasonably complex without any benefit.
评论 #29926509 未加载
评论 #29926697 未加载
评论 #29927908 未加载
评论 #29929941 未加载
adolphover 3 years ago
This is a fascinating read.<p><i>If the Earth speeds up enough, we might find ourselves pondering over the possibility of a negative leap second. According to the Time and Date folks [0], a day in 2021 is averaging about 0.2ms faster than the 84600 atomic seconds per day, ~70ms&#x2F;year, so at most 14 years of this would put us over the threshold (super unlikely). In reality, we don’t have to speed up a full 1000ms of rotation speed because there was always a fractional difference in UT1-UTC.</i><p><a href="https:&#x2F;&#x2F;www.timeanddate.com&#x2F;time&#x2F;earth-faster-rotation.html" rel="nofollow">https:&#x2F;&#x2F;www.timeanddate.com&#x2F;time&#x2F;earth-faster-rotation.html</a>
black6over 3 years ago
&gt; It’s important to know that there are exactly 86400 (24<i>60</i>60) UT1 seconds in a UT1 day. If the rotation of the Earth speeds up&#x2F;slows down, the definition of a UT1 second changes since the number of seconds in a day is constant.<p>I recently took an introductory Latin course and learned that ancient Roman time operated on the same principle. As the days got longer in the summer, so did the absolute length of time encompassed by an hour. Hard to make a sundial to automatically compensate, I imagine.
评论 #29927429 未加载
评论 #29927173 未加载
champtarover 3 years ago
Why are we adjusting when after 100 years clock would be less than 1 min off. We should deprecate UTC and just use TAI, ~40s difference right now.
评论 #29927943 未加载
评论 #29927622 未加载
timandoover 3 years ago
Is it possible to configure my computer to run on TAI and then use the timezone to say that I&#x27;m TAI+10:00:37. When a leap second happens, treat it as a DST transition.
评论 #29930056 未加载
lazyantover 3 years ago
Martin Kleppmann, author of &quot;Designing Data Intensive Applications&quot; talks about this in his excellent video series (skip to 14:30 for negative leap seconds etc) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=FQ_2N3AQu0M&amp;list=PLeKd45zvjcDFUEv_ohr_HdUFe97RItdiB&amp;index=8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=FQ_2N3AQu0M&amp;list=PLeKd45zvjc...</a>
somishereover 3 years ago
I&#x27;m actually fascinated by the climate change angle here. While it&#x27;s already clear that our inability to tackle the climate crisis is having a physical, cultural and mental effect on our way of life .. a temporal one is something I don&#x27;t think a lot of people have considered.
newpavlovover 3 years ago
FYI you can find an extensive discussion of this article on Reddit: <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;s2mij2&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;s2mij2&#x2F;</a>
rvnxover 3 years ago
I&#x27;m not sure why people are creating themselves problem ? UTC to be defined as the norm as it&#x27;s the most stable, and those who wants to use UT1 for space &#x2F; solar-related usage can use it and drift-away from UTC and that&#x27;s it ?