Blogs

Stop Using Exception

Please refrain yourself from raising Exception in Python. It doesn’t matter if ChatGPT or Claude says it’s okay to do it, it’s almost always a very bad idea.
June 22, 2025

Taming Floating-Point Arithmetic in Python (Part 2)

Second and last part of the series tackling IEEE-754 floating-point arithmetic with Python. In this post we’re looking at how Python’s standard library Decimal and Fractions modules can help dealing with floating-point gotchas seen in the previous part.
June 23, 2024

Taming Floating-Point Arithmetic in Python (Part 1)

First of a two parts series illustrating common gotchas in IEEE-754 floating-point arithmetic, with practical and realistic examples using Python’s built-in float (double-precision)
May 26, 2024

Git Etiquette

Five simple practices to Git like a pro and make your collaborators (and your future self) happier
April 23, 2023

Build uAMQP Python wheel for arm64v8

Build Microsoft uAMQP Python package painlessly with Manylinux docker image
December 10, 2022

Capture Python subprocess output in real-time

The Interwebs are full of recipes on how to capture and stream the output of a Python subprocess in real-time. Most of them don’t work, so here’s how to do it (with Python 3)
November 20, 2022

Oracle Client and Python on Apple Silicon

Setting up your Apple Silicon Mac for linking and running x86 software. Build and run x86 Python natively (and with Docker)
June 25, 2022

Building this site with HUGO

How I went from knowing nothing about HUGO framework to publishing my first custom website in just few days, all thanks to HUGO great ecosystem.
April 18, 2022
Copyright © 2025 Luca Da Rin Fioretto. Based on hugo-resume theme and generated with HUGO