49
top 1 comments
sorted by: hot top new old
[-] pHr34kY@lemmy.world 8 points 3 weeks ago

I love a real pregramming blog. I actually wrote my own HTTP frontend for my NTP server. It uses the "new Date()" and doesn't adjust for RTT.

My approach was for all static content to be cached, which is everything except for the raw timestamp. I also ensured the whole website would fit in a single TCP frame if it had to. No repeat round trips.

Here it is, anyway: https://ntp.ubermotive.com/

I should probably try to get better timing adjustment into it. The primary goal was more an exercise in golfing than anything else. The site is seriously small.

this post was submitted on 05 May 2026
49 points (100.0% liked)

Programming

27052 readers
129 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS