Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another solution would be to add an extra positive and negative leap second every year to make sure all those code paths are tested.


The FreeBSD folks run tests on positive and negative leap seconds to make sure things are fine:

* https://lists.freebsd.org/pipermail/freebsd-stable/2020-Nove...

Of course there's a whole lot of other userland code besides ntpd.


It could be a holiday / hazing event for software engineers.


I.e., half of everything is broken each 6 months, instead of just every 15 - 30 months.

Better would be half of everything not breaking every 15 - 30 months.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: