lessons
55 notes
Lesson 1: Architecture Refresher
Rebuild the computer from electrons to main(). Transistors, gates, CPU pipeline, cache, virtual memory, interrupts, and memory ordering.
Lesson 2: Processes & Kernel Interface
Implement a working shell from scratch. fork, exec, file descriptors, pipes, signals, process groups, and job control.
Lesson 3: PTY & Terminal Driver
Master the kernel construct at the heart of every terminal emulator. PTY pairs, termios, line discipline, job control, and window size.
Lesson 4: Memory Management Deep Dive
Go from 'I know what malloc is' to designing memory allocators. Page tables, malloc internals, slab allocation, NUMA, and the vLLM KV-cache bridge.
Lesson 5: Threads & Lock-Free Concurrency
Build the communication primitives Ghostty uses. pthreads, atomics, memory ordering, SPSC queues, thread pools, and false sharing.
Lesson 6: Terminal Protocol
VT100 state machine, CSI/OSC/DCS parsing, SGR attributes, kitty keyboard protocol, and building a VT parser from scratch.
Lesson 7: GPU & Rendering Pipeline
GPU architecture, shaders, texture atlases, FreeType font rasterization, HarfBuzz text shaping, and rendering Hello, 世界! with textured quads.
Lesson 8: Integration & Ghostty Contribution
Wire everything together into toyterm — a working terminal emulator. Then read Ghostty source, build it, and ship a PR.
From Logic Gates to Production Terminal Emulators
Rebuild the computer from electrons to a GPU-accelerated terminal emulator — then contribute to Ghostty with genuine understanding.
Lesson 1: The Algorithm Is Just a System
Every platform runs the same control flow. Learn to read the source code.
Lesson 2: Conversations That Convert
Leads don't come from CTAs. They come from conversations that made someone think 'this person knows something I need.'
Lesson 3: Writing That People Actually Read
Good code is clear, maintainable, and does one thing well. Good writing is the same thing. Stop writing like a documentation page.
Lesson 4: Distribution Is Deployment
Writing is the product. Distribution is the CI/CD pipeline. You don't deploy code once and expect it to run forever.
Lesson 5: Content Ideas and the 30-Day Playbook
How to never run out of things to write about, and the actual plan for your first 30 days.
Lesson 6: Analytics for People Who Hate Marketing Math
How to know if any of this is actually working — without becoming a spreadsheet person.
Lesson 7: Building in Public
The strategy that turns your actual engineering work into marketing — without feeling like a LinkedIn influencer.
Organic Marketing & Distribution
How platforms actually work, how to write things people read, and how to get your ideas in front of humans who care — all explained by someone who thinks like an engineer.
Lesson 1: Go Interfaces: Implicit Satisfaction
The one Go feature that changes how you design software
0001: Learning Path Foundation
0002: Error Handling Builds on Interfaces
Lesson 2: Go Error Handling: The error Interface
Errors aren't exceptions. They're values that implement an interface.
Lesson 3: Struct Tags, JSON & Protobuf
How Go drives serialization with struct field metadata
0003: Struct Tags Are Reflection-Driven Metadata
Lesson 4: Go Testing: Table-Driven Tests & Interface Mocks
No frameworks. Just the testing package, tables, and interfaces.
0004: Testing Depends on Interfaces
0005: Concurrency Is Go's Superpower
Lesson 5: Goroutines & Channels
Share memory by communicating, not communicate by sharing memory
0006: Sometimes You Need Locks — sync, atomic & the Race Detector
Lesson 6: sync, atomic & the Race Detector
When channels aren't the answer — protecting shared state
0007: Context — Cancellation, Deadlines, and Values
Lesson 7: Context: Cancellation, Deadlines & Values
The parameter that flows through every Go API in cloud-native code
0008: Modules Are the Build System
0009: Generics Complement Interfaces, Not Replace Them
Lesson 9: Generics
Type parameters, constraints, and when to use them in production Go
0010: Reflection and unsafe Are Last-Resort Tools
Go
Contribute meaningfully to cloud-native / infrastructure open source Go projects (e.g., Kubernetes, Docker, Terraform, Prometheus, containerd).
Lesson 1: What ADHD Actually Is
Neuroscience of Disordered Attention
Lesson 2: Why ADHD Drains Your Energy
The ADHD-Energy Paradox
Lesson 3: Dirty Motivators
How ADHD Creates and Feeds on Anxiety
Lesson 4: ADHD & Addiction
The Dopamine Vulnerability
Lesson 5: The Habit System
Why Your Brain's Autopilot Can Save You
Lesson 6: Practical ADHD Strategies
Body Doubling, Environment Design & More
Lesson 7: Shame, Self-Blame & Depression
The ADHD-Depression Pipeline
Lesson 8: ADHD & Eating
Why ADHD Brains Eat Differently
Lesson 9: Executive Dysfunction
Why You Can't "Just Do It"
Lesson 10: ADHD & Sleep
Fixing the Most Common Symptom Across All Mental Health Conditions
Lesson 11: Meditation & ADHD
Training Attention — The ADHD Way
Lesson 12: ADHD & Relationships
Why ADHD Brains Struggle With Connection
Lesson 13: ADHD in Women
Why It's Missed, Misunderstood & Different
Lesson 14: Reframing ADHD
Neurodiversity, Superpowers & the Middle Path
Lesson 15: Putting It All Together
Living Well With ADHD
ADHD Neuroscience Glossary
Quick reference for key terms, brain regions, and concepts
Essential ADHD Videos
31 HealthyGamerGG videos on ADHD by Dr. Alok Kanojia
ADHD & Anxiety
Understanding the neuroscience. Building the skills. Working with your brain, not against it.
Learning Record 0001: Neuroscience Foundation
Key insight: ADHD is disordered attention regulation — not a deficit or a character flaw