What's up in the python and tech environment? - Issue #204
Welcome to issue #204 of What’s up in the Python and tech environment?
This newsletter is mainly intended for developers and those passionate about computers.
Great news everyone, it’s going to be another fantastic week! We’ve got so much to chat about, including Django, memory profiling with Memray, tips for using Pytest, psutil, AI chaos in a production environment, PostgreSQL, HTMX, Rust, the state of WebAssembly, and much more! 😎
From The Python World
A tip to handle your old Django migrations.
Don’t Let Old Migrations Haunt Your Codebase
A nice tutorial on how to use Memray to profile the memory usage of a program. Even if the example is with Django, it can be applied to any Python program.
Django: profile memory usage with Memray
An interesting article on missing data serialization and how to handle it with Pydantic.
Nothing to declare - from NaN to None via null
A useful pytest tip when handling exceptions in a parametrize clause.
How to parametrize exception testing in PyTest?
A complement to the previous article, but with another tip covering the lru_cache decorator.
Testing: exceptions and caches
In this article, a CPython (the main Python interpreter) core developer shows how he uses the new profiler coming in Python 3.15 to speed up the Pillow library.
Speeding up Pillow’s open and save
A CPython core developer and creator of the psutil shares some improvements in both projects when it comes to closing a process without polling in Linux / Unix systems.
Giampaolo Rodola: From Python 3.3 to today: ending 15 years of subprocess polling
A curious Django project to create a static website.
A nice superset of the Django JSONField with msgpec structs support.
A database-backed task backend for Django.
From The Web
This is an excellent reminder that you should not blindly trust an AI agent, especially when it performs operations with side effects on a production infrastructure. Please always manually verify the AI's suggestions.
How I Dropped Our Production Database and Now Pay 10% More for AWS
A great reminder that writing good and useful software is not the same thing as (quickly) generating code.
Code Is Cheap Now. Software Isn’t.
An interesting perspective on how to use AI to write documentation.
AI, Confluence Docs, and READMEs: Why AI Written Docs End Up Unread
Here are some advanced PostgreSQL optimization tips.
Unconventional PostgreSQL Optimizations
This document examines the challenge of preserving digital history through the Internet Archive initiative, which aims to combat digital oblivion.
The Long Now of the Web: Inside the Internet Archive’s Fight Against Forgetting
A testimony on how HTMX can be simple and useful for many businesses.
Building Critical Infrastructure with htmx: Network Automation for the Paris 2024 Olympics
For the brave, here is a recap of the state of WebAssembly in 2025.
The State of WebAssembly – 2025 and 2026
A video course about Dynamic Programming.
Learn Dynamic Programming Through Dynamic Visuals
This blog post introduces an open-source graphics editor written in Rust.
This Could be the Best Graphics Editor for Linux Users (Yes, it is Open Source)
A funny project of a lock-picking robot.
Bonus
To start the week well, I am sharing the following picture with you.
This is all for this week. I hope you enjoy it, and if so, don’t hesitate to share it on your social media.
Take care of yourself and see you soon! 🙂
