Top posts

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

Any topic
2021
1202

Why Rust strings seem hard

Lately I’ve been seeing lots of anecdotes from people trying to get into Rust who get really hung up on strings (&str, String, and their relationship). Beyond Rust’s usual challenges around ownership, there can be an added layer of frustration because strings are so easy in the great majority of languages. You just…

1207

The Confusing World of USB

For decades, my perception of USB was that of a technology both simple and reliable. You plug it and it works. The two first iterations [1] [2] freed PCs from a badly fragmented connector world made of RJ-45 (Ethernet), DA-15 (Joystick), DE-9 (Serial), DIN (PS/2), SCSI, and DB-25 (Parallel). When USB-3.0 came out…

1214

How does Google Authenticator work?

This post is the first in a three-part series. The remaining two: How does Google Authenticator work? (Part 2) How does Google Authenticator work? (Part 3) When you’re accessing services over the WEB – let’s pick GMail as an example – a couple of things have to happen upfront: The server you’re connecting to (GMail in…