<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>chalk</title>
    <link>https://chalkbrain.com</link>
    <description>Sketch-style boards, lessons, videos and interactive labs on how software systems work.</description>
    <language>en</language>
    <atom:link href="https://chalkbrain.com/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Container 07: Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-everything/</guid>
      <description>Before you start. Lessons 0651-container-fork-and-exec to 0656-container-network-namespace-and-veth built six walls one at a time: a child process, a private…</description>
    </item>
    <item>
      <title>Container 06: A Network Namespace and a Virtual Cable</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-network-namespace-and-veth/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-network-namespace-and-veth/</guid>
      <description>Before you start. 0655-container-cgroups-limits finished the box&apos;s ceilings. This stage gives it a network of its own. A network device is something a machine…</description>
    </item>
    <item>
      <title>Container 05: Cgroups, Memory and Process Limits</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-cgroups-limits/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-cgroups-limits/</guid>
      <description>Before you start. 0654-container-proc-and-dev finished the walls that change what a box can see. This stage adds the one that changes how much it can use. You…</description>
    </item>
    <item>
      <title>Container 04: /proc and /dev</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-proc-and-dev/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-proc-and-dev/</guid>
      <description>Before you start. 0653-container-mount-namespace-and-pivot-root gave the box Alpine&apos;s files and found that ps printed only its header. This stage fixes that.…</description>
    </item>
    <item>
      <title>Container 03: A Mount Namespace and pivot_root</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-mount-namespace-and-pivot-root/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-mount-namespace-and-pivot-root/</guid>
      <description>Before you start. 0652-container-uts-and-pid-namespaces gave the box its own hostname and its own process numbers. This stage gives it its own files. A file…</description>
    </item>
    <item>
      <title>Container 02: UTS and PID Namespaces</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-uts-and-pid-namespaces/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-uts-and-pid-namespaces/</guid>
      <description>Before you start. 0651-container-fork-and-exec started a command as a child and found that the child sees the host&apos;s hostname and the host&apos;s process list. This…</description>
    </item>
    <item>
      <title>Container 01: Fork and Exec</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-fork-and-exec/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-fork-and-exec/</guid>
      <description>Before you start. 0650-container-runtime-from-scratch set out the build: a container is an ordinary process with walls around it. This stage builds the process…</description>
    </item>
    <item>
      <title>Build Your Own Container Runtime</title>
      <link>https://chalkbrain.com/lessons/from-scratch/container-runtime-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/container-runtime-from-scratch/</guid>
      <description>Before you start. This series builds a small copy of the part of Docker that starts a container. A container is a program running with a limited view of the…</description>
    </item>
    <item>
      <title>A Rounding Error That Rewrote the Weather</title>
      <link>https://chalkbrain.com/lessons/mind-blown/a-rounding-error-that-rewrote-the-weather/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/a-rounding-error-that-rewrote-the-weather/</guid>
      <description>Before you start. Nothing technical is needed for the story. The second half uses a one-line rule and a short Python program. 0227-no-one-is-in-charge shows…</description>
    </item>
    <item>
      <title>The Hunters and the Hunted Take Turns</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-hunters-and-the-hunted-take-turns/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-hunters-and-the-hunted-take-turns/</guid>
      <description>Before you start. Nothing technical is needed for the story. The second half uses simple arithmetic and one short Python program. 0227-no-one-is-in-charge is a…</description>
    </item>
    <item>
      <title>The Person Who Changed Mid-Sentence</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-person-who-changed-mid-sentence/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-person-who-changed-mid-sentence/</guid>
      <description>Before you start. Nothing technical is needed. If you have read 0230-you-have-a-hole-in-your-vision you have met the idea that your picture of the world has…</description>
    </item>
    <item>
      <title>The thing you let in (deserialization and file uploads)</title>
      <link>https://chalkbrain.com/lessons/security/the-thing-you-let-in/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-thing-you-let-in/</guid>
      <description>Before you start. 0072-application-hardening said to check what knocks, in one line that included &quot;a file upload&quot;. 0070-web-vulnerabilities showed what happens…</description>
    </item>
    <item>
      <title>Make this Postgres fast: the fixes and the write-up</title>
      <link>https://chalkbrain.com/lessons/database-internals/make-this-postgres-fast-the-fixes-and-the-write-up/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/make-this-postgres-fast-the-fixes-and-the-write-up/</guid>
      <description>Before you start. 0638-make-this-postgres-fast-the-brief built the shop, the stopwatch and the list of what is slow. If you did its Try it, keep your written…</description>
    </item>
    <item>
      <title>Make this Postgres fast: the brief</title>
      <link>https://chalkbrain.com/lessons/database-internals/make-this-postgres-fast-the-brief/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/make-this-postgres-fast-the-brief/</guid>
      <description>Before you start. This is the capstone of the track, and it uses the lessons before it: reading a plan (0259-the-query-planner, 0579-the-plan-running),…</description>
    </item>
    <item>
      <title>Build a lock manager and deadlock detector</title>
      <link>https://chalkbrain.com/lessons/database-internals/build-a-lock-manager-and-deadlock-detector/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/build-a-lock-manager-and-deadlock-detector/</guid>
      <description>Before you start. 0260-locks-latches-and-transactions taught strict two-phase locking, the wait-for graph and a forced deadlock on a real Postgres.…</description>
    </item>
    <item>
      <title>Build three ways to join</title>
      <link>https://chalkbrain.com/lessons/database-internals/build-three-ways-to-join/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/build-three-ways-to-join/</guid>
      <description>Before you start. 0259-the-query-planner showed the three join methods in a real plan and the planner&apos;s bet on which to use.…</description>
    </item>
    <item>
      <title>Build sort and aggregate with a memory limit</title>
      <link>https://chalkbrain.com/lessons/database-internals/build-sort-and-aggregate-with-a-memory-limit/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/build-sort-and-aggregate-with-a-memory-limit/</guid>
      <description>Before you start. 0579-the-plan-running watched Postgres sort and group with workmem as the limit, and counted temp-file blocks as the sign of a spill.…</description>
    </item>
    <item>
      <title>Build a bounded buffer pool</title>
      <link>https://chalkbrain.com/lessons/database-internals/build-a-bounded-buffer-pool/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/build-a-bounded-buffer-pool/</guid>
      <description>Before you start. 0255-the-buffer-pool explained the room: frames, pinned and dirty pages, the clock sweep, and the small ring a big scan gets. 0288-db-pages…</description>
    </item>
    <item>
      <title>Build it: read the capture (a pcap reader, layer by layer)</title>
      <link>https://chalkbrain.com/lessons/networking/build-read-the-capture/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/build-read-the-capture/</guid>
      <description>Before you start. You need the street address (IP) of 0004-how-packets-find-their-way, the corridor address (MAC) of 0005-inside-your-building and…</description>
    </item>
    <item>
      <title>Build it: ping, and the parcel that dies on purpose (ICMP and traceroute)</title>
      <link>https://chalkbrain.com/lessons/networking/build-ping-and-the-dying-parcel/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/build-ping-and-the-dying-parcel/</guid>
      <description>Before you start. You need 0004-how-packets-find-their-way, which did traceroute by hand: depots, hops, and the hop limit that stops a parcel circling forever.…</description>
    </item>
    <item>
      <title>Build it: the concierge who walks (a recursive resolver)</title>
      <link>https://chalkbrain.com/lessons/networking/build-the-concierge/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/build-the-concierge/</guid>
      <description>Before you start. You need 0001-dns-resolution (the concierge, referrals, glue, TTL), 0002-dns-wire-format (the bytes of a question and an answer) and…</description>
    </item>
    <item>
      <title>Build it: only the lost page (selective repeat, loss and reordering)</title>
      <link>https://chalkbrain.com/lessons/networking/build-only-the-lost-page/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/build-only-the-lost-page/</guid>
      <description>Before you start. You need 0626-build-the-page-that-gets-through: the same test road, the same five-byte packets, and the stop-and-wait and go-back-N senders…</description>
    </item>
    <item>
      <title>Build it: the page that gets through (stop-and-wait, then a window)</title>
      <link>https://chalkbrain.com/lessons/networking/build-the-page-that-gets-through/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/build-the-page-that-gets-through/</guid>
      <description>Before you start. 0417-the-page-that-never-arrived told the idea: number every page, answer with &quot;got it&quot;, resend after a timeout, and keep several pages on…</description>
    </item>
    <item>
      <title>DNS: Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/dns-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/dns-everything/</guid>
      <description>Before you start. This series has built a DNS server in six stages. By now it can do six things, one per earlier lesson:</description>
    </item>
    <item>
      <title>DNS 06: A Forwarding Resolver</title>
      <link>https://chalkbrain.com/lessons/from-scratch/dns-forwarding-resolver/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/dns-forwarding-resolver/</guid>
      <description>Before you start. 0623-dns-compressed-names taught the server to read names written as pointers, and gave it a small client that decodes any reply. Until now…</description>
    </item>
    <item>
      <title>DNS 05: Compressed Names</title>
      <link>https://chalkbrain.com/lessons/from-scratch/dns-compressed-names/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/dns-compressed-names/</guid>
      <description>Before you start. 0622-dns-question-and-answer wrote names as length-prefixed labels (03 www 07 example 04 test 00) and built answers whose name field was an…</description>
    </item>
    <item>
      <title>DNS 03 and 04: The Question and the Answer</title>
      <link>https://chalkbrain.com/lessons/from-scratch/dns-question-and-answer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/dns-question-and-answer/</guid>
      <description>Before you start. 0621-dns-the-udp-socket-and-header built a socket and a parser for the 12-byte header: an ID, a flags word, and four counts, the first of…</description>
    </item>
    <item>
      <title>DNS 01 and 02: The UDP Socket and the Header</title>
      <link>https://chalkbrain.com/lessons/from-scratch/dns-the-udp-socket-and-header/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/dns-the-udp-socket-and-header/</guid>
      <description>Before you start. 0620-dns-server-from-scratch set out the build: a DNS server answers one question packet with one answer packet, over UDP, and every packet…</description>
    </item>
    <item>
      <title>Build Your Own DNS Server</title>
      <link>https://chalkbrain.com/lessons/from-scratch/dns-server-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/dns-server-from-scratch/</guid>
      <description>Before you start. This series builds a small DNS server, the program that turns a name like www.example.test into the number a computer needs to reach it. You…</description>
    </item>
    <item>
      <title>Git: Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/git-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/git-everything/</guid>
      <description>Before you start. This series has built a small git in five stages. Each one is a layer you can name:</description>
    </item>
    <item>
      <title>Git 04 and 05: Log and Checkout</title>
      <link>https://chalkbrain.com/lessons/from-scratch/git-log-and-checkout/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/git-log-and-checkout/</guid>
      <description>Before you start. 0617-git-commits-refs-and-head made the commit: a top tree, a parent hash, an author and a message, with a branch file holding the newest one…</description>
    </item>
    <item>
      <title>Git 03: Commits, Refs and HEAD</title>
      <link>https://chalkbrain.com/lessons/from-scratch/git-commits-refs-and-head/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/git-commits-refs-and-head/</guid>
      <description>Before you start. 0616-git-the-tree turned a folder into one top hash: blobs for files, trees for folders, every tree named by its contents. A tree is a…</description>
    </item>
    <item>
      <title>Git 02: The Tree</title>
      <link>https://chalkbrain.com/lessons/from-scratch/git-the-tree/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/git-the-tree/</guid>
      <description>Before you start. 0615-git-the-blob built the blob: a file&apos;s bytes, named by the hash of a header plus those bytes, stored zlib-compressed under .git/objects.…</description>
    </item>
    <item>
      <title>Git 01: The Blob</title>
      <link>https://chalkbrain.com/lessons/from-scratch/git-the-blob/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/git-the-blob/</guid>
      <description>Before you start. 0614-git-from-scratch set out the build: git stores a version of your project as objects named by the hash of their contents. This stage…</description>
    </item>
    <item>
      <title>Build Your Own Git</title>
      <link>https://chalkbrain.com/lessons/from-scratch/git-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/git-from-scratch/</guid>
      <description>Before you start. This series builds a small copy of git, the tool that keeps every saved version of a folder of files. You need one idea, refreshed here: a…</description>
    </item>
    <item>
      <title>LSM Capstone: Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/lsm-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/lsm-everything/</guid>
      <description>Before you start. This series built a small copy of a log-structured storage engine in seven stages. By now it can: keep recent writes in a sorted memtable…</description>
    </item>
    <item>
      <title>LSM 06-07: Compaction and Levels</title>
      <link>https://chalkbrain.com/lessons/from-scratch/lsm-compaction-and-levels/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/lsm-compaction-and-levels/</guid>
      <description>Before you start. This series builds a small copy of a storage engine that never edits a file in place. 0610-lsm-sstable-and-index made flushing safe and…</description>
    </item>
    <item>
      <title>LSM 05: The Bloom Filter</title>
      <link>https://chalkbrain.com/lessons/from-scratch/lsm-bloom-filter/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/lsm-bloom-filter/</guid>
      <description>Before you start. This series builds a small copy of a storage engine that never edits a file in place. 0610-lsm-sstable-and-index made each table file cheap…</description>
    </item>
    <item>
      <title>LSM 03-04: Table Files and the Sparse Index</title>
      <link>https://chalkbrain.com/lessons/from-scratch/lsm-sstable-and-index/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/lsm-sstable-and-index/</guid>
      <description>Before you start. This series builds a small copy of a storage engine that never edits a file in place. 0609-lsm-memtable-and-wal built the sorted memtable and…</description>
    </item>
    <item>
      <title>LSM 01-02: The Memtable and the Log</title>
      <link>https://chalkbrain.com/lessons/from-scratch/lsm-memtable-and-wal/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/lsm-memtable-and-wal/</guid>
      <description>Before you start. This series builds a small copy of a storage engine that never edits a file in place. 0608-lsm-from-scratch has the map. You need one idea…</description>
    </item>
    <item>
      <title>Build Your Own LSM Tree</title>
      <link>https://chalkbrain.com/lessons/from-scratch/lsm-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/lsm-from-scratch/</guid>
      <description>Before you start. This series builds a small copy of a storage engine: the part of a database that stores keys and values on disk and finds them again. The…</description>
    </item>
    <item>
      <title>Raft Capstone: Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/raft-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/raft-everything/</guid>
      <description>Before you start. This series built a small copy of Raft in four stages. By now your five nodes can: pick one leader by numbered terms and votes…</description>
    </item>
    <item>
      <title>Raft 04: A Key-Value Store on Top</title>
      <link>https://chalkbrain.com/lessons/from-scratch/raft-a-kv-on-top/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/raft-a-kv-on-top/</guid>
      <description>Before you start. This series builds a small copy of Raft, the algorithm a group of machines uses to keep one shared list of commands. You have a leader…</description>
    </item>
    <item>
      <title>Raft 03: Persistence</title>
      <link>https://chalkbrain.com/lessons/from-scratch/raft-persistence/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/raft-persistence/</guid>
      <description>Before you start. This series builds a small copy of Raft, the algorithm a group of machines uses to keep one shared list of commands.…</description>
    </item>
    <item>
      <title>Raft 02: Log Replication</title>
      <link>https://chalkbrain.com/lessons/from-scratch/raft-log-replication/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/raft-log-replication/</guid>
      <description>Before you start. This series builds a small copy of Raft, the algorithm a group of machines uses to keep one shared list of commands.…</description>
    </item>
    <item>
      <title>Raft 01: Leader Election</title>
      <link>https://chalkbrain.com/lessons/from-scratch/raft-leader-election/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/raft-leader-election/</guid>
      <description>Before you start. This series builds a small copy of Raft, the algorithm a group of machines uses to keep one shared list of commands. This first stage builds…</description>
    </item>
    <item>
      <title>Build Your Own Raft</title>
      <link>https://chalkbrain.com/lessons/from-scratch/raft-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/raft-from-scratch/</guid>
      <description>Before you start. This series builds a small copy of a consensus system: a group of five programs that keep one identical list of commands, even when some of…</description>
    </item>
    <item>
      <title>Build malloc, then a garbage collector</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/build-malloc/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/build-malloc/</guid>
      <description>Before you start. A running program keeps two work areas in memory. The stack holds calls that have not finished, and empties itself as they return. The heap…</description>
    </item>
    <item>
      <title>The program that starts programs</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/the-program-that-starts-programs/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/the-program-that-starts-programs/</guid>
      <description>Before you start. A process is one running program, walled off so nothing else can touch its memory. The kernel is the one program that can make new ones…</description>
    </item>
    <item>
      <title>Build a stack machine</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/build-a-stack-machine/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/build-a-stack-machine/</guid>
      <description>Before you start. A chip runs one loop forever: fetch the next instruction, decode which operation it is, execute it, with one number (the program counter)…</description>
    </item>
    <item>
      <title>Waiting without spinning</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/waiting-without-spinning/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/waiting-without-spinning/</guid>
      <description>Before you start. When two threads touch the same memory at once, an update can be lost, and a lock fixes that by letting only one thread at a time near the…</description>
    </item>
    <item>
      <title>The names a program needs to find</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/the-names-a-program-needs-to-find/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/the-names-a-program-needs-to-find/</guid>
      <description>Before you start. A compiler turns the code you write into the chip&apos;s own instructions, one file at a time, and a running program keeps its short-lived work on…</description>
    </item>
    <item>
      <title>Whose turn, and who decides</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/whose-turn-and-who-decides/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/whose-turn-and-who-decides/</guid>
      <description>Before you start. The CPU is the chip that runs a program&apos;s instructions; a core is one of several copies of that machinery inside it, each running one program…</description>
    </item>
    <item>
      <title>The address book every process carries</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/the-address-book-every-process-carries/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/the-address-book-every-process-carries/</guid>
      <description>Before you start. RAM is fast and small, the disk is huge and far slower, and a program runs well only when what it needs sits in the fast part…</description>
    </item>
    <item>
      <title>The engine in production</title>
      <link>https://chalkbrain.com/lessons/database-internals/the-engine-in-production/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/the-engine-in-production/</guid>
      <description>Before you start. 0256-wal-and-recovery showed the write-ahead log: every change goes into an append-only log before it touches a data page, so a crash can be…</description>
    </item>
    <item>
      <title>The plan, running</title>
      <link>https://chalkbrain.com/lessons/database-internals/the-plan-running/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/the-plan-running/</guid>
      <description>Before you start. 0259-the-query-planner showed the planner: the part of Postgres that reads a summary of your data and bets on one way to answer a query.…</description>
    </item>
    <item>
      <title>Which shortcut to build</title>
      <link>https://chalkbrain.com/lessons/database-internals/which-shortcut-to-build/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/which-shortcut-to-build/</guid>
      <description>Before you start. 0257-b-tree-on-disk showed what an index is: a second, sorted copy of one column that points back at the table, so a lookup reads a few pages…</description>
    </item>
    <item>
      <title>The key at the door (SSH: keys, known hosts, the agent and tunnels)</title>
      <link>https://chalkbrain.com/lessons/networking/the-key-at-the-door/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/the-key-at-the-door/</guid>
      <description>Before you start. From 0007-the-whisper-code you have the split lock: a key in two halves, a public half anyone may see and a private half its owner never…</description>
    </item>
    <item>
      <title>The hold line (the listen queue, and the SYN flood)</title>
      <link>https://chalkbrain.com/lessons/networking/the-hold-line/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/the-hold-line/</guid>
      <description>Before you start. From 0003-tcp-udp-handshake you have the phone call: TCP opens with three messages (&quot;can you hear me?&quot;, &quot;yes, and can you hear me?&quot;, &quot;yes&quot;),…</description>
    </item>
    <item>
      <title>Where the time goes (the four delays, and the buffer that fills)</title>
      <link>https://chalkbrain.com/lessons/networking/where-the-time-goes/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/where-the-time-goes/</guid>
      <description>Before you start. From 0004-how-packets-find-their-way you have the picture this lesson stands on: a router is a depot, a packet is a parcel, and every parcel…</description>
    </item>
    <item>
      <title>Inside one postal company (distance-vector, link-state, and ICMP)</title>
      <link>https://chalkbrain.com/lessons/networking/inside-one-postal-company/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/inside-one-postal-company/</guid>
      <description>Before you start. From 0004-how-packets-find-their-way you have the depot picture: a router is a depot that only knows its own short list of rows, each row…</description>
    </item>
    <item>
      <title>The corridor inside the building (frames, switches and VLANs)</title>
      <link>https://chalkbrain.com/lessons/networking/the-corridor-inside/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/the-corridor-inside/</guid>
      <description>Before you start. From 0005-inside-your-building you have the building: the router is a doorman who hands every device a flat number (its IP address on the…</description>
    </item>
    <item>
      <title>The risk register (security as a programme)</title>
      <link>https://chalkbrain.com/lessons/security/the-risk-register/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-risk-register/</guid>
      <description>Before you start. 0066-the-security-mindset gave you the threat model, a written list of ways a system could be abused. 0072-application-hardening gave you the…</description>
    </item>
    <item>
      <title>The door you forgot was a door (fail-open checks and logic bugs)</title>
      <link>https://chalkbrain.com/lessons/security/the-door-you-forgot-was-a-door/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-door-you-forgot-was-a-door/</guid>
      <description>Before you start. 0069-authorization-and-identity taught the ownership check: logging in proves who you are, not that order 124 is yours.…</description>
    </item>
    <item>
      <title>The key that has to change (secrets and key management)</title>
      <link>https://chalkbrain.com/lessons/security/the-key-that-has-to-change/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-key-that-has-to-change/</guid>
      <description>Before you start. 0067-cryptography-foundations gave you symmetric encryption: one secret key locks and unlocks, so whoever holds the key holds the data.…</description>
    </item>
    <item>
      <title>The badge you cannot take back (the session lifecycle)</title>
      <link>https://chalkbrain.com/lessons/security/the-badge-you-cannot-take-back/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-badge-you-cannot-take-back/</guid>
      <description>Before you start. 0068-authentication gave you two ways to remember that someone already logged in. A session is a logbook entry kept at the front desk, and…</description>
    </item>
    <item>
      <title>The trace you would actually see (detection and the first hour)</title>
      <link>https://chalkbrain.com/lessons/security/the-trace-you-would-actually-see/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-trace-you-would-actually-see/</guid>
      <description>Before you start. 0073-anatomy-of-a-breach showed that a breach is a chain, that the defender only has to catch the attacker at one link, and that most real…</description>
    </item>
    <item>
      <title>Your Home, Estimated - Fermi problems and a home energy audit</title>
      <link>https://chalkbrain.com/lessons/how-things-work/your-home-estimated/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/your-home-estimated/</guid>
      <description>Before you start. This lesson uses the others on this shelf, one idea each. From 0550-the-socket-is-a-waterfall: watts are joules per second, and the bill…</description>
    </item>
    <item>
      <title>Why You Can See Through Sand - band gaps, glass, metal and silicon</title>
      <link>https://chalkbrain.com/lessons/how-things-work/why-you-can-see-through-sand/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/why-you-can-see-through-sand/</guid>
      <description>Before you start. You need two ideas. From 0141-remote-invisible-light: each colour of light comes in packets called photons, and a photon&apos;s energy, in…</description>
    </item>
    <item>
      <title>The Lid That Cooks Faster - boiling point, pressure cookers, tyres and taps</title>
      <link>https://chalkbrain.com/lessons/how-things-work/the-lid-that-cooks-faster/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/the-lid-that-cooks-faster/</guid>
      <description>Before you start. You need one idea from 0140-cold-is-a-lie: a liquid&apos;s boiling point is not fixed. Squeeze it and it boils hotter; let the pressure crash and…</description>
    </item>
    <item>
      <title>Every Plug Ends at a Spinning Magnet - power stations, fission and the solar exception</title>
      <link>https://chalkbrain.com/lessons/how-things-work/every-plug-ends-at-a-spinning-magnet/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/every-plug-ends-at-a-spinning-magnet/</guid>
      <description>Before you start. You need three earlier lessons, each in one line. 0550-the-socket-is-a-waterfall: power is volts times amps, and the bill counts…</description>
    </item>
    <item>
      <title>Three Lights Pretending to Be Every Colour - screens, eyes and cameras</title>
      <link>https://chalkbrain.com/lessons/how-things-work/three-lights-pretending-to-be-every-colour/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/three-lights-pretending-to-be-every-colour/</guid>
      <description>Before you start. You need 0141-remote-invisible-light: light is one kind of wave on a long ruler, its wavelength decides its colour, and your eyes see only a…</description>
    </item>
    <item>
      <title>Twice the Speed, Four Times the Stop - braking, crumple zones and seatbelts</title>
      <link>https://chalkbrain.com/lessons/how-things-work/twice-the-speed-four-times-the-stop/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/twice-the-speed-four-times-the-stop/</guid>
      <description>Before you start. You need nothing but the experience of being in a car or on a bike when it stopped hard. One idea from 0136-entropy-arrow-of-time helps:…</description>
    </item>
    <item>
      <title>Spin From a Wire - motors, generators, speakers and the induction hob</title>
      <link>https://chalkbrain.com/lessons/how-things-work/spin-from-a-wire/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/spin-from-a-wire/</guid>
      <description>Before you start. You need 0550-the-socket-is-a-waterfall: voltage is the push, current is the flow, power is the two multiplied, and the grid&apos;s current flips…</description>
    </item>
    <item>
      <title>The Socket Is a Waterfall - volts, amps, watts and the bill</title>
      <link>https://chalkbrain.com/lessons/how-things-work/the-socket-is-a-waterfall/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/the-socket-is-a-waterfall/</guid>
      <description>Before you start. You need one idea from 0140-cold-is-a-lie: a heater has to make every joule of heat it gives you, while a heat pump only moves heat that…</description>
    </item>
    <item>
      <title>The Ledger That Cannot Lie - build a small money ledger in Go and hold it to four promises</title>
      <link>https://chalkbrain.com/lessons/finance/the-ledger-that-cannot-lie/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-ledger-that-cannot-lie/</guid>
      <description>Before you start. From 0527-every-litre-leaves-one-tank-and-enters-another: a ledger is accounts and entries, every transaction sums to zero, and the trial…</description>
    </item>
    <item>
      <title>The Stranger With Your Card Number - scoring a payment in a moment, and why most alerts are wrong</title>
      <link>https://chalkbrain.com/lessons/finance/the-stranger-with-your-card-number/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-stranger-with-your-card-number/</guid>
      <description>Before you start. From 0532-push-pull-and-the-instant-transfer: a card payment is a pull, so a stranger holding your card details can start one, and the…</description>
    </item>
    <item>
      <title>One Point Nine Billion That Was Never There - reconciliation, breaks, and how long to wait for a twin</title>
      <link>https://chalkbrain.com/lessons/finance/one-point-nine-billion-that-was-never-there/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/one-point-nine-billion-that-was-never-there/</guid>
      <description>Before you start. From 0527-every-litre-leaves-one-tank-and-enters-another: every movement is a pair of entries, so a book can add up and still be wrong about…</description>
    </item>
    <item>
      <title>The Bank That Closed at Half Past Three - gross against net, and the risk of waiting to settle</title>
      <link>https://chalkbrain.com/lessons/finance/the-bank-that-closed-at-half-past-three/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-bank-that-closed-at-half-past-three/</guid>
      <description>Before you start. From 0526-your-balance-is-the-banks-debt: a payment between customers of two banks is the two banks owing each other, and at some point they…</description>
    </item>
    <item>
      <title>Push, Pull and the Instant Transfer - batch rails, instant rails, and who can be tricked</title>
      <link>https://chalkbrain.com/lessons/finance/push-pull-and-the-instant-transfer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/push-pull-and-the-instant-transfer/</guid>
      <description>Before you start. From 0526-your-balance-is-the-banks-debt: your balance is a promise your bank owes you, so paying someone at another bank means your bank…</description>
    </item>
    <item>
      <title>The Hold That Is Not Money Yet - authorisation, capture, clearing, settlement and chargebacks</title>
      <link>https://chalkbrain.com/lessons/finance/the-hold-that-is-not-money-yet/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-hold-that-is-not-money-yet/</guid>
      <description>Before you start. From 0530-four-parties-to-every-tap: a card payment runs from the merchant to the acquirer, across a network, to the issuer, which approves…</description>
    </item>
    <item>
      <title>Four Parties to Every Tap - issuer, acquirer, network and interchange</title>
      <link>https://chalkbrain.com/lessons/finance/four-parties-to-every-tap/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/four-parties-to-every-tap/</guid>
      <description>Before you start. From 0526-your-balance-is-the-banks-debt: your balance is a promise your bank owes you, so paying someone means getting your bank to move…</description>
    </item>
    <item>
      <title>Half a Point a Day, Gone - integer minor units, rounding and currency exponents</title>
      <link>https://chalkbrain.com/lessons/finance/half-a-point-a-day-gone/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/half-a-point-a-day-gone/</guid>
      <description>Before you start. From 0528-a-book-you-never-erase: a ledger is entries you only add to, and every balance is the sum of its entries, so any error in a single…</description>
    </item>
    <item>
      <title>A Book You Never Erase - the append-only ledger, reversals and derived balances</title>
      <link>https://chalkbrain.com/lessons/finance/a-book-you-never-erase/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/a-book-you-never-erase/</guid>
      <description>Before you start. From 0527-every-litre-leaves-one-tank-and-enters-another: a ledger is accounts and entries, every transaction sums to zero, and the trial…</description>
    </item>
    <item>
      <title>Every Litre Leaves One Tank and Enters Another - double-entry, normal balances and the trial balance</title>
      <link>https://chalkbrain.com/lessons/finance/every-litre-leaves-one-tank-and-enters-another/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/every-litre-leaves-one-tank-and-enters-another/</guid>
      <description>Before you start. 0161-stripe-case-study gave you the habit: never write one number for a movement of money, write a pair, one line out of somewhere and one…</description>
    </item>
    <item>
      <title>Your Balance Is the Bank&apos;s Debt - deposits, reserves and the run</title>
      <link>https://chalkbrain.com/lessons/finance/your-balance-is-the-banks-debt/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/your-balance-is-the-banks-debt/</guid>
      <description>Before you start. One idea from 0505-owning-a-slice-of-the-ship: there are two ways to put money into something. You can own a piece of it, or you can lend to…</description>
    </item>
    <item>
      <title>The Honest Backtest - look-ahead, survivorship and overfitting</title>
      <link>https://chalkbrain.com/lessons/finance/the-honest-backtest/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-honest-backtest/</guid>
      <description>Before you start. From 0514-a-day-that-should-never-have-happened: volatility is how widely returns swing. From 0515-one-cloud-over-every-river: mixing assets…</description>
    </item>
    <item>
      <title>The Website Priced at the Moon - bubbles and the limits to arbitrage</title>
      <link>https://chalkbrain.com/lessons/finance/the-website-priced-at-the-moon/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-website-priced-at-the-moon/</guid>
      <description>Before you start. From 0513-a-drunk-walk-through-paris: in an efficient market, news is priced in so fast that there is no easy free money left to pick up.…</description>
    </item>
    <item>
      <title>When Every Model Agreed - tail risk, correlations going to one, and liquidity</title>
      <link>https://chalkbrain.com/lessons/finance/when-every-model-agreed/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/when-every-model-agreed/</guid>
      <description>Before you start. From 0515-one-cloud-over-every-river: mixing many bets cuts the swing, down to a floor set by how much they move together (their…</description>
    </item>
    <item>
      <title>Borrowed Water - leverage, margin calls and the growth-optimal bet</title>
      <link>https://chalkbrain.com/lessons/finance/borrowed-water/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/borrowed-water/</guid>
      <description>Before you start. From 0514-a-day-that-should-never-have-happened: volatility is how widely returns swing. From 0203-compound-interest: a wild run of returns…</description>
    </item>
    <item>
      <title>The Dial Nobody Can See - Black-Scholes and implied volatility</title>
      <link>https://chalkbrain.com/lessons/finance/the-dial-nobody-can-see/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-dial-nobody-can-see/</guid>
      <description>Before you start. From 0520-a-price-with-no-opinion-in-it: an option&apos;s price is forced by copying it with the underlying thing and a loan, and a binomial tree…</description>
    </item>
    <item>
      <title>A Price With No Opinion in It - no-arbitrage, replication and the binomial tree</title>
      <link>https://chalkbrain.com/lessons/finance/a-price-with-no-opinion-in-it/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/a-price-with-no-opinion-in-it/</guid>
      <description>Before you start. You need one idea from 0519-the-right-not-the-duty: a call option is a paid right to buy something later at a price fixed today (the strike),…</description>
    </item>
    <item>
      <title>The Right, Not the Duty - options, calls, puts and the payoff</title>
      <link>https://chalkbrain.com/lessons/finance/the-right-not-the-duty/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-right-not-the-duty/</guid>
      <description>Before you start. From 0518-a-price-agreed-for-next-seasons-rice you need the future: an agreement to trade later at a price fixed today, binding on both…</description>
    </item>
    <item>
      <title>A Price Agreed for Next Season&apos;s Rice - forwards, futures, hedging and margin</title>
      <link>https://chalkbrain.com/lessons/finance/a-price-agreed-for-next-seasons-rice/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/a-price-agreed-for-next-seasons-rice/</guid>
      <description>Before you start. From 0512-under-a-buttonwood-tree you need the exchange: one place where buyers and sellers of the same thing meet, through an order book.…</description>
    </item>
    <item>
      <title>The Bank That Bought the Safest Thing - bond prices, yield and duration</title>
      <link>https://chalkbrain.com/lessons/finance/the-bank-that-bought-the-safest-thing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-bank-that-bought-the-safest-thing/</guid>
      <description>Before you start. From 0501-why-a-coin-today-beats-a-coin-next-year you need discounting: money promised later is worth less today, and the higher the going…</description>
    </item>
    <item>
      <title>What the Valley Pays You to Carry the Drought - risk premium, beta, CAPM and the Sharpe ratio</title>
      <link>https://chalkbrain.com/lessons/finance/what-the-valley-pays-you-to-carry-the-drought/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/what-the-valley-pays-you-to-carry-the-drought/</guid>
      <description>Before you start. From 0515-one-cloud-over-every-river you need the two kinds of risk. A river&apos;s local weather (idiosyncratic risk) cancels when you own many…</description>
    </item>
    <item>
      <title>One Cloud Over Every River - diversification, correlation and Markowitz</title>
      <link>https://chalkbrain.com/lessons/finance/one-cloud-over-every-river/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/one-cloud-over-every-river/</guid>
      <description>Before you start. From 0514-a-day-that-should-never-have-happened you need volatility: the typical size of a return&apos;s swing, measured as a standard deviation.…</description>
    </item>
    <item>
      <title>A Day That Should Never Have Happened - volatility, the bell curve and fat tails</title>
      <link>https://chalkbrain.com/lessons/finance/a-day-that-should-never-have-happened/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/a-day-that-should-never-have-happened/</guid>
      <description>Before you start. From 0513-a-drunk-walk-through-paris you need the random walk: a price that moves each day by chance, with no memory, whose spread grows with…</description>
    </item>
    <item>
      <title>A Drunk Walk Through Paris - the random walk and the efficient market</title>
      <link>https://chalkbrain.com/lessons/finance/a-drunk-walk-through-paris/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/a-drunk-walk-through-paris/</guid>
      <description>Before you start. From 0512-under-a-buttonwood-tree you need the stall: buyers queue with bids, sellers with asks, and the price sits in the gap between them,…</description>
    </item>
    <item>
      <title>Under a Buttonwood Tree - the exchange, the order book and the spread</title>
      <link>https://chalkbrain.com/lessons/finance/under-a-buttonwood-tree/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/under-a-buttonwood-tree/</guid>
      <description>Before you start. You need two ideas. From 0505-owning-a-slice-of-the-ship: a share is a slice of a company that you can sell to someone else, which only helps…</description>
    </item>
    <item>
      <title>One Page for the Whole Tank - chapter one, put in order</title>
      <link>https://chalkbrain.com/lessons/finance/one-page-for-the-whole-tank/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/one-page-for-the-whole-tank/</guid>
      <description>Before you start. All of chapter one, in order: 0500-nineteen-and-six-where-the-water-goes (cash flow), 0501-why-a-coin-today-beats-a-coin-next-year (a coin…</description>
    </item>
    <item>
      <title>Returns Too Smooth to Be True - Ponzi schemes and the red flags</title>
      <link>https://chalkbrain.com/lessons/finance/returns-too-smooth-to-be-true/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/returns-too-smooth-to-be-true/</guid>
      <description>Before you start. You need two ideas from earlier in the track. 0505-owning-a-slice-of-the-ship showed that owning shares means owning something whose value…</description>
    </item>
    <item>
      <title>The Sale Made at the Bottom - the behaviour gap</title>
      <link>https://chalkbrain.com/lessons/finance/the-sale-made-at-the-bottom/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-sale-made-at-the-bottom/</guid>
      <description>Before you start. Three earlier lessons do the groundwork. 0087-cognitive-biases showed that a bias is a mental shortcut that leans the same way every time, so…</description>
    </item>
    <item>
      <title>The Same Seed in a Sheltered Pot - tax now, tax later, or never</title>
      <link>https://chalkbrain.com/lessons/finance/the-same-seed-in-a-sheltered-pot/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-same-seed-in-a-sheltered-pot/</guid>
      <description>Before you start. You need compounding from 0203-compound-interest: growth earns growth, so anything taken out early takes its whole future with it, which is…</description>
    </item>
    <item>
      <title>Thirty-Four Years to Break Even - horizon, risk capacity, and the mix</title>
      <link>https://chalkbrain.com/lessons/finance/thirty-four-years-to-break-even/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/thirty-four-years-to-break-even/</guid>
      <description>Before you start. You need a share and a bond from 0505-owning-a-slice-of-the-ship: a share is a slice of a company that rises and falls with it, a bond is a…</description>
    </item>
    <item>
      <title>The Bet on the Whole Haystack - index funds, active managers, and costs</title>
      <link>https://chalkbrain.com/lessons/finance/the-bet-on-the-whole-haystack/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-bet-on-the-whole-haystack/</guid>
      <description>Before you start. You need a share from 0505-owning-a-slice-of-the-ship: a slice of ownership in one company, worth more when it does well and less when it…</description>
    </item>
    <item>
      <title>Owning a Slice of the Ship - shares, bonds, and who gets paid first</title>
      <link>https://chalkbrain.com/lessons/finance/owning-a-slice-of-the-ship/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/owning-a-slice-of-the-ship/</guid>
      <description>Before you start. You need the tank from 0500-nineteen-and-six-where-the-water-goes: a surplus is water left over after the taps. You also need two ideas from…</description>
    </item>
    <item>
      <title>Paying a Little So a Lot Cannot Sink You - insurance and risk pooling</title>
      <link>https://chalkbrain.com/lessons/finance/paying-a-little-so-a-lot-cannot-sink-you/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/paying-a-little-so-a-lot-cannot-sink-you/</guid>
      <description>Before you start. You need the tank from 0500-nineteen-and-six-where-the-water-goes (money as water, cash flow as in minus out) and the rain barrel from…</description>
    </item>
    <item>
      <title>The Pipe That Drains Faster Than It Fills - debt, APR and the minimum-payment trap</title>
      <link>https://chalkbrain.com/lessons/finance/the-pipe-that-drains-faster-than-it-fills/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-pipe-that-drains-faster-than-it-fills/</guid>
      <description>Before you start. From 0500-nineteen-and-six-where-the-water-goes: the tank, and cash flow as what comes in minus what goes out. From…</description>
    </item>
    <item>
      <title>The Rain Barrel for the Dry Season - emergency funds and liquidity</title>
      <link>https://chalkbrain.com/lessons/finance/the-rain-barrel-for-the-dry-season/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/the-rain-barrel-for-the-dry-season/</guid>
      <description>Before you start. From 0500-nineteen-and-six-where-the-water-goes: cash flow is what comes in minus what goes out, and a deficit has to be covered from savings…</description>
    </item>
    <item>
      <title>Why a Coin Today Beats a Coin Next Year - present value and discounting</title>
      <link>https://chalkbrain.com/lessons/finance/why-a-coin-today-beats-a-coin-next-year/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/why-a-coin-today-beats-a-coin-next-year/</guid>
      <description>Before you start. One idea from 0203-compound-interest: money left to grow earns interest on its interest, so 1,000 at 5% becomes 1,050 after a year and…</description>
    </item>
    <item>
      <title>Nineteen and Six - where the water goes</title>
      <link>https://chalkbrain.com/lessons/finance/nineteen-and-six-where-the-water-goes/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/finance/nineteen-and-six-where-the-water-goes/</guid>
      <description>Before you start. Nothing. You need to be able to subtract one number from another, and that is the whole of the maths here. This is the first lesson of the…</description>
    </item>
    <item>
      <title>S6 · Build a Replicated Key-Value Store (Dynamo-style)</title>
      <link>https://chalkbrain.com/lessons/portfolio-projects/s6-build-a-replicated-key-value-store/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/portfolio-projects/s6-build-a-replicated-key-value-store/</guid>
      <description>Before you start. You&apos;ve built S2, a door in front of identical servers, and S3, a key-value server. Both lessons end by suggesting you put the first in front…</description>
    </item>
    <item>
      <title>S5 · Build a Message Log (Kafka-style)</title>
      <link>https://chalkbrain.com/lessons/portfolio-projects/s5-build-a-message-log/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/portfolio-projects/s5-build-a-message-log/</guid>
      <description>Before you start. You&apos;ve built S1, so an append-only log, a length in front of each record, and replay on startup are already yours. This project points that…</description>
    </item>
    <item>
      <title>S4 · Build an HTTP Server (without net/http)</title>
      <link>https://chalkbrain.com/lessons/portfolio-projects/s4-build-an-http-server/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/portfolio-projects/s4-build-an-http-server/</guid>
      <description>Before you start. You&apos;ve built S2, which let Go&apos;s net/http library handle every byte of every request. This project takes that library away. You need ports and…</description>
    </item>
    <item>
      <title>Data About People</title>
      <link>https://chalkbrain.com/lessons/data-systems/data-about-people/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/data-about-people/</guid>
      <description>Before you start. 0044-stream-processing and 0045-where-data-systems-are-heading built a design around one add-only list of everything that happened, the log,…</description>
    </item>
    <item>
      <title>The Choices Before the Requirements</title>
      <link>https://chalkbrain.com/lessons/data-systems/the-choices-before-the-requirements/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/the-choices-before-the-requirements/</guid>
      <description>Before you start. Nothing from earlier lessons; this one opens the track. You only need to have used an app that remembers things, an order history, a feed, a…</description>
    </item>
    <item>
      <title>How to Read a Self-Help Claim (effect sizes, replication, and testing it on yourself)</title>
      <link>https://chalkbrain.com/lessons/personal-development/how-to-read-a-self-help-claim/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/how-to-read-a-self-help-claim/</guid>
      <description>Before you start. This track has already debunked three famous claims: the 10,000-hour rule in 0121-deliberate-practice, the 21-day habit in…</description>
    </item>
    <item>
      <title>Wishing Is Not Planning (goals that get done)</title>
      <link>https://chalkbrain.com/lessons/personal-development/wishing-is-not-planning/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/wishing-is-not-planning/</guid>
      <description>Before you start. 0123-habits-and-behaviour-change showed that a habit runs on a cue: something in the world that sets off the routine without a decision.…</description>
    </item>
    <item>
      <title>The Alarm That Won&apos;t Switch Off (stress after failure)</title>
      <link>https://chalkbrain.com/lessons/personal-development/the-alarm-that-wont-switch-off/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/the-alarm-that-wont-switch-off/</guid>
      <description>Before you start. 0121-deliberate-practice asked you to practise where you fail some of the time, because that is where feedback is richest.…</description>
    </item>
    <item>
      <title>What the Raise Buys (well-being)</title>
      <link>https://chalkbrain.com/lessons/personal-development/what-the-raise-buys/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/what-the-raise-buys/</guid>
      <description>Before you start. 0126-energy-goals-and-recovery treated your energy as something you spend and refill, and sleep as the floor under everything else. That…</description>
    </item>
    <item>
      <title>The Task You Keep Not Starting (procrastination)</title>
      <link>https://chalkbrain.com/lessons/personal-development/the-task-you-keep-not-starting/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/the-task-you-keep-not-starting/</guid>
      <description>Before you start. 0123-habits-and-behaviour-change showed that a habit is a loop: a cue sets off a craving, the craving drives a routine, and the routine pays…</description>
    </item>
    <item>
      <title>What a Word Points At</title>
      <link>https://chalkbrain.com/lessons/philosophy/what-a-word-points-at/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/what-a-word-points-at/</guid>
      <description>Before you start. You need nothing but the ordinary sense that a word like &quot;cat&quot; is about cats: it is a sound or a mark that somehow reaches out to a thing in…</description>
    </item>
    <item>
      <title>When the Evidence Can&apos;t Decide</title>
      <link>https://chalkbrain.com/lessons/philosophy/when-the-evidence-cant-decide/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/when-the-evidence-cant-decide/</guid>
      <description>Before you start. 0103-logic-truth-and-the-limits-of-reason showed that a rule built from past cases is never proved, only made likely, because the next case…</description>
    </item>
    <item>
      <title>Is Death Bad for the One Who Dies?</title>
      <link>https://chalkbrain.com/lessons/philosophy/is-death-bad/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/is-death-bad/</guid>
      <description>Before you start. 0105-free-will-identity-and-the-self asked what makes you the same person over time, and settled on a chain of memories and character that…</description>
    </item>
    <item>
      <title>The Oldest Argument</title>
      <link>https://chalkbrain.com/lessons/philosophy/the-oldest-argument/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/the-oldest-argument/</guid>
      <description>Before you start. 0103-logic-truth-and-the-limits-of-reason split a good argument into two checks. An argument&apos;s shape is valid when the conclusion has to…</description>
    </item>
    <item>
      <title>Why Obey Anyone?</title>
      <link>https://chalkbrain.com/lessons/philosophy/why-obey-anyone/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/why-obey-anyone/</guid>
      <description>Before you start. 0104-ethics-and-the-good-life ended on John Rawls&apos;s veil: pick a society&apos;s rules before you know who you will be in it, and you will protect…</description>
    </item>
    <item>
      <title>Is Anything Actually Wrong?</title>
      <link>https://chalkbrain.com/lessons/philosophy/is-anything-actually-wrong/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/is-anything-actually-wrong/</guid>
      <description>Before you start. 0104-ethics-and-the-good-life gave you three ways to judge an act (by its outcome, by the duty it keeps, by the character of the person…</description>
    </item>
    <item>
      <title>Argue It Yourself</title>
      <link>https://chalkbrain.com/lessons/philosophy/argue-it-yourself/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/argue-it-yourself/</guid>
      <description>Before you start. 0103-logic-truth-and-the-limits-of-reason gave you two checks on any argument. Its shape is valid when the conclusion has to follow if the…</description>
    </item>
    <item>
      <title>The Words You Think In</title>
      <link>https://chalkbrain.com/lessons/psychology/the-words-you-think-in/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/the-words-you-think-in/</guid>
      <description>Before you start. 0085-how-memory-works pictured memory as an office: a desk (working memory, what you are holding in mind right now) with about four trays,…</description>
    </item>
    <item>
      <title>When the Mind Hurts</title>
      <link>https://chalkbrain.com/lessons/psychology/when-the-mind-hurts/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/when-the-mind-hurts/</guid>
      <description>Before you start. 0470-how-psychology-knows-what-it-knows gave you the habit this lesson needs most: a famous study is a claim until someone checks it, and an…</description>
    </item>
    <item>
      <title>Measuring a Person</title>
      <link>https://chalkbrain.com/lessons/psychology/measuring-a-person/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/measuring-a-person/</guid>
      <description>Before you start. 0470-how-psychology-knows-what-it-knows showed that a correlation is two things moving together, not one causing the other, and that a claim…</description>
    </item>
    <item>
      <title>The Mind Being Built</title>
      <link>https://chalkbrain.com/lessons/psychology/the-mind-being-built/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/the-mind-being-built/</guid>
      <description>Before you start. 0091-learning-and-expertise showed knowledge piling up as chunks, so an expert sees more in the same glance. 0471-the-wet-hardware showed a…</description>
    </item>
    <item>
      <title>What a Feeling Is For</title>
      <link>https://chalkbrain.com/lessons/psychology/what-a-feeling-is-for/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/what-a-feeling-is-for/</guid>
      <description>Before you start. 0087-cognitive-biases showed a fast, automatic mind that answers before the slow one checks, and 0090-motivation-and-habit showed a craving…</description>
    </item>
    <item>
      <title>The Room That Agreed With the Wrong Line</title>
      <link>https://chalkbrain.com/lessons/psychology/the-room-that-agreed-with-the-wrong-line/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/the-room-that-agreed-with-the-wrong-line/</guid>
      <description>Before you start. 0087-cognitive-biases showed that a fast, automatic guess can pull the same wrong way every time, without you noticing.…</description>
    </item>
    <item>
      <title>The Wet Hardware</title>
      <link>https://chalkbrain.com/lessons/psychology/the-wet-hardware/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/the-wet-hardware/</guid>
      <description>Before you start. You need the idea from 0470-how-psychology-knows-what-it-knows that a striking result is worth checking before you trust it; it comes back…</description>
    </item>
    <item>
      <title>How Psychology Knows What It Knows</title>
      <link>https://chalkbrain.com/lessons/psychology/how-psychology-knows-what-it-knows/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/how-psychology-knows-what-it-knows/</guid>
      <description>Before you start. You need two things you already have: a rough feel for percentages, and the experience of hearing &quot;studies show...&quot; and wondering whether to…</description>
    </item>
    <item>
      <title>Blue With No Blue in It</title>
      <link>https://chalkbrain.com/lessons/mind-blown/blue-with-no-blue-in-it/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/blue-with-no-blue-in-it/</guid>
      <description>Before you start. One idea helps: light is a wave, and each colour is a different length of wave, red the longest and violet the shortest.…</description>
    </item>
    <item>
      <title>The Kitchen-Table Lab</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-kitchen-table-lab/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-kitchen-table-lab/</guid>
      <description>Before you start. You need none of the other Mind Blown lessons first: each check below names the lesson that explains it, and you can do the check before or…</description>
    </item>
    <item>
      <title>Heavier Does Not Fall Faster</title>
      <link>https://chalkbrain.com/lessons/mind-blown/heavier-does-not-fall-faster/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/heavier-does-not-fall-faster/</guid>
      <description>Before you start. You need a heavy book, a sheet of paper and a coin. No physics is assumed. If you have read 0218-how-planes-actually-fly, you have met air…</description>
    </item>
    <item>
      <title>What Fire Actually Is</title>
      <link>https://chalkbrain.com/lessons/mind-blown/what-fire-actually-is/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/what-fire-actually-is/</guid>
      <description>Before you start. You need a candle, a match and a glass jar, used with an adult&apos;s care on a heatproof surface. One idea from elsewhere helps: everything is…</description>
    </item>
    <item>
      <title>A Blanket That Lets Light In</title>
      <link>https://chalkbrain.com/lessons/mind-blown/a-blanket-that-lets-light-in/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/a-blanket-that-lets-light-in/</guid>
      <description>Before you start. One idea from elsewhere helps: everything warm gives off light of a kind our eyes cannot see, called infrared. 0141-remote-invisible-light…</description>
    </item>
    <item>
      <title>The Ground Moves as Fast as Your Fingernails</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-ground-moves-as-fast-as-your-fingernails/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-ground-moves-as-fast-as-your-fingernails/</guid>
      <description>Before you start. You need a world map and your own hands. 0458-earth-history-as-one-year gives the time scale this lesson leans on: Earth is 4.54 billion…</description>
    </item>
    <item>
      <title>Why the Night Is Dark</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-the-night-is-dark/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-the-night-is-dark/</guid>
      <description>Before you start. One idea carries this lesson: light takes time to travel, so when you look far away you see the past. 0197-the-night-sky-is-a-time-machine…</description>
    </item>
    <item>
      <title>Earth&apos;s History as One Calendar Year</title>
      <link>https://chalkbrain.com/lessons/mind-blown/earth-history-as-one-year/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/earth-history-as-one-year/</guid>
      <description>Before you start. You need a calendar and the ability to divide. If you have read 0457-nobody-designed-the-eye, you know natural selection needs a great deal…</description>
    </item>
    <item>
      <title>Nobody Designed the Eye</title>
      <link>https://chalkbrain.com/lessons/mind-blown/nobody-designed-the-eye/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/nobody-designed-the-eye/</guid>
      <description>Before you start. You need no biology. One idea helps: living things carry a written recipe that is copied every time they have offspring, and copies are not…</description>
    </item>
    <item>
      <title>The Moon Is Not in a Shadow</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-moon-is-not-in-a-shadow/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-moon-is-not-in-a-shadow/</guid>
      <description>Before you start. You need a lamp, a ball (an orange works) and a dark room. If you have read 0455-summer-is-not-closer-to-the-sun, you have already met the…</description>
    </item>
    <item>
      <title>Summer Is Not Closer to the Sun</title>
      <link>https://chalkbrain.com/lessons/mind-blown/summer-is-not-closer-to-the-sun/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/summer-is-not-closer-to-the-sun/</guid>
      <description>Before you start. You need a torch, a sheet of paper, and nothing else. If you have read 0197-the-night-sky-is-a-time-machine you already know sunlight takes…</description>
    </item>
    <item>
      <title>Solve These Cold</title>
      <link>https://chalkbrain.com/lessons/game-theory/solve-these-cold/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/solve-these-cold/</guid>
      <description>Before you start. This is the last lesson of the track, and it uses all of it: dominance and Nash equilibrium from…</description>
    </item>
    <item>
      <title>Who Paid for the Taxi</title>
      <link>https://chalkbrain.com/lessons/game-theory/who-paid-for-the-taxi/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/who-paid-for-the-taxi/</guid>
      <description>Before you start. From 0092-what-is-a-game you have a game: what you get depends on what others do too. From 0447-who-gets-the-bigger-slice you have bargaining…</description>
    </item>
    <item>
      <title>Three Friends, One Restaurant</title>
      <link>https://chalkbrain.com/lessons/game-theory/three-friends-one-restaurant/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/three-friends-one-restaurant/</guid>
      <description>Before you start. From 0098-auctions-and-mechanism-design you have mechanism design: choose a game&apos;s rules so that people acting in their own interest produce…</description>
    </item>
    <item>
      <title>What They Know That You Don&apos;t</title>
      <link>https://chalkbrain.com/lessons/game-theory/what-they-know-that-you-dont/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/what-they-know-that-you-dont/</guid>
      <description>Before you start. From 0088-decision-making-under-uncertainty you have expected value: weigh each outcome by how likely it is and add them up. From…</description>
    </item>
    <item>
      <title>Hawks and Doves</title>
      <link>https://chalkbrain.com/lessons/game-theory/hawks-and-doves/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/hawks-and-doves/</guid>
      <description>Before you start. From 0096-mixed-strategies-and-zero-sum you have the indifference trick: a mix is stable when every move in it earns the same, so nobody…</description>
    </item>
    <item>
      <title>Who Gets the Bigger Slice</title>
      <link>https://chalkbrain.com/lessons/game-theory/who-gets-the-bigger-slice/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/who-gets-the-bigger-slice/</guid>
      <description>Before you start. From 0446-draw-the-tree-start-from-the-end you have backward induction: draw who moves when, then settle the last choice first and step back.…</description>
    </item>
    <item>
      <title>Draw the Tree, Start From the End</title>
      <link>https://chalkbrain.com/lessons/game-theory/draw-the-tree-start-from-the-end/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/draw-the-tree-start-from-the-end/</guid>
      <description>Before you start. Every game so far had players choosing at the same moment, so a grid held it. From 0097-coordination-schelling-points-and-credible-threats…</description>
    </item>
    <item>
      <title>Nash on a Number Line</title>
      <link>https://chalkbrain.com/lessons/game-theory/nash-on-a-number-line/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/nash-on-a-number-line/</guid>
      <description>Before you start. From 0093-dominant-strategies-and-nash-equilibrium you have the Nash equilibrium: a set of choices where nobody gains by changing only their…</description>
    </item>
    <item>
      <title>The drawer that says it saved</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/the-drawer-that-says-it-saved/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/the-drawer-that-says-it-saved/</guid>
      <description>Before you start. A file is only bytes plus an agreement about how to read them (0046-everything-is-a-number), and a program never touches the disk itself: it…</description>
    </item>
    <item>
      <title>The Database That Won&apos;t Answer</title>
      <link>https://chalkbrain.com/lessons/database-internals/the-database-that-wont-answer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/the-database-that-wont-answer/</guid>
      <description>Before you start. The last seven lessons opened one database a layer at a time: a table is a pile of 8 KB pages (0254-pages-and-heap-files), an index is a…</description>
    </item>
    <item>
      <title>The sentence that says what</title>
      <link>https://chalkbrain.com/lessons/database-internals/the-sentence-that-says-what/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/the-sentence-that-says-what/</guid>
      <description>Before you start. You have used an app that saves things: a sign-up form, a bank balance, a list of past orders. That is all this lesson needs; it comes first…</description>
    </item>
    <item>
      <title>Build Your Own Dynamo</title>
      <link>https://chalkbrain.com/lessons/from-scratch/build-your-own-dynamo/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/build-your-own-dynamo/</guid>
      <description>Before you start. This series builds a small copy of Dynamo, the store Amazon wrote to keep each saved value on several machines and keep answering while some…</description>
    </item>
    <item>
      <title>Enough Go to read these builds</title>
      <link>https://chalkbrain.com/lessons/from-scratch/enough-go-to-read-these-builds/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/enough-go-to-read-these-builds/</guid>
      <description>Before you start. This track builds seven real systems from an empty file, all in the Go language: a memory store like Redis, a message log like Kafka, a web…</description>
    </item>
    <item>
      <title>The shop you secure (defence in a real app)</title>
      <link>https://chalkbrain.com/lessons/security/the-shop-you-secure/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-shop-you-secure/</guid>
      <description>Before you start. 0066-the-security-mindset gave you the threat model: a written list of the ways a system could be made to misbehave, walked door by door with…</description>
    </item>
    <item>
      <title>Review the fix (secure code review)</title>
      <link>https://chalkbrain.com/lessons/security/spot-the-bug/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/spot-the-bug/</guid>
      <description>Before you start. 0066-the-security-mindset gave you the trust boundary: the line a request crosses when it comes from someone you do not control. Lessons…</description>
    </item>
    <item>
      <title>Whose page is this? (the browser security model)</title>
      <link>https://chalkbrain.com/lessons/security/whose-page-is-this/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/whose-page-is-this/</guid>
      <description>Before you start. 0068-authentication gave you the session: after you log in, the site hands your browser a small pass (a cookie), and the browser shows it on…</description>
    </item>
    <item>
      <title>It won&apos;t load: the ladder (network debugging)</title>
      <link>https://chalkbrain.com/lessons/networking/it-wont-load-the-ladder/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/it-wont-load-the-ladder/</guid>
      <description>Before you start. 0418-one-click-every-layer walked one page load through five stops: the concierge turns a name into a number (0001-dns-resolution), depots…</description>
    </item>
    <item>
      <title>One click, every layer (what happens when you load a page)</title>
      <link>https://chalkbrain.com/lessons/networking/one-click-every-layer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/one-click-every-layer/</guid>
      <description>Before you start. This lesson holds the whole track at once. The concierge who turns a name into an address is 0001-dns-resolution. The depots that pass a…</description>
    </item>
    <item>
      <title>The page that never arrived (TCP reliable delivery)</title>
      <link>https://chalkbrain.com/lessons/networking/the-page-that-never-arrived/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/the-page-that-never-arrived/</guid>
      <description>Before you start. You know from 0003-tcp-udp-handshake that the network only carries postcards: chunks of data, called packets, that arrive or silently don&apos;t.…</description>
    </item>
    <item>
      <title>What a request actually says (HTTP)</title>
      <link>https://chalkbrain.com/lessons/networking/what-a-request-actually-says/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/what-a-request-actually-says/</guid>
      <description>Before you start. You know that before a website sends anything, your laptop and the site open a phone call that delivers every byte in order, from…</description>
    </item>
    <item>
      <title>The Returns Desk, For Real (a real model, a real harness, and a dress rehearsal that fails)</title>
      <link>https://chalkbrain.com/lessons/ai/the-returns-desk-for-real/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-returns-desk-for-real/</guid>
      <description>Before you start. The returns desk is a support assistant that can look an order up with lookuporder and open a return with startreturn, on top of a model that…</description>
    </item>
    <item>
      <title>RAG Over Your Own Notes</title>
      <link>https://chalkbrain.com/lessons/ai/rag-over-your-notes/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/rag-over-your-notes/</guid>
      <description>Before you start. A language model, the AI that writes the answer, only knows what is in the text you hand it. So you cut your notes into chunks of a few…</description>
    </item>
    <item>
      <title>Sampling and What Scale Buys</title>
      <link>https://chalkbrain.com/lessons/ai/sampling-and-what-scale-buys/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/sampling-and-what-scale-buys/</guid>
      <description>Before you start. In 0412-the-gpt-block you trained a small GPT, the kind of model built in the last two lessons, which writes one character at a time. Trained…</description>
    </item>
    <item>
      <title>The GPT Block</title>
      <link>https://chalkbrain.com/lessons/ai/the-gpt-block/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-gpt-block/</guid>
      <description>Before you start. A weight is one adjustable number inside a model, and training nudges every weight, again and again, to shrink the loss, one number for how…</description>
    </item>
    <item>
      <title>Attention by Hand</title>
      <link>https://chalkbrain.com/lessons/ai/attention-by-hand/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/attention-by-hand/</guid>
      <description>Before you start. A weight is one adjustable number inside a model, and training nudges every weight to make the loss smaller (0408-autograd-by-hand). The loss…</description>
    </item>
    <item>
      <title>The MLP Language Model</title>
      <link>https://chalkbrain.com/lessons/ai/the-mlp-language-model/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-mlp-language-model/</guid>
      <description>Before you start. A weight is one adjustable number inside a network; training nudges every weight, over and over, to shrink the loss, one number for how wrong…</description>
    </item>
    <item>
      <title>The Bigram Model</title>
      <link>https://chalkbrain.com/lessons/ai/the-bigram-model/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-bigram-model/</guid>
      <description>Before you start. A weight is one adjustable number inside a model. Its slope says how much the loss, the model&apos;s wrongness, moves if you nudge that weight.…</description>
    </item>
    <item>
      <title>Autograd by Hand</title>
      <link>https://chalkbrain.com/lessons/ai/autograd-by-hand/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/autograd-by-hand/</guid>
      <description>Before you start. A weight is one adjustable number inside a network. The loss is one number for how wrong the network&apos;s answer is. A weight&apos;s slope says how…</description>
    </item>
    <item>
      <title>Red-Teaming (breaking your own model before a customer does)</title>
      <link>https://chalkbrain.com/lessons/ai/red-teaming/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/red-teaming/</guid>
      <description>Before you start. The returns desk is this run&apos;s support assistant: a language model that looks up orders with lookuporder and opens returns with startreturn.…</description>
    </item>
    <item>
      <title>Looking Inside the Model</title>
      <link>https://chalkbrain.com/lessons/ai/looking-inside-the-model/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/looking-inside-the-model/</guid>
      <description>Before you start. 0075-what-a-neural-network-is showed that a network is layers of neurons, each multiplying inputs by weights and adding them up. Training…</description>
    </item>
    <item>
      <title>Four Ways to Split a Model</title>
      <link>https://chalkbrain.com/lessons/ai/four-ways-to-split-a-model/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/four-ways-to-split-a-model/</guid>
      <description>Before you start. From 0404-the-gpu: a GPU is thousands of simple calculators with memory that is very fast but small, 80 GB on an A100. From…</description>
    </item>
    <item>
      <title>The GPU (thousands of cores, and the memory that feeds them)</title>
      <link>https://chalkbrain.com/lessons/ai/the-gpu/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-gpu/</guid>
      <description>Before you start. A matrix multiply is many dot products at once, multiply the pairs and add, and one neural-network layer is one, from…</description>
    </item>
    <item>
      <title>A LoRA Run</title>
      <link>https://chalkbrain.com/lessons/ai/a-lora-run/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/a-lora-run/</guid>
      <description>Before you start. A weight is one adjustable number inside a model, and the loss is one number for how wrong it is; training nudges the weights to shrink the…</description>
    </item>
    <item>
      <title>RNNs and LSTMs</title>
      <link>https://chalkbrain.com/lessons/ai/rnns-and-lstms/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/rnns-and-lstms/</guid>
      <description>Before you start. From 0075-what-a-neural-network-is you need one unit: inputs multiplied by weights, added up, then passed through an activation. From…</description>
    </item>
    <item>
      <title>Convolutional Networks</title>
      <link>https://chalkbrain.com/lessons/ai/convolutional-networks/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/convolutional-networks/</guid>
      <description>Before you start. From 0075-what-a-neural-network-is: a neuron multiplies each input by a weight, adds the results and a bias, and passes zero if the total is…</description>
    </item>
    <item>
      <title>Why the Loss Won&apos;t Go Down</title>
      <link>https://chalkbrain.com/lessons/ai/why-the-loss-wont-go-down/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/why-the-loss-wont-go-down/</guid>
      <description>Before you start. From 0075-what-a-neural-network-is: a neuron is a unit that adds up its inputs, each multiplied by a weight. A weight is one adjustable…</description>
    </item>
    <item>
      <title>Build an autocomplete</title>
      <link>https://chalkbrain.com/lessons/dsa/build-an-autocomplete/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/build-an-autocomplete/</guid>
      <description>Before you start. 0345-clinic-23-implement-trie built a trie: every stored word is a path from one starting node, one letter per step, words that begin alike…</description>
    </item>
    <item>
      <title>Build a diff: the greedy walk</title>
      <link>https://chalkbrain.com/lessons/dsa/build-a-diff-the-greedy-walk/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/build-a-diff-the-greedy-walk/</guid>
      <description>Before you start. 0382-build-a-diff-the-table built a diff from a table with one cell for every pair of lines: correct, but 16,000-line files already needed…</description>
    </item>
    <item>
      <title>Build a diff: the table</title>
      <link>https://chalkbrain.com/lessons/dsa/build-a-diff-the-table/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/build-a-diff-the-table/</guid>
      <description>Before you start. 0112-dynamic-programming-worked filled a grid for two protein chains: each cell answered &quot;how much do these two beginnings share, in order?&quot;,…</description>
    </item>
    <item>
      <title>DP, five more shapes</title>
      <link>https://chalkbrain.com/lessons/dsa/dp-five-more-shapes/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/dp-five-more-shapes/</guid>
      <description>Before you start. 0063-recursion-and-dynamic-programming gave you the trick: answer each small copy of a question once, write it in a notebook, and build…</description>
    </item>
    <item>
      <title>The clock that wraps around</title>
      <link>https://chalkbrain.com/lessons/dsa/the-clock-that-wraps-around/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/the-clock-that-wraps-around/</guid>
      <description>Before you start. 0135-bit-manipulation showed that a computer stores a whole number as a row of 1s and 0s, and that the row has a fixed length, often 32…</description>
    </item>
    <item>
      <title>Why the loop is right</title>
      <link>https://chalkbrain.com/lessons/dsa/why-the-loop-is-right/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/why-the-loop-is-right/</guid>
      <description>Before you start. 0062-sorting-and-searching gave you binary search: on a sorted list, look at the middle, throw away the half that cannot hold what you want,…</description>
    </item>
    <item>
      <title>Trees, asked five ways</title>
      <link>https://chalkbrain.com/lessons/dsa/trees-asked-five-ways/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/trees-asked-five-ways/</guid>
      <description>Before you start. A binary search tree is a chart of boxes (nodes) where each box has at most two boxes below it, every smaller number sits somewhere down its…</description>
    </item>
    <item>
      <title>Ship it: the alarm</title>
      <link>https://chalkbrain.com/lessons/devops/ship-it-the-alarm/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/ship-it-the-alarm/</guid>
      <description>Before you start. 0376-ship-it-the-sync put the dock app on a laptop cluster, run by Argo CD from a git repository, and ended on a gap: a version that starts…</description>
    </item>
    <item>
      <title>Ship it: the sync</title>
      <link>https://chalkbrain.com/lessons/devops/ship-it-the-sync/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/ship-it-the-sync/</guid>
      <description>Before you start. 0375-ship-it-the-line built the app, dock, into a small image, a sealed copy of the program that any machine can run.…</description>
    </item>
    <item>
      <title>Ship it: the line</title>
      <link>https://chalkbrain.com/lessons/devops/ship-it-the-line/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/ship-it-the-line/</guid>
      <description>Before you start. 0026-the-assembly-line-cicd gave you the line itself: every change is built once into an image, a sealed copy of the app and everything it…</description>
    </item>
    <item>
      <title>The bill nobody reads</title>
      <link>https://chalkbrain.com/lessons/devops/the-bill-nobody-reads/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-bill-nobody-reads/</guid>
      <description>Before you start. 0249-ec2-and-instances gave you the rented machine: a virtual server is a slice of a real computer in someone else&apos;s building, and you pay…</description>
    </item>
    <item>
      <title>The part someone else made</title>
      <link>https://chalkbrain.com/lessons/devops/the-part-someone-else-made/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-part-someone-else-made/</guid>
      <description>Before you start. 0026-the-assembly-line-cicd gave you the image, a sealed copy of the app and everything it needs, and two ways to name it: a tag, which is a…</description>
    </item>
    <item>
      <title>Where a ship may berth</title>
      <link>https://chalkbrain.com/lessons/devops/where-a-ship-may-berth/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/where-a-ship-may-berth/</guid>
      <description>Before you start. A pod is one running copy of a program, a ship, and a node is one machine in the cluster (the group of machines Kubernetes runs on), a quay…</description>
    </item>
    <item>
      <title>A harbour on your laptop</title>
      <link>https://chalkbrain.com/lessons/devops/a-harbour-on-your-laptop/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/a-harbour-on-your-laptop/</guid>
      <description>Before you start. 0370-the-rooms-aws-runs-for-you gave you two rooms the harbour runs: a queue, a board where one program leaves a message until another takes…</description>
    </item>
    <item>
      <title>The rooms AWS runs for you</title>
      <link>https://chalkbrain.com/lessons/devops/the-rooms-aws-runs-for-you/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-rooms-aws-runs-for-you/</guid>
      <description>Before you start. 0249-ec2-and-instances gave you the instance: a slice of a big shared computer that you rent by the hour, where the operating system, the…</description>
    </item>
    <item>
      <title>One cargo plan, three ports</title>
      <link>https://chalkbrain.com/lessons/devops/one-cargo-plan-three-ports/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/one-cargo-plan-three-ports/</guid>
      <description>Before you start. 0021-the-harbor-master gave you the harbour&apos;s ledger: you write a short text file saying what you want running (a YAML file, which is just…</description>
    </item>
    <item>
      <title>KV: everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kv-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kv-everything/</guid>
      <description>Before you start. 0367-kv-hinted-handoff kept the store taking writes while machines were down: a healthy machine stood in for a dead one and kept the value as…</description>
    </item>
    <item>
      <title>KV: hinted handoff</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kv-hinted-handoff/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kv-hinted-handoff/</guid>
      <description>Before you start. 0366-kv-quorum stored every key on three machines, its replicas, and made a write wait for W of them to confirm and a read ask R of them,…</description>
    </item>
    <item>
      <title>KV: quorum</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kv-quorum/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kv-quorum/</guid>
      <description>Before you start. 0365-kv-the-ring built the ring: every key (the name a value is stored under) hashes to a spot on a clock face, and walking clockwise from it…</description>
    </item>
    <item>
      <title>KV: the ring</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kv-the-ring/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kv-the-ring/</guid>
      <description>Before you start. 0029-splitting-the-ledger cut one book into several because one book, on one machine, could not keep up: every name had to live in exactly…</description>
    </item>
    <item>
      <title>The stall, built: rush hour (load testing, p99 and the knee in Go)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-stall-built-rush-hour/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-stall-built-rush-hour/</guid>
      <description>Before you start. 0363-the-stall-built-copies-and-shards finished the stall&apos;s back room: a copy of the book that runs a few milliseconds behind, and the book…</description>
    </item>
    <item>
      <title>The stall, built: copies and shards (replication and sharding in Go)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-stall-built-copies-and-shards/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-stall-built-copies-and-shards/</guid>
      <description>Before you start. 0362-the-stall-built-the-spine built the stall as a Go program: a gate that sends each customer to the least busy of three stalls, a slate…</description>
    </item>
    <item>
      <title>The stall, built: one counter in code (load balancing, health checks and caching in Go)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-stall-built-the-spine/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-stall-built-the-spine/</guid>
      <description>Before you start. You need the chai stall from 0011-the-chai-stall: one famous stall became three, and a man at the gate sends each customer to one of them,…</description>
    </item>
    <item>
      <title>A lock on every door of the stall (security inside a design)</title>
      <link>https://chalkbrain.com/lessons/system-design/a-lock-on-every-door/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/a-lock-on-every-door/</guid>
      <description>Before you start. From 0130-the-contract-at-the-counter you need the API, the written menu of what a caller may ask for, and its two refusals: 401 means &quot;I…</description>
    </item>
    <item>
      <title>The customer who won&apos;t hang up (polling, SSE and WebSockets)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-customer-who-wont-hang-up/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-customer-who-wont-hang-up/</guid>
      <description>Before you start. From 0130-the-contract-at-the-counter: two programs meet at a counter, and every exchange so far was one question, one answer. From…</description>
    </item>
    <item>
      <title>The branch near your house (CDNs and object storage)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-branch-near-your-house/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-branch-near-your-house/</guid>
      <description>Before you start. From 0011-the-chai-stall you need the famous stall that became many stalls, and from 0012-the-slate-next-to-the-stove the slate: a small…</description>
    </item>
    <item>
      <title>The last vada (inventory contention and locking)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-last-vada/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-last-vada/</guid>
      <description>Before you start. From 0128-the-right-book-for-the-job you need the book itself: the database, where the stall writes its facts down and reads them back, and…</description>
    </item>
    <item>
      <title>The Practice Ladders</title>
      <link>https://chalkbrain.com/lessons/dsa/the-practice-ladders/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/the-practice-ladders/</guid>
      <description>Before you start. 0117-interview-patterns gave you the idea this page leans on: a pattern is a problem shape that keeps coming back with a solution you can…</description>
    </item>
    <item>
      <title>Clinic #34: Linked List Cycle</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-34-linked-list-cycle/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-34-linked-list-cycle/</guid>
      <description>Before you start. 0059-linked-lists-stacks-queues built the chain: each item sits in a box called a node, and each node carries a note, the pointer, saying…</description>
    </item>
    <item>
      <title>Clinic #33: Koko Eating Bananas</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-33-koko-eating-bananas/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-33-koko-eating-bananas/</guid>
      <description>Before you start. 0062-sorting-and-searching showed binary search on a sorted list: look at the middle item, throw away the half that cannot hold what you…</description>
    </item>
    <item>
      <title>Clinic #32: Single Number</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-32-single-number/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-32-single-number/</guid>
      <description>Before you start. A computer stores every whole number as a row of ones and zeros, a row of switches read in twos instead of tens, so 101 is one four and one…</description>
    </item>
    <item>
      <title>Clinic #31: Pow(x, n)</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-31-pow-x-n/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-31-pow-x-n/</guid>
      <description>Before you start. 0135-bit-manipulation showed that every whole number is stored as a row of 1s and 0s, and that sliding the row one place to the right halves…</description>
    </item>
    <item>
      <title>Clinic #30: Rotate Image</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-30-rotate-image/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-30-rotate-image/</guid>
      <description>Before you start. 0057-arrays-and-strings gave you a row of numbered boxes, where you can reach any box by its number without walking past the others, and a…</description>
    </item>
    <item>
      <title>Clinic #29: Non-overlapping Intervals</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-29-non-overlapping-intervals/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-29-non-overlapping-intervals/</guid>
      <description>Before you start. 0350-clinic-28-merge-intervals took a pile of road closures, sorted them by where they start, and walked the road once, widening one sign at…</description>
    </item>
    <item>
      <title>Clinic #28: Merge Intervals</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-28-merge-intervals/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-28-merge-intervals/</guid>
      <description>Before you start. Sorting a list takes a little more than one pass over it: ten times the items costs about thirteen times the work, which engineers write as…</description>
    </item>
    <item>
      <title>Clinic #27: Jump Game</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-27-jump-game/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-27-jump-game/</guid>
      <description>Before you start. 0064-algorithm-design-patterns showed that &quot;grab the best-looking choice and never look back&quot; can be flatly wrong: with coins of 1, 3 and 4,…</description>
    </item>
    <item>
      <title>Clinic #26: Redundant Connection</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-26-redundant-connection/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-26-redundant-connection/</guid>
      <description>Before you start. A graph is a set of dots joined by lines; 0061-graphs builds it from scratch, and here the dots are houses and the lines are cables.…</description>
    </item>
    <item>
      <title>Clinic #25: Network Delay Time</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-25-network-delay-time/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-25-network-delay-time/</guid>
      <description>Before you start. You need a list, and the habit of keeping a running smallest number while you read it. Dots joined by lines (a graph) are introduced in…</description>
    </item>
    <item>
      <title>Clinic #24: Word Search II</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-24-word-search-ii/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-24-word-search-ii/</guid>
      <description>Before you start. You need the tree of letters from 0060-trees: every word is one path down from the top, one letter per step, and words that start the same…</description>
    </item>
    <item>
      <title>Clinic #23: Implement Trie</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-23-implement-trie/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-23-implement-trie/</guid>
      <description>Before you start. A tree, from 0060-trees, is a shape with one starting point at the top, branches going down, and nothing ever looping back up. A hash set,…</description>
    </item>
    <item>
      <title>Precision and Recall (where to set the spam filter&apos;s bar)</title>
      <link>https://chalkbrain.com/lessons/ai/logistic-regression-precision-recall/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/logistic-regression-precision-recall/</guid>
      <description>Before you start. You need 0075-what-a-neural-network-is and 0342-vectors-and-matrix-multiply. The first showed that one neuron is a weighted sum: each input…</description>
    </item>
    <item>
      <title>The Maths Floor, Part 2: Probability, Softmax and Temperature</title>
      <link>https://chalkbrain.com/lessons/ai/probability-softmax-temperature/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/probability-softmax-temperature/</guid>
      <description>Before you start. 0342-vectors-and-matrix-multiply showed that a layer is a row of dot products, so the model&apos;s last layer hands back one plain number, a…</description>
    </item>
    <item>
      <title>Vectors, Dot Products and Matrix Multiply</title>
      <link>https://chalkbrain.com/lessons/ai/vectors-and-matrix-multiply/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/vectors-and-matrix-multiply/</guid>
      <description>Before you start. You need school arithmetic and nothing more: multiply two numbers, add a short column, and remember that a minus times a minus is a plus.…</description>
    </item>
    <item>
      <title>Git: the ledger every change signs (commits, branches, merge and rebase)</title>
      <link>https://chalkbrain.com/lessons/devops/git-the-ledger/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/git-the-ledger/</guid>
      <description>Before you start. Two lessons lean on this one without explaining it. 0025-iac-and-gitops keeps the whole system&apos;s blueprint &quot;in git&quot; and lets a patrol, a…</description>
    </item>
    <item>
      <title>Linux and the Shell: Processes, Files, Pipes, Permissions and Signals</title>
      <link>https://chalkbrain.com/lessons/devops/linux-and-the-shell/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/linux-and-the-shell/</guid>
      <description>Before you start. Read 0052-processes-threads-and-the-kernel and 0017-running-a-container first, or take these two sentences from them. From the first: the…</description>
    </item>
    <item>
      <title>The Page at 3 a.m. (Incident Response)</title>
      <link>https://chalkbrain.com/lessons/devops/the-page-at-3am/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-page-at-3am/</guid>
      <description>Before you start. From 0027-the-watchtower-observability you need one idea: a pager is an alarm that wakes a person when a number that users feel, like the…</description>
    </item>
    <item>
      <title>The Restore Nobody Tested</title>
      <link>https://chalkbrain.com/lessons/devops/the-restore-nobody-tested/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-restore-nobody-tested/</guid>
      <description>Before you start. 0023-config-secrets-storage gave you the warehouse: a pod can die, but its data sits on a real disk that stays, and the next pod picks up the…</description>
    </item>
    <item>
      <title>Counting the crowd without a register (HyperLogLog, count-min, top-k)</title>
      <link>https://chalkbrain.com/lessons/system-design/counting-the-crowd-without-a-register/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/counting-the-crowd-without-a-register/</guid>
      <description>Before you start. You need the stall from 0011-the-chai-stall, which got famous and became ten stalls, and the slate from 0012-the-slate-next-to-the-stove: a…</description>
    </item>
    <item>
      <title>The stall that turns people away (load shedding and admission control)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-stall-that-turns-people-away/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-stall-that-turns-people-away/</guid>
      <description>Before you start. You need 0013-the-order-slip-rail: orders go on a wire as paper slips, one stove cooks them in turn, and the wait takes off as the stove…</description>
    </item>
    <item>
      <title>Thirty stalls on one order (availability, the nines, and the tail at scale)</title>
      <link>https://chalkbrain.com/lessons/system-design/thirty-stalls-on-one-order/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/thirty-stalls-on-one-order/</guid>
      <description>Before you start. You need the stall from 0011-the-chai-stall: one famous stall that became a chain, with the crowd shared between stalls so no single one…</description>
    </item>
    <item>
      <title>A shop built to be broken (OWASP Juice Shop practice)</title>
      <link>https://chalkbrain.com/lessons/security/a-shop-built-to-be-broken/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/a-shop-built-to-be-broken/</guid>
      <description>Before you start. You need two ideas from earlier in this track. From 0066-the-security-mindset: every place where something from outside reaches a system is a…</description>
    </item>
    <item>
      <title>The cluster that won&apos;t sail (Kubernetes troubleshooting)</title>
      <link>https://chalkbrain.com/lessons/devops/the-cluster-that-wont-sail/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-cluster-that-wont-sail/</guid>
      <description>Before you start. Kubernetes is the harbour master: you hand it a written order (&quot;two copies of this program, always&quot;), and it keeps making that true. Each…</description>
    </item>
    <item>
      <title>One wala, many kettles (concurrency vs parallelism)</title>
      <link>https://chalkbrain.com/lessons/system-design/one-wala-many-kettles/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/one-wala-many-kettles/</guid>
      <description>Before you start. You need the stall from 0011-the-chai-stall: one wala at one stove, a queue that grew when the stall got famous, and more stalls added so the…</description>
    </item>
    <item>
      <title>One Knob, One Slope</title>
      <link>https://chalkbrain.com/lessons/ai/one-knob-one-slope/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/one-knob-one-slope/</guid>
      <description>Before you start. You need 0076-how-it-learns, which gave you the loop: boil wrongness down to one number called the loss, find each dial&apos;s slope, and step…</description>
    </item>
    <item>
      <title>Guardrails, Cost and Latency (the three budgets the harness enforces)</title>
      <link>https://chalkbrain.com/lessons/ai/guardrails-cost-and-latency/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/guardrails-cost-and-latency/</guid>
      <description>The returns desk is a support assistant built on a large language model (LLM) - software trained to read and write text - that helps an online shop&apos;s customers…</description>
    </item>
    <item>
      <title>Evals for Apps (the test suite for a program that is a string)</title>
      <link>https://chalkbrain.com/lessons/ai/evals-for-apps/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/evals-for-apps/</guid>
      <description>Before you start. 0324-graphs-and-state-machines gave the desk a fixed set of states to move through on a return, and had it name which one it landed in at the…</description>
    </item>
    <item>
      <title>Multi-Agent (a second loop is a second window, not a second mind)</title>
      <link>https://chalkbrain.com/lessons/ai/multi-agent/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/multi-agent/</guid>
      <description>A large language model, an LLM, answers by predicting the next word from the text it can see at that moment. Picture one running a shop&apos;s returns desk, able to…</description>
    </item>
    <item>
      <title>Graphs and State Machines (when the shape of the task is known, draw it)</title>
      <link>https://chalkbrain.com/lessons/ai/graphs-and-state-machines/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/graphs-and-state-machines/</guid>
      <description>Before you start. The example running through this lesson is a support assistant for an online shop&apos;s returns desk: a program a customer types at, which can…</description>
    </item>
    <item>
      <title>Memory (four places a fact can live, and only one of them is the model)</title>
      <link>https://chalkbrain.com/lessons/ai/memory/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/memory/</guid>
      <description>Before you start. The assistant in this lesson works an online shop&apos;s returns desk, where it can look up an order and start a return. Around the model sits…</description>
    </item>
    <item>
      <title>The Harness (everything around the loop that the model never touches)</title>
      <link>https://chalkbrain.com/lessons/ai/the-harness/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-harness/</guid>
      <description>Before you start. 0321-the-loop built the twenty lines that assemble a window, call the model, run the tool it asks for, and check the answer - call that the…</description>
    </item>
    <item>
      <title>The Loop (an agent is a while loop around one model call)</title>
      <link>https://chalkbrain.com/lessons/ai/the-loop/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-loop/</guid>
      <description>Before you start. The running example is a support assistant for an online shop&apos;s returns desk: software that answers customer messages, and that can look up…</description>
    </item>
    <item>
      <title>Structured Output and Tool Schemas (the contract between model and code)</title>
      <link>https://chalkbrain.com/lessons/ai/structured-output-and-tool-schemas/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/structured-output-and-tool-schemas/</guid>
      <description>Before you start. A model writes one token at a time, a token being a word or a piece of one, the unit it writes in. Everything it has read so far -…</description>
    </item>
    <item>
      <title>Context Engineering (what goes in the window, and who decides)</title>
      <link>https://chalkbrain.com/lessons/ai/context-engineering/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/context-engineering/</guid>
      <description>Before you start. A token is a word or a piece of one, and the model can see only a fixed number of them at a time: 8,000 for the returns desk. That whole…</description>
    </item>
    <item>
      <title>Prompt Engineering (shaping the next-token distribution)</title>
      <link>https://chalkbrain.com/lessons/ai/prompt-engineering/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/prompt-engineering/</guid>
      <description>Before you start. 0317-what-the-model-sees built the string the desk sends every turn: the whole conversation flattened into one long piece of text, then cut…</description>
    </item>
    <item>
      <title>What the Model Sees (one string, every turn, from the top)</title>
      <link>https://chalkbrain.com/lessons/ai/what-the-model-sees/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/what-the-model-sees/</guid>
      <description>Before you start. A model reads and writes in tokens, chunks of text about four characters long, and it is paid per token it reads and per token it writes.…</description>
    </item>
    <item>
      <title>Routing and Cascades (not every request needs the big model)</title>
      <link>https://chalkbrain.com/lessons/ai/routing-and-cascades/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/routing-and-cascades/</guid>
      <description>Before you start. A model charges you for every word it reads and every word it writes. A bigger model charges more for each of those words, and answers harder…</description>
    </item>
    <item>
      <title>Constrained Decoding (the grammar holds the pen)</title>
      <link>https://chalkbrain.com/lessons/ai/constrained-decoding/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/constrained-decoding/</guid>
      <description>Before you start. This track is about serving large language models, and one of them writes its reply a token at a time, where a token is a word or a piece of…</description>
    </item>
    <item>
      <title>Prefill / Decode Split (two pools, one KV in flight)</title>
      <link>https://chalkbrain.com/lessons/ai/prefill-decode-split/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/prefill-decode-split/</guid>
      <description>Before you start. 0313-chunked-prefill left you in a room where 32 people share one card. The card is a GPU: the chip built for doing the same arithmetic on…</description>
    </item>
    <item>
      <title>Chunked Prefill (one long prompt must not freeze the room)</title>
      <link>https://chalkbrain.com/lessons/ai/chunked-prefill/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/chunked-prefill/</guid>
      <description>Before you start. 0311-the-two-clocks gave you the room: 32 people sharing one GPU, each getting a new token every 39 ms, a promise called TPOT that a busy GPU…</description>
    </item>
    <item>
      <title>Prefix Caching (the same start, computed once)</title>
      <link>https://chalkbrain.com/lessons/ai/prefix-caching/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/prefix-caching/</guid>
      <description>Before you start. A model reads and writes in tokens: word-pieces, a few characters each, so &quot;cancelling&quot; might reach it as two of them. While it reads, it…</description>
    </item>
    <item>
      <title>The Two Clocks (TTFT, TPOT, and why goodput is the number)</title>
      <link>https://chalkbrain.com/lessons/ai/the-two-clocks/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/the-two-clocks/</guid>
      <description>Before you start. 0310-inference-engineering walked the whole trip a request takes through a serving system and pointed out that a reply hides two different…</description>
    </item>
    <item>
      <title>Inference Engineering (serving an LLM is a systems problem)</title>
      <link>https://chalkbrain.com/lessons/ai/inference-engineering/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/inference-engineering/</guid>
      <description>Before you start. 0109-inference-at-scale showed you how to make one GPU answer one request fast: handle several requests together in one go, shrink the…</description>
    </item>
    <item>
      <title>Capstone: Kubernetes, Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-everything/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes: a program that keeps a fleet of machines running the programs you asked for, and restarts them…</description>
    </item>
    <item>
      <title>Kubernetes 07: Services and Networking</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-services-and-networking/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-services-and-networking/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes, a program that watches over a fleet of machines and keeps every program you asked for running…</description>
    </item>
    <item>
      <title>Kubernetes 06: The Kubelet</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-the-kubelet/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-the-kubelet/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes: a program that keeps a fleet of machines running the programs you asked for, and restarts them…</description>
    </item>
    <item>
      <title>Kubernetes 05: The Scheduler</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-the-scheduler/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-the-scheduler/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes, a program that keeps a fleet of machines running the programs you asked for, and restarts them…</description>
    </item>
    <item>
      <title>Kubernetes 04: Objects and Controllers</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-objects-and-controllers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-objects-and-controllers/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes: a program that keeps a fleet of machines running the programs you asked for, and restarts them…</description>
    </item>
    <item>
      <title>Kubernetes 03: Store and Watch</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-store-and-watch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-store-and-watch/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes: a program that keeps a fleet of machines (a cluster) running the programs you asked for, and…</description>
    </item>
    <item>
      <title>Kubernetes 02: The Reconcile Loop</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-the-reconcile-loop/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-the-reconcile-loop/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes: a program that keeps a fleet of machines running the programs you asked for, and restarts them…</description>
    </item>
    <item>
      <title>Kubernetes 01: Imperative to Declarative</title>
      <link>https://chalkbrain.com/lessons/from-scratch/k8s-imperative-to-declarative/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/k8s-imperative-to-declarative/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes, a program that keeps a fleet of machines running the programs you asked for and restarts them…</description>
    </item>
    <item>
      <title>Capstone: Scheduler, Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-everything/</guid>
      <description>Before you start. This lesson assumes you built the small scheduler across the seven lessons before it, so here is what it can already do, one line each: - It…</description>
    </item>
    <item>
      <title>Scheduler 07: The Hard Part - Time</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-the-hard-part-time/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-the-hard-part-time/</guid>
      <description>Before you start. This lesson is part of a build that makes a small distributed job scheduler - a program that fires jobs at the right moment, on the right…</description>
    </item>
    <item>
      <title>Scheduler 06: Idempotency and Fencing</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-idempotency-and-fencing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-idempotency-and-fencing/</guid>
      <description>Before you start. This series builds a small scheduler: a program that runs jobs at set times across many machines instead of one, the way a single computer&apos;s…</description>
    </item>
    <item>
      <title>Scheduler 05: Dispatch Queue</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-dispatch-queue/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-dispatch-queue/</guid>
      <description>Before you start. This lesson is part of a series that builds a small copy of a job scheduler: a program that runs other programs at the exact right time, the…</description>
    </item>
    <item>
      <title>Scheduler 04: Leader Election</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-leader-election/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-leader-election/</guid>
      <description>Before you start. This series builds a small copy of a job scheduler: a program whose whole purpose is to fire other programs at the right moment, the way a…</description>
    </item>
    <item>
      <title>Scheduler 03: Heap and Timing Wheel</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-heap-and-timing-wheel/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-heap-and-timing-wheel/</guid>
      <description>Before you start. This series builds a small job scheduler: a program you hand a piece of work and a time, and it runs that work when the time comes, again and…</description>
    </item>
    <item>
      <title>Scheduler 02: Durable Job Store</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-durable-job-store/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-durable-job-store/</guid>
      <description>Before you start. This series builds a small distributed job scheduler, a program whose only task is to fire off other jobs - a nightly backup, an hourly…</description>
    </item>
    <item>
      <title>Scheduler 01: The Tick Loop</title>
      <link>https://chalkbrain.com/lessons/from-scratch/sched-the-tick-loop/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/sched-the-tick-loop/</guid>
      <description>Before you start. This series builds a small scheduler, a program whose only job is running other programs at the right moment instead of a person watching a…</description>
    </item>
    <item>
      <title>Capstone: Database, Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-everything/</guid>
      <description>Before you start. This series has been building a small database of our own: a program that stores rows on disk, finds one fast, and survives a crash without…</description>
    </item>
    <item>
      <title>Database 07: The Query Layer</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-the-query-layer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-the-query-layer/</guid>
      <description>Before you start. This series builds a small copy of a database: a program that stores rows of data in files on disk and answers questions about them. Six…</description>
    </item>
    <item>
      <title>Transactions (MVCC)</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-transactions-mvcc/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-transactions-mvcc/</guid>
      <description>Before you start. This series builds a small database, a program that stores rows on disk and answers queries the way Postgres or SQLite do. So far it writes…</description>
    </item>
    <item>
      <title>Write-Ahead Log</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-write-ahead-log/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-write-ahead-log/</guid>
      <description>Before you start. This series builds a small copy of a database, a program that stores your data and can find any piece of it again fast, the way a real…</description>
    </item>
    <item>
      <title>Database 04: The B-Tree</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-the-b-tree/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-the-b-tree/</guid>
      <description>Before you start. This series builds a small database: a program that stores rows on disk and finds them again by key. So far it can split a file into…</description>
    </item>
    <item>
      <title>Pages</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-pages/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-pages/</guid>
      <description>Before you start. This series builds a small database of our own: a program that stores rows of data on disk and can find any one of them again on demand. So…</description>
    </item>
    <item>
      <title>Database 02: The Index</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-the-index/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-the-index/</guid>
      <description>Before you start. This series builds a small database of our own: a program that saves pairs of a key (a name you look something up by) and a value (what&apos;s…</description>
    </item>
    <item>
      <title>Database 01: The Append-Only File</title>
      <link>https://chalkbrain.com/lessons/from-scratch/db-the-append-only-file/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/db-the-append-only-file/</guid>
      <description>Before you start. This series builds a small copy of a database: a program whose only job is to remember things you hand it, and hand them back correctly…</description>
    </item>
    <item>
      <title>HTTP 08: Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-everything/</guid>
      <description>Before you start. This series has been building a small HTTP server, a program that answers a browser&apos;s request for a page the same way every real website…</description>
    </item>
    <item>
      <title>HTTP 07: Chunked Encoding</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-chunked-encoding/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-chunked-encoding/</guid>
      <description>Before you start. This series builds a small copy of a web server: a program that listens on the network for a request - a short message asking for something -…</description>
    </item>
    <item>
      <title>HTTP Server: Concurrency</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-concurrency/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-concurrency/</guid>
      <description>Before you start. This series builds a small copy of a web server, the program that answers when a browser asks for a page. Think of a connection as a phone…</description>
    </item>
    <item>
      <title>HTTP Keep-Alive</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-keep-alive/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-keep-alive/</guid>
      <description>Before you start. This series builds a small copy of a web server - a program that sits waiting on the network, reads one request (one question, like &quot;give me…</description>
    </item>
    <item>
      <title>HTTP 04: Routing and Response</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-routing-and-response/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-routing-and-response/</guid>
      <description>Before you start. This series builds a small copy of a web server: a program that reads a request coming in over a network and sends back the right answer. So…</description>
    </item>
    <item>
      <title>HTTP 03: Frame The Body</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-frame-the-body/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-frame-the-body/</guid>
      <description>Before you start. This series builds a small copy of a web server: a program that listens on the network, reads a request, and sends back an answer. The toy…</description>
    </item>
    <item>
      <title>Parse The Request (HTTP)</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-parse-the-request/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-parse-the-request/</guid>
      <description>Before you start. This series builds a small copy of an HTTP server, the program that answers when a browser or a tool like curl asks a website for a page. The…</description>
    </item>
    <item>
      <title>HTTP 01: The Raw Socket</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-the-raw-socket/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-the-raw-socket/</guid>
      <description>Before you start. This series builds a small HTTP server, a program that answers a browser&apos;s request for a page the same way every real website already does.…</description>
    </item>
    <item>
      <title>Kafka 08: Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-everything/</guid>
      <description>Before you start. This series builds a small copy of Kafka, a program that lets one part of a system hand a stream of events to many other parts without losing…</description>
    </item>
    <item>
      <title>Kafka 07: Exactly Once</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-exactly-once/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-exactly-once/</guid>
      <description>Before you start. This series builds a small copy of Kafka, a program that keeps one shared, ordered notebook of everything that happened and lets any number…</description>
    </item>
    <item>
      <title>Kafka: Replication and Durability</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-replication-and-durability/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-replication-and-durability/</guid>
      <description>Before you start. This series builds a small copy of Kafka, a program that other programs send records to, in order, and read back later in that same order. So…</description>
    </item>
    <item>
      <title>Kafka 05: Consumer Groups</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-consumer-groups/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-consumer-groups/</guid>
      <description>Before you start. 0273-kafka-partitions split one topic, a named stream of messages such as every order a shop takes, into several partitions - separate…</description>
    </item>
    <item>
      <title>Kafka 04: Partitions</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-partitions/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-partitions/</guid>
      <description>Before you start. You need to know that Kafka keeps every message it&apos;s given in one long, append-only file - a log - and that each message gets a number called…</description>
    </item>
    <item>
      <title>Kafka 03: Segments and the Offset Index</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-segments-and-offset-index/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-segments-and-offset-index/</guid>
      <description>Before you start. This series builds a small copy of Kafka, the program big companies use to pass events (every click, every order) from the programs that make…</description>
    </item>
    <item>
      <title>Kafka 02: The Log</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-the-log/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-the-log/</guid>
      <description>Before you start. This series builds a small copy of Kafka, a program that keeps a stream of events and lets many other programs read that stream at their own…</description>
    </item>
    <item>
      <title>Kafka 01: The Naive Queue</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-the-naive-queue/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-the-naive-queue/</guid>
      <description>Before you start. This series builds a small copy of Kafka, a program that lets one part of a system hand a stream of events to many other parts, without…</description>
    </item>
    <item>
      <title>Capstone: Redis, Everything</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-everything/</guid>
      <description>Before you start. This series builds a small copy of Redis, a program that keeps everything it stores in memory instead of on disk, so that asking it something…</description>
    </item>
    <item>
      <title>Surviving a Crash (Persistence)</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-surviving-a-crash/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-surviving-a-crash/</guid>
      <description>Before you start. The six stages before this one built a key-value store that keeps every key in RAM, fast because RAM never has to wait on a disk, and…</description>
    </item>
    <item>
      <title>Eviction: Memory Is Full</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-eviction-memory-is-full/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-eviction-memory-is-full/</guid>
      <description>Before you start. You know that Redis keeps everything in RAM, and that a key can carry its own expiry date so it deletes itself later - that was…</description>
    </item>
    <item>
      <title>Keys That Die (Expiry)</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-keys-that-die/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-keys-that-die/</guid>
      <description>Before you start. 0265-redis-one-thread-many-clients set the rule this whole lesson bends around: Redis answers every request through one worker, and that…</description>
    </item>
    <item>
      <title>Redis: One Thread, Many Clients</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-one-thread-many-clients/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-one-thread-many-clients/</guid>
      <description>Before you start. This series builds a small copy of Redis, a program that stores keys and values in memory and answers other programs over the network. So far…</description>
    </item>
    <item>
      <title>Redis: The Map (SET / GET / DEL)</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-the-map-set-get-del/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-the-map-set-get-del/</guid>
      <description>Before you start. You already have a command in hand - SET name garv - because the wire-protocol stage parsed it out of the raw bytes for you. This lesson…</description>
    </item>
    <item>
      <title>Redis 02: RESP, The Wire Protocol</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-resp-the-wire-protocol/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-resp-the-wire-protocol/</guid>
      <description>Before you start. You need to be able to count the characters in a word and add two small numbers - that&apos;s the whole of the arithmetic here. The toy so far is…</description>
    </item>
    <item>
      <title>Redis 01: The Socket That Answers</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-the-socket-that-answers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-the-socket-that-answers/</guid>
      <description>Before you start. 0182-redis-from-scratch is the project lesson: a toy key-value server, grown one stage at a time, with a real fix at each stage for something…</description>
    </item>
    <item>
      <title>Capstone: Database Internals, Everything</title>
      <link>https://chalkbrain.com/lessons/database-internals/database-internals-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/database-internals-everything/</guid>
      <description>Before you start. Picture the database as a library: a room of shelves holding the actual books, a front desk that keeps the busiest ones close by instead of…</description>
    </item>
    <item>
      <title>Locks, Latches &amp; Transactions</title>
      <link>https://chalkbrain.com/lessons/database-internals/locks-latches-and-transactions/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/locks-latches-and-transactions/</guid>
      <description>Before you start. The last lesson watched the database plan how to answer a query, the question your app sends it, before reading a single row (one record,…</description>
    </item>
    <item>
      <title>The Query Planner</title>
      <link>https://chalkbrain.com/lessons/database-internals/the-query-planner/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/the-query-planner/</guid>
      <description>Before you start. The last lesson showed that Postgres, the open-source database this series opens up, never deletes a row on update - it writes a fresh copy…</description>
    </item>
    <item>
      <title>MVCC &amp; Vacuum</title>
      <link>https://chalkbrain.com/lessons/database-internals/mvcc-and-vacuum/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/mvcc-and-vacuum/</guid>
      <description>Before you start. The last lesson showed you the index: a wide, shallow tree of pages that finds any row in three or four page reads. This one is about what…</description>
    </item>
    <item>
      <title>B-Tree on Disk</title>
      <link>https://chalkbrain.com/lessons/database-internals/b-tree-on-disk/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/b-tree-on-disk/</guid>
      <description>Before you start. 0256-wal-and-recovery showed you that every change is written to a log and flushed to disk before its commit is confirmed, so a crash can…</description>
    </item>
    <item>
      <title>WAL &amp; Recovery</title>
      <link>https://chalkbrain.com/lessons/database-internals/wal-and-recovery/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/wal-and-recovery/</guid>
      <description>Before you start. The last lesson showed that the database keeps its own copies of pages in RAM and changes them there, not on disk, because touching RAM is…</description>
    </item>
    <item>
      <title>The Buffer Pool</title>
      <link>https://chalkbrain.com/lessons/database-internals/the-buffer-pool/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/the-buffer-pool/</guid>
      <description>Before you start. 0254-pages-and-heap-files showed you that a table on disk is a pile of fixed 8 KB pages, and every page holds its rows behind a slot list at…</description>
    </item>
    <item>
      <title>Pages &amp; Heap Files</title>
      <link>https://chalkbrain.com/lessons/database-internals/pages-and-heap-files/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/pages-and-heap-files/</guid>
      <description>Before you start. You&apos;ve used an app that saves things - a login, a cart, a comment - and somewhere behind it sat a database. This lesson opens that box for…</description>
    </item>
    <item>
      <title>The Sandbox Architecture</title>
      <link>https://chalkbrain.com/lessons/devops/the-sandbox-architecture/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-sandbox-architecture/</guid>
      <description>Before you start. Kubernetes is a system that runs programs across a group of machines, called a cluster, and keeps them running. You need one picture from…</description>
    </item>
    <item>
      <title>VM vs Kubernetes, and what a cluster actually is</title>
      <link>https://chalkbrain.com/lessons/devops/vm-vs-k8s-and-the-cluster/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/vm-vs-k8s-and-the-cluster/</guid>
      <description>Before you start. Two ideas from earlier lessons, in one line each. A team soon needs more than one machine, and a group of machines run together is a fleet…</description>
    </item>
    <item>
      <title>Object Storage and the CDN</title>
      <link>https://chalkbrain.com/lessons/devops/object-storage-and-cdn/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/object-storage-and-cdn/</guid>
      <description>Note on names. Every hostname, distribution id and bucket name below is a placeholder (app.example.com, d111111abcdef8.cloudfront.net, assets-prod). Nothing…</description>
    </item>
    <item>
      <title>nginx as a Reverse Proxy (what it is actually for)</title>
      <link>https://chalkbrain.com/lessons/devops/nginx-reverse-proxy/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/nginx-reverse-proxy/</guid>
      <description>Before you start. You need to know that a running program listens on a numbered port (0010-one-address-a-thousand-doors), and that a web address is really just…</description>
    </item>
    <item>
      <title>EC2 &amp; Instances - what you are actually renting</title>
      <link>https://chalkbrain.com/lessons/devops/ec2-and-instances/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/ec2-and-instances/</guid>
      <description>Before you start. A virtual machine is a slice of a real computer that answers every command as if it owned the whole thing. This lesson is about how thin that…</description>
    </item>
    <item>
      <title>Connectivity (Joining Two Private Networks)</title>
      <link>https://chalkbrain.com/lessons/devops/connectivity/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/connectivity/</guid>
      <description>Before you start. A VPC is an island: a private network with its own range of addresses that nothing outside it can see or reach on its own, the thing…</description>
    </item>
    <item>
      <title>Services &amp; Ingress, from the inside</title>
      <link>https://chalkbrain.com/lessons/devops/services-and-ingress/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/services-and-ingress/</guid>
      <description>Before you start. Kubernetes runs your program as many copies spread over many machines. One running copy is called a pod. Pods die and get replaced all the…</description>
    </item>
    <item>
      <title>Pods, ReplicaSets &amp; Deployments (the ownership chain)</title>
      <link>https://chalkbrain.com/lessons/devops/pods-replicasets-deployments/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/pods-replicasets-deployments/</guid>
      <description>Before you start. Kubernetes is a system that runs your programs across a fleet of machines: you write down what you want running, and it keeps making that…</description>
    </item>
    <item>
      <title>Load Balancing &amp; DNS (the operator&apos;s half)</title>
      <link>https://chalkbrain.com/lessons/devops/load-balancing-and-dns/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/load-balancing-and-dns/</guid>
      <description>Before you start. You already know how a name resolves - recursive resolver, root, TLD, authoritative server (0001-dns-resolution), and what&apos;s on the wire…</description>
    </item>
    <item>
      <title>Routing &amp; Gateways</title>
      <link>https://chalkbrain.com/lessons/devops/routing-and-gateways/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/routing-and-gateways/</guid>
      <description>Before you start. You need to know what a VPC and a subnet are: a network you control, fenced off from everyone else&apos;s, cut into smaller pieces you can treat…</description>
    </item>
    <item>
      <title>IAM &amp; Identity</title>
      <link>https://chalkbrain.com/lessons/devops/iam-and-identity/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/iam-and-identity/</guid>
      <description>Before you start. AWS Identity and Access Management (IAM) is the part of Amazon Web Services that decides who may do what, and it keeps two things apart: who…</description>
    </item>
    <item>
      <title>Security Groups vs Network ACLs</title>
      <link>https://chalkbrain.com/lessons/devops/security-groups-vs-nacls/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/security-groups-vs-nacls/</guid>
      <description>Before you start. You need to know that a TCP connection opens with a SYN and gets an answering SYN-ACK back - 0003-tcp-udp-handshake covered that handshake.…</description>
    </item>
    <item>
      <title>VPC &amp; Subnets</title>
      <link>https://chalkbrain.com/lessons/devops/vpc-and-subnets/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/vpc-and-subnets/</guid>
      <description>Before you start. You need to know that a computer&apos;s address is a number written as four groups, like 10.42.0.4, and that adding one bit to a binary count…</description>
    </item>
    <item>
      <title>Regions, AZs &amp; the Backbone</title>
      <link>https://chalkbrain.com/lessons/devops/regions-azs-and-the-backbone/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/regions-azs-and-the-backbone/</guid>
      <description>Before you start. You don&apos;t need any cloud experience for this one - every idea here maps onto a building, a city, and the roads between them. If you&apos;ve read…</description>
    </item>
    <item>
      <title>The Moon Illusion</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-moon-illusion/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-moon-illusion/</guid>
      <description>Before you start. You need one everyday fact: things look smaller the farther away they are, which is why a plane shrinks to a speck at altitude and fills your…</description>
    </item>
    <item>
      <title>Why Onions Make You Cry</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-onions-make-you-cry/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-onions-make-you-cry/</guid>
      <description>Before you start. You don&apos;t need any chemistry for this. All you need is one fact: every living cell is a tiny sealed room, and a knife is the only thing that…</description>
    </item>
    <item>
      <title>The Off Switch for You</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-off-switch-for-you/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-off-switch-for-you/</guid>
      <description>Before you start. You need no biology beyond what a surgery already is: cutting someone open while they don&apos;t move and don&apos;t hurt. The one habit this lesson…</description>
    </item>
    <item>
      <title>A Wanted Poster for Your Immune System</title>
      <link>https://chalkbrain.com/lessons/mind-blown/a-wanted-poster-for-your-immune-system/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/a-wanted-poster-for-your-immune-system/</guid>
      <description>Before you start. You don&apos;t need any science background here, just curiosity. One fact helps: DNA is a code, written in four letters, that your cells read to…</description>
    </item>
    <item>
      <title>Why You Cannot Remember Being a Baby</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-you-cannot-remember-being-a-baby/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-you-cannot-remember-being-a-baby/</guid>
      <description>Before you start. Nothing technical needed, only your own memory, or the total lack of it, from before you turned about three. If you&apos;ve ever tried to recall…</description>
    </item>
    <item>
      <title>Why You Spend a Third of Life Unconscious</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-you-spend-a-third-of-life-unconscious/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-you-spend-a-third-of-life-unconscious/</guid>
      <description>Before you start. You don&apos;t need any science background here. All the maths is a handful of percentages, and it starts with something you can picture: a…</description>
    </item>
    <item>
      <title>Why You Cannot Tickle Yourself</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-you-cannot-tickle-yourself/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-you-cannot-tickle-yourself/</guid>
      <description>Before you start. You already know the fact this lesson is built from: you can&apos;t tickle yourself, but someone else can, with the exact same finger on the exact…</description>
    </item>
    <item>
      <title>Why Data Is the Hard Part (the five building blocks)</title>
      <link>https://chalkbrain.com/lessons/system-design/why-data-is-the-hard-part/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/why-data-is-the-hard-part/</guid>
      <description>Before you start. You need only arithmetic - multiplying, dividing, and reading a percentage as &quot;so many out of a hundred.&quot; Nothing here leans on another…</description>
    </item>
    <item>
      <title>Why Time Speeds Up as You Age</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-time-speeds-up-as-you-age/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-time-speeds-up-as-you-age/</guid>
      <description>Before you start. You need nothing more than your own memory of a childhood summer that felt endless, and a recent year that felt like it vanished in a few…</description>
    </item>
    <item>
      <title>You Have a Hole in Your Vision</title>
      <link>https://chalkbrain.com/lessons/mind-blown/you-have-a-hole-in-your-vision/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/you-have-a-hole-in-your-vision/</guid>
      <description>Before you start. You need a blank page, something to draw with, and one eye you can close - keep them ready, since the first section puts them to use. One…</description>
    </item>
    <item>
      <title>Why the Ocean Is Blue</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-the-ocean-is-blue/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-the-ocean-is-blue/</guid>
      <description>Before you start. You need nothing but a swimming pool and a torch; there is no maths in the story half of this lesson. 0209-why-the-sky-is-blue already…</description>
    </item>
    <item>
      <title>The Map Is Not the Territory</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-map-is-not-the-territory/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-map-is-not-the-territory/</guid>
      <description>Before you start. You don&apos;t need geometry or economics for the first half. If you&apos;ve ever used a subway map, or watched a number everyone was told to hit stop…</description>
    </item>
    <item>
      <title>No One Is in Charge</title>
      <link>https://chalkbrain.com/lessons/mind-blown/no-one-is-in-charge/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/no-one-is-in-charge/</guid>
      <description>Before you start. Nothing technical is needed for the story below - if you&apos;ve watched a flock of birds swirl at dusk, or ants crossing a path, you already have…</description>
    </item>
    <item>
      <title>A Battery Stores a Chemical Cliff</title>
      <link>https://chalkbrain.com/lessons/mind-blown/a-battery-stores-a-chemical-cliff/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/a-battery-stores-a-chemical-cliff/</guid>
      <description>Before you start. You need to know that electric current is a flow of something through a wire, the way water flows through a pipe. That is the only piece of…</description>
    </item>
    <item>
      <title>The Less You Know, the More Sure You Feel</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-less-you-know-the-more-sure-you-feel/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-less-you-know-the-more-sure-you-feel/</guid>
      <description>Before you start. You need to know what a percentile is: if you score in the 80th percentile on a test, you beat 80 of every 100 people who took it. That&apos;s the…</description>
    </item>
    <item>
      <title>How Soap Destroys Germs</title>
      <link>https://chalkbrain.com/lessons/mind-blown/how-soap-destroys-germs/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/how-soap-destroys-germs/</guid>
      <description>Before you start. You already know that oil and water refuse to mix, and that germs like the flu virus or a cold virus are too small to ever see. That is the…</description>
    </item>
    <item>
      <title>Hot Water Can Freeze Faster Than Cold</title>
      <link>https://chalkbrain.com/lessons/mind-blown/hot-water-can-freeze-faster/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/hot-water-can-freeze-faster/</guid>
      <description>Before you start. All you need is a thermometer and the patience to compare two numbers. The one idea this story leans on hardest is that a single reading on a…</description>
    </item>
    <item>
      <title>Watch a Particle and It Changes</title>
      <link>https://chalkbrain.com/lessons/mind-blown/watch-a-particle-and-it-changes/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/watch-a-particle-and-it-changes/</guid>
      <description>Before you start. You need nothing more than the picture of ripples spreading out from two gaps in a harbour wall, the kind you get by throwing two stones into…</description>
    </item>
    <item>
      <title>Cut One Ball Into Two Identical Balls</title>
      <link>https://chalkbrain.com/lessons/mind-blown/cut-one-ball-into-two/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/cut-one-ball-into-two/</guid>
      <description>Before you start. All you need is the everyday idea that two solid balls can be &quot;the same size,&quot; and enough trust in a proof to follow it even when it fights…</description>
    </item>
    <item>
      <title>Why a Mirror Flips Left-Right but Not Up-Down</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-a-mirror-flips-left-right/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-a-mirror-flips-left-right/</guid>
      <description>Before you start. All you need is a mirror, or a clear memory of standing in front of one, and five minutes to test what you think you know instead of trusting…</description>
    </item>
    <item>
      <title>The Sugar Pill That Works</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-sugar-pill-that-works/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-sugar-pill-that-works/</guid>
      <description>Before you start. You don&apos;t need any medical training or statistics for this one. You just need to be willing to watch one number get taken apart, piece by…</description>
    </item>
    <item>
      <title>How Planes Actually Fly</title>
      <link>https://chalkbrain.com/lessons/mind-blown/how-planes-actually-fly/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/how-planes-actually-fly/</guid>
      <description>Before you start. You don&apos;t need any physics for this lesson, just a memory: a hand held out of a moving car window, tilted up into the wind. If you&apos;ve felt…</description>
    </item>
    <item>
      <title>Why the Microwave Heats the Food, Not the Plate</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-the-microwave-heats-the-food/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-the-microwave-heats-the-food/</guid>
      <description>Before you start. You already know that rubbing a balloon on your hair makes it stick to a wall - that&apos;s electric charge pulling on electric charge, nothing to…</description>
    </item>
    <item>
      <title>Where Is Everybody?</title>
      <link>https://chalkbrain.com/lessons/mind-blown/where-is-everybody/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/where-is-everybody/</guid>
      <description>Before you start. Two ideas carry this story. First, even light takes time to cross space: a light-year is the distance light covers in a year, so a star 10…</description>
    </item>
    <item>
      <title>How Long Is a Coastline</title>
      <link>https://chalkbrain.com/lessons/mind-blown/how-long-is-a-coastline/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/how-long-is-a-coastline/</guid>
      <description>Before you start. You need to be able to multiply and divide, and to picture a number that keeps growing every time you check it more closely, without ever…</description>
    </item>
    <item>
      <title>Real Numbers Start With 1 Too Often</title>
      <link>https://chalkbrain.com/lessons/mind-blown/real-numbers-start-with-one-too-often/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/real-numbers-start-with-one-too-often/</guid>
      <description>Before you start. You need to be comfortable turning a percentage into a count out of 100, and to know that multiplying a number by 10 just adds a zero. That…</description>
    </item>
    <item>
      <title>Some Infinities Are Bigger Than Others</title>
      <link>https://chalkbrain.com/lessons/mind-blown/some-infinities-are-bigger/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/some-infinities-are-bigger/</guid>
      <description>Before you start. You need to be able to read a row of decimals and count on your fingers, nothing past that. The only other thing you need is patience for one…</description>
    </item>
    <item>
      <title>The Statistic That Reverses Itself</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-statistic-that-reverses-itself/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-statistic-that-reverses-itself/</guid>
      <description>Before you start. You need to be able to read a percentage - 82 admitted out of 100 applicants is 82%, nothing more. Everything else in the first half is…</description>
    </item>
    <item>
      <title>The Place Where Light Cannot Escape</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-place-where-light-cannot-escape/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-place-where-light-cannot-escape/</guid>
      <description>Before you start. You need two things already in your head: gravity is mass pulling on mass, harder the closer and heavier things get, and nothing outruns…</description>
    </item>
    <item>
      <title>Why You Cannot Fold Paper Past Seven Times</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-you-cannot-fold-paper-past-seven-times/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-you-cannot-fold-paper-past-seven-times/</guid>
      <description>Before you start. All you need is that folding something in half doubles its thickness - check it on a folded napkin if that isn&apos;t already obvious. Everything…</description>
    </item>
    <item>
      <title>Why the Sky Is Blue</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-the-sky-is-blue/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-the-sky-is-blue/</guid>
      <description>Before you start. You need to know that sunlight looks white but is secretly every color mixed together, the way a prism splits it into a rainbow. Nothing else…</description>
    </item>
    <item>
      <title>Spooky Action at a Distance</title>
      <link>https://chalkbrain.com/lessons/mind-blown/spooky-action-at-a-distance/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/spooky-action-at-a-distance/</guid>
      <description>Before you start. You need nothing beyond counting to a hundred and knowing what a coin flip looks like. Nobody in this story does any maths you can&apos;t check in…</description>
    </item>
    <item>
      <title>Your Phone Runs on Einstein</title>
      <link>https://chalkbrain.com/lessons/mind-blown/your-phone-runs-on-einstein/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/your-phone-runs-on-einstein/</guid>
      <description>Before you start. You don&apos;t need physics from anywhere else to follow this one; every number here is worked out from nothing. If you&apos;ve already read about how…</description>
    </item>
    <item>
      <title>Silence Built From More Noise</title>
      <link>https://chalkbrain.com/lessons/mind-blown/silence-built-from-more-noise/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/silence-built-from-more-noise/</guid>
      <description>Before you start. You already know the one physics fact this needs: in a tug of war, if both sides pull exactly as hard, in exactly opposite directions, at…</description>
    </item>
    <item>
      <title>You Are Written in 4 Letters</title>
      <link>https://chalkbrain.com/lessons/mind-blown/you-are-written-in-four-letters/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/you-are-written-in-four-letters/</guid>
      <description>Before you start. You need to know that your body is built from trillions of tiny cells, and that each one carries its own full copy of the instructions for…</description>
    </item>
    <item>
      <title>Why the Siren Drops</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-the-siren-drops/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-the-siren-drops/</guid>
      <description>Before you start. A sound&apos;s pitch, the note you hear, is just how close together its wave crests reach your ear: crests packed close sound higher, crests…</description>
    </item>
    <item>
      <title>Compound Interest, the 8th Wonder</title>
      <link>https://chalkbrain.com/lessons/mind-blown/compound-interest/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/compound-interest/</guid>
      <description>Before you start. You need to be able to multiply and read a percentage as &quot;this fraction of.&quot; 0192-fold-a-paper-to-the-moon already showed you the fun part,…</description>
    </item>
    <item>
      <title>A Transistor Is Just a Switch</title>
      <link>https://chalkbrain.com/lessons/mind-blown/a-transistor-is-just-a-switch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/a-transistor-is-just-a-switch/</guid>
      <description>Before you start. You need to know that electricity is just a crowd of electrons moving through a wire, and that a computer stores everything as one of two…</description>
    </item>
    <item>
      <title>Why Ice Floats</title>
      <link>https://chalkbrain.com/lessons/mind-blown/why-ice-floats/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/why-ice-floats/</guid>
      <description>Before you start. All you need is this: whether something floats depends on how heavy it is for its size, not its shape - a coin sinks, a hollow plastic duck…</description>
    </item>
    <item>
      <title>One Row in Ten Million</title>
      <link>https://chalkbrain.com/lessons/mind-blown/one-row-in-ten-million/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/one-row-in-ten-million/</guid>
      <description>Before you start. You need to be comfortable counting, and with the idea that multiplying a number by itself a few times gets big fast - the same idea behind…</description>
    </item>
    <item>
      <title>Truths Math Cannot Prove</title>
      <link>https://chalkbrain.com/lessons/mind-blown/truths-math-cannot-prove/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/truths-math-cannot-prove/</guid>
      <description>Before you start. You already know what a proof is: a chain of steps from statements you start with to a conclusion, with no step allowed to sneak in something…</description>
    </item>
    <item>
      <title>The Road That Slows Everyone</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-road-that-slows-everyone/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-road-that-slows-everyone/</guid>
      <description>Before you start. You need to be able to add, divide, and compare two numbers - nothing past what you&apos;d use splitting a dinner bill four ways. Every word this…</description>
    </item>
    <item>
      <title>The Night Sky Is a Time Machine</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-night-sky-is-a-time-machine/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-night-sky-is-a-time-machine/</guid>
      <description>Before you start. You need nothing you do not already have: dividing a distance by a speed gives you a time, the way it does when you work out how long a drive…</description>
    </item>
    <item>
      <title>You Are Empty Space</title>
      <link>https://chalkbrain.com/lessons/mind-blown/you-are-empty-space/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/you-are-empty-space/</guid>
      <description>Before you start. You need only what&apos;s left over from school: that everything is made of atoms, and that an atom has a heavy speck at its middle with something…</description>
    </item>
    <item>
      <title>Monty Hall, the Illegal Switch</title>
      <link>https://chalkbrain.com/lessons/mind-blown/monty-hall-the-illegal-switch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/monty-hall-the-illegal-switch/</guid>
      <description>Before you start. You need nothing beyond fractions like &quot;2 out of 3&quot;. If you&apos;ve read 0189-the-birthday-paradox you already know the habit this note leans on…</description>
    </item>
    <item>
      <title>The Question No Computer Can Answer</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-question-no-computer-can-answer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-question-no-computer-can-answer/</guid>
      <description>Before you start. You don&apos;t need to know how to program, or anything about computers beyond this: a program is a fixed list of instructions, and running it on…</description>
    </item>
    <item>
      <title>A Secret Shouted Across a Room</title>
      <link>https://chalkbrain.com/lessons/mind-blown/a-secret-shouted-across-a-room/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/a-secret-shouted-across-a-room/</guid>
      <description>Before you start. You need nothing more than a calculator&apos;s four buttons - add, multiply, and the idea that some sums &quot;wrap around&quot; once they pass a limit, the…</description>
    </item>
    <item>
      <title>Fold a Paper to the Moon</title>
      <link>https://chalkbrain.com/lessons/mind-blown/fold-a-paper-to-the-moon/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/fold-a-paper-to-the-moon/</guid>
      <description>Before you start. You need to be comfortable doubling a number in your head, again and again - 2, 4, 8, 16 - and nothing else. That&apos;s the whole of the maths in…</description>
    </item>
    <item>
      <title>Every Sound Is Sine Waves</title>
      <link>https://chalkbrain.com/lessons/mind-blown/every-sound-is-sine-waves/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/every-sound-is-sine-waves/</guid>
      <description>Before you start. Nothing. There is no maths here beyond doubling and tripling a number, and no physics you need to bring: the lesson builds every sound up…</description>
    </item>
    <item>
      <title>The 99 Percent Test That Is Usually Wrong</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-99-percent-test/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-99-percent-test/</guid>
      <description>Before you start. You need to be able to work out a percent of a round number, the kind of arithmetic you&apos;d use to check a bill. That is the whole of the maths…</description>
    </item>
    <item>
      <title>The Birthday Paradox</title>
      <link>https://chalkbrain.com/lessons/mind-blown/the-birthday-paradox/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/mind-blown/the-birthday-paradox/</guid>
      <description>Before you start. All the arithmetic here is counting: how many people, how many pairs they make between them, nothing harder than that. Every number below is…</description>
    </item>
    <item>
      <title>Build Your Own Kubernetes - From Scratch</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kubernetes-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kubernetes-from-scratch/</guid>
      <description>Before you start. This series builds a small copy of Kubernetes: a program you tell what you want running, and which then keeps that true on its own, without…</description>
    </item>
    <item>
      <title>Build Your Own Distributed Scheduler - From Scratch</title>
      <link>https://chalkbrain.com/lessons/from-scratch/distributed-scheduler-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/distributed-scheduler-from-scratch/</guid>
      <description>Code: teaching/code/from-scratch/scheduler/ - one Go module, go run ./NN-stage. Go is the programming language every stage is written in. The demos run on a…</description>
    </item>
    <item>
      <title>Build Your Own Database - From Scratch</title>
      <link>https://chalkbrain.com/lessons/from-scratch/database-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/database-from-scratch/</guid>
      <description>Code: teaching/code/from-scratch/database/ - one Go module, go run ./NN-stage. Real files, a real B-tree (verified: 1000 keys, height 6, in-order sorted), real…</description>
    </item>
    <item>
      <title>Build Your Own HTTP Server - From Scratch</title>
      <link>https://chalkbrain.com/lessons/from-scratch/http-server-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/http-server-from-scratch/</guid>
      <description>Before you start. This series builds a small copy of an HTTP server: a program that answers when a browser (or curl, or another program) asks it for something,…</description>
    </item>
    <item>
      <title>Build Your Own Kafka - From Scratch</title>
      <link>https://chalkbrain.com/lessons/from-scratch/kafka-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/kafka-from-scratch/</guid>
      <description>Before you start. This series builds a small copy of Kafka: a program that keeps a list of everything that happened, in order, and lets any number of programs…</description>
    </item>
    <item>
      <title>Build Your Own Redis - From Scratch</title>
      <link>https://chalkbrain.com/lessons/from-scratch/redis-from-scratch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/from-scratch/redis-from-scratch/</guid>
      <description>Before you start. You need to know that a running program holds data in its own memory, and that memory empties the moment the program stops. That gap is what…</description>
    </item>
    <item>
      <title>Foundations #10 - Dynamic Programming (1D &amp; 2D in practice)</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-10-dynamic-programming/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-10-dynamic-programming/</guid>
      <description>Before you start. 0173-foundations-02-recursion-memo-table ne ek engine diya tha: recursion se sochna (chhote sawaal mein tod ke), jawab ek notebook mein likh…</description>
    </item>
    <item>
      <title>Foundations #09 - Graphs</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-09-graphs/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-09-graphs/</guid>
      <description>Before you start. Pichhle lesson mein dekha tree bhi ek graph hai, bas usme cycle nahi hoti - ghoom ke wapas usi jagah aane wala raasta…</description>
    </item>
    <item>
      <title>Foundations #08 - Trees &amp; Recursion</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-08-trees-recursion/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-08-trees-recursion/</guid>
      <description>Before you start. Foundations #02 mein recursion aur call stack dekh chuke ho - ek function khud ko chhote input pe bulata hai, jab tak sabse chhota case (base…</description>
    </item>
    <item>
      <title>Foundations #07 - Linked Lists &amp; Pointers</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-07-linked-lists-pointers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-07-linked-lists-pointers/</guid>
      <description>Before you start. Pichhle lesson mein dekha tha ki array mein har cheez ek line mein, agal-bagal rakhi hoti hai, aur beech mein kuch daalna sabko khiska deta…</description>
    </item>
    <item>
      <title>Foundations #06 - Stacks &amp; Queues</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-06-stacks-queues/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-06-stacks-queues/</guid>
      <description>Before you start. Array yaad karo: dabbon ki ek seedhi row, har dabbe ka apna number, jispe seedhe pahunchna sasta hota hai -…</description>
    </item>
    <item>
      <title>Foundations #05 - Sorting &amp; Searching</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-05-sorting-searching/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-05-sorting-searching/</guid>
      <description>Before you start. Foundations ki pichli lesson mein O(n) dekha tha - list do guni, kaam bhi do guna, ek seedhi lakeer jaisa kaam. Is lesson mein do naye rules…</description>
    </item>
    <item>
      <title>Foundations #04 - Hashing (O(1) &quot;yaad&quot;)</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-04-hashing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-04-hashing/</guid>
      <description>Pehle ye jaan lo. 0174-foundations-03-arrays-pointers-window ka array scan (ek-ek karke check karna) yehi lesson tez banata hai. Bas itna pata ho ki % (modulo)…</description>
    </item>
    <item>
      <title>Foundations #03 - Arrays, Do-Pointer &amp; Sliding Window</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-03-arrays-pointers-window/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-03-arrays-pointers-window/</guid>
      <description>Before you start. Foundations #01 mein O(n) sikha tha - &quot;ek baar chhua, ek baar gina&quot; (0172-foundations-01-big-o-touched-once). Yahan wahi rule chaar naye…</description>
    </item>
    <item>
      <title>Foundations #02 - Recursion → Memo → Table (DP ka engine)</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-02-recursion-memo-table/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-02-recursion-memo-table/</guid>
      <description>Before you start. Foundations #01 se itna kaafi hai: jab size double hoti hai aur kaam bhi double ho jaata hai, use exponential kehte hain, aur wo bahut tezi…</description>
    </item>
    <item>
      <title>Foundations #01 - Complexity (Big-O ka poora naksha)</title>
      <link>https://chalkbrain.com/lessons/dsa/foundations-01-big-o-touched-once/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/foundations-01-big-o-touched-once/</guid>
      <description>Before you start. Bas itna chahiye: tum gin sakte ho, aur tumne kabhi na kabhi ek for-loop dekha hai - ek list ke har element ko ek baar chhoo kar aage badhna.…</description>
    </item>
    <item>
      <title>Clinic #22 - Longest Common Subsequence</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-22-longest-common-subsequence/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-22-longest-common-subsequence/</guid>
      <description>Before you start. Ek 2D grid mein padhna-likhna aata ho, aur &quot;yahan tak pahunchne ka aakhri kadam kya tha&quot; wala sawaal poochhna aata ho - wahi tarkeeb…</description>
    </item>
    <item>
      <title>Clinic #21 - Unique Paths</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-21-unique-paths/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-21-unique-paths/</guid>
      <description>Before you start. Pichhli clinic 0151-clinic-02-climbing-stairs mein har kadam pe do choice tha, aur har jagah ko ek number se pehchaante the (kaunsi seedhi) -…</description>
    </item>
    <item>
      <title>Clinic #20 - Top K Frequent Elements</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-20-top-k-frequent/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-20-top-k-frequent/</guid>
      <description>Before you start. 0154-clinic-05-two-sum mein tumne dekha tha ki ek hash map kisi cheez ko turant (ek hi kadam mein) yaad rakh sakta hai - yahan wahi table use…</description>
    </item>
    <item>
      <title>Clinic #19 - Kth Largest Element in an Array</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-19-kth-largest/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-19-kth-largest/</guid>
      <description>Before you start. Bas itna pata ho ki array numbers ki list hai, har number ki apni jagah (index) hoti hai, aur sort karna matlab chhote se bade order mein…</description>
    </item>
    <item>
      <title>Lambda Cross-Account S3 Write - file sync</title>
      <link>https://chalkbrain.com/lessons/devops/lambda-cross-account-s3/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/lambda-cross-account-s3/</guid>
      <description>Before you start. 0163-irsa-cross-account left you one idea: a program that needs to get into somebody else&apos;s space doesn&apos;t have to carry a permanent key to…</description>
    </item>
    <item>
      <title>Clinic #18 - 3Sum</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-18-3sum/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-18-3sum/</guid>
      <description>Before you start. Tumhe list ko chhote se bade tak laga ke crawl karna aana chahiye - bas itna. 0166-clinic-17-container-with-most-water ne &quot;list ke dono siron…</description>
    </item>
    <item>
      <title>The Locked Filing Cabinet - folder-level S3 access</title>
      <link>https://chalkbrain.com/lessons/devops/folder-level-s3/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/folder-level-s3/</guid>
      <description>Before you start. You need to know that an IAM policy is a JSON document attached to an identity, allowing or denying specific actions on specific things -…</description>
    </item>
    <item>
      <title>Clinic #17 - Container With Most Water</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-17-container-with-most-water/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-17-container-with-most-water/</guid>
      <description>Before you start. Array ek line mein rakhe numbers hote hain, aur index unki position ka number hai - pehla number index 0 pe baithta hai, doosra index 1 pe.…</description>
    </item>
    <item>
      <title>Why So Many Boxes? - Identity vs Permission</title>
      <link>https://chalkbrain.com/lessons/devops/why-so-many-boxes/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/why-so-many-boxes/</guid>
      <description>Before you start. 0162-the-two-planes gave you two guards at AWS&apos;s front door: one checking whether a packet can reach a machine, the other checking whether an…</description>
    </item>
    <item>
      <title>Clinic #16 - Course Schedule</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-16-course-schedule/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-16-course-schedule/</guid>
      <description>Before you start. 0164-clinic-15-number-of-islands mein tumne graph traversal dekha tha - nodes, edges, aur unpe BFS/DFS chalana - jahan teer dono taraf jaate…</description>
    </item>
    <item>
      <title>OIDC - the Passport &amp; the Stamp-Book</title>
      <link>https://chalkbrain.com/lessons/devops/oidc-passport/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/oidc-passport/</guid>
      <description>Before you start. In 0163-irsa-cross-account, a program in one account showed a signed slip to another account and got a short-lived pass back, and nobody…</description>
    </item>
    <item>
      <title>Clinic #15 - Number of Islands</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-15-number-of-islands/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-15-number-of-islands/</guid>
      <description>Naksha mein har khaana zameen ya paani hai, aur board dikhata hai ki paas-paas ki zameen mil kar kaise ek hi tapu ban jaati hai - poora sabak isi ek…</description>
    </item>
    <item>
      <title>Google Search - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/google-search-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/google-search-case-study/</guid>
      <description>Before you start. You already know the feeling of typing a couple of words into a search box and getting a good answer back before you&apos;ve finished sitting…</description>
    </item>
    <item>
      <title>The Badge Machine - IRSA end to end</title>
      <link>https://chalkbrain.com/lessons/devops/irsa-cross-account/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/irsa-cross-account/</guid>
      <description>Before you start. An AWS account is one company&apos;s or team&apos;s walled section of AWS, with its own bill and identities. A container is one program sealed with…</description>
    </item>
    <item>
      <title>Clinic #14 - Combination Sum</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-14-combination-sum/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-14-combination-sum/</guid>
      <description>Yeh drawing wahi pedh dikhati hai jo pichli clinic mein tha - chuno, aage jao, wapas aao - bas ab har shaakha par ek shart hai, aur toot-te hi turant kaat di…</description>
    </item>
    <item>
      <title>Google Maps - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/google-maps-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/google-maps-case-study/</guid>
      <description>Before you start. A website that makes you wait for an answer is showing you latency - the time between asking and getting a reply. That&apos;s the only idea this…</description>
    </item>
    <item>
      <title>The Two Planes - why AWS feels like 100 random things</title>
      <link>https://chalkbrain.com/lessons/devops/the-two-planes/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-two-planes/</guid>
      <description>Before you start. You need to know what a pod is: one running copy of your program, given its own address on the network. And what an API call is: one program…</description>
    </item>
    <item>
      <title>Clinic #13 - Subsets</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-13-subsets/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-13-subsets/</guid>
      <description>Before you start. Array mein end pe daalna push aur end se nikaalna pop kehlata hai - bas itna pehle se pata hona chahiye. Function apne aap ko dobara bula…</description>
    </item>
    <item>
      <title>Zomato - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/zomato-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/zomato-case-study/</guid>
      <description>Before you start. You should already have a picture of a two-sided marketplace app in your head: a customer requesting something, one nearby provider, a system…</description>
    </item>
    <item>
      <title>Clinic #12 - Search in Rotated Sorted Array</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-12-search-rotated/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-12-search-rotated/</guid>
      <description>Ye drawing ek sorted list dikhata hai jise beech se kaat ke uska pehla tukda peeche jod diya gaya hai - jahan sabse bada number achanak sabse chhote se takrata…</description>
    </item>
    <item>
      <title>Stripe - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/stripe-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/stripe-case-study/</guid>
      <description>Before you start. You need to know what a retry is: a computer that got no answer, so it asks again. That is the only background this note assumes; everything…</description>
    </item>
    <item>
      <title>Clinic #11 - Binary Search</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-11-binary-search/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-11-binary-search/</guid>
      <description>Ye board dikhata hai ek sorted list ko baar-baar beech se kaatte jaana - har compare pe aadhi list hamesha ke liye phenk di jaati hai, jab tak ek hi ghar na…</description>
    </item>
    <item>
      <title>Twitter (X) - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/twitter-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/twitter-case-study/</guid>
      <description>Before you start. All you need is the shape of a social feed: you post something, and the people who follow you expect to see it soon after. This lesson is…</description>
    </item>
    <item>
      <title>Clinic #10 - Diameter of Binary Tree</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-10-diameter-of-binary-tree/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-10-diameter-of-binary-tree/</guid>
      <description>Before you start. 0158-clinic-09-maximum-depth mein ek kaam seekha tha: har node (tree ka ek dabba, jiske neeche zyada se zyada do bachche latak sakte hain) se…</description>
    </item>
    <item>
      <title>WhatsApp - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/whatsapp-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/whatsapp-case-study/</guid>
      <description>Before you start. You need to know that a phone app talking to the internet is really talking to a computer elsewhere called a server, and that anything you…</description>
    </item>
    <item>
      <title>Clinic #09 - Maximum Depth of Binary Tree</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-09-maximum-depth/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-09-maximum-depth/</guid>
      <description>Before you start. Itna kaafi hai: upar ek box hota hai, uske neeche zyada se zyada do box latak sakte hain, aur yehi shape neeche tak dohrati hai.…</description>
    </item>
    <item>
      <title>Uber - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/uber-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/uber-case-study/</guid>
      <description>Before you start. You need to already be comfortable with the idea that a system can be forced to choose between always answering and always being right the…</description>
    </item>
    <item>
      <title>Clinic #08 - Daily Temperatures</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-08-daily-temperatures/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-08-daily-temperatures/</guid>
      <description>Board mein har din ek bar hai, uski height us din ka temperature. Jab tak koi lamba (garam) bar nahi aata, chhote bars ek ke upar ek dher mein khade rehte…</description>
    </item>
    <item>
      <title>Netflix - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/netflix-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/netflix-case-study/</guid>
      <description>Before you start. You need to know that a video file is enormous and a web page is tiny, and that somebody pays for every mile a file travels. That is all; the…</description>
    </item>
    <item>
      <title>Clinic #07 - Valid Parentheses</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-07-valid-parentheses/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-07-valid-parentheses/</guid>
      <description>Ye board ek hi sawaal dikhata hai: jab brackets ek doosre ke andar nested hon, abhi is pal sabse haal mein kaunsa khula bracket apne jode (partner) ka intezaar…</description>
    </item>
    <item>
      <title>Claude - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/claude-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/claude-case-study/</guid>
      <description>Before you start. You need to know that a program can be handed some text and hand back some text. You also need to know that a chip must fetch a number out of…</description>
    </item>
    <item>
      <title>Clinic #06 - Longest Substring Without Repeating Characters</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-06-longest-substring-no-repeat/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-06-longest-substring-no-repeat/</guid>
      <description>Yeh board ek string ke upar do pointer dikhata hai jo aage khiskte hain, jaise ek chhoti khidki jo repeat milte hi thoda simat jaati hai - par kabhi peeche…</description>
    </item>
    <item>
      <title>OpenRouter - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/openrouter-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/openrouter-case-study/</guid>
      <description>Before you start. When an app answers you with AI, it is sending your text over the internet to a machine somebody else owns and paying that owner for the…</description>
    </item>
    <item>
      <title>Clinic #05 - Two Sum</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-05-two-sum/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-05-two-sum/</guid>
      <description>Before you start. List mein har number ki apni jagah hoti hai - use uska index kehte hain, 0 se ginkar. 0175-foundations-04-hashing ya 0058-hashing ne hash map…</description>
    </item>
    <item>
      <title>Amazon - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/amazon-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/amazon-case-study/</guid>
      <description>Before you start. Amazon is two businesses sharing one set of machines: the shop you buy from, and AWS, which rents storage and computers to everybody else.…</description>
    </item>
    <item>
      <title>Clinic #04 - Meeting Rooms II</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-04-meeting-rooms-ii/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-04-meeting-rooms-ii/</guid>
      <description>LC 253 LeetCode par premium hai. Wahi sawaal free mein: LC 2406 Divide Intervals Into Minimum Number of Groups (bas wahan end time bhi shamil hai, to jo…</description>
    </item>
    <item>
      <title>Dropbox - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/dropbox-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/dropbox-case-study/</guid>
      <description>Before you start. You need one fact: Dropbox keeps a copy of your files on your own machine and another copy on its machines, and those two copies drift apart…</description>
    </item>
    <item>
      <title>Clinic #03 - Coin Change</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-03-coin-change/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-03-coin-change/</guid>
      <description>Pehle padho. 0151-clinic-02-climbing-stairs mein tumne &quot;aakhri kadam kya tha?&quot; poochna seekha, aur mile hue jawabon ko sirf jodna (SUM) tha. Yahan sawaal wahi…</description>
    </item>
    <item>
      <title>Cloudflare - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/cloudflare-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/cloudflare-case-study/</guid>
      <description>Before you start. You need to know that when you open a web address, some machine somewhere has to answer it, and that the nearer that machine is, the faster…</description>
    </item>
    <item>
      <title>Clinic #02 - Climbing Stairs</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-02-climbing-stairs/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-02-climbing-stairs/</guid>
      <description>Before you start. Tumhe bas itna chahiye: ek function ko apna hi chhota version phir se bulaana aana chahiye, aur number jodna-ghatana. Agar ye bilkul naya…</description>
    </item>
    <item>
      <title>Figma - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/figma-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/figma-case-study/</guid>
      <description>Before you start. You need to have used an app where two people type into the same document at once and neither has to wait for the other. This lesson is the…</description>
    </item>
    <item>
      <title>Clinic #01 - Reverse a Linked List</title>
      <link>https://chalkbrain.com/lessons/dsa/clinic-01-reverse-a-linked-list/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/clinic-01-reverse-a-linked-list/</guid>
      <description>Before you start. Itna kaafi hai: ek variable sirf ek jagah ka naam hota hai, chitthi par likhe pate jaisa - khud jagah nahi.…</description>
    </item>
    <item>
      <title>Slack - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/slack-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/slack-case-study/</guid>
      <description>Before you start. Slack is the chat app companies use instead of email, and it was built on one idea: a company signs up, gets its own private space, and…</description>
    </item>
    <item>
      <title>Git&apos;s diff (Myers&apos; algorithm) - the case study</title>
      <link>https://chalkbrain.com/lessons/dsa/git-diff-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/git-diff-case-study/</guid>
      <description>Every time you run git diff, something underneath is solving a puzzle: what is the fewest line changes that turn the old file into the new one. It looks like…</description>
    </item>
    <item>
      <title>S3 · Build a Redis Server (that real clients can talk to)</title>
      <link>https://chalkbrain.com/lessons/portfolio-projects/s3-build-a-redis-server/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/portfolio-projects/s3-build-a-redis-server/</guid>
      <description>Before you start. You need S1&apos;s log: a file you only add to at the end, replayed from the top on startup, which lets a store of names and values survive being…</description>
    </item>
    <item>
      <title>S2 · Build a Load Balancer</title>
      <link>https://chalkbrain.com/lessons/portfolio-projects/s2-build-a-load-balancer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/portfolio-projects/s2-build-a-load-balancer/</guid>
      <description>Before you start. You&apos;ve met ports and connections in the networking track, and you can run a terminal command and write a little code, but you&apos;ve never built…</description>
    </item>
    <item>
      <title>S1 · Build Your Own Database (for real)</title>
      <link>https://chalkbrain.com/lessons/portfolio-projects/s1-build-your-own-database/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/portfolio-projects/s1-build-your-own-database/</guid>
      <description>Before you start. You can run a terminal command and write a little code, but you&apos;ve never built a database - so far you&apos;ve only read how real ones work, in…</description>
    </item>
    <item>
      <title>YouTube - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/youtube-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/youtube-case-study/</guid>
      <description>Before you start. You need to know that a website is a program running on rented computers, and that it keeps its facts in a database, a filing cabinet a…</description>
    </item>
    <item>
      <title>Company Platforms - Netflix / Spotify / Airbnb</title>
      <link>https://chalkbrain.com/lessons/devops/company-platforms-deep-set/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/company-platforms-deep-set/</guid>
      <description>Before you start. 0025-iac-and-gitops showed you a pipeline that rebuilds a whole server from a text file, and 0026-the-assembly-line-cicd showed you the…</description>
    </item>
    <item>
      <title>Instagram - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/instagram-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/instagram-case-study/</guid>
      <description>Before you start. You need to know that a website is a program running on rented computers, and that it keeps its information in a database, a filing cabinet a…</description>
    </item>
    <item>
      <title>Why a Fan Cools You, Not the Room - evaporation &amp; boundary layers</title>
      <link>https://chalkbrain.com/lessons/how-things-work/fan-cools-you-not-the-room/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/fan-cools-you-not-the-room/</guid>
      <description>Before you start. You need one idea from earlier in this site: cooling never needs a source of cold, only heat leaving fast enough, which is why a fridge&apos;s…</description>
    </item>
    <item>
      <title>Your Remote Throws Invisible Light - the EM spectrum</title>
      <link>https://chalkbrain.com/lessons/how-things-work/remote-invisible-light/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/remote-invisible-light/</guid>
      <description>Before you start. You only need to know what a TV remote does and that your eyes can miss things that are still there; nothing about waves, light or radiation…</description>
    </item>
    <item>
      <title>Cold Is a Lie - fridge, AC, heat pump</title>
      <link>https://chalkbrain.com/lessons/how-things-work/cold-is-a-lie/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/cold-is-a-lie/</guid>
      <description>Before you start. All you need is a fridge, an AC, or a memory of touching a cold metal railing. 0136-entropy-arrow-of-time showed that the universe drifts…</description>
    </item>
    <item>
      <title>AI/ML Ops - the deep-dive set</title>
      <link>https://chalkbrain.com/lessons/devops/ai-ml-ops-deep-set/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/ai-ml-ops-deep-set/</guid>
      <description>Before you start. 0109-inference-at-scale and 0111-evaluating-models already showed you how a trained model turns a prompt into an answer; this note is about…</description>
    </item>
    <item>
      <title>Discord - the case study</title>
      <link>https://chalkbrain.com/lessons/system-design/discord-case-study/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/discord-case-study/</guid>
      <description>Before you start. You need one idea: a chat app must remember everything anyone ever typed, and must also hand what someone typed one second ago to everyone…</description>
    </item>
    <item>
      <title>Database Internals - the deep-dive set</title>
      <link>https://chalkbrain.com/lessons/database-internals/database-internals-deep-set/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/database-internals/database-internals-deep-set/</guid>
      <description>Before you start. 0128-the-right-book-for-the-job picked Postgres as the database under the app. 0035-storage-engines showed the two ways an engine stores…</description>
    </item>
    <item>
      <title>Entropy - why time only points forward</title>
      <link>https://chalkbrain.com/lessons/how-things-work/entropy-arrow-of-time/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-things-work/entropy-arrow-of-time/</guid>
      <description>Before you start. You need to be comfortable counting: if you have three coins, how many ways can they land? That is the only maths in the story half, and…</description>
    </item>
    <item>
      <title>Bit Manipulation (thinking in bits)</title>
      <link>https://chalkbrain.com/lessons/dsa/bit-manipulation/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/bit-manipulation/</guid>
      <description>Before you start. One fact from 0047-numbers-for-real: a computer stores every whole number as a row of ones and zeros, read like ordinary counting but in twos…</description>
    </item>
    <item>
      <title>Complexity Theory (when problems are hard)</title>
      <link>https://chalkbrain.com/lessons/dsa/complexity-theory/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/complexity-theory/</guid>
      <description>Before you start. You already know how to read a cost off a line of code - count the loops, and see whether doubling the input doubles the work…</description>
    </item>
    <item>
      <title>Trees, Worked (rotations, B-trees, range trees)</title>
      <link>https://chalkbrain.com/lessons/dsa/trees-worked/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/trees-worked/</guid>
      <description>Before you start. You need a binary search tree: a box holding one key, pointing at up to two others, smaller keys down the left and bigger down the right, so…</description>
    </item>
    <item>
      <title>String Algorithms (finding the needle)</title>
      <link>https://chalkbrain.com/lessons/dsa/string-algorithms/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/string-algorithms/</guid>
      <description>Before you start. You need to be comfortable with an index - a number naming one slot in a list, counting up from the start - and a loop that walks one array…</description>
    </item>
    <item>
      <title>Four Systems in One Night (worked designs)</title>
      <link>https://chalkbrain.com/lessons/system-design/four-systems-in-one-night/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/four-systems-in-one-night/</guid>
      <description>Before you start. You need the six steps every design question runs through: clarify what is being asked, estimate the scale, sketch the API, choose the data…</description>
    </item>
    <item>
      <title>The Contract at the Counter (API design)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-contract-at-the-counter/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-contract-at-the-counter/</guid>
      <description>Before you start. You need two facts: that programs talk to each other over a network, and that a network sometimes loses the message, so the sender is left…</description>
    </item>
    <item>
      <title>The Slate, Properly (caching to real depth)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-slate-properly/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-slate-properly/</guid>
      <description>Before you start. You need one picture from 0012-the-slate-next-to-the-stove: the chai stall chalks the day&apos;s prices on a slate by the stove, so nobody walks…</description>
    </item>
    <item>
      <title>The Right Book for the Job (databases, deeply)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-right-book-for-the-job/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-right-book-for-the-job/</guid>
      <description>Before you start. You need one idea from earlier in this track: a system keeps its facts somewhere and reads them back later, which is the ledger…</description>
    </item>
    <item>
      <title>Your Personal Operating System (the capstone)</title>
      <link>https://chalkbrain.com/lessons/personal-development/your-personal-operating-system/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/your-personal-operating-system/</guid>
      <description>Before you start. The last lesson&apos;s whole point was that energy is not willpower - it is a resource you either protect or spend down, and a bad night&apos;s sleep…</description>
    </item>
    <item>
      <title>Energy, Goals &amp; Recovery (manage energy, not time)</title>
      <link>https://chalkbrain.com/lessons/personal-development/energy-goals-and-recovery/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/energy-goals-and-recovery/</guid>
      <description>Before you start. The last lesson showed that even a good decision can get hijacked by a shortcut your brain reaches for without asking you…</description>
    </item>
    <item>
      <title>Mental Models &amp; Decision-Making (thinking about thinking)</title>
      <link>https://chalkbrain.com/lessons/personal-development/mental-models-and-decisions/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/mental-models-and-decisions/</guid>
      <description>Before you start. The last lesson showed that a page you&apos;ve re-read until it feels familiar is not one you can actually reproduce cold - that feeling of &quot;I…</description>
    </item>
    <item>
      <title>How to Learn (the highest-leverage skill)</title>
      <link>https://chalkbrain.com/lessons/personal-development/how-to-learn/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/how-to-learn/</guid>
      <description>Before you start. Deliberate practice said a skill grows at the edge of what you can already do, with fast feedback on exactly what went wrong, never from the…</description>
    </item>
    <item>
      <title>Habits &amp; Behaviour Change (the loop that runs you)</title>
      <link>https://chalkbrain.com/lessons/personal-development/habits-and-behaviour-change/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/habits-and-behaviour-change/</guid>
      <description>Before you start. The last lesson showed that protecting your attention works by removing the thing that distracts you, not by resisting it in the moment -…</description>
    </item>
    <item>
      <title>Deep Work &amp; Attention (focus is the scarce resource)</title>
      <link>https://chalkbrain.com/lessons/personal-development/deep-work-and-attention/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/deep-work-and-attention/</guid>
      <description>Before you start. 0121-deliberate-practice told you that skill grows only when you are working right at the edge of what you can do, pushed by real feedback.…</description>
    </item>
    <item>
      <title>Deliberate Practice (how expertise is actually built)</title>
      <link>https://chalkbrain.com/lessons/personal-development/deliberate-practice/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/personal-development/deliberate-practice/</guid>
      <description>Before you start. The first read needs no maths beyond a percentage; the second adds an exponent and a logarithm, each explained where it appears. You need…</description>
    </item>
    <item>
      <title>Design the Whole Thing (the interview, assembled)</title>
      <link>https://chalkbrain.com/lessons/system-design/design-the-whole-thing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/design-the-whole-thing/</guid>
      <description>Before you start. You need the five things the earlier lessons built, and one clause each is enough to bring them back: a load balancer (one public address in…</description>
    </item>
    <item>
      <title>The Ledger Everyone Reads (event-driven &amp; the log)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-ledger-everyone-reads/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-ledger-everyone-reads/</guid>
      <description>Before you start. You need the order-slip rail from 0013-the-order-slip-rail: the order goes on a spike, the kitchen takes the next slip whenever it is free,…</description>
    </item>
    <item>
      <title>Charged Twice (idempotency &amp; exactly-once)</title>
      <link>https://chalkbrain.com/lessons/system-design/charged-twice/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/charged-twice/</guid>
      <description>Before you start. 0030-the-cut-phone-line gave you the one fact everything here rests on: a network drops messages, and it drops them silently, so you have to…</description>
    </item>
    <item>
      <title>Interview Patterns (recognize the shape, apply the template)</title>
      <link>https://chalkbrain.com/lessons/dsa/interview-patterns/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/interview-patterns/</guid>
      <description>Before you start. 0064-algorithm-design-patterns gave you the four families a solution can come from - divide and conquer, greedy, dynamic programming,…</description>
    </item>
    <item>
      <title>Shortest Paths, Worked (Dijkstra, Bellman-Ford, A*)</title>
      <link>https://chalkbrain.com/lessons/dsa/shortest-paths-worked/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/shortest-paths-worked/</guid>
      <description>Before you start. 0061-graphs showed you BFS, which finds the shortest path by counting turns, one road at a time - it assumes every road takes the same effort…</description>
    </item>
    <item>
      <title>Mixture of Experts (a big brain with a cheap forward pass)</title>
      <link>https://chalkbrain.com/lessons/ai/mixture-of-experts/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/mixture-of-experts/</guid>
      <description>Before you start. A language model is a pile of numbers, called its weights or its dials; the formal word is parameters. There are billions of them, and the…</description>
    </item>
    <item>
      <title>Multimodality (teaching an LLM to see)</title>
      <link>https://chalkbrain.com/lessons/ai/multimodality/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/multimodality/</guid>
      <description>Before you start. From 0077-tokens-and-embeddings: a word never enters a language model as letters, it is swapped for a long list of numbers first, and every…</description>
    </item>
    <item>
      <title>Diffusion &amp; Image Generation (sculpting from noise)</title>
      <link>https://chalkbrain.com/lessons/ai/diffusion-and-image-generation/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/diffusion-and-image-generation/</guid>
      <description>Before you start. One thing from 0075-what-a-neural-network-is: a network is a pile of dials, and turning them needs examples where somebody already knows the…</description>
    </item>
    <item>
      <title>Dynamic Programming, Worked (filling the table)</title>
      <link>https://chalkbrain.com/lessons/dsa/dynamic-programming-worked/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/dynamic-programming-worked/</guid>
      <description>Before you start. You need 0063-recursion-and-dynamic-programming&apos;s idea already: solve a small version of a question once, write the answer down, and build…</description>
    </item>
    <item>
      <title>Evaluating Models (how do you *know* it&apos;s good?)</title>
      <link>https://chalkbrain.com/lessons/ai/evaluating-models/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/evaluating-models/</guid>
      <description>Before you start. You need to know a language model writes open-ended text rather than picking one label from a list, which is what 0080-inference showed it…</description>
    </item>
    <item>
      <title>Reasoning &amp; Test-Time Compute (why &quot;thinking longer&quot; works)</title>
      <link>https://chalkbrain.com/lessons/ai/reasoning-and-test-time-compute/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/reasoning-and-test-time-compute/</guid>
      <description>Before you start. Three words from earlier lessons. Layers are the rows a model is built from, and it has a fixed number of them. Dials are the adjustable…</description>
    </item>
    <item>
      <title>Inference at Scale (why an LLM is fast, and cheap)</title>
      <link>https://chalkbrain.com/lessons/ai/inference-at-scale/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/inference-at-scale/</guid>
      <description>Before you start. From 0080-inference: a model writes a reply one token at a time, a token being a chunk of text about three quarters of a word, running the…</description>
    </item>
    <item>
      <title>Under the Hood (Kubernetes Internals)</title>
      <link>https://chalkbrain.com/lessons/devops/under-the-hood/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/under-the-hood/</guid>
      <description>Before you start. A pod is one running container, or a few that share a machine, that the cluster promises to keep running; 0021-the-harbor-master showed that,…</description>
    </item>
    <item>
      <title>The Two Ledgers Must Agree (Distributed Transactions)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-two-ledgers-must-agree/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-two-ledgers-must-agree/</guid>
      <description>Before you start. 0029-splitting-the-ledger cut the chai stall&apos;s single ledger into two books, so two boys could write at once, each book holding half the…</description>
    </item>
    <item>
      <title>LLM &amp; Agent Security</title>
      <link>https://chalkbrain.com/lessons/security/llm-and-agent-security/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/llm-and-agent-security/</guid>
      <description>Before you start. 0070-web-vulnerabilities showed a website taking a stranger&apos;s typed text and running it as if it were a command - a login box or a comment…</description>
    </item>
    <item>
      <title>Free Will, Identity &amp; the Self</title>
      <link>https://chalkbrain.com/lessons/philosophy/free-will-identity-and-the-self/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/free-will-identity-and-the-self/</guid>
      <description>Before you start. The last lesson, on ethics, gave you three tests for whether an act is right: does it produce good outcomes, does it follow the right rule,…</description>
    </item>
    <item>
      <title>Ethics &amp; the Good Life</title>
      <link>https://chalkbrain.com/lessons/philosophy/ethics-and-the-good-life/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/ethics-and-the-good-life/</guid>
      <description>Before you start. The last lesson looked at how arguments work, and where reasoning hits walls it can prove exist but never get past. This lesson is about a…</description>
    </item>
    <item>
      <title>Logic, Truth &amp; the Limits of Reason</title>
      <link>https://chalkbrain.com/lessons/philosophy/logic-truth-and-the-limits-of-reason/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/logic-truth-and-the-limits-of-reason/</guid>
      <description>Before you start. 0099-what-is-knowledge asked what you can know, and settled on a belief you can actually justify as true. 0102-can-machines-think asked…</description>
    </item>
    <item>
      <title>Can Machines Think?</title>
      <link>https://chalkbrain.com/lessons/philosophy/can-machines-think/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/can-machines-think/</guid>
      <description>Before you start. The last lesson left the hard problem open: nothing you can observe from outside proves whether a system has an inner life, only what it…</description>
    </item>
    <item>
      <title>Consciousness &amp; the Hard Problem</title>
      <link>https://chalkbrain.com/lessons/philosophy/consciousness-and-the-hard-problem/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/consciousness-and-the-hard-problem/</guid>
      <description>Before you start. 0100-the-mind-body-problem left you with functionalism: a mind is defined by what it does, so a brain and a machine that behaved identically…</description>
    </item>
    <item>
      <title>The Mind-Body Problem</title>
      <link>https://chalkbrain.com/lessons/philosophy/the-mind-body-problem/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/the-mind-body-problem/</guid>
      <description>Before you start. 0099-what-is-knowledge asked how sure you can ever be that you know something; this lesson asks a different question about the same &quot;you&quot; -…</description>
    </item>
    <item>
      <title>What Is Knowledge?</title>
      <link>https://chalkbrain.com/lessons/philosophy/what-is-knowledge/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/philosophy/what-is-knowledge/</guid>
      <description>Before you start. You don&apos;t need anything from an earlier lesson - this is the first stop in Philosophy. All you need is a habit you already have: trusting a…</description>
    </item>
    <item>
      <title>Auctions &amp; Mechanism Design</title>
      <link>https://chalkbrain.com/lessons/game-theory/auctions-and-mechanism-design/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/auctions-and-mechanism-design/</guid>
      <description>Before you start. The last lesson showed how two strangers who must meet in New York without phoning end up at the same spot: noon at Grand Central, the…</description>
    </item>
    <item>
      <title>Coordination, Schelling Points &amp; Credible Threats</title>
      <link>https://chalkbrain.com/lessons/game-theory/coordination-schelling-points-and-credible-threats/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/coordination-schelling-points-and-credible-threats/</guid>
      <description>Before you start. You already have a Nash equilibrium: an outcome where nobody wants to switch, given what everyone else does. Last lesson, being predictable…</description>
    </item>
    <item>
      <title>Mixed Strategies &amp; Zero-Sum</title>
      <link>https://chalkbrain.com/lessons/game-theory/mixed-strategies-and-zero-sum/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/mixed-strategies-and-zero-sum/</guid>
      <description>Before you start. The last lesson (0095-repeated-games-and-cooperation) showed that when you expect to face the same player again and again, being predictable…</description>
    </item>
    <item>
      <title>Repeated Games &amp; Cooperation</title>
      <link>https://chalkbrain.com/lessons/game-theory/repeated-games-and-cooperation/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/repeated-games-and-cooperation/</guid>
      <description>Before you start. 0094-the-prisoners-dilemma found the trap: questioned once, in separate rooms, ratting out your partner beats staying silent no matter what…</description>
    </item>
    <item>
      <title>The Prisoner&apos;s Dilemma</title>
      <link>https://chalkbrain.com/lessons/game-theory/the-prisoners-dilemma/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/the-prisoners-dilemma/</guid>
      <description>Before you start. 0093-dominant-strategies-and-nash-equilibrium showed you how to read a table of outcomes and pick the one move that beats every other move no…</description>
    </item>
    <item>
      <title>Dominant Strategies &amp; Nash Equilibrium</title>
      <link>https://chalkbrain.com/lessons/game-theory/dominant-strategies-and-nash-equilibrium/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/dominant-strategies-and-nash-equilibrium/</guid>
      <description>Before you start. You need one thing from 0092-what-is-a-game: a game is any situation where what you get depends on a choice someone else makes too, and every…</description>
    </item>
    <item>
      <title>What Is a Game?</title>
      <link>https://chalkbrain.com/lessons/game-theory/what-is-a-game/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/game-theory/what-is-a-game/</guid>
      <description>Before you start. 0088-decision-making-under-uncertainty showed that an uncertain choice has a best answer once you write down what could happen and what each…</description>
    </item>
    <item>
      <title>Learning &amp; Expertise</title>
      <link>https://chalkbrain.com/lessons/psychology/learning-and-expertise/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/learning-and-expertise/</guid>
      <description>Before you start. The last lesson showed you why you do things at all: a brain signal that tracks surprise more than pleasure, and a four-part loop - a cue, a…</description>
    </item>
    <item>
      <title>Motivation &amp; Habit</title>
      <link>https://chalkbrain.com/lessons/psychology/motivation-and-habit/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/motivation-and-habit/</guid>
      <description>Before you start. The last lesson, 0089-attention-and-cognitive-load, showed that your working memory is a small tank that fills up fast under focused thought.…</description>
    </item>
    <item>
      <title>Attention &amp; Cognitive Load</title>
      <link>https://chalkbrain.com/lessons/psychology/attention-and-cognitive-load/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/attention-and-cognitive-load/</guid>
      <description>Before you start. 0085-how-memory-works showed you that what you can hold in mind right now is a small working space, not the same thing as everything you…</description>
    </item>
    <item>
      <title>Decision-Making Under Uncertainty</title>
      <link>https://chalkbrain.com/lessons/psychology/decision-making-under-uncertainty/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/decision-making-under-uncertainty/</guid>
      <description>Before you start. 0087-cognitive-biases named loss aversion and framing as two of the mind&apos;s shortcuts. This lesson turns those into the full arithmetic of a…</description>
    </item>
    <item>
      <title>Cognitive Biases</title>
      <link>https://chalkbrain.com/lessons/psychology/cognitive-biases/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/cognitive-biases/</guid>
      <description>Before you start. 0085-how-memory-works and 0086-spaced-repetition were about getting facts to stick; this lesson is about a different failure - a guess that…</description>
    </item>
    <item>
      <title>Spaced Repetition</title>
      <link>https://chalkbrain.com/lessons/psychology/spaced-repetition/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/spaced-repetition/</guid>
      <description>Before you start. 0085-how-memory-works showed you that a memory isn&apos;t a recording you replay, it&apos;s a guess you rebuild each time, and that guess fades on a…</description>
    </item>
    <item>
      <title>How Memory Works</title>
      <link>https://chalkbrain.com/lessons/psychology/how-memory-works/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/psychology/how-memory-works/</guid>
      <description>Before you start. You need nothing but your own memory: the kind of phone number you can repeat back this second and lose in a minute, and an old memory you&apos;d…</description>
    </item>
    <item>
      <title>Capstone: Anatomy of an LLM App</title>
      <link>https://chalkbrain.com/lessons/ai/capstone-anatomy-of-an-llm-app/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/capstone-anatomy-of-an-llm-app/</guid>
      <description>Before you start. You need the returns desk from 0083-agents-and-tool-use, where the clerk who can only talk is the large language model itself, the printed…</description>
    </item>
    <item>
      <title>Agents &amp; Tool Use</title>
      <link>https://chalkbrain.com/lessons/ai/agents-and-tool-use/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/agents-and-tool-use/</guid>
      <description>Before you start. You need one fact from 0080-inference: a language model is a text predictor. You hand it a string, it hands back the next stretch of text,…</description>
    </item>
    <item>
      <title>RAG (Retrieval-Augmented Generation)</title>
      <link>https://chalkbrain.com/lessons/ai/rag/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/rag/</guid>
      <description>Before you start. You need 0077-tokens-and-embeddings, which turned any piece of text into a point in space, positioned so that two texts about the same thing…</description>
    </item>
    <item>
      <title>Fine-tuning &amp; Alignment</title>
      <link>https://chalkbrain.com/lessons/ai/fine-tuning-and-alignment/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/fine-tuning-and-alignment/</guid>
      <description>Before you start. You need one fact from 0079-from-transformer-to-llm: training a language model means hiding the next word in a mountain of text and turning…</description>
    </item>
    <item>
      <title>Inference (sampling, context, KV cache, hallucination)</title>
      <link>https://chalkbrain.com/lessons/ai/inference/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/inference/</guid>
      <description>Before you start. You need to know that the model is a huge pile of fixed numbers, its parameters (a 7-billion-parameter model is a pile of 7 billion of them),…</description>
    </item>
    <item>
      <title>From Transformer to LLM</title>
      <link>https://chalkbrain.com/lessons/ai/from-transformer-to-llm/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/from-transformer-to-llm/</guid>
      <description>Before you start. The last lesson built a machine that takes a row of word-pieces and lets each absorb meaning from the ones before it, and 0076-how-it-learns…</description>
    </item>
    <item>
      <title>Attention &amp; the Transformer</title>
      <link>https://chalkbrain.com/lessons/ai/attention-and-the-transformer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/attention-and-the-transformer/</guid>
      <description>Before you start. 0077-tokens-and-embeddings turned every word into a list of numbers, each looked up on its own, so the &quot;bank&quot; in river bank and the &quot;bank&quot; in…</description>
    </item>
    <item>
      <title>Tokens &amp; Embeddings</title>
      <link>https://chalkbrain.com/lessons/ai/tokens-and-embeddings/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/tokens-and-embeddings/</guid>
      <description>Before you start. From 0075-what-a-neural-network-is you need one fact: a neural network is votes times dials, added up, row after row, and it eats numbers and…</description>
    </item>
    <item>
      <title>How It Learns (loss, gradient descent, backprop)</title>
      <link>https://chalkbrain.com/lessons/ai/how-it-learns/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/how-it-learns/</guid>
      <description>Before you start. You need 0075-what-a-neural-network-is, which gave you this: a network is rows of small units, each adding up weighted votes and passing the…</description>
    </item>
    <item>
      <title>What a Neural Network Is</title>
      <link>https://chalkbrain.com/lessons/ai/what-a-neural-network-is/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/ai/what-a-neural-network-is/</guid>
      <description>Before you start. You need to be able to multiply two numbers and add the results. That is the whole of the maths in the story half of this lesson. Everything…</description>
    </item>
    <item>
      <title>Anatomy of a Breach</title>
      <link>https://chalkbrain.com/lessons/security/anatomy-of-a-breach/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/anatomy-of-a-breach/</guid>
      <description>Before you start. 0072-application-hardening gave you the individual locks: patch known bugs, watch your own logs, and let no login reach more than it needs…</description>
    </item>
    <item>
      <title>Application Hardening</title>
      <link>https://chalkbrain.com/lessons/security/application-hardening/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/application-hardening/</guid>
      <description>Before you start. The last lesson forced every connection to the app onto an encrypted, verified line, so nobody between you and it can read or tamper with a…</description>
    </item>
    <item>
      <title>Transport &amp; Network Security</title>
      <link>https://chalkbrain.com/lessons/security/transport-and-network-security/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/transport-and-network-security/</guid>
      <description>Before you start. 0067-cryptography-foundations gave you the three tools this lesson wires together: a shared key that locks and unlocks the same way on both…</description>
    </item>
    <item>
      <title>Web Vulnerabilities (the OWASP classics)</title>
      <link>https://chalkbrain.com/lessons/security/web-vulnerabilities/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/web-vulnerabilities/</guid>
      <description>Before you start. The last lesson showed a trusted helper doing something for the wrong person because it never checked who really asked -…</description>
    </item>
    <item>
      <title>Authorization &amp; Identity</title>
      <link>https://chalkbrain.com/lessons/security/authorization-and-identity/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/authorization-and-identity/</guid>
      <description>Before you start. 0068-authentication proved who is asking, a token that says &quot;this really is you&quot;. This lesson answers the harder question that token can&apos;t:…</description>
    </item>
    <item>
      <title>Authentication</title>
      <link>https://chalkbrain.com/lessons/security/authentication/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/authentication/</guid>
      <description>Before you start. 0067-cryptography-foundations gave you two tools this lesson spends. A hash scrambles anything into a fixed-length string with no way back to…</description>
    </item>
    <item>
      <title>Cryptography Foundations</title>
      <link>https://chalkbrain.com/lessons/security/cryptography-foundations/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/cryptography-foundations/</guid>
      <description>Before you start. 0066-the-security-mindset gave you three things worth protecting: keep a message secret, keep it unchanged, know who sent it. This lesson…</description>
    </item>
    <item>
      <title>The Security Mindset</title>
      <link>https://chalkbrain.com/lessons/security/the-security-mindset/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/security/the-security-mindset/</guid>
      <description>Before you start. You need two things from earlier in this site: that a program is just instructions a machine runs one at a time…</description>
    </item>
    <item>
      <title>Capstone: Attack an Unseen Problem</title>
      <link>https://chalkbrain.com/lessons/dsa/capstone-attack-an-unseen-problem/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/capstone-attack-an-unseen-problem/</guid>
      <description>Before you start. You&apos;ve already met a judge for speed (Big-O), a shelf of structures to hold data, and a handful of strategies for attacking it, one lesson at…</description>
    </item>
    <item>
      <title>Algorithm Design Patterns</title>
      <link>https://chalkbrain.com/lessons/dsa/algorithm-design-patterns/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/algorithm-design-patterns/</guid>
      <description>Before you start. You&apos;ve already picked up five tools in this track - arrays, hash maps, trees, graphs, and the trick of a problem asking a smaller copy of…</description>
    </item>
    <item>
      <title>Recursion &amp; Dynamic Programming</title>
      <link>https://chalkbrain.com/lessons/dsa/recursion-and-dynamic-programming/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/recursion-and-dynamic-programming/</guid>
      <description>Before you start. You need to know what happens when one function calls another: it pauses, hands control over, and picks back up exactly where it left off…</description>
    </item>
    <item>
      <title>Sorting &amp; Searching</title>
      <link>https://chalkbrain.com/lessons/dsa/sorting-and-searching/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/sorting-and-searching/</guid>
      <description>Before you start. You need an index - a position in a list, counted from zero - and what 0056-complexity-and-big-o already gave you: that doubling the input…</description>
    </item>
    <item>
      <title>Graphs (BFS, DFS, Dijkstra, topological sort)</title>
      <link>https://chalkbrain.com/lessons/dsa/graphs/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/graphs/</guid>
      <description>Before you start. You need only arrays: a numbered list where you can jump straight to slot i. Nothing about graphs is assumed here - every new word below is…</description>
    </item>
    <item>
      <title>Trees (BST, balancing, heaps, tries)</title>
      <link>https://chalkbrain.com/lessons/dsa/trees/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/trees/</guid>
      <description>Before you start. You already have the hash table from 0058-hashing: instant lookup, no memory of order. This lesson is the opposite trade - a shape that…</description>
    </item>
    <item>
      <title>Linked Lists, Stacks &amp; Queues</title>
      <link>https://chalkbrain.com/lessons/dsa/linked-lists-stacks-queues/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/linked-lists-stacks-queues/</guid>
      <description>Before you start. You need one fact from 0057-arrays-and-strings: an array keeps its values side by side in memory (why that is the fast kind of memory:…</description>
    </item>
    <item>
      <title>Hashing</title>
      <link>https://chalkbrain.com/lessons/dsa/hashing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/hashing/</guid>
      <description>Before you start. You need arrays from 0057-arrays-and-strings: a numbered row of slots you can jump straight to. You also need O(1) and O(n) from…</description>
    </item>
    <item>
      <title>Arrays &amp; Strings</title>
      <link>https://chalkbrain.com/lessons/dsa/arrays-and-strings/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/arrays-and-strings/</guid>
      <description>Before you start. You need 0056-complexity-and-big-o&apos;s two words: O(1) means the cost never changes as the pile grows, O(n) means it climbs in step with it.…</description>
    </item>
    <item>
      <title>Complexity &amp; Big-O</title>
      <link>https://chalkbrain.com/lessons/dsa/complexity-and-big-o/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/dsa/complexity-and-big-o/</guid>
      <description>Before you start. You need to be able to multiply two numbers and read a simple table - that&apos;s the whole of the maths in the story half. This is the first…</description>
    </item>
    <item>
      <title>Capstone: Keypress → Pixel</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/capstone-keypress-to-pixel/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/capstone-keypress-to-pixel/</guid>
      <description>Before you start. The lesson on I/O, interrupts and the bus gave you the last piece: a device raises a flag instead of waiting to be asked, and a DMA…</description>
    </item>
    <item>
      <title>I/O, Interrupts &amp; the Bus</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/io-interrupts-and-the-bus/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/io-interrupts-and-the-bus/</guid>
      <description>Before you start. You already know a CPU can be structured to juggle many tasks at once without finishing any of them first - that&apos;s concurrency, and it&apos;s what…</description>
    </item>
    <item>
      <title>Concurrency &amp; the Hardware</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/concurrency-and-the-hardware/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/concurrency-and-the-hardware/</guid>
      <description>Before you start. 0052-processes-threads-and-the-kernel gave you a thread, one flow of instructions moving through a program, and a process, the box that can…</description>
    </item>
    <item>
      <title>Processes, Threads &amp; the Kernel</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/processes-threads-and-the-kernel/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/processes-threads-and-the-kernel/</guid>
      <description>Before you start. The last lesson, 0051-how-code-becomes-execution, left one program&apos;s instructions running as a single stream on the CPU, fetched and carried…</description>
    </item>
    <item>
      <title>How Code Becomes Execution (compilers, stack &amp; heap)</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/how-code-becomes-execution/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/how-code-becomes-execution/</guid>
      <description>Before you start. 0049-the-cpu left you with a chip that does exactly one thing, forever: fetch an instruction, decode it, run it - it has no idea what a word,…</description>
    </item>
    <item>
      <title>The Memory Hierarchy (cache, locality, the memory wall)</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/the-memory-hierarchy/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/the-memory-hierarchy/</guid>
      <description>Before you start. 0049-the-cpu gave you the loop: fetch, decode, execute, using registers built into the chip. Almost every step eventually needs data from…</description>
    </item>
    <item>
      <title>The CPU (fetch-decode-execute, the ISA, assembly)</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/the-cpu/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/the-cpu/</guid>
      <description>Before you start. 0048-logic-from-switches built an ALU, a circuit of gates that adds and compares numbers, and flip-flops, single bits of memory that hold a…</description>
    </item>
    <item>
      <title>Logic From Switches (transistors → gates → adder → memory)</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/logic-from-switches/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/logic-from-switches/</guid>
      <description>Before you start. 0046-everything-is-a-number showed a computer stores everything as switches wired into bytes, each one only on or off. 0047-numbers-for-real…</description>
    </item>
    <item>
      <title>Numbers for Real (signed ints, overflow, floating point)</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/numbers-for-real/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/numbers-for-real/</guid>
      <description>Before you start. You need what 0046-everything-is-a-number gave you: a computer stores everything as a fixed row of on-or-off switches, bits, and eight of…</description>
    </item>
    <item>
      <title>Everything Is a Number (bits &amp; bytes)</title>
      <link>https://chalkbrain.com/lessons/how-computers-work/everything-is-a-number/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/how-computers-work/everything-is-a-number/</guid>
      <description>Before you start. Nothing from earlier in this track - this is where it begins. All the arithmetic in the story half is counting to eight and doubling;…</description>
    </item>
    <item>
      <title>Where Data Systems Are Heading</title>
      <link>https://chalkbrain.com/lessons/data-systems/where-data-systems-are-heading/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/where-data-systems-are-heading/</guid>
      <description>Before you start. The previous lesson, 0044-stream-processing, showed you the log: an add-only list of what happened, read from the start whenever you want to…</description>
    </item>
    <item>
      <title>Stream Processing</title>
      <link>https://chalkbrain.com/lessons/data-systems/stream-processing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/stream-processing/</guid>
      <description>Before you start. The previous lesson, 0043-batch-processing, waited until a whole day&apos;s file sat still on disk, then worked through it once, start to finish -…</description>
    </item>
    <item>
      <title>Batch Processing</title>
      <link>https://chalkbrain.com/lessons/data-systems/batch-processing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/batch-processing/</guid>
      <description>Before you start. You need to know what a hash function does. Feed it anything and it gives back a number: feed it the word &quot;the&quot; and it might give back 10.…</description>
    </item>
    <item>
      <title>Consistency and Consensus</title>
      <link>https://chalkbrain.com/lessons/data-systems/consistency-and-consensus/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/consistency-and-consensus/</guid>
      <description>Before you start. The previous lesson, 0041-when-machines-fail, showed why no machine in a group can fully trust the network: a message can be late, lost, or…</description>
    </item>
    <item>
      <title>When Machines Fail</title>
      <link>https://chalkbrain.com/lessons/data-systems/when-machines-fail/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/when-machines-fail/</guid>
      <description>Before you start. The previous lesson, 0038-partitioning, cut one dataset into pieces and gave each machine only its piece. Earlier, 0040-transactions gave you…</description>
    </item>
    <item>
      <title>Transactions</title>
      <link>https://chalkbrain.com/lessons/data-systems/transactions/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/transactions/</guid>
      <description>This lesson is about what happens when two things touch the same row, or the same rule, at once, and why the fix that catches all of it is expensive on purpose.</description>
    </item>
    <item>
      <title>Storage Extras: richer indexes, warehouse schemas, column tricks</title>
      <link>https://chalkbrain.com/lessons/data-systems/storage-extras/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/storage-extras/</guid>
      <description>Before you start. The last lesson found two ways a database keeps data findable without reading every row - a sorted tree of pages, or sorted files merged in…</description>
    </item>
    <item>
      <title>Partitioning</title>
      <link>https://chalkbrain.com/lessons/data-systems/partitioning/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/partitioning/</guid>
      <description>Before you start. The previous lesson, replication 0037-replication, put a copy of the whole dataset on every machine, so losing one machine cost you nothing.…</description>
    </item>
    <item>
      <title>Replication</title>
      <link>https://chalkbrain.com/lessons/data-systems/replication/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/replication/</guid>
      <description>Before you start. The previous lesson, 0040-transactions, was one machine&apos;s promise: a group of writes lands whole or not at all, even with two people touching…</description>
    </item>
    <item>
      <title>Encoding and Schema Change</title>
      <link>https://chalkbrain.com/lessons/data-systems/encoding-and-schema-change/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/encoding-and-schema-change/</guid>
      <description>Before you start. The previous lessons, 0035-storage-engines and 0039-storage-extras, were about how a database lays bytes out on disk so it can find them…</description>
    </item>
    <item>
      <title>Storage Engines</title>
      <link>https://chalkbrain.com/lessons/data-systems/storage-engines/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/storage-engines/</guid>
      <description>Before you start. The previous lesson, 0034-data-models-and-query-languages, was about the shapes you&apos;re allowed to store your data in - tables, documents,…</description>
    </item>
    <item>
      <title>Data Models and Query Languages</title>
      <link>https://chalkbrain.com/lessons/data-systems/data-models-and-query-languages/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/data-models-and-query-languages/</guid>
      <description>Before you start. The previous lesson, 0033-what-a-data-system-promises, gave you the three things a system owes you: correct, fast, still standing at 3am.…</description>
    </item>
    <item>
      <title>What a Data System Promises</title>
      <link>https://chalkbrain.com/lessons/data-systems/what-a-data-system-promises/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/data-systems/what-a-data-system-promises/</guid>
      <description>Before you start. You already know a system can only handle so much before something gives; 0011-the-chai-stall showed a food stall&apos;s queue outgrowing what one…</description>
    </item>
    <item>
      <title>Who holds the pen (consensus &amp; Raft)</title>
      <link>https://chalkbrain.com/lessons/system-design/who-holds-the-pen/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/who-holds-the-pen/</guid>
      <description>Before you start. The stall in this lesson is the chai stall the System Design spine has been running: five clerks behind the counter, each keeping a copy of…</description>
    </item>
    <item>
      <title>The bouncer at the door (rate limiting)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-bouncer-at-the-door/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-bouncer-at-the-door/</guid>
      <description>Before you start. You need one fact about a server: it finishes a fixed amount of work per second, and a request is one job handed to it. And one about…</description>
    </item>
    <item>
      <title>The cut phone line (CAP, done properly)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-cut-phone-line/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-cut-phone-line/</guid>
      <description>Before you start. The copy clerks gave you a second book that copies from the first and can fall behind by seconds; splitting the ledger spread the stall&apos;s…</description>
    </item>
    <item>
      <title>Splitting the ledger (sharding)</title>
      <link>https://chalkbrain.com/lessons/system-design/splitting-the-ledger/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/splitting-the-ledger/</guid>
      <description>Before you start. You need the copy clerks: one master book, several clerks holding copies, so a hundred people read at once. That lesson left one thing…</description>
    </item>
    <item>
      <title>Least Privilege &amp; the 12-Factor App</title>
      <link>https://chalkbrain.com/lessons/devops/least-privilege-12-factor/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/least-privilege-12-factor/</guid>
      <description>Before you start. You need to know what a container is: a program shipped sealed in its own box, so the same box runs the same way everywhere it lands.…</description>
    </item>
    <item>
      <title>The Watchtower (Observability)</title>
      <link>https://chalkbrain.com/lessons/devops/the-watchtower-observability/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-watchtower-observability/</guid>
      <description>Before you start. You need to know what a pod is: Kubernetes&apos;s word for one running copy of your program, which it can kill and restart elsewhere without…</description>
    </item>
    <item>
      <title>The Assembly Line (CI/CD)</title>
      <link>https://chalkbrain.com/lessons/devops/the-assembly-line-cicd/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-assembly-line-cicd/</guid>
      <description>Before you start. A commit is one saved change to the code. An image is a frozen, runnable copy of the app and everything it needs, sealed once and never…</description>
    </item>
    <item>
      <title>Infrastructure as Code &amp; GitOps</title>
      <link>https://chalkbrain.com/lessons/devops/iac-and-gitops/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/iac-and-gitops/</guid>
      <description>Before you start. You need to know what a shared, versioned file is - a document with a history everyone can see, which is what people mean by keeping…</description>
    </item>
    <item>
      <title>Getting Traffic In (Services &amp; Ingress)</title>
      <link>https://chalkbrain.com/lessons/devops/getting-traffic-in/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/getting-traffic-in/</guid>
      <description>Before you start. 0021-the-harbor-master gave you the Service: a stable name inside the cluster that always points at whichever pods are alive right now, no…</description>
    </item>
    <item>
      <title>Config, Secrets &amp; Storage</title>
      <link>https://chalkbrain.com/lessons/devops/config-secrets-storage/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/config-secrets-storage/</guid>
      <description>Before you start. 0021-the-harbor-master showed you that Kubernetes can kill any pod and start an identical one in its place, unasked. This lesson covers what…</description>
    </item>
    <item>
      <title>Self-Healing &amp; Autoscaling</title>
      <link>https://chalkbrain.com/lessons/devops/self-healing-and-autoscaling/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/self-healing-and-autoscaling/</guid>
      <description>Before you start. 0020-one-crate-to-a-fleet gave you the loop that keeps checking what&apos;s running against what you asked for and fixes the gap;…</description>
    </item>
    <item>
      <title>The Harbor Master (pods, deployments, services)</title>
      <link>https://chalkbrain.com/lessons/devops/the-harbor-master/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-harbor-master/</guid>
      <description>Before you start. A container is one program sealed in a box with everything it needs, running on a machine; an image is the frozen copy of that box you start…</description>
    </item>
    <item>
      <title>From One Crate to a Fleet (why Kubernetes)</title>
      <link>https://chalkbrain.com/lessons/devops/one-crate-to-a-fleet/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/one-crate-to-a-fleet/</guid>
      <description>Before you start. Compose&apos;s whole world was one docker-compose.yml, one command, one machine: docker compose up starts every container you listed and then it&apos;s…</description>
    </item>
    <item>
      <title>Many at Once (compose &amp; networking)</title>
      <link>https://chalkbrain.com/lessons/devops/many-at-once-compose/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/many-at-once-compose/</guid>
      <description>Before you start. An image is the frozen box the last lesson built, docker run starts one, and its flags are the extra words on that command that punch holes…</description>
    </item>
    <item>
      <title>The Recipe (the Dockerfile)</title>
      <link>https://chalkbrain.com/lessons/devops/the-recipe-dockerfile/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/the-recipe-dockerfile/</guid>
      <description>Before you start. You&apos;ve already built an image and watched a container start from it - that image is a stack of layers, frozen once each one is written. This…</description>
    </item>
    <item>
      <title>Running a Container for Real</title>
      <link>https://chalkbrain.com/lessons/devops/running-a-container/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/running-a-container/</guid>
      <description>Before you start. Lesson 0016 sealed your app into an image - a frozen box on disk that does nothing alone - and introduced the daemon, the engine that pulls…</description>
    </item>
    <item>
      <title>The Shipping Container (Docker)</title>
      <link>https://chalkbrain.com/lessons/devops/docker-shipping-container/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/devops/docker-shipping-container/</guid>
      <description>Before you start. This is the first lesson of the DevOps track, so nothing earlier is assumed. You only need the ordinary experience of a program that runs…</description>
    </item>
    <item>
      <title>The copy clerks (database replication)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-copy-clerks/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-copy-clerks/</guid>
      <description>Before you start. You need the chai stall the first episode built, which grew from one counter into several, and the slip rail from 0013-the-order-slip-rail,…</description>
    </item>
    <item>
      <title>The order slip rail (queues &amp; the utilization cliff)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-order-slip-rail/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-order-slip-rail/</guid>
      <description>Before you start. You need one idea from 0011-the-chai-stall: when a single stall could not keep up, you put several stalls behind one counter and shared the…</description>
    </item>
    <item>
      <title>The slate next to the stove (caching)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-slate-next-to-the-stove/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-slate-next-to-the-stove/</guid>
      <description>Before you start. You need the one move from 0011-the-chai-stall: every wala at the counter was made forgetful on purpose, so any wala can serve any customer…</description>
    </item>
    <item>
      <title>The chai stall that got famous (load balancing)</title>
      <link>https://chalkbrain.com/lessons/system-design/the-chai-stall/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/system-design/the-chai-stall/</guid>
      <description>Before you start. You need one idea from 0010-one-address-a-thousand-doors: a single address can be answered by machines in many cities, because the network…</description>
    </item>
    <item>
      <title>One address, a thousand doors</title>
      <link>https://chalkbrain.com/lessons/networking/one-address-a-thousand-doors/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/one-address-a-thousand-doors/</guid>
      <description>Before you start. 0004-how-packets-find-their-way gave you the routing table: a list of rows, each one a range of addresses and a next hop, and a router that…</description>
    </item>
    <item>
      <title>Write the telegram yourself</title>
      <link>https://chalkbrain.com/lessons/networking/write-the-telegram/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/write-the-telegram/</guid>
      <description>Before you start. 0001-dns-resolution showed you a DNS lookup happening. 0002-dns-wire-format took its 29 bytes apart on the wire. Here you write those same 29…</description>
    </item>
    <item>
      <title>How the web outgrew the phone call</title>
      <link>https://chalkbrain.com/lessons/networking/outgrowing-the-phone-call/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/outgrowing-the-phone-call/</guid>
      <description>Before you start. You need that TCP promises to deliver bytes in the exact order they were sent - the promise this whole lesson is about, set up in…</description>
    </item>
    <item>
      <title>The whisper code (how a call goes private)</title>
      <link>https://chalkbrain.com/lessons/networking/the-whisper-code/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/the-whisper-code/</guid>
      <description>Before you start. You already know that no data moves until one full round trip happens first - the TCP handshake, from 0003-tcp-udp-handshake - and that a…</description>
    </item>
    <item>
      <title>Reading a book aloud to America</title>
      <link>https://chalkbrain.com/lessons/networking/the-long-distance-reading/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/the-long-distance-reading/</guid>
      <description>Before you start. You need the handshake from 0003-tcp-udp-handshake: before any of your data moves, both ends already spend one round trip agreeing the call…</description>
    </item>
    <item>
      <title>Inside your building (your router&apos;s life)</title>
      <link>https://chalkbrain.com/lessons/networking/inside-your-building/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/inside-your-building/</guid>
      <description>Before you start. You already met your router as the concierge in 0001-dns-resolution, looking up a name and handing back an address, and as the first hop in…</description>
    </item>
    <item>
      <title>How a parcel finds any house on earth</title>
      <link>https://chalkbrain.com/lessons/networking/how-packets-find-their-way/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/how-packets-find-their-way/</guid>
      <description>Before you start. Nothing here leans on another lesson. One picture runs all the way through: a router is a depot that only knows its own street, a packet is a…</description>
    </item>
    <item>
      <title>TCP vs UDP, and the 3-way handshake</title>
      <link>https://chalkbrain.com/lessons/networking/tcp-udp-handshake/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/tcp-udp-handshake/</guid>
      <description>Before you start. You need to know that every device on a network has an address, and that a message crossing the internet travels broken into chunks rather…</description>
    </item>
    <item>
      <title>DNS on the wire</title>
      <link>https://chalkbrain.com/lessons/networking/dns-wire-format/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/dns-wire-format/</guid>
      <description>Before you start. 0001-dns-resolution showed your resolver doing the asking for you, one hop at a time. Here you watch what that one question, and its answer,…</description>
    </item>
    <item>
      <title>DNS Resolution</title>
      <link>https://chalkbrain.com/lessons/networking/dns-resolution/</link>
      <guid isPermaLink="true">https://chalkbrain.com/lessons/networking/dns-resolution/</guid>
      <description>Before you start. This is the first lesson in the series, so nothing earlier is assumed. You&apos;ve typed a web address into a browser and watched a page appear;…</description>
    </item>
    <item>
      <title>What it brings, what it broke, what changes for you</title>
      <link>https://chalkbrain.com/videos/ai-astra-means/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-astra-means/</guid>
      <description>Episode three ended on a checker. Ten thousand agents wrote a proof, and what made anyone trust it was seventeen hours in which a program with no opinion checked every step. Hold that thought. This ep</description>
    </item>
    <item>
      <title>The problems it solved, and the one it did not quite</title>
      <link>https://chalkbrain.com/videos/ai-astra-math/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-astra-math/</guid>
      <description>Last time we ended on a problem with every number in the launch: each benchmark was a target while the model was trained. So here is the one kind of test nobody can train for. An open problem. A quest</description>
    </item>
    <item>
      <title>Did Astra reach it? The claims against the definition</title>
      <link>https://chalkbrain.com/videos/ai-astra-claims/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-astra-claims/</guid>
      <description>Last time we set out five definitions of AGI, and found that every one of them is a test somebody chose. A press release cannot pass a test. Evidence can. So this episode is the evidence, laid in a le</description>
    </item>
    <item>
      <title>What AGI means, and who gets to say</title>
      <link>https://chalkbrain.com/videos/ai-astra-agi/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-astra-agi/</guid>
      <description>September third, twenty twenty six. OpenAI ships GPT-6 Astra, and its president opens with four words: welcome to the AGI era. Nvidia&apos;s chief executive posts that AGI has arrived. OpenAI&apos;s own chief e</description>
    </item>
    <item>
      <title>Amazon, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/am-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-everything/</guid>
      <description>Nine episodes, one canvas. Amazon is two companies: a shop whose whole instinct is availability at any cost, and a cloud built out of the shop&apos;s own leftovers. Everything on this board falls out of on</description>
    </item>
    <item>
      <title>The trigger is never the villain: four outages and the amplifiers inside them</title>
      <link>https://chalkbrain.com/videos/am-amplifiers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-amplifiers/</guid>
      <description>February two thousand and seventeen. An operator, debugging a billing system, ran a command from an established playbook to remove a few servers. One input was entered incorrectly, and a much larger s</description>
    </item>
    <item>
      <title>Chaotic storage: stop sorting the shelf, pay for the index instead</title>
      <link>https://chalkbrain.com/videos/am-chaotic-storage/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-chaotic-storage/</guid>
      <description>Two ways to store a million different things. The obvious way is what every shop and every library does: a shelf for books, a shelf for toys, a shelf for cables. You always know where a book goes. Wit</description>
    </item>
    <item>
      <title>Eleven nines: durability as a budget, and a storage engine proven against a hash map</title>
      <link>https://chalkbrain.com/videos/am-eleven-nines/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-eleven-nines/</guid>
      <description>Eleven nines. That is a durability target, per object, per year: store ten million objects and you should expect to lose one, every ten thousand years. But the number is not a promise anybody makes. I</description>
    </item>
    <item>
      <title>Constant work: the system that does the same thing whether it is healthy or on fire</title>
      <link>https://chalkbrain.com/videos/am-constant-work/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-constant-work/</guid>
      <description>A drip machine and an urn. The drip machine makes a cup when you ask for it, so a queue of thirsty people makes it slower and slower. The urn brewed everything up front. Serving the first cup and the </description>
    </item>
    <item>
      <title>Shuffle sharding: cutting the blast radius combinatorially</title>
      <link>https://chalkbrain.com/videos/am-blast-radius/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-blast-radius/</guid>
      <description>Somewhere out there is a request that kills whatever handles it. Corrupted, or it trips a specific bug — AWS calls it a poison pill. Eight workers, all shared between all customers. The pill lands on </description>
    </item>
    <item>
      <title>Dynamo: never reject a write, and pay for it in zombie items</title>
      <link>https://chalkbrain.com/videos/am-cart/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-cart/</guid>
      <description>The shopping cart had one requirement. Customers must be able to add an item even if disks are failing, network routes are flapping, or data centres are being destroyed by tornadoes. That is not senti</description>
    </item>
    <item>
      <title>The API mandate: Conway&apos;s law, aimed on purpose</title>
      <link>https://chalkbrain.com/videos/am-mandate/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-mandate/</guid>
      <description>Before the memo there was one binary. The original storefront was a single program with all the logic in it and every team reaching straight into the same database. By two thousand and one, one change</description>
    </item>
    <item>
      <title>Amazon architecture, end to end: the org chart they sold as a product</title>
      <link>https://chalkbrain.com/videos/am-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/am-map/</guid>
      <description>Amazon is two companies wearing one name. A shop that must never refuse an order, and a computing business built out of the shop&apos;s own leftovers. Three million checkouts on a single day, and five hund</description>
    </item>
    <item>
      <title>Google Search, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/gs-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-everything/</guid>
      <description>The whole thing, on one canvas. Along the top, a query: understand it, scatter it to the shards, merge, rank, assemble the page. Along the bottom, a pipeline that never stops: crawl, index, score, dis</description>
    </item>
    <item>
      <title>Beyond ten blue links: the page that answers before you click</title>
      <link>https://chalkbrain.com/videos/gs-beyond-links/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-beyond-links/</guid>
      <description>Everything so far produced a ranked list of pages. Go and look at an actual results page though, and the ranked list is a strip down the middle of something much busier. There is an answer lifted out </description>
    </item>
    <item>
      <title>The papers underneath: a filesystem, a compute model, and a sorted map</title>
      <link>https://chalkbrain.com/videos/gs-infra/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-infra/</guid>
      <description>Everything in this series assumes somewhere to put the web and something to process it with. In two thousand and three there was nothing to buy that could do either. So the bet was made the other way </description>
    </item>
    <item>
      <title>Freshness: from a rebuild that took weeks to an index that changes in minutes</title>
      <link>https://chalkbrain.com/videos/gs-freshness/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-freshness/</guid>
      <description>Something on the web changed while I said that sentence. Now here is the problem: for years, the only way a change reached search was the next full rebuild of the index, and a full rebuild of the whol</description>
    </item>
    <item>
      <title>Ranking: hundreds of signals, fused into one number</title>
      <link>https://chalkbrain.com/videos/gs-ranking/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-ranking/</guid>
      <description>The index has just handed back everything that matches. For a normal query that is millions of pages, and every one of them is a legitimate answer. Almost nobody will look past the first three. So the</description>
    </item>
    <item>
      <title>Scatter-gather: one query, a thousand leaves, and the slowest one wins</title>
      <link>https://chalkbrain.com/videos/gs-query-serving/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-query-serving/</guid>
      <description>The index is sharded by document, which means no single machine can answer anything. Every query has to visit all of them. And it has about two hundred milliseconds, total, including the ranking that </description>
    </item>
    <item>
      <title>The inverted index: flip the data and a scan becomes a lookup</title>
      <link>https://chalkbrain.com/videos/gs-inverted-index/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-inverted-index/</guid>
      <description>Three documents, and a search for the word pizza. The obvious way to answer is to open each document and look. That works here. Now make it the whole web, and every query reads every page ever written</description>
    </item>
    <item>
      <title>The crawler: fetching is the easy ten percent</title>
      <link>https://chalkbrain.com/videos/gs-crawler/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-crawler/</guid>
      <description>A crawler is a loop around a queue that never empties. Every page you fetch hands you its outlinks, and those go straight back into the queue. So the web crawls itself, forever, and the frontier is ef</description>
    </item>
    <item>
      <title>Google Search architecture, end to end: two systems joined by one index</title>
      <link>https://chalkbrain.com/videos/gs-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/gs-map/</guid>
      <description>Two systems wear one trench coat here. One is gigantic and offline: it crawls the whole web, indexes it, scores every page, and it never stops. The other is online, and it has about two hundred millis</description>
    </item>
    <item>
      <title>YouTube, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/yt-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-everything/</guid>
      <description>Everything, on one canvas. Five hundred hours arrive every minute. Each upload is cut into segments, transcoded in parallel into a ladder of resolutions and codecs, and packaged. Copies of the popular</description>
    </item>
    <item>
      <title>Approximately right, on purpose: the loosest guarantees that are practical</title>
      <link>https://chalkbrain.com/videos/yt-the-cheat/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-the-cheat/</guid>
      <description>This is YouTube&apos;s own description of how they engineer, from a talk in twenty twelve. Choose the simplest solution possible, with the loosest guarantees that are practical. And the corollary they put </description>
    </item>
    <item>
      <title>Content ID: a billion-dollar legal problem, solved as a search query</title>
      <link>https://chalkbrain.com/videos/yt-content-id/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-content-id/</guid>
      <description>Two thousand seven. YouTube is a year into being owned by Google and is being sued for a billion dollars. Somebody proposes reviewing uploads for copyright. So do the arithmetic. Five hundred hours ar</description>
    </item>
    <item>
      <title>Recommendations: the day the objective changed the internet</title>
      <link>https://chalkbrain.com/videos/yt-recommendations/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-recommendations/</guid>
      <description>For years the thing being optimised was the click. Did they arrive. And a metric like that has a champion content type: a shocking thumbnail, a three second payoff, and instant regret. It wins on the </description>
    </item>
    <item>
      <title>A billion hours a day: the cache in your provider&apos;s basement</title>
      <link>https://chalkbrain.com/videos/yt-billion-hours/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-billion-hours/</guid>
      <description>A billion hours of video are watched every day. The obvious mental picture is enormous datacentres pushing that out across the internet, and it is wrong. Most of those bytes never reach a YouTube buil</description>
    </item>
    <item>
      <title>The transcode factory: why a codec upgrade is a loan</title>
      <link>https://chalkbrain.com/videos/yt-transcode-factory/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-transcode-factory/</guid>
      <description>You upload one file. What has to exist afterwards is dozens of them. Every resolution from a hundred and forty four pixels up to eight K, times three codecs, times a set of bitrates, plus the manifest</description>
    </item>
    <item>
      <title>Vitess: the database was fine, the way of running it was not</title>
      <link>https://chalkbrain.com/videos/yt-vitess/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-vitess/</guid>
      <description>Sharding by user bought them four years. Then three things happened at once. Write traffic outgrew a single primary per shard. Adding read replicas stopped helping, because reads had outgrown them too</description>
    </item>
    <item>
      <title>Nine engineers, a hundred million views a day: the survival era</title>
      <link>https://chalkbrain.com/videos/yt-nine-engineers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-nine-engineers/</guid>
      <description>March two thousand six: thirty million views a day. July: a hundred million. More than three times, in four months. And here is everybody who worked on it. Two sysadmins, two scalability architects, t</description>
    </item>
    <item>
      <title>YouTube architecture, end to end: written once, watched a billion times</title>
      <link>https://chalkbrain.com/videos/yt-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/yt-map/</guid>
      <description>Five hundred hours of video are uploaded every minute. A billion hours are watched every day. Everything else on this map falls out of the gap between them. A video is written once and watched up to a</description>
    </item>
    <item>
      <title>Figma, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/fg-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-everything/</guid>
      <description>One canvas tag, a GPU context, a websocket and a byte array. That is everything the browser gives them, and inside it runs a C plus plus engine with its own scene graph, compositor, text layout and re</description>
    </item>
    <item>
      <title>The plugin that can see everything: a JavaScript engine inside a JavaScript engine</title>
      <link>https://chalkbrain.com/videos/fg-plugin-sandbox/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-plugin-sandbox/</guid>
      <description>Running a plugin comes down to one line: eval, on somebody else&apos;s code. Their words — that is the quintessential definition of insecure. And this plugin is inside your document. It can read any data i</description>
    </item>
    <item>
      <title>Undo, when someone else moved it: fractional indexing and a history of intentions</title>
      <link>https://chalkbrain.com/videos/fg-undo-multiplayer/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-undo-multiplayer/</guid>
      <description>Layer order is an array, and arrays have indices zero, one, two. There is no integer between one and two, so drop a layer between two others and you renumber everything after it. Figma&apos;s answer: do no</description>
    </item>
    <item>
      <title>Nine months to shard one table: buy the ability to undo</title>
      <link>https://chalkbrain.com/videos/fg-shard-one-table/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-shard-one-table/</guid>
      <description>Twenty twenty. All of Figma&apos;s metadata — permissions, file info, comments — on one Postgres instance, the biggest box their cloud sold. Peak CPU over sixty five percent. Their own sentence: if the dat</description>
    </item>
    <item>
      <title>Drawing a letter without a font engine: winding numbers on the GPU</title>
      <link>https://chalkbrain.com/videos/fg-drawing-a-letter/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-drawing-a-letter/</guid>
      <description>A GPU draws triangles. A letter O is not triangles, and worse, it has a hole in the middle. One warning before we start: Figma&apos;s entire public record on their renderer is a single sentence from twenty</description>
    </item>
    <item>
      <title>One process per document: what Rust actually bought Figma</title>
      <link>https://chalkbrain.com/videos/fg-one-process-per-doc/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-one-process-per-doc/</guid>
      <description>Two thousand sixteen. One TypeScript worker, single threaded, owning a whole pile of documents at once. Then somebody opens a five hundred megabyte file. Encoding it takes an arbitrarily long time, an</description>
    </item>
    <item>
      <title>Neither OT nor CRDT: what having a server is actually worth</title>
      <link>https://chalkbrain.com/videos/fg-neither-ot-nor-crdt/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-neither-ot-nor-crdt/</guid>
      <description>There are two famous answers to how do many people edit one thing at once. Operational transform, which is what a document editor uses. And conflict free replicated data types, which is what everyone </description>
    </item>
    <item>
      <title>A browser inside a browser: why Figma refused the web platform</title>
      <link>https://chalkbrain.com/videos/fg-browser-inside/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-browser-inside/</guid>
      <description>In twenty fifteen, a design tool in a browser was a joke. Figma&apos;s answer was not to use the web platform better. It was to refuse almost all of it. HTML and SVG re-tessellate every time you zoom. Canv</description>
    </item>
    <item>
      <title>Figma architecture, end to end: a browser inside a browser</title>
      <link>https://chalkbrain.com/videos/fg-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/fg-map/</guid>
      <description>Open a Figma file and almost nothing on that page is the web. The browser hands over four things: one canvas tag, a GPU context, a websocket, and a byte array. Everything you see inside that rectangle</description>
    </item>
    <item>
      <title>Discord, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/dc-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-everything/</guid>
      <description>Everything, on one canvas. Your app holds a socket to the gateway. A message goes by REST to the Python monolith, which mints its id, through the Rust shield that collapses the crowd, and into the sto</description>
    </item>
    <item>
      <title>The API plane: a Python monolith, snowflake IDs, and the hotspots that left</title>
      <link>https://chalkbrain.com/videos/dc-api/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-api/</guid>
      <description>The unfashionable middle. One Python codebase, seventeen hundred endpoints and seven hundred kinds of background job, and it never got rewritten. But it is not deployed once. The same image goes out a</description>
    </item>
    <item>
      <title>Search in cells: forty small clusters instead of one big one</title>
      <link>https://chalkbrain.com/videos/dc-search/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-search/</guid>
      <description>The message store answers one question beautifully: the latest fifty in this channel. Ask it which messages contain the word pizza and it has nothing. Text search needs the index inside out — a word, </description>
    </item>
    <item>
      <title>Fanout at the limit: the day typing indicators cost more than the messages</title>
      <link>https://chalkbrain.com/videos/dc-fanout/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-fanout/</guid>
      <description>Here is the trap. A message costs one send times the number of people watching. But an event everybody emits — typing, going online, going away — costs that number times itself. On a server with ten m</description>
    </item>
    <item>
      <title>Voice at scale: why the server forwards packets it cannot decode</title>
      <link>https://chalkbrain.com/videos/dc-voice/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-voice/</guid>
      <description>Ten people in a voice call, and there are three ways to wire it. Everyone sends to everyone: fine at five, melts a laptop at twenty five, and hands your address to every stranger in the room. Or a ser</description>
    </item>
    <item>
      <title>Request coalescing: how one query serves a million askers</title>
      <link>https://chalkbrain.com/videos/dc-data-services/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-data-services/</guid>
      <description>A viral moment does not send a million different questions. It sends the same question a million times. Every one of those clients wants the last fifty messages of the same channel, and if each of the</description>
    </item>
    <item>
      <title>Three engines, one schema: the message store that outlived two databases</title>
      <link>https://chalkbrain.com/videos/dc-message-store/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-message-store/</guid>
      <description>Start with the workload, because it picks the database. Writes are tiny, constant, and never edited afterwards. Reads want the last fifty messages, almost always. And every so often a single channel b</description>
    </item>
    <item>
      <title>The gateway: a process per user, and five million of them</title>
      <link>https://chalkbrain.com/videos/dc-gateway/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-gateway/</guid>
      <description>Open Discord and your app makes exactly one connection. A websocket to the gateway. Every single thing you watch happen arrives down that one pipe: messages, typing dots, someone going idle, the membe</description>
    </item>
    <item>
      <title>Uber, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/ub-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-everything/</guid>
      <description>One tap. The gateway routes it, dispatch picks a driver out of a cell, the trip service runs the ride as a state machine, payments charges once it ends, and the whole time, underneath, five million ph</description>
    </item>
    <item>
      <title>Cells: how one bad deploy stops being everybody&apos;s bad deploy</title>
      <link>https://chalkbrain.com/videos/ub-cells/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-cells/</guid>
      <description>Everything so far has described one copy of this system. Now put every city on earth through it. One shared stack means one bad deploy, one poisoned cache, one overloaded database takes down riders an</description>
    </item>
    <item>
      <title>Routing and ETA: the fleet that keeps its own map current</title>
      <link>https://chalkbrain.com/videos/ub-eta/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-eta/</guid>
      <description>Under every spatial question in this system there is one graph. Intersections are nodes, road segments are edges, and here is the part people skip: the weight on an edge is not how long the road is. I</description>
    </item>
    <item>
      <title>Payments: charging exactly once over a network that loses answers</title>
      <link>https://chalkbrain.com/videos/ub-payments/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-payments/</guid>
      <description>Everywhere else in this system, being slightly wrong is fine. A stale location, an optimistic arrival time, a price from four seconds ago. Here, being slightly wrong means a stranger was charged twice</description>
    </item>
    <item>
      <title>The trip state machine: a ride that survives the server running it</title>
      <link>https://chalkbrain.com/videos/ub-trip-state/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-trip-state/</guid>
      <description>Everything else in this system answers in milliseconds. A trip does not. It is requested, matched, driven and paid over the better part of an hour, and two different people are sending it events the w</description>
    </item>
    <item>
      <title>Surge pricing: the control loop that clears a market in real time</title>
      <link>https://chalkbrain.com/videos/ub-surge/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-surge/</guid>
      <description>A fare is mostly fixed. A base amount, a rate per minute, a rate per kilometre, some fees. None of those can move while you are standing on the street. Exactly one term in that formula is allowed to c</description>
    </item>
    <item>
      <title>Dispatch: why waiting one second finds a better driver</title>
      <link>https://chalkbrain.com/videos/ub-dispatch/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-dispatch/</guid>
      <description>The index just handed dispatch forty drivers near this rider. Now the hard part. Exactly one of them gets this trip. That choice has to be good, it has to happen in seconds, and it must never, ever be</description>
    </item>
    <item>
      <title>Geospatial indexing: how a million pings a second answer &apos;who is nearby&apos;</title>
      <link>https://chalkbrain.com/videos/ub-geo-index/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-geo-index/</guid>
      <description>This one subsystem does two incompatible things at once. It absorbs more than a million location writes every second, and it answers, in milliseconds, which drivers are within two kilometres of a poin</description>
    </item>
    <item>
      <title>Uber architecture, end to end: a marketplace drawn on a map</title>
      <link>https://chalkbrain.com/videos/ub-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ub-map/</guid>
      <description>Five million drivers are pushing their location every four seconds. Somewhere a rider taps a button, and this system has under a second to answer two questions: who is near me, and what does this cost</description>
    </item>
    <item>
      <title>Interview: HTML, CSS and the fundamentals round</title>
      <link>https://chalkbrain.com/videos/iv-web-foundations/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-web-foundations/</guid>
      <description>The first twenty minutes are the easy questions. What is a div. What is the box model. What does four oh three mean. Easy to answer badly. A one word answer is correct, and it reads as someone who has</description>
    </item>
    <item>
      <title>React interview: the coding round</title>
      <link>https://chalkbrain.com/videos/iv-react-build/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-react-build/</guid>
      <description>A React coding round is almost always three things. Build a form. Fetch something and show it. And render a tree. Everything else is a follow up question about those three. This video writes all three</description>
    </item>
    <item>
      <title>React interview: hooks, effects and re-renders</title>
      <link>https://chalkbrain.com/videos/iv-react-hooks/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-react-hooks/</guid>
      <description>React hooks is where a front end interview catches people. Not because the ideas are hard. Because the questions are about behaviour, not syntax. Why did this counter stop at one. Why does this effect</description>
    </item>
    <item>
      <title>React interview: how React actually works</title>
      <link>https://chalkbrain.com/videos/iv-react-core/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-react-core/</guid>
      <description>Every React interview opens the same way. What is React, and why does it exist. The answer they want is not a library for building components. It is a different way of changing a screen from the one t</description>
    </item>
    <item>
      <title>JavaScript interview: events, storage and the browser</title>
      <link>https://chalkbrain.com/videos/iv-js-browser/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-js-browser/</guid>
      <description>The browser half of the interview is where most people lose points. Not because it is hard, but because the answers are one sentence deep. This is that half, in order. How a page gets drawn. How an ev</description>
    </item>
    <item>
      <title>JavaScript interview: the event loop, promises and async await</title>
      <link>https://chalkbrain.com/videos/iv-js-async/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-js-async/</guid>
      <description>Two days before a JavaScript interview, this is the area you get asked about. Not closures. The event loop, promises, async await. It is the part you cannot fake. They ask what this prints, and you ei</description>
    </item>
    <item>
      <title>JavaScript interview: forty output puzzles, answered</title>
      <link>https://chalkbrain.com/videos/iv-output-puzzles/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-output-puzzles/</guid>
      <description>Forty questions. Each one is a few lines of JavaScript and one question. What does this log. The code appears, you get a moment to answer, then the real output lands. Green means you predicted it. Red</description>
    </item>
    <item>
      <title>JavaScript interview: types, coercion and equality</title>
      <link>https://chalkbrain.com/videos/iv-js-types/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-js-types/</guid>
      <description>Two days from an interview, and this question opens most of them. How many types does JavaScript have. Eight. Seven primitives and one object type. Say the number first, then the list. What is graded </description>
    </item>
    <item>
      <title>JavaScript interview: scope, hoisting and this</title>
      <link>https://chalkbrain.com/videos/iv-js-engine/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/iv-js-engine/</guid>
      <description>Here is the first thing an interviewer will hand you. A function that logs two variables before either is declared. One log prints undefined. The other throws. Same function, two lines apart. That gap</description>
    </item>
    <item>
      <title>Bell&apos;s theorem: the sixteen strategies that all fall short</title>
      <link>https://chalkbrain.com/videos/mb-spooky-action/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-spooky-action/</guid>
      <description>One event makes two particles. Send them as far apart as you like — different buildings, different continents, in principle different star systems. Measure one, and you get a completely random answer.</description>
    </item>
    <item>
      <title>The moon illusion: the sky&apos;s biggest thing is the same size twice</title>
      <link>https://chalkbrain.com/videos/mb-moon-illusion/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-moon-illusion/</guid>
      <description>You have seen it. A full moon sitting on the horizon, enormous, far too big to be the same moon that is a small pale disc overhead. People describe it as twice the size. Photograph both, on the same n</description>
    </item>
    <item>
      <title>Emergence: three local rules and no leader anywhere</title>
      <link>https://chalkbrain.com/videos/mb-emergence/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-emergence/</guid>
      <description>Watch this flock turn. Every bird changes direction at almost the same instant, and the shape holds. So which one decided? Which bird is at the front, calling it? There is no such bird. Nothing in thi</description>
    </item>
    <item>
      <title>Rayleigh scattering: the sky is a detour, not a paint</title>
      <link>https://chalkbrain.com/videos/mb-sky-blue/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-sky-blue/</guid>
      <description>The sky has no colour of its own. It is not the ocean, and it is not the air being blue. It is sunlight taking detours. White light arrives carrying every wavelength at once, and it meets air molecule</description>
    </item>
    <item>
      <title>Braess&apos;s paradox: the road that slows everyone down</title>
      <link>https://chalkbrain.com/videos/mb-braess/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-braess/</guid>
      <description>A city builds one new road. No extra cars. No roadworks. And every single driver&apos;s journey gets longer. Sixty five minutes before it opened. Eighty minutes after. Nobody made a mistake, nobody drove b</description>
    </item>
    <item>
      <title>Handedness: a mirror does not flip left and right</title>
      <link>https://chalkbrain.com/videos/mb-mirror/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-mirror/</guid>
      <description>Raise your right hand in front of a mirror. Watch which hand your reflection raises. Here you are from above, and here is your double, and the marked hand is on the same side of the room in both. Noth</description>
    </item>
    <item>
      <title>Lookback time: the night sky is a time machine</title>
      <link>https://chalkbrain.com/videos/mb-night-sky/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-night-sky/</guid>
      <description>Look up tonight and you are not seeing the sky. You are seeing a stack of old photographs, taken at different moments, printed on top of each other. Light is quick — three hundred thousand kilometres </description>
    </item>
    <item>
      <title>Time dilation: the clock in orbit runs fast</title>
      <link>https://chalkbrain.com/videos/mb-gps-relativity/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-gps-relativity/</guid>
      <description>Your phone does not know where it is. It works it out by listening. Every satellite overhead is broadcasting one thing, over and over: the time on my clock, right now. Your phone compares when those a</description>
    </item>
    <item>
      <title>The folding limit: paper runs out of length, not strength</title>
      <link>https://chalkbrain.com/videos/mb-seven-folds/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-seven-folds/</guid>
      <description>You have heard that paper cannot be folded more than seven times. Try it. Around the sixth or seventh fold the sheet simply stops. Everyone says the paper got too strong. That is not what happened. Th</description>
    </item>
    <item>
      <title>The confidence curve: the chart everyone quotes was never measured</title>
      <link>https://chalkbrain.com/videos/mb-dunning-kruger/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-dunning-kruger/</guid>
      <description>You have seen this curve. A spike of confidence called Mount Stupid, a crash into the valley of despair, a long climb back up. It is on a thousand slides. It is not in the paper. Nobody ever measured </description>
    </item>
    <item>
      <title>Compound interest: the ten years you cannot buy back</title>
      <link>https://chalkbrain.com/videos/mb-compound-interest/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-compound-interest/</guid>
      <description>Two people, one illustrative rate, round numbers all the way through. The first adds a thousand a year for ten years, then stops forever. The second starts ten years later and never stops — thirty pay</description>
    </item>
    <item>
      <title>The Fermi paradox: the galaxy should be full</title>
      <link>https://chalkbrain.com/videos/mb-fermi/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-fermi/</guid>
      <description>The galaxy has a hundred billion stars, and it has been here for thirteen and a half billion years. Nearly every one of those stars has planets. And in all that time, in all that room, nobody has call</description>
    </item>
    <item>
      <title>Emptiness: an atom is a marble in a stadium</title>
      <link>https://chalkbrain.com/videos/mb-empty-space/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-empty-space/</guid>
      <description>Hold up your hand. It looks solid. It feels solid. It is almost entirely nothing. Take one atom of hydrogen: a nucleus at the middle, one electron out at the edge. The gap between them is about sixty </description>
    </item>
    <item>
      <title>Fractal dimension: a coastline has no length</title>
      <link>https://chalkbrain.com/videos/mb-coastline/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-coastline/</guid>
      <description>How long is the coast of Britain? That sounds like a fact — a number you could look up in an atlas. It is not. There is no such number. And the reason is the strangest thing I know about measuring any</description>
    </item>
    <item>
      <title>The Monty Hall problem: why switching doors wins two times in three</title>
      <link>https://chalkbrain.com/videos/mb-monty-hall/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-monty-hall/</guid>
      <description>Three doors. One car, two goats. You pick door one. Now the host, who knows exactly what is behind all three, opens door three and shows you a goat. He offers you the switch. Take it. Switching wins t</description>
    </item>
    <item>
      <title>Benford&apos;s law: why real numbers start with 1 too often</title>
      <link>https://chalkbrain.com/videos/mb-benford/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-benford/</guid>
      <description>Take a pile of real numbers — river lengths, city populations, the totals on a year of invoices — and look only at the first digit. You would expect each of the nine to lead about eleven percent of th</description>
    </item>
    <item>
      <title>Simpson&apos;s paradox: the statistic that reverses itself</title>
      <link>https://chalkbrain.com/videos/mb-simpsons-paradox/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-simpsons-paradox/</guid>
      <description>Treatment A beat treatment B on the small stones. Treatment A beat treatment B on the large stones. There are only two groups, and every patient is in one of them. Add the two groups together and trea</description>
    </item>
    <item>
      <title>Why time speeds up as you age: the shrinking slice</title>
      <link>https://chalkbrain.com/videos/mb-time-speeds-up/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-time-speeds-up/</guid>
      <description>A summer when you were eight lasted forever. A year at thirty five is gone before you finish noticing it started. Same three hundred and sixty five days. Same planet, same orbit. So what actually chan</description>
    </item>
    <item>
      <title>Some infinities are bigger than others: Cantor&apos;s diagonal argument</title>
      <link>https://chalkbrain.com/videos/mb-bigger-infinities/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-bigger-infinities/</guid>
      <description>Count the whole numbers: one, two, three, forever. Now count only the even ones. It feels like you just threw half of them away. But pair them off. One with two, two with four, three with six, and not</description>
    </item>
    <item>
      <title>Event-driven architecture: the ledger everyone reads</title>
      <link>https://chalkbrain.com/videos/sd-ledger-everyone-reads/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-ledger-everyone-reads/</guid>
      <description>Last time you made a consumer safe to receive the same message twice. The chai stall&apos;s order slip rail was still one producer and one kitchen, and a slip torn off that rail is gone the moment somebody</description>
    </item>
    <item>
      <title>Distributed transactions: the two ledgers must agree</title>
      <link>https://chalkbrain.com/videos/sd-two-ledgers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-two-ledgers/</guid>
      <description>Last time a majority decided who holds the pen. One leader, one book, every write landing in a single place. Now the money has to leave that book and land in another one, on a different machine. The c</description>
    </item>
    <item>
      <title>Discord architecture, end to end: one shape, ten years of new engines</title>
      <link>https://chalkbrain.com/videos/dc-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dc-map/</guid>
      <description>One Discord server can hold ten million members, and a football match can spike its traffic nine times in a single night. The same company also keeps every message anyone has ever sent, forever. Those</description>
    </item>
    <item>
      <title>Consensus: who holds the pen</title>
      <link>https://chalkbrain.com/videos/sd-who-holds-pen/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-who-holds-pen/</guid>
      <description>The bouncer at the door could decide alone — one machine, one counter, one instant no. But the chai stall&apos;s ledger has only one pen, and four episodes back we watched the clerk holding it collapse. Wh</description>
    </item>
    <item>
      <title>Choosing a datastore: the workload picks the book</title>
      <link>https://chalkbrain.com/videos/sd-right-book/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-right-book/</guid>
      <description>Back at the stall there was one book, and every number in the shop went into it. A real system asks fourteen different questions before lunch, and no single book answers all of them well. So the usefu</description>
    </item>
    <item>
      <title>Caching properly: write strategies, stampedes, and invalidation</title>
      <link>https://chalkbrain.com/videos/sd-slate-properly/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-slate-properly/</guid>
      <description>Back at the stall we chalked a slate and called it caching. That version was a toy. Hit rate, a lifetime on each line, and erase whatever nobody asks for. It skipped three questions, and those are the</description>
    </item>
    <item>
      <title>Auth, end to end: passwords, tokens, OAuth, OIDC, SSO and SAML</title>
      <link>https://chalkbrain.com/videos/se-auth/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/se-auth/</guid>
      <description>Every login you have ever done answers two completely different questions. Who are you? And what are you allowed to do? Authentication, and authorization. Almost every real data leak is a system that </description>
    </item>
    <item>
      <title>API design: the contract other people&apos;s code stands on</title>
      <link>https://chalkbrain.com/videos/sd-contract-counter/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-contract-counter/</guid>
      <description>At the stall a deal was a sentence across the counter and nobody wrote it down. A published interface is the opposite of that. It is a promise in writing to callers you will never meet, including code</description>
    </item>
    <item>
      <title>Segment trees and ordered sets: range queries that keep up with updates</title>
      <link>https://chalkbrain.com/videos/dsa-segment-tree/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-segment-tree/</guid>
      <description>Here is a row of numbers. Eight of them. Somebody asks for the total between position two and position five. Then somebody changes position four. Then they ask again. Two operations, forever, interlea</description>
    </item>
    <item>
      <title>Graphs: the structure most problems turn out to be</title>
      <link>https://chalkbrain.com/videos/dsa-graphs/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-graphs/</guid>
      <description>Pin some dots on a wall and draw string between them. That is a graph. The dots are vertices. The strings are edges. That is the entire definition, and it is why graphs turn up in problems that look n</description>
    </item>
    <item>
      <title>Dynamic programming: recursion with the answers written down</title>
      <link>https://chalkbrain.com/videos/dsa-dp/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-dp/</guid>
      <description>Here is a page of scratch work with every answer you have already computed written down the side. That is dynamic programming. It is not a clever trick and it is not a data structure. It is recursion,</description>
    </item>
    <item>
      <title>Greedy: when the locally best choice is provably the globally best</title>
      <link>https://chalkbrain.com/videos/dsa-greedy/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-greedy/</guid>
      <description>A greedy algorithm makes one promise. At every step, take the option that looks best right now, and never reconsider it. Picture a walker who only ever steps uphill. They always reach a hilltop. They </description>
    </item>
    <item>
      <title>Tries: the tree where the path is the key</title>
      <link>https://chalkbrain.com/videos/dsa-trie/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-trie/</guid>
      <description>Down the edge of a paper dictionary there are thumb tabs, and every word behind a tab starts with the same letter. Now cut that idea finer. One tab per letter, then a tab inside that tab, all the way </description>
    </item>
    <item>
      <title>Priority queues and heaps: the smallest thing, fast</title>
      <link>https://chalkbrain.com/videos/dsa-heap/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-heap/</guid>
      <description>A triage desk at a hospital. People arrive in no particular order, and every time a room opens you take the most urgent one waiting. Nobody sorts the whole room. You only ever need one fact: which is </description>
    </item>
    <item>
      <title>Binary trees and binary search trees: recursion with a shape</title>
      <link>https://chalkbrain.com/videos/dsa-trees/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-trees/</guid>
      <description>Look at a tournament bracket. The final sits at the top, and underneath it are two smaller brackets that look exactly like the whole thing. That is the entire definition of a binary tree. A tree is ei</description>
    </item>
    <item>
      <title>Stacks, queues and deques: order as a data structure</title>
      <link>https://chalkbrain.com/videos/dsa-stack-queue-deque/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-stack-queue-deque/</guid>
      <description>Picture a stack of plates by the sink. You add to the top, you take from the top, and the plate you washed last is the one you dry first. That is a stack. Last in, first out, and nothing else is allow</description>
    </item>
    <item>
      <title>Linked lists: pointers as a data structure</title>
      <link>https://chalkbrain.com/videos/dsa-linked-list/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-linked-list/</guid>
      <description>Picture a train. Each carriage carries cargo, and each carriage is coupled to exactly one carriage behind it. That is a linked list. A node holds a value and the address of the next node, and one poin</description>
    </item>
    <item>
      <title>Two pointers: one pass instead of two loops</title>
      <link>https://chalkbrain.com/videos/dsa-two-pointers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-two-pointers/</guid>
      <description>Here is a sorted row of numbers, and a question. Which two of them add to sixteen? The obvious answer is two nested loops, checking every pair. That is order n squared. There is a way to answer it in </description>
    </item>
    <item>
      <title>Recursion and backtracking: trusting the smaller problem</title>
      <link>https://chalkbrain.com/videos/dsa-recursion-backtracking/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-recursion-backtracking/</guid>
      <description>Stand in a queue and ask how many people are ahead of you. You do not count them. You ask the person in front, and add one. The person at the very front answers zero. That is recursion, and it is alre</description>
    </item>
    <item>
      <title>Number theory basics: divisibility, primes, and modular arithmetic</title>
      <link>https://chalkbrain.com/videos/dsa-number-theory/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-number-theory/</guid>
      <description>Take a strip of length twelve and lay tiles of equal length along it. Tiles of length three fit exactly, four of them. Tiles of length five do not, they leave two cells over. That is all divisibility </description>
    </item>
    <item>
      <title>Bit manipulation: the integer as an array of booleans</title>
      <link>https://chalkbrain.com/videos/dsa-bit-manipulation/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-bit-manipulation/</guid>
      <description>Picture a wall of thirty two light switches. That is an integer: thirty two independent on or off flags, and every arithmetic operator you know is just a rule for flipping them. Bit manipulation is wh</description>
    </item>
    <item>
      <title>Prefix sums, sliding windows, and contribution counting</title>
      <link>https://chalkbrain.com/videos/dsa-prefix-window/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-prefix-window/</guid>
      <description>An index at the back of a book costs an afternoon to build and nothing at all to use. That is the whole of this video. Every technique here pays a fixed price once, up front, so that a question you wi</description>
    </item>
    <item>
      <title>Sets and maps: the hash table, and the tree that keeps order</title>
      <link>https://chalkbrain.com/videos/dsa-sets-maps/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-sets-maps/</guid>
      <description>A row of numbered boxes. Box zero, box one, box two. Give an array a position and it hands you the value back instantly, because the address is arithmetic. Now the question this whole video answers. W</description>
    </item>
    <item>
      <title>Time and space complexity: counting without counting</title>
      <link>https://chalkbrain.com/videos/dsa-complexity/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-complexity/</guid>
      <description>Here is a stopwatch and two laptops. The same sorting program takes four seconds on one and one second on the other. So which number goes in the textbook? Neither. Seconds measure the machine. We want</description>
    </item>
    <item>
      <title>Pointers and references: pass by value, by reference, and by address</title>
      <link>https://chalkbrain.com/videos/dsa-pointers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-pointers/</guid>
      <description>Memory is one long row of numbered boxes. Every box has a number, and that number is its address. A variable is only a name your compiler hands to one of those boxes. By the time the program is runnin</description>
    </item>
    <item>
      <title>Sorting and searching: the two operations everything else is built on</title>
      <link>https://chalkbrain.com/videos/dsa-sorting-searching/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-sorting-searching/</guid>
      <description>Here is a drawer with ten thousand receipts in it, in no order at all. Ask it three questions. Does this one exist? Are there duplicates? Group these by month. Every answer means touching every receip</description>
    </item>
    <item>
      <title>Strings: an array with opinions</title>
      <link>https://chalkbrain.com/videos/dsa-strings/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-strings/</guid>
      <description>A string is an array. That is the whole starting point. In memory, hello is five numbers sitting next to each other, and the letter at index two is one addition away. Everything easy about strings com</description>
    </item>
    <item>
      <title>Arrays and 2D arrays: contiguous memory, and why it is fast</title>
      <link>https://chalkbrain.com/videos/dsa-arrays/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-arrays/</guid>
      <description>Picture a street of identical houses, numbered from zero, with no gaps between them. That is an array. One block of memory, every element exactly the same size, laid end to end. Almost everything else</description>
    </item>
    <item>
      <title>Loops and pattern printing: the discipline before the algorithms</title>
      <link>https://chalkbrain.com/videos/dsa-loops-patterns/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-loops-patterns/</guid>
      <description>A loop is the first thing you write and the last thing you stop getting wrong. Strip it down and it is exactly three decisions. Where it starts. When it stops. And what changes on every single step. G</description>
    </item>
    <item>
      <title>C++ for problem solving: enough of the language to compete</title>
      <link>https://chalkbrain.com/videos/dsa-cpp-intro/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-cpp-intro/</guid>
      <description>Every competitive problem comes with a time limit printed at the top of the page. Often two seconds. Your solution is correct or it is not, and then it is fast enough or it is not. C plus plus is chos</description>
    </item>
    <item>
      <title>Sandboxing and Firecracker: running code you do not trust</title>
      <link>https://chalkbrain.com/videos/do-sandboxing/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-sandboxing/</guid>
      <description>Someone hands you code and asks you to run it. A pull request from a stranger. A cell in a shared notebook. A function a customer uploaded. Something a model just generated. You have to execute it on </description>
    </item>
    <item>
      <title>CDNs and object storage: bytes near the user, bytes that never move</title>
      <link>https://chalkbrain.com/videos/do-cdn-object-storage/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-cdn-object-storage/</guid>
      <description>Start with what it is not. Object storage is not a disc, and it is not a filesystem. There are no directories, no file handles, no seeking to byte four thousand. There is a bucket, a key, and a whole </description>
    </item>
    <item>
      <title>Infrastructure as code: the state file is the whole story</title>
      <link>https://chalkbrain.com/videos/do-iac/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-iac/</guid>
      <description>Somebody opened the cloud console at two in the morning, ticked one box, and the outage stopped. Eight months later nobody can say which box, or why, and staging does not have it ticked. That is click</description>
    </item>
    <item>
      <title>Monitoring and observability: knowing what is happening, and why</title>
      <link>https://chalkbrain.com/videos/do-observability/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-observability/</guid>
      <description>Every dashboard on the wall is green. The graphs are flat, the checks pass, and the support queue is filling with people who cannot check out. Nothing is broken, according to anything you thought to m</description>
    </item>
    <item>
      <title>CI/CD: the pipeline as the only path to production</title>
      <link>https://chalkbrain.com/videos/do-cicd/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-cicd/</guid>
      <description>There is a lamp on the wall in some engineering offices. Green means the main branch builds and passes its tests. Red means it does not, and nobody starts anything new until it is green again. That la</description>
    </item>
    <item>
      <title>Kubernetes, part two: scheduling, storage, and what breaks at three in the morning</title>
      <link>https://chalkbrain.com/videos/do-kubernetes-2/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-kubernetes-2/</guid>
      <description>A node has a fixed amount of room, and the scheduler packs pods onto it by reading a label on the box, never by weighing the box. That label is two numbers per container. Requests, and limits. Almost </description>
    </item>
    <item>
      <title>Kubernetes, part one: the objects, and the loop that reconciles them</title>
      <link>https://chalkbrain.com/videos/do-kubernetes-1/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-kubernetes-1/</guid>
      <description>A thermostat has one job. You set a number, and it keeps working until the room matches it. You never tell it to switch the heater on. Kubernetes is that idea applied to running software, and everythi</description>
    </item>
    <item>
      <title>Docker: building an image you would trust in production</title>
      <link>https://chalkbrain.com/videos/do-docker/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-docker/</guid>
      <description>Think of a ticket window. You slide a request through the slot, and the workshop behind it does the work. That is Docker. The command you type is a client. It posts to a daemon over a local socket, an</description>
    </item>
    <item>
      <title>Containers: namespaces, cgroups, and the layered filesystem</title>
      <link>https://chalkbrain.com/videos/do-containers/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-containers/</guid>
      <description>A virtual machine boots its own kernel. A container does not. It is one Linux process, running on the host&apos;s kernel, that has been lied to about what it can see and how much it can use. That is the wh</description>
    </item>
    <item>
      <title>Autoscaling groups: capacity that follows demand</title>
      <link>https://chalkbrain.com/videos/do-autoscaling/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-autoscaling/</guid>
      <description>Traffic is not flat. It has a morning ramp, an evening peak, and a quiet middle of the night. Fixed capacity gives you two bad choices. Buy for the peak and pay for idle machines all day, or buy for t</description>
    </item>
    <item>
      <title>Certificates: what TLS is proving, and who is vouching</title>
      <link>https://chalkbrain.com/videos/do-certificates/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-certificates/</guid>
      <description>A padlock in the address bar means the traffic is encrypted. It does not mean you are talking to who you think you are. Encryption without identity is a private conversation with a stranger. Nobody ca</description>
    </item>
    <item>
      <title>Process management and reverse proxies: keeping it running, and in front of it</title>
      <link>https://chalkbrain.com/videos/do-processes-proxies/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-processes-proxies/</guid>
      <description>Two things stand between your code and a working service. Something that keeps the process running when it dies. And something that stands in front of it, so the outside world only ever sees one door.</description>
    </item>
    <item>
      <title>VMs and bare metal: what a machine actually is</title>
      <link>https://chalkbrain.com/videos/do-vms-baremetal/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-vms-baremetal/</guid>
      <description>Take the lid off a server and there is no cloud in there. There are sockets holding processors, sticks of memory, a network card, and drives. Everything you will ever run is that hardware, shared out </description>
    </item>
    <item>
      <title>The terminal: the shell, and the small number of ideas it runs on</title>
      <link>https://chalkbrain.com/videos/do-bash-terminal/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/do-bash-terminal/</guid>
      <description>That blinking prompt is a program. Not the operating system, and not the window it is drawn in. It is a program called a shell, whose whole job is to read the line you type, work out what it means, an</description>
    </item>
    <item>
      <title>Queues and pub-sub: work that outlives the request</title>
      <link>https://chalkbrain.com/videos/wd-queues-pubsub/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-queues-pubsub/</guid>
      <description>You click sign up. The server creates your account, then sends a welcome email, then generates an avatar thumbnail, then pushes a record into the sales system. Only after all four does the page come b</description>
    </item>
    <item>
      <title>WebSockets and WebRTC: connections that stay open</title>
      <link>https://chalkbrain.com/videos/wd-websockets-webrtc/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-websockets-webrtc/</guid>
      <description>The web was built on one shape. You ask, the server answers, and it is over. Nothing the server learns afterwards can reach you. A price changed, a message arrived, a job finished, and your page has n</description>
    </item>
    <item>
      <title>Next.js: rendering on the server, and the boundary that decides everything</title>
      <link>https://chalkbrain.com/videos/wd-nextjs/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-nextjs/</guid>
      <description>A web page has to become H T M L somewhere, and there are only three places that can happen. On a build machine, before anyone asks. On a server, the moment someone asks. Or in the browser, after an e</description>
    </item>
    <item>
      <title>Tailwind: utility classes, and the design system underneath</title>
      <link>https://chalkbrain.com/videos/wd-tailwind/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-tailwind/</guid>
      <description>Before you write a single style, C S S asks you for a name. What do you call this? Card header title. Nav item active. You are inventing a private vocabulary that nobody else knows, for a thing that a</description>
    </item>
    <item>
      <title>React: the render, and the state that causes it</title>
      <link>https://chalkbrain.com/videos/wd-react/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-react/</guid>
      <description>There are two ways to change what is on a screen. Find the part that is wrong and edit it in place. Or describe the whole screen for the new moment and let something else work out the difference. Reac</description>
    </item>
    <item>
      <title>Bun: a runtime, a bundler and a package manager in one binary</title>
      <link>https://chalkbrain.com/videos/wd-bun/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-bun/</guid>
      <description>Start a Node project and count the programs you now depend on. Node itself. N P M. The TypeScript compiler. A test runner. A bundler. Five separate tools that all have to agree with each other. Bun&apos;s </description>
    </item>
    <item>
      <title>Turborepo and the monorepo: one repository, many packages</title>
      <link>https://chalkbrain.com/videos/wd-turborepo/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-turborepo/</guid>
      <description>Two repositories. One shared type definition, copied into both. Someone edits it in one place, and the other keeps compiling happily against the old shape until production disagrees. A monorepo is the</description>
    </item>
    <item>
      <title>TypeScript: types as a proof about a program you already wrote</title>
      <link>https://chalkbrain.com/videos/wd-typescript/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-typescript/</guid>
      <description>A proofreader marks up a manuscript in red. The printed book carries none of those marks. TypeScript is that proofreader. It reads your JavaScript, argues with you about it, and then deletes every sin</description>
    </item>
    <item>
      <title>Postgres with Prisma or Drizzle: relations, and the queries an ORM hides</title>
      <link>https://chalkbrain.com/videos/wd-postgres-orm/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-postgres-orm/</guid>
      <description>Every new project asks the same question. Which database? For almost everything with users, orders, and things that belong to other things, the answer is still a relational one. Postgres. And the reas</description>
    </item>
    <item>
      <title>Databases and MongoDB: documents, and when they fit</title>
      <link>https://chalkbrain.com/videos/wd-databases-mongo/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-databases-mongo/</guid>
      <description>Every data model answers the same two questions. What do you read together in one go? And how often does that thing change? Get those two answers right and the storage engine almost picks itself. Get </description>
    </item>
    <item>
      <title>HTTP and Express: what a request actually is</title>
      <link>https://chalkbrain.com/videos/wd-http-express/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-http-express/</guid>
      <description>Open a connection to a web server, type a few lines of text, and press enter twice. That is a request. H T T P is not a mystery format. It is plain text with a shape, and the shape is the same in both</description>
    </item>
    <item>
      <title>Node versus the browser: same language, different machine</title>
      <link>https://chalkbrain.com/videos/wd-node-vs-browser/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-node-vs-browser/</guid>
      <description>An engine on a workshop bench does nothing. No wheels, no fuel line, no steering. V eight is that engine. It runs the language and nothing more. Everything you actually use, a button, a file, a socket</description>
    </item>
    <item>
      <title>Async JavaScript: the event loop, promises, and the order things really run</title>
      <link>https://chalkbrain.com/videos/wd-async-js/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-async-js/</guid>
      <description>Open any web page and everything you write runs on a single thread. One thing at a time, in order, with no help. And yet a page can wait on the network, animate, and answer a click at once. The event </description>
    </item>
    <item>
      <title>JavaScript architecture: how a codebase stays understandable</title>
      <link>https://chalkbrain.com/videos/wd-js-architecture/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-js-architecture/</guid>
      <description>Here is the one image for this chapter. A light switch on a wall. You see two positions, up and down. You do not see the wiring, the breaker, or the gauge of the cable. A module is that switch, and it</description>
    </item>
    <item>
      <title>JavaScript basics: values, scope, and the parts that surprise people</title>
      <link>https://chalkbrain.com/videos/wd-js-basics/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-js-basics/</guid>
      <description>Think of a variable as a label, not a box. Copy a number into a second label and change it, and the first is untouched. Copy an object and change it, and the first changed too. Same syntax, opposite r</description>
    </item>
    <item>
      <title>HTML and CSS: the document, and the box model that lays it out</title>
      <link>https://chalkbrain.com/videos/wd-html-css/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wd-html-css/</guid>
      <description>Open any web page and what the browser actually holds is not a page. It is a tree. One root element, branches nested inside branches, and every piece of text hanging off one of them. Everything else y</description>
    </item>
    <item>
      <title>Voice, image and video: diffusion and the other modalities</title>
      <link>https://chalkbrain.com/videos/ai-multimodal/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-multimodal/</guid>
      <description>A photograph, a voice note, and a paragraph of text. Three completely different files. Three completely different shapes on disk. And one model answers questions about all three of them. That is not t</description>
    </item>
    <item>
      <title>Mixture of experts, reasoning, and test-time compute</title>
      <link>https://chalkbrain.com/videos/ai-frontier/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-frontier/</guid>
      <description>Plot a language model&apos;s loss against the compute spent training it, on log axes, and you do not get a cloud. You get a straight line. That one finding organised the last few years, because a straight </description>
    </item>
    <item>
      <title>Evals: how you know an agent is good</title>
      <link>https://chalkbrain.com/videos/ai-evals/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-evals/</guid>
      <description>One case is failing on your screen. You reword the prompt, run it again, and it passes. That feels like progress. It is one data point, chosen by you, graded by you, on the example you happened to be </description>
    </item>
    <item>
      <title>RL fine-tuning: reward models, RLHF and DPO</title>
      <link>https://chalkbrain.com/videos/ai-rl-finetuning/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-rl-finetuning/</guid>
      <description>Picture an apprentice copying a master&apos;s brushstrokes, line for line. That is supervised fine tuning. You show the model a prompt and one written answer, and it learns to reproduce it. Copying works, </description>
    </item>
    <item>
      <title>Fine-tuning a model for one real use case</title>
      <link>https://chalkbrain.com/videos/ai-finetune-build/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-finetune-build/</guid>
      <description>A lift engineer finishes a job and types a note on her phone. Somewhere downstream that note has to become four boxes on a parts order: part code, quantity, urgency, site. Four boxes, filled the same </description>
    </item>
    <item>
      <title>What fine-tuning actually is: prompting, retrieval, LoRA and the order to try them in</title>
      <link>https://chalkbrain.com/videos/ai-finetuning/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-finetuning/</guid>
      <description>Three dials sit on the desk in front of you. Prompting. Retrieval. Fine tuning. People reach for the third one first, and almost always for a job the first two would have done. So start by naming exac</description>
    </item>
    <item>
      <title>Computer use and multimodal agents</title>
      <link>https://chalkbrain.com/videos/ai-computer-use/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-computer-use/</guid>
      <description>Here is the task, and it does not change for the next ten minutes. There is a receipt sitting in the downloads folder. Open it, type its total into the expenses app, attach the file, and submit it for</description>
    </item>
    <item>
      <title>MCP: one protocol for every tool</title>
      <link>https://chalkbrain.com/videos/ai-mcp/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-mcp/</guid>
      <description>Open the back of any A I application and you find a drawer of adapters. One for the file system. One for the ticket tracker. One for the database. Every one hand built, every one different, and none o</description>
    </item>
    <item>
      <title>Memory: what an agent should remember, and where</title>
      <link>https://chalkbrain.com/videos/ai-memory/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-memory/</guid>
      <description>At the end of a session, a whiteboard gets wiped. Everything the agent knew is gone, and the next conversation starts from nothing. That is the default. Memory is the decision to keep something, on pu</description>
    </item>
    <item>
      <title>Agent frameworks: what they add and what they hide</title>
      <link>https://chalkbrain.com/videos/ai-agent-frameworks/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-agent-frameworks/</guid>
      <description>Every agent framework you have ever installed is the same loop you already wrote, with things bolted on. Call the model. Read what it asked for. Run the tool. Put the result back. Go round again. Say </description>
    </item>
    <item>
      <title>Agents from first principles: build the loop yourself</title>
      <link>https://chalkbrain.com/videos/ai-agents/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-agents/</guid>
      <description>A pocket calculator answers once and then stops. A person holding one keeps going: press, read, press again, until the number is right. That second thing is an agent. Not a smarter model. A model put </description>
    </item>
    <item>
      <title>Context engineering: the window is a budget</title>
      <link>https://chalkbrain.com/videos/ai-context/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-context/</guid>
      <description>Picture one spotlight on a dark stage. It has a fixed amount of light. Every extra thing you drag into the beam gets a thinner share of it. A context window works the same way. It is a budget you spen</description>
    </item>
    <item>
      <title>Vector databases and RAG, end to end</title>
      <link>https://chalkbrain.com/videos/ai-rag/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-rag/</guid>
      <description>A model ships the way a printed encyclopaedia ships. Every fact it has was set on the day it went to press, and the press has already run. The weights are frozen numbers. Nothing that happened after t</description>
    </item>
    <item>
      <title>Instrumenting LLM calls: traces, spans and what to log</title>
      <link>https://chalkbrain.com/videos/ai-observability/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-observability/</guid>
      <description>Your dashboard is entirely green. Two hundred OK. Ninety milliseconds. Zero errors. And the answer the model just gave a customer was confidently, fluently wrong. Every signal you have says healthy, b</description>
    </item>
    <item>
      <title>Hugging Face end to end: models, datasets, spaces</title>
      <link>https://chalkbrain.com/videos/ai-huggingface/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-huggingface/</guid>
      <description>Start with a filing cabinet where nothing is ever thrown away. That is the Hugging Face Hub underneath. Every model, every dataset, every demo is a git repository. Ordinary version control, holding fi</description>
    </item>
    <item>
      <title>Attention in production: KV cache, MQA, GQA and MLA</title>
      <link>https://chalkbrain.com/videos/ai-attention-industry/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-attention-industry/</guid>
      <description>Here is the thing that decides every design in this video. Training a language model and serving one are not the same problem. Training is bound by arithmetic. Serving is bound by memory. Same weights</description>
    </item>
    <item>
      <title>Attention from scratch: the mechanism that ate the field</title>
      <link>https://chalkbrain.com/videos/ai-attention/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-attention/</guid>
      <description>Read this sentence. The bank was steep and muddy. Now read this one. The bank refused the loan. Same four letters, two unrelated meanings, and nothing inside the word itself told you which one. The ot</description>
    </item>
    <item>
      <title>CNNs: how a machine learned to see</title>
      <link>https://chalkbrain.com/videos/ai-convnets/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-convnets/</guid>
      <description>Here is a photograph, two hundred pixels square, in colour. That is one hundred and twenty thousand numbers. Feed it to an ordinary fully connected layer of a thousand units and you have just asked fo</description>
    </item>
    <item>
      <title>RNNs and LSTMs: the memory that almost worked</title>
      <link>https://chalkbrain.com/videos/ai-sequence-models/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-sequence-models/</guid>
      <description>Three words. Dog bites man. Now the same three words in the other order. Man bites dog. Nothing in the vocabulary changed. Everything in the meaning did. Order is information, and a model that sees a </description>
    </item>
    <item>
      <title>Neural networks end to end, and the PyTorch that runs them</title>
      <link>https://chalkbrain.com/videos/ai-neural-nets/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-neural-nets/</guid>
      <description>Picture a mixing desk. Every input arrives on its own channel, and every channel has a fader that decides how much of it reaches the output. That is a neuron. The faders are called weights, and learni</description>
    </item>
    <item>
      <title>What deep learning actually is: backprop, and why language was hard</title>
      <link>https://chalkbrain.com/videos/ai-deep-learning/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-deep-learning/</guid>
      <description>Here is a program that converts miles to kilometres. One line, one constant, and you knew the constant before you started. Now write one that decides whether a photograph contains a cat. Same shape, s</description>
    </item>
    <item>
      <title>How we got here: from the perceptron to the transformer</title>
      <link>https://chalkbrain.com/videos/ai-history/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-history/</guid>
      <description>Artificial intelligence has meant three completely different things. First, rules that a human wrote down. Then weights that a machine learned from examples. And now scale, applied to one architecture</description>
    </item>
    <item>
      <title>Stripe, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/st-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-everything/</guid>
      <description>One more time, all of it. A card number arrives, the merchant&apos;s server posts one payment intent with one key, the front door dedupes it, the machine takes its first legal hop, fraud scoring waves it t</description>
    </item>
    <item>
      <title>Platform primitives: how one ledger becomes fraud scoring, billing and marketplaces</title>
      <link>https://chalkbrain.com/videos/st-beyond/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-beyond/</guid>
      <description>Stripe ships a whole new financial product in the time a competitor spends rebuilding the plumbing for one. That is not a hiring story. Once you own the ledger, the rails, and the primitives underneat</description>
    </item>
    <item>
      <title>Boring technology, on purpose: the infrastructure bet under a payments company</title>
      <link>https://chalkbrain.com/videos/st-data-infra/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-data-infra/</guid>
      <description>You get a handful of innovation tokens, and you spend them on the one thing that makes your company different. Everything else, you pick boring. For a payments company that is not a preference, it is </description>
    </item>
    <item>
      <title>Exactly-once: the outbox, the retry chain, and reconciliation</title>
      <link>https://chalkbrain.com/videos/st-exactly-once/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-exactly-once/</guid>
      <description>Last episode, one endpoint became safe to retry. But a payment is not one endpoint. It touches fraud, the ledger, balances and notifications, and every wire between them can lose a message or deliver </description>
    </item>
    <item>
      <title>Card network rails: the four-party dance behind one tap</title>
      <link>https://chalkbrain.com/videos/st-rails/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-rails/</guid>
      <description>You tap your card, and a second later the screen says approved. Nothing has been paid. What just happened is a message crossing four separate institutions, in a format designed in the 1980s, and comin</description>
    </item>
    <item>
      <title>The base rate trap: why a 99% accurate positive usually means nothing</title>
      <link>https://chalkbrain.com/videos/mb-base-rate/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-base-rate/</guid>
      <description>A test that is ninety nine percent accurate says you are positive. You are probably fine. Not maybe fine. Around ninety one percent likely to be perfectly well. Same test, same result, and nothing abo</description>
    </item>
    <item>
      <title>Double-entry ledgers: the log a payments company is never allowed to edit</title>
      <link>https://chalkbrain.com/videos/st-ledger/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-ledger/</guid>
      <description>Here is the rule that everything else in this episode obeys. Money is never created, and money is never destroyed. It only ever moves from one account to another. Which means every entry in the book h</description>
    </item>
    <item>
      <title>The money-movement state machine: a payment is not a row you update</title>
      <link>https://chalkbrain.com/videos/st-state-machine/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-state-machine/</guid>
      <description>Your server charges a card. The card succeeds. And then, before it can write down that it succeeded, the process dies. Now nobody in the world can answer the only question that matters: did that custo</description>
    </item>
    <item>
      <title>Idempotency keys: how a retry stops being a second charge</title>
      <link>https://chalkbrain.com/videos/st-idempotency/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-idempotency/</guid>
      <description>You press pay, the spinner turns, and then nothing comes back. Did the charge go through, or did it die on the way? From where you are sitting those two look identical. Last episode I promised you the</description>
    </item>
    <item>
      <title>Slack, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/sl-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-everything/</guid>
      <description>One more time, all of it. You press enter, the nearest edge takes it, the monolith writes it down first, Vitess stores it under the channel, a channel server works out who is subscribed, and their gat</description>
    </item>
    <item>
      <title>Search and ranking: the model that is forbidden to learn</title>
      <link>https://chalkbrain.com/videos/sl-search/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-search/</guid>
      <description>Google search has to reject a trillion documents cheaply, and that pruning is the entire game. Slack searches one workspace. Small, bounded, and yours. It can afford to spend real money thinking about</description>
    </item>
    <item>
      <title>Stripe architecture, end to end: the ledger behind the API call</title>
      <link>https://chalkbrain.com/videos/st-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/st-map/</guid>
      <description>One API call moves money between two strangers&apos; banks, and it must never lose a cent. Here is the thing people get wrong about Stripe: it is not really a payments company. It is a ledger company, with</description>
    </item>
    <item>
      <title>One channel, two owners: how three features broke one database column</title>
      <link>https://chalkbrain.com/videos/sl-two-owners/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-two-owners/</guid>
      <description>Slack&apos;s original design had one column doing three completely different jobs. Where do these rows live. Are you allowed to see them. And who even are you. All three answered by the same word, and it w</description>
    </item>
    <item>
      <title>The birthday paradox: why 23 people is a coin flip</title>
      <link>https://chalkbrain.com/videos/mb-birthday/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-birthday/</guid>
      <description>There are three hundred and sixty five days in a year. So how many people do you need in a room before two of them share a birthday, with a fifty fifty chance? Have a number in your head. It is twenty</description>
    </item>
    <item>
      <title>The shard key that lied: when a correct decision goes wrong on its own</title>
      <link>https://chalkbrain.com/videos/sl-shard-key/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-shard-key/</guid>
      <description>In twenty thirteen Slack picked a shard key. Everything a company owned lived together, found by asking one question: which team? It was the right answer for four years. Then nobody changed it, nothin</description>
    </item>
    <item>
      <title>The monolith that never died: why Slack kept five million lines</title>
      <link>https://chalkbrain.com/videos/sl-monolith/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-monolith/</guid>
      <description>Five million lines, written in twenty fourteen, and it is still the front door of Slack today. Every architecture talk of the last decade said break the monolith up. Slack read the same advice, ran th</description>
    </item>
    <item>
      <title>Fourier: every sound you have ever heard is sine waves stacked</title>
      <link>https://chalkbrain.com/videos/mb-sine-waves/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-sine-waves/</guid>
      <description>Every sound you have ever heard — a chord, a voice, a drum hit — is pure tones stacked on top of each other. Nothing else. And there is a piece of maths that can take any sound apart and hand you the </description>
    </item>
    <item>
      <title>The thundering herd: when everyone reconnects at once</title>
      <link>https://chalkbrain.com/videos/sl-thundering-herd/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-thundering-herd/</guid>
      <description>Opening Slack used to cost one enormous HTTP call. Before you could read a single message, the client asked for the entire workspace: every user, every channel, every membership. Seven megabytes at fo</description>
    </item>
    <item>
      <title>Slack: the message path</title>
      <link>https://chalkbrain.com/videos/sl-message-path/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-message-path/</guid>
      <description>Open Slack and the first thing that happens has nothing to do with messages. Your laptop opens one long-lived socket to a gateway server and leaves it open all day. That server now holds your connecti</description>
    </item>
    <item>
      <title>Slack architecture, end to end</title>
      <link>https://chalkbrain.com/videos/sl-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sl-map/</guid>
      <description>You type a message in a channel with two thousand people in it, and press enter. Half a second later it is on every one of their screens, on four continents, whether their laptop is awake or their pho</description>
    </item>
    <item>
      <title>Rate limiting: the bouncer at the door</title>
      <link>https://chalkbrain.com/videos/sd-bouncer-door/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-bouncer-door/</guid>
      <description>Last time the wire was cut and you had to choose: answer anyway, or refuse to be wrong. This time nothing is broken. One regular at the chai stall is knocking five hundred times a second, and everyone</description>
    </item>
    <item>
      <title>A secret shouted across a room</title>
      <link>https://chalkbrain.com/videos/mb-secret-shouted/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-secret-shouted/</guid>
      <description>Two strangers stand at opposite ends of a crowded room. They have never met, and they cannot whisper. Every single word they say, they have to shout, and the whole room hears it. By the end of this, t</description>
    </item>
    <item>
      <title>CAP: the cut phone line</title>
      <link>https://chalkbrain.com/videos/sd-cut-phone-line/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-cut-phone-line/</guid>
      <description>Splitting the ledger bought you machines. It also bought you the wire between them, and that wire is not a detail. Two branches of the famous chai stall, one book each, kept in step over a phone line.</description>
    </item>
    <item>
      <title>WhatsApp, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/wa-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-everything/</guid>
      <description>All of it, one more time. Your phone holds a socket open, the message is encrypted before it leaves, a registry finds the recipient&apos;s server, the mailbox writes it down, and their phone acknowledges i</description>
    </item>
    <item>
      <title>Two million connections on one server</title>
      <link>https://chalkbrain.com/videos/wa-erlang/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-erlang/</guid>
      <description>Some numbers worth sitting with. Four hundred and fifty million users. Thirty two engineers. And around two million live connections held open on a single server. Those numbers are not a boast, they a</description>
    </item>
    <item>
      <title>End-to-end encryption: why the server cannot read your messages</title>
      <link>https://chalkbrain.com/videos/wa-encryption/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-encryption/</guid>
      <description>The claim is strong enough to be worth checking. The company running the servers cannot read the messages passing through them. Not will not. Cannot. The private keys never leave the two phones having</description>
    </item>
    <item>
      <title>Groups: one message, a hundred deliveries</title>
      <link>https://chalkbrain.com/videos/wa-groups/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-groups/</guid>
      <description>A message to one person is one delivery. A message to a group of two hundred is two hundred deliveries, two hundred mailbox writes, and two hundred phones to wake up. One tap on your screen became a s</description>
    </item>
    <item>
      <title>Which database? Six answers, in one app</title>
      <link>https://chalkbrain.com/videos/wa-databases/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-databases/</guid>
      <description>Which database should this use is the wrong question, and it is the one everybody asks first. A chat app does not have one kind of data. It has six, and they want completely different things from a st</description>
    </item>
    <item>
      <title>Keep every message, or delete it on delivery?</title>
      <link>https://chalkbrain.com/videos/wa-retention/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-retention/</guid>
      <description>Messages do not arrive in the order they were sent. One retries, another takes a different path, and they land shuffled. Which is fine on the wire, and completely unacceptable in a chat window. The fi</description>
    </item>
    <item>
      <title>One message, Mumbai to Virginia</title>
      <link>https://chalkbrain.com/videos/wa-journey/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-journey/</guid>
      <description>One message, a phone in Mumbai to a phone in Virginia. It has to arrive in under a second, and it has to survive a server dying halfway. Those two requirements pull in opposite directions. The first p</description>
    </item>
    <item>
      <title>Why your phone holds a connection open forever</title>
      <link>https://chalkbrain.com/videos/wa-connection/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-connection/</guid>
      <description>A server cannot start a conversation with your phone. There is no number to call. It sits behind a carrier&apos;s network with no public address, and whatever address it does have will be different in an h</description>
    </item>
    <item>
      <title>WhatsApp architecture, end to end</title>
      <link>https://chalkbrain.com/videos/wa-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/wa-map/</guid>
      <description>Netflix was a system that keeps everything and serves it from as close to you as possible. WhatsApp is the opposite. It holds your message only until it is delivered, and then it throws it away. Here </description>
    </item>
    <item>
      <title>Netflix, the whole system on one canvas</title>
      <link>https://chalkbrain.com/videos/nf-everything/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-everything/</guid>
      <description>Here is all of it at once. Press play, and a gateway routes you, a service authorizes you and builds a list of streams for your exact device, steering picks a box, and that box streams chunks until yo</description>
    </item>
    <item>
      <title>The data platform: measuring everything, testing anything</title>
      <link>https://chalkbrain.com/videos/nf-data-platform/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-data-platform/</guid>
      <description>Every play, every pause, every scroll past something you did not click is an event. Billions of them a day, emitted by clients and services alike, all headed for the same place. From there it splits b</description>
    </item>
    <item>
      <title>Microservices and resilience: containing failure at scale</title>
      <link>https://chalkbrain.com/videos/nf-resilience/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-resilience/</guid>
      <description>One home screen is not one request. It fans out to dozens of separate services, each with its own database, each deployed and scaled and broken independently of the others. Which creates a problem tha</description>
    </item>
    <item>
      <title>Recommendations: how the homepage is built per profile</title>
      <link>https://chalkbrain.com/videos/nf-recommendations/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-recommendations/</guid>
      <description>About eighty percent of what people watch on Netflix started on the home screen, not in the search box. Which makes that screen the product. Every row on it, and every tile inside every row, was chose</description>
    </item>
    <item>
      <title>What happens when you press play (the control plane)</title>
      <link>https://chalkbrain.com/videos/nf-control-plane/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-control-plane/</guid>
      <description>Between your thumb hitting play and the first frame appearing, there is a gap. Nothing in that gap is video. It is a handful of cheap questions being asked and answered, and the whole design goal is t</description>
    </item>
    <item>
      <title>The encoding pipeline: one master, thousands of files</title>
      <link>https://chalkbrain.com/videos/nf-encoding/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-encoding/</guid>
      <description>A studio hands over one enormous master file. What has to come out the other end is thousands of files: every bitrate, every codec, every resolution, every language, packaged and encrypted and ready t</description>
    </item>
    <item>
      <title>Adaptive bitrate: how quality changes mid-stream</title>
      <link>https://chalkbrain.com/videos/nf-abr/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-abr/</guid>
      <description>Every title exists at several qualities at once, and each one is cut into chunks a few seconds long. The chunks line up in time, which is the whole trick, because it means you can change your mind bet</description>
    </item>
    <item>
      <title>CDN: how Netflix puts video inside your ISP</title>
      <link>https://chalkbrain.com/videos/nf-cdn/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-cdn/</guid>
      <description>Netflix is about fifteen percent of everything downloaded on the internet. Serve that from a data centre and every stream crosses the public backbone, which nobody can afford and no origin can sustain</description>
    </item>
    <item>
      <title>Netflix architecture, end to end</title>
      <link>https://chalkbrain.com/videos/nf-map/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/nf-map/</guid>
      <description>Two hundred million people press play, often on the same evening, and each expects a film to start in about a second. Almost everything Netflix is follows from taking that sentence seriously. The path</description>
    </item>
    <item>
      <title>Sharding: splitting the ledger</title>
      <link>https://chalkbrain.com/videos/sd-split-ledger/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-split-ledger/</guid>
      <description>The copy clerks scaled the reads and left the writes exactly where they were. Every change still lands in one book. Replication copies the same data many times. To scale writes you have to split diffe</description>
    </item>
    <item>
      <title>Replication: the copy clerks</title>
      <link>https://chalkbrain.com/videos/sd-copy-clerks/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-copy-clerks/</guid>
      <description>Every wala walks to one register. That register is a single database, and it is two problems wearing one coat. It is the bottleneck every read must pass through, and it is the one place all of your da</description>
    </item>
    <item>
      <title>Queues: the order slip rail and the cliff</title>
      <link>https://chalkbrain.com/videos/sd-order-slip-rail/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-order-slip-rail/</guid>
      <description>At the chai stall this was a rail of paper slips. In a system it is a queue, and the problem it solves is this. When taking work and doing work are the same step, one slow job freezes everyone standin</description>
    </item>
    <item>
      <title>Caching: the slate next to the stove</title>
      <link>https://chalkbrain.com/videos/sd-cache-slate/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-cache-slate/</guid>
      <description>Last time the walas were made to remember nothing, and that is exactly what made them interchangeable. But it left a bill. Every single question now walks to the register in the back room. How much is</description>
    </item>
    <item>
      <title>Exponential growth: fold a paper to the moon</title>
      <link>https://chalkbrain.com/videos/mb-fold-to-moon/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-fold-to-moon/</guid>
      <description>One sheet of paper, a tenth of a millimetre thick. Fold it in half and you have two layers. Fold it again, four. Again, eight. Then sixteen. Doubling feels boring, and that is the trap. It is not bori</description>
    </item>
    <item>
      <title>Load balancing: the chai stall that got famous</title>
      <link>https://chalkbrain.com/videos/sd-chai-stall/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-chai-stall/</guid>
      <description>One stall. One stove. One person making chai. It is perfect, and it is cheap, right up until the cricket match ends and five hundred people want chai in the same minute. There are only two ways out of</description>
    </item>
    <item>
      <title>Queue deadlock: when a queue cannot drain itself</title>
      <link>https://chalkbrain.com/videos/sd-queue-deadlock/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/sd-queue-deadlock/</guid>
      <description>Slack runs about nine billion background jobs a day. Push notifications, link previews, search indexing, and every single message you post. In twenty sixteen, all of it stopped, and it could not resta</description>
    </item>
    <item>
      <title>The halting problem: a question no computer can answer</title>
      <link>https://chalkbrain.com/videos/mb-halting-problem/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/mb-halting-problem/</guid>
      <description>Imagine one perfect program. Feed it any code at all, and it tells you whether that code will finish, or spin forever. Call it H, the judge. It would be the most useful tool ever written. And it seems</description>
    </item>
    <item>
      <title>Non-linearity: why a hundred layers can equal one</title>
      <link>https://chalkbrain.com/videos/ai-neural-net/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/ai-neural-net/</guid>
      <description>Stack a hundred layers in a neural network. Forget one tiny detail, and all a hundred of them collapse into a single one. You would have learned nothing at all. Start with the atom. One neuron takes i</description>
    </item>
    <item>
      <title>Routing: how a packet finds any house on earth</title>
      <link>https://chalkbrain.com/videos/net-packet-journey/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/net-packet-journey/</guid>
      <description>You type an address and hit enter. Your data has to cross the planet to a machine you have never heard of. And here is the strange part: nobody involved knows the route. There is no map of the interne</description>
    </item>
    <item>
      <title>Big-O: why the algorithm beats the hardware</title>
      <link>https://chalkbrain.com/videos/dsa-big-o/</link>
      <guid isPermaLink="true">https://chalkbrain.com/videos/dsa-big-o/</guid>
      <description>One million items. Two ways to search them. One finishes before you blink. With the other one, you will die of old age first. Watch them race. Linear scan checks every item, one at a time. Binary sear</description>
    </item>
  </channel>
</rss>
