Better HN
topnewbestaskshowjobs
Log inSign up

geerlingguy

25,461 karma · joined Jun 27, 2012 (14y ago) · 4,247 submissions

Author and developer from St. Louis, MO. I'm online at: https://www.jeffgeerling.com/
Submissions

comment 1d ago · link · parent

My Time Pi setup is in the single-digit ns range, on the hardware side—the PPS from GPS goes into the NIC's PHC, and disciplines that clock on the HAT. That time is distributed with hardware timestamping over the network (PTP), and other devices can get hardware level sync sub-10ns.

The Pi still has to handle its own PPS through interrupts, and without PTM, that means "less than a microsecond" is about as good as I can currently say _in Linux_ on the Pi.

Most people who get serious about timing in the ns (and now sub-ns) range move to FPGAs now, especially considering how inexpensive they've become. I haven't made that jump but most of my actual timing-focused hardware runs on an FPGA inside (like the NetTimeLogic PPS analyzer I have all my clocks plugged into).

2.

The robot that wants to take control of your life(youtube.com ↗)

1 points · by geerlingguy · 1d ago · discuss

comment 1d ago · link · parent

Some do, but this one doesn't seem to do that. At least not the two times I witnessed it!

comment 1d ago · link · parent

Good to know; Oxtrys gives a pretty generous pipe, and this VPS has 4GB of RAM and so far very decent performance. It's my first time hosting a VPS with them, mostly due to location—they resell Contabo VPSes in St. Louis, so my Wireguard tunnel only has a couple ms to travel!

If it runs well, I may move a couple other services to Oxtrys, or see if I could colocate a machine or two in Contabo's DC.

comment 1d ago · link · parent

The other clocks all agree on :28 seconds, which is indicated in the bottom clock (OCEST WiFi NTP clock), whereas the top WWVB clock is showing :38 ;)

But in order from top to bottom:

PTP Wallclock (yellow matrix display), running Oliver Ettlin's software I found out about through a CCC talk on PTP

Masterclock NTDS (unlisted on their site, but they still make these for broadcast) 'analog-style' digital NTP clock

Mitxela Precision Clock Mk4 (gets time straight from GPS, displays accurate time to the ms, though you need a high speed camera to see it).

The two wall clocks are a radio time clock from La Crosse I found at Micro Center (up top), and an OCEST WiFi NTP clock.

comment 1d ago · link · parent

Indeed, and the i226 is also a pain, as it doesn't work at 2.5 Gbps in Linux (you have to force 1 Gbps to get a connection)[1], and requires a patch to make PPS support not super glitchy[2].

[1] https://github.com/geerlingguy/raspberry-pi-pcie-devices/iss...

[2] https://github.com/Time-Appliances-Project/TimeHAT#intel-i22...

comment 2d ago · link · parent

The photo in the blog post was taken about a week after the last WWVB sync, so the clock runs approximately 10s fast/week, or +16ppm, which is typical for cheap quartz crystals.

One annoying side effect of running faster is whenever the clock gets a correction, since the gears only run forward, the clock has to go all the way around almost 12 hours to get back to the corrected time after a sync.

comment 2d ago · link · parent

Touche, but the main point is KVM is fine for NTP timing. I don't think I'd try to virtualize a PTP server, that still needs to be closer to the physical hardware.

comment 2d ago · link · parent

It all depends on the gains you're looking for. Almost any solution with PPS input can get you under 1µs, even on Linux through GPIO.

If you want to chase lower, you need a hardware-disciplined clock. Either through FPGA, or in the case of my Time Pi, I have a PTP NIC with a PHC disciplined from the ublox F9T—which should be within 5-20ns of GPS time. This can be measured on higher-end boards like the TimeHAT by comparing PPS out from the GNSS module, PPS from the NIC, and PPS from a separate GPSDO, along with a timestamp comparison tool like the tinyGTC or TAPR TICC: https://tapr.org/product/tapr-ticc/

The annoying thing is there are few PC hardware combos that include the relevant PPS and frequency outputs to allow actual verification of your time in hardware. Software can show numbers but even on my Pi dashboard, the sub-20ns sync reported is between the system clock and the NIC PHC... but not currently accounting for the delay when the kernel reads the PHC over PCIe.

Pi could support PTM on its PCIe bus, that would be awesome. Overkill for 99.9% of its market though!

comment 2d ago · link · parent

KVM allows chrony to adjust the clock, which give much better stability. With other VMs you can have a very jumpy clock and poor time service.

Some decent discussion on this topic (though with broken links to a separate NTP Pool discussion) here: https://a.osmarks.net/content/serverfault.com_en_all_2022-11...

comment 2d ago · link · parent

Bottom one is NTP, updating I think once or twice a day. The top one is using WWVB radio time, but my studio is a little bit of a faraday cage, so to get it to sync I have to bring it near the front door and point the back toward the West overnight (STL to Ft. Collins).

