Encryption, markets, engines, networks: none of it came from genius. It came from someone taking a hard problem, finding the simple idea inside it, and building up from there. The idea is always small enough to hold in your head. The rest is layers.
Every big system started as one small idea. Then generations of people added to it, one step at a time, each step as simple as the first. After enough steps the result is so large and covers so much that someone from the past would call it magic, and someone from today does not notice it at all. It feels like part of reality, as given as rivers and weather. It is not. It is a stack of simple ideas, and you can walk down it the same way it was built up.
“What I cannot create, I do not understand.”Richard Feynman
Each page here takes one important idea and does that in reverse: starts from the problem, shows the smallest case that works, and lets you change the numbers yourself. Every value on the screen is really computed. What is left out is said out loud. The test for each page: a curious twelve-year-old gets to the end and can explain it to a friend.
1How RSA encryption works
A lock anyone can close and only one person can open. Pick two primes, build the keys, encrypt, decrypt, then try to break it.
Needs multiplication and remainders. Leads to HTTPS, digital signatures, key exchange.
2How a crypto swap pool works
How a market works when there is nobody to trade with. A pool of two coins, one rule, and a swap interface like the real ones.
Needs division and the idea of a price. Leads to liquidity providers, arbitrage, Uniswap.
3How neural networks learn
How a machine with a thousand knobs learns which way to turn each one. One knob, a chain, the one rule, then the smallest neural net that learns in front of you.
Needs multiplication and the slope of a line. Leads to neural networks, GPT.
In order: RSA first, it needs nothing beyond multiplication. AMM adds the idea of a price. Backprop adds the slope of a line. Each page ends with a short check, so you know whether it landed.
Every page is one HTML file with no build step and no framework. Each one exists in English and Russian.