Quick software engineering explainers for things you should've googled by now

Joined December 2025
272 Photos and videos
Most engineers can recite the seven OSI layers. Naming which protocols actually live at each one is where it gets fuzzy. Here’s the full map, layer by layer.
6
254
Your new colleague, a security expert, swears this admin endpoint is bulletproof: the JWT is issued by the server, and the code explicitly checks the payload for the admin role. Now it's in production, and attackers are making themselves admins. What's wrong with it?
2
232
Why do array indexes start at 0? It's one of those things most developers just accept without thinking twice. The reason comes down to how arrays are actually stored in memory.
3
266
TCP is reliable, UDP is fast. But why? It comes down to how each handles a lost packet.
1
3
974
git tags and git branches both point at a commit. So how are they different? git tags → stay on the same commit git branches → move to the newest commit
3
824
Quick SQL gotcha: there's an index on created_at, the query filters by created_at, and yet it's still scanning every row. The property it's missing: sargable
3
1,099
If Redis stores everything in memory, what happens when it restarts? Depends on which persistence modes are enabled. Redis has two: → RDB: periodic snapshots written to disk → AOF: an append-only log of every write Both can run at the same time.
3
190
Redis is the reflex answer to “we need a cache,” but a lot of setups never touch the features that separate it from Memcached. Worth knowing what those are before defaulting to it.
3
2,242
Classic pagination bug: a product search feels instant on the first few pages, then gets slower the deeper it goes. A few hundred pages in, response times stretch into seconds and CPU usage goes up. OFFSET is the culprit, and the fix is a one-line change to the query.
1
12
8,927
A simplistic mental model
JUST IN: Uber’s COO says heavy AI spending is getting harder to justify, as higher token usage fails to show a clear payoff in consumer features.
1
2
1,491
/users/verified vs /users?verified=true. Two URLs that handle the same need. Picking the right one comes down to a single question about what verified actually is.
3
1,185
Auto-increment IDs are simple: take the last one, add 1. That model breaks the moment two services need to do it independently.
3
6,339
Replying to @X
@X's For You feed narrows 500M daily posts to ~1,500 candidates per user, ranked by a Grok-based transformer. The full code was open-sourced by @xai, over 25K lines of Rust Python. For anyone who'd rather not dig through the repo, here's how it actually works 🧵
3
3
622
6/ One shot per post. Two pre-scoring filters drop anything a user has already seen or already been served in the current session. x.com/The_HappyPath/status/2…

Everyone has had a post on X stop the scroll, then lost it to a tab switch or a refresh. No amount of searching brings it back. The For You pipeline has a reason for that.
1
145
A feed that looks like magic from the outside is six well-named stages running in order. Every surprising behavior in the For You feed has a place in that diagram. Full repo: github.com/xai-org/x-algorit… Follow @The_HappyPath for more quick tech explainers
89
Everyone has had a post on X stop the scroll, then lost it to a tab switch or a refresh. No amount of searching brings it back. The For You pipeline has a reason for that.
1
275