Python: Mocking for tests

Software often relies on third party services to function. Third party services can be anything, from a random number generator to a REST API. We'll take a simple HTTP API as an example. When designing unittests for the parts of your code that interact with the API, you need some …

more ...

Dotfiles with GNU Stow

Once you start getting into Linux, you'll notice that most applications are configurable through dotfiles; files like .bashrc, .vimrc, .inputrc et cetera. These files normally reside inside your home directory, and this is often the cause of severe file clutter.

There's multiple ways to make this mess a lot more …

more ...

Kaggle: Facial Keypoints Detection

This week I've been working on the Facial Keypoint Detection competition hosted by Kaggle. The objective of the competition is to predict keypoint positions on face images.

We start out with three files: the training set training.csv, the test set test.csv and a list of 27214 keypoints to …

more ...

Blogging introduction

So, I now have my own blog. I will post mixed content here, from tutorials to music and other hobby-related stuff. Here's to a succesful start!

more ...