Search results
4 results for “Algorithms”.
- Off-by-One and the Nine Other Logic Bugs You Will Write This Year
The most expensive bugs are rarely exotic — they are fences, loops, boundaries, and boolean mistakes that pass every happy-path test ever written. - How Hacker News Ranks Its Front Page — The One-Line Formula That Keeps It Fresh
A high-scoring story from yesterday is already sinking today. The Hacker News front page runs on one deceptively simple decay formula plus a human voting culture — here is the maths and the sociology, explained. - BM25: The Relevance Formula Behind Almost Every Search Box
Before embeddings and neural rerankers, there was a formula that still decides most rankings — term frequency, saturation, and a penalty for documents that repeat themselves. - Building an Inverted Index by Hand: My First Search Engine Code
Before using an off-the-shelf engine I built my own inverted index in JavaScript — and understood why that structure changes everything.