Episode

#470 A Jolting Episode

Podcast
Python Bytes
Published
Feb 23, 2026
Duration seconds
1529
Processing state
processed
Canonical source
https://pythonbytes.fm/episodes/show/470/a-jolting-episode
Audio
https://pythonbytes.fm/episodes/download/470/a-jolting-episode.mp3
JSON
/v1/public/podcasts/python-bytes/episodes/470-a-jolting-episode
Markdown
/podcast/python-bytes/470-a-jolting-episode.md

Actions

  • POST https://stenobird.com/v1/public/podcasts/python-bytes/episodes/470-a-jolting-episode/transcription-requests
    Idempotently request low-priority transcript generation for this episode.
  • GET https://stenobird.com/podcast/python-bytes/470-a-jolting-episode.md
    Read the agent-friendly Markdown representation of this episode resource.

Summary

Explore new developer tools for streamlining Python testing, Markdown formatting, and local GitHub Actions execution. The episode also covers hardware monitoring and a brief discussion on the impact of short-form media on attention spans.

Topics

  • Python
  • Software Testing
  • GitHub Actions
  • Ruff
  • Developer Tools
  • Automation
  • Linux
  • macOS

Highlights

  • Main idea: Use inline-snapshot testing to simplify the maintenance of complex test data structures
  • Practical takeaway: Use 'Act' to run your GitHub Actions workflows locally to save time and CI costs
  • Practical takeaway: Leverage Ruff's new capabilities to format Markdown files and type stub files
  • Tool highlight: 'Jolt' provides real-time battery health and power monitoring directly in your terminal
  • Failure mode: Relying on external snapshot files can lead to synchronization issues compared to inline alternatives

Chapters

  1. 2:45 Inline Snapshot Testing: A look at how Pydantic uses inline snapshots to manage complex test data without external file clutter.
  2. 6:50 Terminal-based Battery Monitoring: An introduction to Jolt, a tool for real-time power and battery health tracking on macOS and Linux.
  3. 10:25 Markdown Formatting with Ruff: Discussing Ruff's ability to lint and format Markdown and .pyi files.
  4. 14:10 Running GitHub Actions Locally: Using the 'Act' tool to execute GitHub Actions workflows on your local machine to avoid CI wait times.
  5. 19:35 Python Concurrency Trends: A brief look at the future of free-threaded Python and the implications for locking and race conditions.
  6. 23:35 Attention Spans and Technology: A tangent on the cognitive effects of short-form video content and modern digital consumption.