René Welches

TECH NOTES TO MYSELF

Switching from Black to Ruff for Python Formatting in VS Code

One tool to replace Black, isort, and flake8 — faster and less strict

Why I replaced Black and isort with Ruff in VS Code, how the new configuration looks, and what it improves — especially when following along with Anthropic and other third-party code examples.

Running Debian 13 in UTM on Apple Silicon

Native ARM64 virtualization with a Debian netinstall ISO — no emulation required

Step-by-step guide to creating a Debian 13 (Trixie) ARM64 virtual machine in UTM on an Apple Silicon Mac using the Virtualize mode for near-native performance.

Using Vagrant with QEMU on macOS - or not

Lightweight VM provisioning on Apple Silicon with cloud-init support

Learn how to set up Vagrant with QEMU on macOS using Homebrew. Explore two provisioning approaches: shell scripts and cloud-init, along with the advantages and limitations of this setup.

Setting Up Python Code Formatting in Visual Studio Code

Using Black, isort, and Mypy for cleaner Python code

Configure VS Code to automatically format Python code with Black and organize imports with isort on every save. Includes Mypy static type checking for more robust code.