Re:Why Twitter didn’t go down: From a real Twitter SRE
by bombolo on Tuesday November 22, 2022 @05:52AM
(#33704350)
USA at some point had an anti-missile system that needed periodical reboots because it was originally designed for short deployments, so the floating point variable for the clock would start to lose precision after a while.
[ Parent
| on HN ]
Re:Why Twitter didn’t go down: From a real Twitter SRE
by saagarjha on Tuesday November 22, 2022 @06:26AM
(#33704584)
Which, of course, led to people dying when the drift was too great.
Re:Why Twitter didn’t go down: From a real Twitter SRE
by perihelions on Tuesday November 22, 2022 @08:08AM
(#33705319)
Re:Why Twitter didn’t go down: From a real Twitter SRE
by mlindner on Tuesday November 22, 2022 @08:22AM
(#33705458)
Fixed point, not floating point. https://en.wikipedia.org/wiki/Fixed-point_arithmetic
Re:Why Twitter didn’t go down: From a real Twitter SRE
by gcr on Tuesday November 22, 2022 @10:53AM
(#33707066)
Floating point clocks do lose precision after long enough time though; see https://randomascii.wordpress.com/2012/02/13/dont-store-that...
Storing floating point coordinates for example is what causes the "farlands" world generation behavior in Minecraft, for example.