Sun 18 Sep 2022

Shorter Hacks 16: IPython Autoreload

When developing some python code and testing it in IPython, I love the autoreload feature of IPython. When enabled it will reload imported modules automatically. So you will always use the newest version of your code. It even patches modifications on class methods into existing class instances. To enable it first load it with %load_ext autoreload, then enable it with %autoreload 2 – See the documentation for explanations of the options and how to autoreload only selected imports.

Source: Shorter Hacks 16 IPython Autoreload, an article by Michael F. Schönitzer.

Distributed Tracing in Rust

Here is another shot at distributed tracing in Rust. I saw multiple articles online but sadly none gave me the necessary tips to make distributed tracing work in my context.

What I wanted to achieve was to get a complete trace starting from the API request to the database across multiple services communicating through AMQP.

This article will guide you through every steps required to instrument your application.

Distributed Tracing in Rust, an article by Romain Lebran.

Manage containers on Fedora Linux with Podman Desktop

Podman Desktop is an open-source GUI application for managing containers on Linux, macOS, and Windows.

Historically, developers have been using Docker Desktop for graphical management of containers. This worked for those who had Docker Daemon and Docker CLI installed. However, for those who used Podman daemon-less tool, although there were a few Podman frontends like Pods, Podman desktop companion, and Cockpit, there was no official application. This is not the case anymore. Enter Podman Desktop!

Source: Manage containers on Fedora Linux with Podman Desktop, an article by Mehdi Haghgoo.