Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,236 posts.

Any topic
Any year
19842

Some Notes About Time

This is a trade-off: you can't represent a leap second, and your time is guaranteed to go backwards. On the other hand, every day has exactly 86,400 seconds, and you don't need a table of all previous and future leap seconds in order to format Unix time as human-preferred hours-minutes-seconds.

19847

Interviews vs. auditions

In every off-season teams in every sport begin a strange ritual. Prospective coaches are flown in to meet with management about open positions — sometimes they convene at the stadium, in nondescript conference rooms, or the cabin of the owner’s plane. Whatever the locale, the scene is usually thus: The ambitious coach…

19860

Fast base64 encoding and decoding

Computers store data as streams of bits. Binary files like image, audio or video files are allowed to contain just about any sequence of bits. However, we also often use text formats; for example, web pages and emails are required to be text. So how do we send images by email? How do we embed … Continue reading…