4 ms·
"When you have a clock you always know what time it is. When you have two you are never quite certain." -Mark Twain I've always wanted one of those watches th
by UI_at_80x24 5y ago
"When you have a clock you always know what time it is. When you have two you are never quite certain." -Mark Twain
I've always wanted one of those watches that sync itself based on the time signals based on WWV; and have a dream that one-day all the clocks/watches in my house will show the same time. But I've resigned myself that it probably won't happen.
- jorangreef 5y agoMark Twain has a quote for everything! An ancient adage warns, "Never go to sea with two chronometers; take one or three." — Fred Brooks
- nix23 5y agoAnd for NTP, take 5 because two could tell the same lie ;)
- karmakaze 5y agoAnd how do you use them--only use the median value?
- nix23 5y ago2 vs 2 you don't know who to trust, but if you have 3 vs 2 you know who you ~can trust (more), that's why 5 and not 4. But if you have a atomic clock don't trust those 5 ntp's at all. Maybe buy a 2nd clock or even better 5 of them ;)
- karmakaze 5y agoI would assume that all 5 give slightly differing estimates of the current time [a, b, c, d, e] with duplicates being rare and not treated specially than values that are close. You can either choose 'c' to ignore the outliers, or average [b, c, d] or some weighted average of them or more. Maybe the weighted average of the middle 3 might be more stable than the single median.
- nix23 5y agohttps://en.wikipedia.org/wiki/Precision_Time_Protocol https://en.wikipedia.org/wiki/Precision_Time_Protocol
- karmakaze 5y ago> The best master clock (BMC) algorithm performs a distributed selection of the best candidate clock based on the following clock properties: (IEEE 1588-2008 uses a hierarchical selection algorithm based on the following properties, in the indicated order:[8]:Figure 27) > Priority 1 – the user can assign a specific static-designed priority to each clock, preemptively defining a priority among them. Smaller numeric values indicate higher priority. > Class – each clock is a member of a given class, each class getting its own priority. Accuracy – precision between clock and UTC, in nanoseconds (ns) > Variance – variability of the clock > Priority 2 – final-defined priority, defining backup order in case the other criteria were not sufficient. Smaller numeric values indicate higher priority. > Unique identifier – MAC address-based selection is used as a tiebreaker when all other properties are equal. Only useful if you trust the data: Class, Accuracy, and Variance (which seems to be a self-measured estimate).
- magicalhippo 5y agoNot quite the same, but I picked up a cheap GPS module with PPS output and an external antenna from AliExpress and hooked it up to a Raspberry Pi 3 running chrony. Currently it's just set as the time server via DHCP for my computers, but I'm making a nixie clock which will use an ESP8266 running SNTP.
- UI_at_80x24 5y agoYeah, that's on my bucket list too. I love the looks of Nixie clocks, but I think I've read that they generate a lot of heat. Is that accurate?
- WelcomeShorty 5y agoNo it is not. You can touch them, no problem.
- magicalhippo 5y agoNixie tubes are cold-cathode discharge tubes. I've got some IN-14's, they can't handle more than 2.5mA. Operating voltage is ~150V, so that's at most 0.38W per tube. So no, they won't get hot. This is unlike vacuum tubes, used for amplifiers and similar, which are hot-cathode and needs a heating filament. They can get quite hot indeed.
- _flux 5y agoAlmost ten years ago I recycled/converted Topfield to show time with an arduino-like board and a network adapter. Basically, it listens to NTP broadcast messages and "keeps" time in between. Its timekeeping will suck though if it won't receive the messages periodically, but in practice it's quite fine. Except once when the ethernet board somehow broke down; fixed it by replacing it. Here's a short writeup I did for hackaday: https://www.modeemi.fi/~flux/projects/TopfieldClock/ https://www.modeemi.fi/~flux/projects/TopfieldClock/
- oh_sigh 5y agoOut of curiosity, have you analyzed how different/better your setup is compared to just using something like time.google.com?
- p1mrx 5y agoMy favorite WWVB watch was the Casio WV-300 series, released around 2007. It's notable for being less than 8mm thick: https://www.google.com/search?q=casio+wv-300&tbm=isch https://www.google.com/search?q=casio+wv-300&tbm=isch The GMW-B5000 series is a reasonable successor, but it's thicker, heavier, and 4X the price: https://www.google.com/search?q=casio+gmw-b5000&tbm=isch https://www.google.com/search?q=casio+gmw-b5000&tbm=isch
- SnowProblem 5y agoReminds me of a comment in the original Bitcoin source code: "Never go to sea with two chronometers; take one or three." One of the three was left as a todo :D https://github.com/trottier/original-bitcoin/blob/92ee8d9a994391d148733da77e2bbc2f4acc43cd/src/util.cpp#L326 https://github.com/trottier/original-bitcoin/blob/92ee8d9a99...
- LeifCarrotson 5y agoSadly, it won't happen because WWV connectivity has been superseded by NTP, Bluetooth syncing, and GPS-based smartwatches. It almost stopped being a possibility when Trump tried to defund some of the NIST, but fortunately that did not come to pass. My Garmin watch syncs to GPS satellites every time I start an activity. My cell phone (which many of my friends and family use as a replacement for a watch) syncs to the cell towers. Even appliances now are operated by microcontrollers with crystal oscillators having a frequency tolerance on the order of 20ppm: their clocks have little drift. Mine are not 'smart appliances', but those are becoming pervasive, and they, too, sync via NTP. Ultimately, though, all those NTP and GPS clocks have their master at the NIST in Boulder, Colorado - the same clock that WWV, broadcasting from Fort Collins, 50 miles north, synchronizes against.
- segfaultbuserr 5y agoI used to think this quote is annoying and stupid - when you have a single clock, you always trick yourself into thinking that the time is """correct""", but when you have two you'll usually be confident within a margin of error. This is why the International Atomic Time is derived by averaging many atomic clocks, or how NTP gets time from multiple servers. But on second thought, it can also interpreted as such: in a large synchronous system, it's often important to have a standard reference clock and to lock all the other clocks onto main clock, otherwise the system can be inconsistent due to timing problems, e.g. distributing a frequency reference in a lab, distributing the clock signal on a circuit board, or distributing standard wall clock time via NTP (the Stadium 1/2/3 hierarchy). So the quote makes perfect sense again.