No GIL, no cry?
Testing Python 3.13's free-threaded build with
asyncio, real OS threads, and a semaphore.
Testing Python 3.13's free-threaded build with
asyncio, real OS threads, and a semaphore.
Deciding whether to re.compile a regex is a bit like Alice pondering the bottle labeled βDrink me!β - it's about picking the best option for the situation.
β οΈ Disclaimer: If you're coming from an OOP background, you may find the following content disturbing. Read at your own risk.
In part I of my weather station cookbook, I wrote about setting up and publishing sensor data to MQTT using an Arduino. In this post, Iβll focus on storing that data so it can be analyzed over time.
Have you ever wondered how to measure temperature and humidity?
I recently discovered that Python has a neat operator for assigning a value and using it immediately: the := operator, also called the walrus operator.
While running pytest with MySQL, I kept hitting tests stuck on: Waiting for table metadata lock π«
Follow-up to my earlier post on Prometheus + Multiprocess Apps ...
Today I learned how much I enjoy using uv scripts for quick, one-off tasks.
I recently deployed an API using uWSGI with multiple workers. I exposed a /metrics endpoint for Prometheus scraping β all looked good.