# #470 A Jolting Episode Page: https://stenobird.com/podcast/python-bytes/470-a-jolting-episode Text version: https://stenobird.com/podcast/python-bytes/470-a-jolting-episode.md Podcast: [Python Bytes](https://stenobird.com/podcast/python-bytes) Published: 2026-02-23T08:00:00+00:00 Episode link: https://pythonbytes.fm/episodes/show/470/a-jolting-episode Audio file: https://pythonbytes.fm/episodes/download/470/a-jolting-episode.mp3 Processing state: processed JSON: https://stenobird.com/v1/public/podcasts/python-bytes/episodes/470-a-jolting-episode Duration seconds: 1529 ## Resource 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. ## 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 ## Topics Python, Software Testing, GitHub Actions, Ruff, Developer Tools, Automation, Linux, macOS ## Chapters - 2:45 — Inline Snapshot Testing: A look at how Pydantic uses inline snapshots to manage complex test data without external file clutter. - 6:50 — Terminal-based Battery Monitoring: An introduction to Jolt, a tool for real-time power and battery health tracking on macOS and Linux. - 10:25 — Markdown Formatting with Ruff: Discussing Ruff's ability to lint and format Markdown and .pyi files. - 14:10 — Running GitHub Actions Locally: Using the 'Act' tool to execute GitHub Actions workflows on your local machine to avoid CI wait times. - 19:35 — Python Concurrency Trends: A brief look at the future of free-threaded Python and the implications for locking and race conditions. - 23:35 — Attention Spans and Technology: A tangent on the cognitive effects of short-form video content and modern digital consumption. ## Actions - request_transcript: `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. - read_markdown: `GET https://stenobird.com/podcast/python-bytes/470-a-jolting-episode.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.