Python Bytes - #460 Overlooked Python Typing

Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by us! Support our work through:

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Brian #1: Advent of Code starts today

Michael #2: Django 6 is coming

  • Expected December 2025
  • Django 6.0 supports Python 3.12, 3.13, and 3.14
  • Built-in support for the Content Security Policy (CSP) standard is now available, making it easier to protect web applications against content injection attacks such as cross-site scripting (XSS).
  • The Django Template Language now supports template partials, making it easier to encapsulate and reuse small named fragments within a template file.
  • Django now includes a built-in Tasks framework for running code outside the HTTP request–response cycle. This enables offloading work, such as sending emails or processing data, to background workers.
  • Email handling in Django now uses Python’s modern email API, introduced in Python 3.6. This API, centered around the <code>email.message.EmailMessage</code> class

Brian #3: Advanced, Overlooked Python Typing

  • get_args, TypeGuard, TypeIs, and more goodies

Michael #4: codespell

  • Learned from this PR for the Talk Python book.
  • Fix common misspellings in text files.
  • It's designed primarily for checking misspelled words in source code (backslash escapes are skipped), but it can be used with other files as well.
  • It does not check for word membership in a complete dictionary, but instead looks for a set of common misspellings. Therefore it should catch errors like "adn", but it will not catch "adnasdfasdf".
  • It shouldn't generate false-positives when you use a niche term it doesn't know about.

Extras

Brian:

Michael:

  • Follow up on tach from Gerben Dekker:
    • tach has been unmaintained for a bit but is not anymore. It was the main product from Gauge which is a Y combinator startup that pivoted to something unrelated and abandoned tach. However, https://github.com/DetachHead forked it but now got access to the main repo and has committed to maintaining it.
    • ruff analyze graph is fully independent of tach - we actually started to look into alternatives for tach when it became unmaintained and then found ruff analyze graph.
    • For our use case, with just a bit of manipulation on top of ruff analyze graph we replaced our use of deptry (which was slower - and I try to be careful depending on one-man projects).
  • A Review of Michael Kennedy’s book, “Talk Python in Production” - Thanks Doug

Joke: NoaaS

Python Bytes - #460 Overlooked Python Typing

Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by us! Support our work through:

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Brian #1: Advent of Code starts today

Michael #2: Django 6 is coming

  • Expected December 2025
  • Django 6.0 supports Python 3.12, 3.13, and 3.14
  • Built-in support for the Content Security Policy (CSP) standard is now available, making it easier to protect web applications against content injection attacks such as cross-site scripting (XSS).
  • The Django Template Language now supports template partials, making it easier to encapsulate and reuse small named fragments within a template file.
  • Django now includes a built-in Tasks framework for running code outside the HTTP request–response cycle. This enables offloading work, such as sending emails or processing data, to background workers.
  • Email handling in Django now uses Python’s modern email API, introduced in Python 3.6. This API, centered around the <code>email.message.EmailMessage</code> class

Brian #3: Advanced, Overlooked Python Typing

  • get_args, TypeGuard, TypeIs, and more goodies

Michael #4: codespell

  • Learned from this PR for the Talk Python book.
  • Fix common misspellings in text files.
  • It's designed primarily for checking misspelled words in source code (backslash escapes are skipped), but it can be used with other files as well.
  • It does not check for word membership in a complete dictionary, but instead looks for a set of common misspellings. Therefore it should catch errors like "adn", but it will not catch "adnasdfasdf".
  • It shouldn't generate false-positives when you use a niche term it doesn't know about.

Extras

Brian:

Michael:

  • Follow up on tach from Gerben Dekker:
    • tach has been unmaintained for a bit but is not anymore. It was the main product from Gauge which is a Y combinator startup that pivoted to something unrelated and abandoned tach. However, https://github.com/DetachHead forked it but now got access to the main repo and has committed to maintaining it.
    • ruff analyze graph is fully independent of tach - we actually started to look into alternatives for tach when it became unmaintained and then found ruff analyze graph.
    • For our use case, with just a bit of manipulation on top of ruff analyze graph we replaced our use of deptry (which was slower - and I try to be careful depending on one-man projects).
  • A Review of Michael Kennedy’s book, “Talk Python in Production” - Thanks Doug

Joke: NoaaS

Lex Fridman Podcast - #486 – Michael Levin: Hidden Reality of Alien Intelligence & Biological Life

