browse/
3 results
ai/next-word-prediction-how-a-chatbot-s-core-trick-is-just-counting.md
Next-word prediction: how a chatbot's core trick is just counting
A chatbot's core job is to guess the next word, and the simplest version of that is just counting. In this article you read a few…
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…
languages/why-does-my-javascript-loop-run-one-time-too-many.md
Why does my JavaScript loop run one time too many?
A loop tells JavaScript to repeat some code until a condition says stop. A for loop packs three pieces onto one line: a setup that runs…