Everything I learn, from first principles.
I'm a student working through system design, distributed systems and databases. These are my notes: what I read, what I got wrong, and what finally made it click.
33 articles 13 explainers 88 notebook entries
What I'm studying
Pick a subject and see everything I've written about it.
- LLM SystemsExplainer · 7 minWhy do AI chatbots make things up?A proof-based paper arguing chatbots hallucinate because learning from text forces some errors and tests reward guessing over saying I do not know.22 Nov
- FoundationsArticle · 3 minWhy is 0.1 + 0.2 not 0.3 in code?Every language says 0.30000000000000004. Here is why binary can't store tenths, what it costs, and how to dodge it.21 Nov
- FoundationsArticle · 4 minHow does Git work inside? (Snapshots, not changes)Git does not save your edits. It saves snapshots made of blobs, trees and commits, each named by a hash. Here is the simple version.19 Nov
- Distributed SystemsArticle · 6 minHow does your computer know the time? (And why it can be wrong)Your laptop and phone never agree on the time. Here is how computers guess it, fix it, and why servers avoid trusting clocks.17 Nov
- DatabasesArticle · 5 minWhat is a Bloom filter? A tiny "definitely not" checkerA tiny bit array that answers 'definitely not' or 'probably yes'. Here is why databases use it to skip slow disk reads.16 Nov
- PostmortemsArticle · 5 minHow one bad software update lost $460 million in 45 minutesA real deploy gone wrong: an old flag, one forgotten server and no off button. What the SEC report says, and what to do differently.13 Nov
- Distributed SystemsArticle · 4 minWhat are CRDTs? How shared documents stay in syncThree people edit the same document offline, then reconnect. A CRDT makes every copy end up identical with no referee. We start with a counter, then text.12 Nov
- DatabasesArticle · 4 minWhat really happens when you delete a file or a database row?You hit delete and the file is gone. Except it is not. Here is what really happens on disks, SSDs and databases, and why GDPR erasure is hard.10 Nov
- Distributed SystemsArticle · 4 minHow does TCP work on bad Wi-Fi?Bad Wi-Fi drops data all day, yet downloads still finish. Here is how TCP pulls that off.9 Nov
Latest from the notebook
All writingNotebooks, in the order I learned them
Spotted a mistake, or learning the same thing?
Corrections, questions or study buddies. I read every email.