Michael Levin is a biologist at Tufts University working on novel ways to understand and control complex pattern formation in biological systems.
Thank you for listening ❤ Check out our sponsors: https://lexfridman.com/sponsors/ep486-sc
See below for timestamps, transcript, and to give feedback, submit questions, contact Lex, etc.

Transcript:
https://lexfridman.com/michael-levin-2-transcript

CONTACT LEX:
Feedback – give feedback to Lex: https://lexfridman.com/survey
AMA – submit questions, videos or call-in: https://lexfridman.com/ama
Hiring – join our team: https://lexfridman.com/hiring
Other – other ways to get in touch: https://lexfridman.com/contact

EPISODE LINKS:
Michael Levin’s X: https://x.com/drmichaellevin
Michael Levin’s Website: https://drmichaellevin.org
Michael Levin’s Papers: https://drmichaellevin.org/publications/
– Biological Robots: https://arxiv.org/abs/2207.00880
– Classical Sorting Algorithms: https://arxiv.org/abs/2401.05375
– Aging as a Morphostasis Defect: https://pubmed.ncbi.nlm.nih.gov/38636560/
– TAME: https://arxiv.org/abs/2201.10346
– Synthetic Living Machines: https://www.science.org/doi/10.1126/scirobotics.abf1571

SPONSORS:
To support this podcast, check out our sponsors & get discounts:
Shopify: Sell stuff online.
Go to https://shopify.com/lex
CodeRabbit: AI-powered code reviews.
Go to https://coderabbit.ai/lex
LMNT: Zero-sugar electrolyte drink mix.
Go to https://drinkLMNT.com/lex
UPLIFT Desk: Standing desks and office ergonomics.
Go to https://upliftdesk.com/lex
Miro: Online collaborative whiteboard platform.
Go to https://miro.com/
MasterClass: Online classes from world-class experts.
Go to https://masterclass.com/lexpod

OUTLINE:
(00:00) – Introduction
(00:29) – Sponsors, Comments, and Reflections
(10:09) – Biological intelligence
(18:42) – Living vs non-living organisms
(23:55) – Origin of life
(27:40) – The search for alien life (on Earth)
(1:00:44) – Creating life in the lab – Xenobots and Anthrobots
(1:13:46) – Memories and ideas are living organisms
(1:27:26) – Reality is an illusion: The brain is an interface to a hidden reality
(2:13:13) – Unexpected Intelligence in sorting algorithms
(2:38:51) – Can aging be reversed?
(2:42:41) – Mind uploading
(3:01:22) – Alien intelligence
(3:16:17) – Advice for young people
(3:22:46) – Questions for AGI

Talk Python To Me - #528: Python apps with LLM building blocks

In this episode, I’m talking with Vincent Warmerdam about treating LLMs as just another API in your Python app, with clear boundaries, small focused endpoints, and good monitoring. We’ll dig into patterns for wrapping these calls, caching and inspecting responses, and deciding where an LLM API actually earns its keep in your architecture.

Episode sponsors

Seer: AI Debugging, Code TALKPYTHON
NordStellar
Talk Python Courses

Vincent on X: @fishnets88
Vincent on Mastodon: @koaning

LLM Building Blocks for Python Co-urse: training.talkpython.fm
Top Talk Python Episodes of 2024: talkpython.fm
LLM Usage - Datasette: llm.datasette.io
DiskCache - Disk Backed Cache (Documentation): grantjenks.com
smartfunc - Turn docstrings into LLM-functions: github.com
Ollama: ollama.com
LM Studio - Local AI: lmstudio.ai
marimo - A Next-Generation Python Notebook: marimo.io
Pydantic: pydantic.dev
Instructor - Complex Schemas & Validation (Python): python.useinstructor.com
Diving into PydanticAI with marimo: youtube.com
Cline - AI Coding Agent: cline.bot
OpenRouter - The Unified Interface For LLMs: openrouter.ai
Leafcloud: leaf.cloud
OpenAI looks for its "Google Chrome" moment with new Atlas web browser: arstechnica.com

Watch this episode on YouTube: youtube.com
Episode #528 deep-dive: talkpython.fm/528
Episode transcripts: talkpython.fm

Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong

---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython

Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython

Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy

Big Technology Podcast - NVIDIA Panic Mode?, OpenAI’s Funding Hole, Ilya’s Mystery Revenue Plan

