The video posted got me thinking on time again, though I’ve often pondered NTP and it’s reach in the modern world.
When I was a kid, we had a time and temperature phone number to call, on a fat, heavy, black dial-phone you could beat a man to death with (I made that gif for you ungrateful fuckers. Steal it.) That government source was our only way to synchronise our clocks and watches. Not that our timepieces were horribly inaccurate! But if you needed to be on the same page as your friends or homes or work clocks, call the number, get your shit right.
Now we take it for granted that all our clocks match within millionths of a second, across the entire planet. Hell, I’m frustrated when my Casio watch collection needs a couple of tweaks because they don’t have, or I didn’t set, the Daylight Savings Time option.
If you want to dig into NTP more, the wiki is a starting point, though far too technical for the uninitiated. Anyone have a more approachable source?
Discussed running my own NTP server with a friend. It’s way more complex than one would likely think. If you’ve never worked in software, bring up computer time to an engineer, get an earful, get yelled at. NTP is truly the unsung hero of the modern world.
Fun fact about NTP
It uses port number 123
Completely independently the UK had a 3 digit number you could call to get the exact time “on the third tone, the time will be…” and the nunber to dial was 123.
I always found that a fun coincidence.
Here 123 is Telia customer support :(
No private company should have a 3 digit number tbh
Still has, afaik
A while back, i added GPS module to a Raspberry Pi. I modified ntp to accept time from the GPS signal. It turned out to deliver time with less than 10ms jitter. Thats about as accurate you can get without spending a thousand plus on an atomic solution.
We did it for a distributed Radio antenna experiment.
Thank you… for appreciating what you have… we have… and for respecting the infinitely magnificent history, the effort, art, and love…
The time zone database…
4,000,000,000 Android phones and iPhones use his file. We didn’t count servers, Macs or laptops, which would push the number higher…
On 29 September Paul put out version 2026e of the file. The first line of its notes says that Manitoba moves to permanent -05 on 31 October, which tells phones in Winnipeg not to set their clocks back on 1 November, and it was typed in by two volunteers a month ahead. Of the 251 changes made to the file in the last year, 218 were his and 28 were Tim Parenti’s.
In 2011 an astrology software company sued Paul and Arthur Olson, who started the file in 1986 at the National Institutes of Health, claiming some of its history came from an atlas the company owned.
The file’s mailing list and download site were switched off until IANA, which keeps the internet’s master lists, took them over later that month. The Electronic Frontier Foundation defended them for free, and the company dropped the case in February 2012.Source: https://sheets.works/data-viz/holding-up-the-internet
Compute history fascinates me, and so many bits are hanging it there by a fingernail but for some dude that puts his time into it. Was just reading about the history of
curllast week. I’m going over your link very carefully!My friend who I talked to about running an NTP server turned me onto Radia Perlman who invented Spanning Tree Protocol (STP). An old white woman, who no one has ever heard of, is wholly responsible for stopping packet storms. And now STP is simply taken for granted as a normal thing for a network to utilize. I’ve plugged various switches into themselves, just to test, no problem. SOHO gear doesn’t even have the option to turn off STP! It just works.
I have utmost respect for my “forefathers”. :)
If you go back further, it gets crazier.
I did a holiday and visitied Grenwich. The agreed centrepoint for midday. It was cool to learn about the importance of it all.
Then I went to Edinburgh castle and discovered the one o’clock gun. Basically, is would fire at the same precise moment each day and the ships would synchronise to the sound. Much like the phone time service.
And yeah, I’m operating a stratum-1 node in the NTP pool. There are dozens of us.
Yes, it’s pretty awesome that anything with a network connection can sync itself with the correct time now. I wish more things did! That reminds me, I still haven’t taken my car’s clock off Daylight Saving Time.
idk man, what if I need more precision?
So glad you asked! (Even if it was sarcasm.) NTP is very good, usually adequate for coordination, even in robotic controls.
But very good isn’t good enough in precise science. Imagine two processes digitizing adjacent sensor signals at MHz speed. Sequence and synchronicity are often key to interpretation of those signals - especially changes and transients. NTP level of sync can have enough uncertainty that the relationship cannot be stated, either signal may have enough uncertainty that a rapid event may have happened first on either, or maybe they were together.
PTP is the next better option /solution to learn. Properly configured PTP systems can sync signals at digitally relevant speeds (MHz, GHz). More advanced systems and extension of the tech can get to syncs relevant to high energy physics phenomena.
Science is awesome.
Another shower thought: NTP was probably invented by an INTP person
Just watched 12 monkeys last week again.
Still gotta think about clock skew