I have a solution to that I'm working on—Pico W that grabs time from NTP then broadcasts about 1m with a tiny antenna so I can set my wall clock and watch (the one with the green band in the picture).

comment 2d ago · link · parent

I started at 25 Mbit to see how things would go, and found the Oxtrys VPS I have the public server running on could handle that without issue.

Over the past few weeks I bumped it up to 50, then 100, and now it's at 250 Mbit. At 100 Mbit I was seeing 180-250 requests/sec. At 250 (just switched earlier this morning) I'm seeing 500-600 requests/sec.

I'm monitoring things on the server with chronytop[1], a tool I whipped up with Claude since I didn't see any other concise dashboards and hated `watch`ing chronyc sources to get any kind of updated data.

[1] https://github.com/geerlingguy/chronytop

comment 2d ago · link · parent

In the NTP Pool community, I've seen a few people mention CenterClick NTP servers; I'm happy to do my own DIY builds (Pi or otherwise), but this looks like a nice option for SMBs or time-nuts who don't want to manage their own hardware: https://centerclick.com/ntp/

There are also a lot of people who buy old Spectracom or other 'enterprise' time servers since they can be had for low hundreds of dollars with some nice features like rubidium or OCXO oscillators, so they can hold over time much more accurately when GPS is down, or upstream NTP providers are unreachable.

And regarding chrony, it's the default in many distros now, I like some of its built-in monitoring and clock adjustments, it just feels easier to manage if you want more than just base NTP features. It also supports hardware timestamping if you have network hardware that has it, which IIRC NTPd doesn't? I haven't messed with systemd-timesyncd or ntpd-rs, so can't say much on them.

comment 5d ago · link · parent

Meanwhile all other AI-related stocks getting hammered. AMD down almost 10%.

15.

Hailo is now part of Microchip(hailo.ai ↗)

1 points · by geerlingguy · 6d ago · discuss

16.

Prusa Connect Local(prusa3d.com ↗)

2 points · by geerlingguy · 1w ago · discuss

comment 1w ago · link · parent

Ah THAT'S what that's for. TIL.

I've seen a few flashing and was wondering why; that seems like a lot of battery power to waste, but that makes a lot more sense than some kind of status update nobody would ever see.

comment 1w ago · link · parent

One primary use case would be in areas with poor lighting conditions; IPS and other similar displays wind up glare-y or with poor off-axis viewing. These displays at least look like they'd hold up better in a hallway or room with a big window and mixed lighting.

It's a lot to ask for it, and it's too much for my liking... but it's certainly a feature I'd pay a little extra for.

The other would be battery operation — being able to run a device like this for 6 months or a year on battery means I don't have to route a cable up through the wall or in a cable channel, and that's kinda neat too. But again, for the price... oof!

comment 1w ago · link · parent

Most Walmarts I've been to in the past year seem to have switched to all eInk displays. I'd love to see a writeup on that rollout.

comment 1w ago · link · parent

It's a bit expensive, at $1,299.

21.

Frame – 31.5" color ePaper display(trmnl.com ↗)

547 points · by geerlingguy · 1w ago · 444 comments

comment 1w ago · link · parent

Posting this here because this is one of the many blogs I found through HN (with a deep history on HN back to 2012[1]) covering topics that interested me.

[1] https://news.ycombinator.com/from?site=raymii.org

23.

Site Changes(raymii.org ↗)

3 points · by geerlingguy · 1w ago · 1 comment

comment 1w ago · link · parent

William Osman built a browser app that works pretty well too: https://www.stitchslop.com/

I think that one was built with Claude (he wanted to embroider cats on merch, and didn't like the expensive subscription software's ancient UX).

comment 2w ago · link · parent

With any of the "high power experiment" folks on YouTube, I'm always glad when they upload again... you start to worry after a few years!

I love how this video has a modern "podcast" setup, yet the lighting and camera quality are still consistent with a decade ago when I started watching the zany experiments.

26.

Google AI's Opinions on How Ansible Has Changed(laserllama.substack.com ↗)

1 points · by geerlingguy · 2w ago · discuss

comment 2w ago · link · parent

It's one reason I've favored GPL of late, after many years using MIT. Not that many people these days would explicitly follow the terms of any license.

comment 2w ago · link · parent

Doesn't have the doors that go __-----

comment 3w ago · link · parent

Many fond memories of Radio Shack. I bought some electronics kits, a mini DJ setup, and many, many components there as a kid. At one time, they had quite a catalog of Radio Shack branded items that were "good but not great"... but more importantly available a few miles away within practically any city. Almost every mall in St. Louis had one (usually near a hobby train store or an arcade).

comment 3w ago · link · parent

Quick, rename it to "HackerDiscussed"!
12345
142