browse/

18 results
computers/cpu-cache-why-reading-a-grid-by-rows-beats-columns-step-by-step.md CPU cache: why reading a grid by rows beats columns, step by step Two loops add up the same grid of numbers, yet one can run about ten times slower. The reason is a small, fast memory inside your processor… 5 min read · 7 Oct web/why-is-my-css-ignored-specificity-scored-with-three-numbers.md Why is my CSS ignored? Specificity, scored with three numbers You write `p { color: red; }`, reload, and the text stays blue. The rule is fine: two rules are competing, and yours lost the contest. The… 4 min read · 7 Oct languages/why-does-0-1-0-2-give-0-30000000000000004-in-python.md Why does 0.1 + 0.2 give 0.30000000000000004 in Python? Type 0.1 + 0.2 into Python and you get 0.30000000000000004. It is not a bug: computers store fractions in binary, and one tenth has no… 4 min read · 4 Oct ai/embeddings-how-a-computer-measures-that-a-kitten-is-like-a-cat.md Embeddings: how a computer measures that a kitten is like a cat How does a computer know that kitten is closer to cat than to car? It can't read meaning, but it can measure it. An embedding turns a word… 4 min read · 3 Oct web/why-your-200px-box-is-250px-wide-the-css-box-model.md Why your 200px box is 250px wide: the CSS box model Every element on a web page is a box made of four layers: content, padding, border and margin. By default, CSS width measures only the… 8 min read · 1 Oct computers/counting-with-only-0-and-1-how-computers-store-numbers-and-letters.md Counting with Only 0 and 1: How Computers Store Numbers and Letters Every photo, message and web page on your computer is stored as numbers written with just two digits: 0 and 1. That's binary, and it works… 9 min read · 1 Oct