4 ms·
Switch to TAI + fixed offset I just don't give a damn whether solar time is a couple minutes off of calendar time. Seconds should be seconds. Solar time is a
by 01HNNWZ0MV43FF 2y ago
Switch to TAI + fixed offset
I just don't give a damn whether solar time is a couple minutes off of calendar time.
Seconds should be seconds. Solar time is a human construct, it shouldn't affect computers.
- defrost 2y agoThe person I responded to was interested in 50 years of seconds from a stopwatch. That's a mechanical device with multiple sources of error and a need to be wound regularly. The questions I asked are about common sources of drift in mechanical watches and wether or not they cared enough to attempt to account for them.
- icehawk 2y agoYou're conflating the term "stopwatch" with an all mechanical device. That wasn't even true at the time period specified-- the quartz movement had been created in the 1950s and the first quartz pocket watch had been introduced in the mid 1960s. The issues you bring up are only relevant to a particular set of devices that can be used as timepieces that measure the amount of time that elapses between its activation and deactivation-- and are are all stopwatches.
- withinboredom 2y agoWhat is so special about thailand's timezone?
- kuschku 2y agoTAI not as in thailand, but TAI as in temps atomique international: https://en.wikipedia.org/wiki/International_Atomic_Time https://en.wikipedia.org/wiki/International_Atomic_Time
- withinboredom 2y agoI just tried to get a time in the TAI timezone via my programming language and it doesn't exist. Not a very useful timezone.
- hansvm 2y agoYou can wrap libtai in almost any language, and that's been done for the bigger ones. Which language are you using, and why is the conclusion not that the language is deficient?
- withinboredom 2y agoMaybe it should be added to the OS instead of a library? Why would I use a library for a timezone?
- hansvm 2y agoMaybe that's a fun new OS feature. If somebody wants to try it, more power to them. Answering your question more directly though, why would you want it in an OS? The OS primarily exists to mediate shared resources, and to a slightly lesser degree to sensibly wrap shared code everyone is definitely using (e.g., chrome and hacker news don't have to care about my LCD driver). What exactly do you gain by baking TAI into the OS? You lose in update availability, OS install size, application-specific customizability, runtime performance of TAI function calls, .... You'd want to gain something for those costs. > Why would I use a library for a timezone? Most people do? Even libc localization isn't a part of the OS (and is fraught with issues; never use libc localization), and that's the most primitive timezone library most people use. Everything else is baked into their language runtime or a third-party like nodatime. TAI isn't special in that regard.
- withinboredom 2y agoTime is very much a hardware concern (as is the time zone database an OS concern).
- 2y ago