Deploying statically-linked Haskell to Lambda

In his post about a Telegram bot Joachim Breitner mentions compiling his program into a static binary to have it run in Amazon’s version of Linux without needing to build it inside a container. I was interested in experimenting with Amazon Lambda and having statically linked Haskell programs sounded like a great idea too, so this is a write-up of what it took to get those things working.

Read More

Zero downtime - Making Blue-Green deployments dead simple

At the current state of web technologies, having our application be unavailable during every upgrade is not acceptable anymore. And if you are updating your application often, which you should, being available during updates is even more important. In this post I will walk you through hot-swapping docker containers without letting any request drop with just one command.

Read More

Writing Better If Statements

We all know how important code comments are, but we all aim for that marvellous holy grail of coding: the self documenting code. That is, code that does not need comments, you can read it like a book.

Read More

Device Specific Fonts in Ionic

Building apps that have appropriate looks on iPhone and Android is a breeze with Ionic. But sometimes we need more than .platform-android and .platform-ios. We need device-specific css files.

Read More