Zero Downtime Deployment on AWS ECS
If you host customer-facing services on ECS behind a load balancer, you might want to have zero downtime when deploying a new version of your software. Assuming the application itself is stateless (e.g. all state is stored somewhere else, for example…
Nov 01 18November 01, 2018
Article at Medium
Stack Traces for Promises in Node.js
A stack trace is one of the most fundamental tools when debugging code, since it will reliably tell us where an error happened. The concept of stack traces originates from synchronous code. Error: Oh no a database error! at getStuffFromDatabase…
Jan 30 18January 30, 2018
Article at Medium
A brief note on writing efficient Graphcool queries
@Graphcool is GraphQL database service that provides a typed API. In contrast to SQL, GraphQL is somewhat less powerful, but has a huge advantage: Querying nested data becomes very convenient. Combined with the built-in permission system, it is a…
Jan 13 18January 13, 2018
Article at Medium
Fix broken UTF-8 fonts in SSH after upgrading to High Sierra
After the recent upgrade to macOS High Sierra, UTF-8 icons displayed incorrectly when using SSH. Particularly the powerline of oh-my-fish was broken. The solution to this dilemma was simply to set the locale correctly. export LC_CTYPE=en_US.UTF-8…
Nov 22 17November 22, 2017
Article at Medium
Exporting images with metadata to the photo gallery in Swift 3/iOS 10+
With iOS10 and Swift 3, Apple removed ALAsset and replaced it with the Photos library. While the concepts of the new Photos library are great, the documentation is not very clear on how to write custom metadata to the image. The fact that UIImage…
Jun 23 17June 23, 2017
Article at Medium
Running oh-my-fish on Ubuntu on Windows
Having a proper shell when working on a Unix environment is a must, especially as a software developer. That’s the reason great shells like fish or zsh exist: They simplify a lot of tasks and also make working from the terminal pleasant.When…
Sep 19 16September 19, 2016
Article at Medium