Discussion
wlkr: Interesting! There's a lot I don't know about this, but I know a little more now. I'll admit, I naively thought this would be more regular than it appears to be [0].[0]: https://en.wikipedia.org/wiki/Leap_second
butILoveLife: They teach us Scientific Realism in school, but reality is that we are really using Instrumentalism.That said, no one wants to admit it, so contemporary science follows Falsification, where we find ways to not actually make claims about reality. (Which as an Instrumentalist/pragmatist, I love Karl Popper, its just not metaphysical truth. And that would break Popper's heart)
voxl: A distinction without a difference. The only way we can interact with the world is via senses, via instruments, via measurement. We can rehash solipsism, but seeing as how that is an immediate dead end we all agree there is a physical reality. If there is in fact a reality, then we are measuring something real.
SeanDav: I assumed that leap seconds could be determined algorithmically, it appears I assumed badly. This is a bit of a can of worms...
imglorp: Responding to a deleted comment:> ... the "invisible infrastructure" of the web; balancing historical accuracy with the technical need to minimize zone fragmentation is a much more complex trade-off than it appears on the surface ...The complexity goes up tremendously if some condition is rarely encountered: eg leap second. This means it gets pushed to a "corner case" and tested more lightly and more rarely.At $work around 2014 we had three different hardware GPS types which we used for precision timekeeping; some chips, daughterboards, and firmware. One day a leap second arrived -- it gets broadcast to aGPS hardware a day ahead of time -- and all three implementations handled it differently. One handled it, one did something else like ignore it, and I think one even bricked itself. That situation was less than bueno.
throw0101d: > The complexity goes up tremendously if some condition is rarely encountered: eg leap second. This means it gets pushed to a "corner case" and tested more lightly and more rarely.There is some talk of eliminating the leap second, which would over time have the Earth and sun diverge with regards to noon and such. One 'answer' to this concern is to have a 'leap hour' or something in the future (some future generation's problem, not ours): but given that people can't even get February 29th correct now, and it happens regularly, I don't see how a one-off event would be made to work. It'd be a huge coördination problem.Just look at the introduction of the Gregorian calendar: it was slightly off since the time of Julius Caesar, but that minor error added up over time, to the point that to get the equinoxes/solstices back to where they 'should' be 10 days had to be removed with the Gregorian calendar. And because of politics (or a religious flavour) it took a long while for everyone to get on the same page.
tialaramex: The calendar adjustments are because the planet's constant orbital period isn't a whole number of days.The leap seconds were an attempt to have wall clock time map to the planet's rotational angle consistently despite the problem that the planet's spin varies unpredictably.Yes the "leap hour" is a legal fiction of course. In reality in the event anybody cares about this in the distant future they will make the kind of "drastic" changes you've probably experienced twice a year for your whole life and barely noticed... More likely because the drift is so incredibly slow they won't change anything.
Vvector: Leap Seconds need to be abolished. The only people who need it are Astronomers. They could just use an offset. Implementing leap seconds correctly is a huge burden, for no gain.Where I live, high noon today occurs at 1:03 PM. No one is complaining that it is 3 minutes (or 63 minutes) off. It's a non-issue for 99.9% of the population.
zozbot234: Just use TAI already. It's exactly what you want. It only has a trivial offset from your ideal "UTC with no leap seconds", and such an offset is unavoidable anyway because the underlying need for some leap-second equivalent still exists.
coldpie: Hmm. I understand that perspective, but I'm not sure I agree. It does seem to matter over a relatively short & realistic time scale. According to the Wikipedia page, there have been 27 seconds added since 1972, which is only 44 years ago. At that rate, that's about 1 minute per 100 years. We have many systems that have existed for several centuries and I think it's not unreasonable to start making plans for systems that may exist for millennia, where you're starting to talk about a 10+ minute offset at the current rate.But I do think there is a valid argument that the infrequency of these events cause more issues than maybe one large adjustment 500 years from now would cause. Not sure where I land on this one.
8fingerlouie: > since 1972, which is only 44 years agoThanks for making me a decade younger :)
xorcist: Unless you want to abolish timezones entirely, which would simplify clocks but complicate a whole lot else in society, you're going to need leap-something. Would leap minutes or hours really be much better? The idea that doing things less often causes more problems is a reasonable one.
8fingerlouie: I mean, in 53 years we have added 27 leap seconds, so in 119 years you'll have to set your alarm a minute earlier if you still want to arrive on time.
himata4113: How about a leap minute instead so we only have to worry about this when it's not a problem anymore :)? We will either hit the fermi filter or accend intelligence.
throw0101c: So lunar tidal forces are slowing the rotation, but (recently?) Earth mantle/core is causing a speed up, but climate change and melting ice is contributing to the slow down side:* https://www.scientificamerican.com/article/leap-seconds-may-...* https://scripps.ucsd.edu/news/global-warming-influencing-glo...The general trend is slowing down. Apparently (?) once the day gets to be 24h+0.001sec (+1 millisecond), a leap second would occur about every 1000 days; then when it becomes 24h+0.002sec, a leap second would occur about every 500 days; when it reaches 24h+0.003sec, a leap second would occur about every year; etc.
throw0101d: There was some talk about a negative leap second† a few years ago:* https://www.npr.org/2024/03/30/1241674216/climate-change-tim...† T23:59:58Z would have skipped/suppressed :59 and gone to T00:00:00Z.
netsharc: You make it sound like time labels like "23:59:58Z" can perform actions (e.g. to skip or "suppress").I had to look it up: https://www.timeanddate.com/time/negative-leap-second.html . In proper words, the clock ("the one humanity agrees to use) would skip 23:59:59Z.I wonder how much chaos a minute that only has 59 seconds would cause. Measurements would be off by that missing second (e.g. a pipeline delivering fuel at 60 liters/minute would surprisingly only have 59 liters in that minute..).
throw0101c: > I wonder how much chaos a minute that only has 59 seconds would cause.The FreeBSD folks test(ed?) their code for these things and it works:* https://lists.freebsd.org/pipermail/freebsd-stable/2020-Nove...Of course third-party userland code understanding what happens is another thing.
zamadatix: Leap seconds have so many problems beyond the time adjustment. It's a small/odd enough adjustment interval that there are wildly different approaches like leap smears. On top of being so small, it's rare enough (~every 2 years), depending on how a system is used, lack of proper handling might not be obviously apparent or lack of obvious problem in one implementation ignoring it may lead to lack of care in another implementation which would have a problem ignoring it.Leap hour replaces all of that with what is more or less equivalent to a change in DST rules (except for more time zones at once). DST changes don't go perfect either by any means... but we do them regularly enough without the world crashing down that doing an additional shift change of an extra hour every 5000 years is almost certainly less hassle and breakage than the leap second approach breaking things every ~2 years.
wmf: That's much worse than the Y2K problem.
wmf: We had a leap hour yesterday...
throw0101d: > We had a leap hour yesterday...Prescheduled.Now tell everyone we're having one June 30, 2029, and see how things go.
phicoh: It is way more easy to let UTC (without leap seconds) just drift away from the zero meridian and move countries to different time zones when convenient. We mess around with daylight savings time often enough that nobody will notice if we have change local time every couple of thousand years.
dijit: Just here to reinforce your point.The last leap-second I encountered (also the 2014 one) crashed my MySQL databases.you wouldn't assume that it depends on time like that, because honestly why would it? "surely it's fine, NTP corrects drift of a second fairly frequently"- but a leap second is not a drift, it's something quite insane unless your primitives are solid. Nobody would test for this.
paulddraper: > The only people who need it are Astronomers.And anyone that cares about the relationship of the time of day and the position of the Sun.Granted, it's not a lot, only a minute per century.
Vvector: Yet high noon at my current location comes at 12:03 (1:03 with DST). It's three minutes off. If I lived further west in my timezone, noon would come much later.How can people manage with noon off by minutes, yet want leap-second accuracy every 6 months?
paulddraper: More like every 2 years.But yes, point taken.The counterpoint is that it costs little.
b112: If you think you're going to steal days off my life, you've got another thing coming buster!
woopsn: Is it not straightforward use an almanac, vs making everyone leap their clock for some niche?