Python 3.12, Dokku Alternatives, and Blog Content Tips

·36m 35s
Shared point

Episode Overview

In this episode of Python Bytes, Michael Kennedy and Brian Otkin discuss practical software updates, infrastructure alternatives, the value of technical blogging, and modern web development features.

Python Upgrades and Tools

Python 3.12 and Version Evolution

• The hosts discuss the benefits of upgrading to Python 3.12, highlighting features that simplify development, such as:
- f-strings for readable output.
- The walrus operator (3.8).
- Simplified type hinting (3.9).
- Structural pattern matching (3.10).
• Brian emphasizes that upgrading helps clean up technical debt and allows for the removal of legacy support code.

Developer Utilities

speedtest-cli: A command-line tool for network bandwidth measurement, which features a useful Python API for testing internal services or CI pipelines.
PyUpgrade & Ruff: Tools recommended for automatically modernizing older codebases.

Infrastructure: Alternatives to Heroku

Brian introduces Dokku, an open-source Platform-as-a-Service (PaaS) that runs on your own hardware using Docker. It offers a Heroku-like experience (git-push deployment) without the associated costs of managed platforms.

The Art of Blogging

"Build an Idea Bank and Never Run Out of Blog Ideas."

Michael and Brian advocate for the technical community to write more personal blog posts. They discuss:
• Using an "Idea Bank" to track topics over time.
• Tools like Notion or Todoist for organization.
• The importance of human-written content, suggesting the Not By AI badge to verify handcrafted articles.

Modern Web Development

CSS Nesting and Variables: Browsers now support these natively, removing the need for complex transpilers like SASS or LESS.
Safari's 'Add to Dock': A convenient feature for creating dedicated, standalone web applications without the baggage of a full browser session, functioning effectively as a native app experience.

Topics

Chapters

6 chapters
Python Bytes
AI chat — answers grounded in episodes