Home Lex Fridman Notes
Lex Fridman · 2025-03-22 · 5h 20m

ThePrimeagen: Programming, AI, ADHD, Productivity, Addiction, and God | Lex Fridman Podcast #461

Legendary programmer ThePrimeagen talks coding craft, AI's limits, beating addiction, ADHD, productivity, and finding God with Lex Fridman.

ThePrimeagen: Programming, AI, ADHD, Productivity, Addiction, and God | Lex Fridman Podcast #461
The guest

Michael Paulson (ThePrimeagen) — A programmer and popular streamer who spent roughly 10 years at Netflix building developer tools and TV infrastructure before going full-time as a content creator. He inspires millions to have fun building software and is known for Neovim advocacy, the Harpoon plugin, and a roller-coaster life story.

The gist

ThePrimeagen and Lex Fridman cover a sweeping range of topics across five hours, beginning with the joy and pain of programming and Prime's deeply personal life journey through early porn exposure, his father's death at age 7, drug addiction, a suicide attempt, and a transformative night he describes as finding God. They dig into his technical career at Netflix, including the Falcor 'Repulsive Grizzly' DOS vulnerability he discovered, the realities of large-company engineering, and his pivot to full-time streaming. A long section explores programming languages (Go, Rust, Zig, JavaScript), Neovim and Vim motions, his single-monitor keyboard-driven setup, and the Kinesis keyboard. They debate AI's role in software, where it helps and fails, the future of programmers, and close on ADHD, productivity, love, forgiveness, and faith.

Big reveals

  • Prime discovered the Falcor security vulnerability ('Repulsive Grizzly Attack') where a single crafted request could take down a Netflix machine by creating billions of JVM objects, and it had been in production for years with no easy rollback.
  • He recounts taking so much acid that for years he had visual squiggles in his peripheral vision when passing high-contrast objects, during a period marked by LSD, mushrooms, and meth use.
  • At around 19 he describes a single night feeling 'the very dramatic and real presence of God,' after which he suddenly developed a conscience and felt deep shame, which forced him to change his life.
  • Reversing the season order of a single Black Mirror episode at Netflix required him to gather and coordinate about 20 engineers across multiple teams, illustrating how no feature is small at big-company scale.
  • His favorite stream project: porting Doom ASCII to the browser and letting 1,000-1,400 Twitch chat members collectively control it via averaged inputs, using custom compression to shrink gigabytes of data down to kilobytes.
  • He co-founded Terminal Coffee Company, where the only way to order coffee is by running 'ssh terminal.shop' in your terminal, with payment handled through Stripe.
  • Prime reveals he attempted suicide as he was graduating high school, was hospitalized, and credits coming out of that with breaking something in him that led to years of heavy drug use.

Things worth remembering

  • Prime says he was first exposed to pornography at age four or five and thought about porn daily until his early 20s, calling it by far the hardest addiction he ever quit.
  • His first startup was a 2010 text-message marketing product sold with only a flip phone, echoing his father's early-90s prepaid long-distance phone-card startup, both about half a decade too early.
  • On his first day on the Netflix TV team, his boss handed him a PlayStation 3 and told him to learn the code and come back in a couple days, since Netflix ran on devices like the PS3.
  • The middle layer at Netflix was written in Apache Groovy, which Prime says almost no one among the ~40 engineers actually understood; he learned it by reading the language reference for a day.
  • The 'Primeagen' name comes from the final boss of the brutally difficult Nintendo 64 game Turok 2: Seed of Evil, which he beat playing ~10 hours a day for a month.
  • In 2017, suffering arm pain while having his second kid, Prime created his own custom Dvorak-based keyboard layout placing symbols symmetrically and requiring shift to type numbers.
  • He pitted Claude 3.5 against OpenAI playing a Zig tower-defense game he built, observing that Claude did better during daytime and OpenAI did better at night for unknown reasons.
  • Prime once crafted a Stack Overflow question titled 'how to measure your dict's' full of innuendo; the team deleted it but emailed him complimenting how thoughtful it was before warning him not to do it again.
  • He notes that benchmark tests showing Zig fastest were misleading because Zig, C, and C++ all use LLVM backends, and speed differences usually just mean code wasn't expressed correctly.
  • Prime programs while sitting and bouncing on a yoga ball, with no back support, to force himself to maintain good posture for hours.

Recommended in this episode

Books, products and media the guest or host genuinely endorsed here — with the buy link.

Affiliate link — we may earn a commission at no extra cost to you.

RecommendedProduct

Kinesis Advantage

Kinesis

“keyboard. You're using my favorite keyboard right there. The Kinesis advantage. Uh, save my career. Beautiful keyboard.” — Lex Fridman 03:26:00
Find it on Amazon
Guest’s ownProduct

Terminal Coffee

Terminal (ThePrimeagen, TJ DeVries et al.)

“you can only SSH into it... It's all really like it's pretty high-end coffee. It tastes really really good.” — ThePrimeagen 04:05:22
Find it on Amazon