Coming to Rust from Django

As a Day of learning initiative at my job, I decided to try what a simple REST API would look like in Rust. Specifically, coming from Python, how difficult would it be to use a statically typed language that doesn't offer the same flexibility as...

Setting up a Django app in Docker with Poetry

This is a short introduction how to build a Django app with Poetry as a package manager and then make it work in a Docker container. Finally, there's a how-to for Heroku and an example app you can use as a reference. Setting up Poetry Installing...

Profiling python scripts with cProfile and KCacheGrind

This is a very simple how-to about profiling python scripts using python's built in cProfile and KCacheGrind to visualize profiling data. Gathering profiling data Let's assume we have a script called test.py, its content can be for example very...