Ranjan Roy from Margins is back for our weekly discussion of the latest tech news. We cover: 1) Black Friday secrets 2) Google may sell its TPUs to Meta and financial institutions 3) Nvidia sends an antsy tweet 4) How does Google's TPU stack up next to NVIDIA's GPUs 5) Could Google package the TPU with cloud services? 6) NVIDIA responds to the criticism 7) HSBC on how much OpenAI needs to earn to cover its investments 8) Thinking about OpenAI's advertising business 9) ChatGPT users lose touch with reality 10) Ilya Sustkever's mysterious product and revenue plans 11) X reveals our locations

---

Enjoying Big Technology Podcast? Please rate us five stars ⭐⭐⭐⭐⭐ in your podcast app of choice.

Want a discount for Big Technology on Substack + Discord? Here’s 25% off for the first year: https://www.bigtechnology.com/subscribe?coupon=0843016b

Questions? Feedback? Write to: bigtechnologypodcast@gmail.com

Learn more about your ad choices. Visit megaphone.fm/adchoices

The Stack Overflow Podcast - Lightning-as-a-service for agriculture

Darryl Lyons, co-founder and Chief Rainmaker at Rainstick, joins the show to dive into advancements in AgTech and how Rainstick is using bioelectricity to enhance agricultural productivity. They discuss how Rainstick mimics natural thunderstorms to create electric fields and frequencies that promote plant growth, challenges and breakthroughs in their research, and their participation in the AWS Compute for Climate Fellowship.

Episode notes:

Rainstick uses electricity to mimic the natural effects of lightning to grow crops bigger, faster, and more sustainably. 

Want to learn more about the Compute for Climate program? Check our podcast with Lisbeth Kaufman, Head of Climate Tech at AWS.

Ryan wrote about how software is being applied to agriculture a few years ago. 

Connect with Darryl on LinkedIn.

Congrats to Lifeboat badge winner WestCoastProjects for their answer to Test accuracy is greater than train accuracy what to do?.

See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.

Big Technology Podcast - Communal Living, Sex, And Silicon Valley’s Groupthink Problem — With Ellen Huet

Ellen Huet is a features writer at Bloomberg and the author of Empire of Orgasm: Sex, Power, and the Downfall of a Wellness Cult. Ellen joins Big Technology to discuss how Silicon Valley, a place that prides itself on independent thinking, keeps falling into powerful forms of groupthink. Tune in to hear how group houses, self-help programs, and “high agency” ideology create fertile ground for cult dynamics, and how that same psychology shows up in today’s AGI and AI-safety worlds. Hit play for a wild, revealing look at the stories and belief systems quietly shaping the tech industry’s biggest bets.

---

Enjoying Big Technology Podcast? Please rate us five stars ⭐⭐⭐⭐⭐ in your podcast app of choice.

Questions? Feedback? Write to: bigtechnologypodcast@gmail.com


Learn more about your ad choices. Visit megaphone.fm/adchoices

Code Story: Insights from Startup Tech Leaders - Season Favorite – Emmanuel Straschnov, Bubble

Emmanuel Straschnov grew up in rural France, which is interestingly enough where he started doing computer stuff (he mentioned there wasn't much else to do in the 90's). He grew up sailing, as he lived next to the shore in Normandy. He never really thought he would end up coding, but after obtaining his MBA, he ended up doing just that. Outside of tech, he is married with 2 children. He mentions that most of his hobby time is devoted to them, but on occasion, he likes to travel, continue sailing, and to sing.

Many years ago, Emmanuel noticed that there were a lot of people searching for technical founders, and using services to find technical founders. He thought this to be wrong, as many people have product ideas and just need a product to help them build it... so, he created something just for them.

This is the creation story of Bubble.

Sponsors


Links




Our Sponsors:
* Check out Incogni: https://incogni.com/codestory
* Check out NordVPN: https://nordprotect.com/codestory


Support this podcast at — https://redcircle.com/code-story-insights-from-startup-tech-leaders/donations

Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

The Stack Overflow Podcast - You’re probably underutilizing your GPUs

Ryan is joined by Jared Quincy Davis, CEO and co-founder of Mithril, to explore the importance of efficient resource allocation and GPU utilization in AI, the myth and misconceptions of the GPU shortage, and how the economics of GPU will change with new scheduling and utilization strategies. 

Episode notes:

Mithril’s omnicloud platform aggregates and orchestrates multi-cloud GPUs, CPUs, and storage so you can access your infrastructure through a single platform.

Connect with Jared on Twitter and LinkedIn.

Shoutout to user Razzi Abuissa for winning a Populist badge on their answer to How to find last merge in git?.

TRANSCRIPT

See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.