Java Ecosystem, Kotlin, Distributed Systems, Sociology of Software Development

Python

Install Cairo and CairoSVG on an Alpine Docker Image

Posted on Jun 25, 2018

Install Cairo and CairoSVG on an Alpine Docker Image

I just wanted to convert SVG to PNG files with Python and the library CairoSVG. That was no problem on my Ubuntu system. But running the SVG converter script within a lightweight Alpine Docker container turned out to be problematic. Figuring out which libraries have to be installed up front took me some time. That’s why I like to share my findings here. Hopefully, it’ll save your time.

Smooth Local Development with Docker-Compose, Seeding, Stubs, and Faker

Posted on May 1, 2018

Smooth Local Development with Docker-Compose, Seeding, Stubs, and Faker

Imagine you clone a git repo and try to start its application in your IDE. It fails. Why? The database is missing. After installing and starting a database manually you look at an empty application. There is no data in the database. Moreover, the application still doesn’t work as it requires an external service… The process of setting up a local development environment is often a journey of pain with many manual actions and implicit knowledge. How cool would it be, if we just have to call docker-compose up and the whole environment is automatically created locally containing nice dummy data?

I like Python! Confessions of a Java Developer

Posted on Oct 2, 2016

I like Python! Confessions of a Java Developer

Developing with Python was a refreshing and pleasant experience. After working with Java for a while, you may forget how verbose and clumsy this language is sometimes. But Python shows how simple and powerful a programming language can be. Let me show you some examples.