Evan Louie

The personal website of Evan Louie; developer, designer, photographer, fashionista, and drinker of beer.

Docker’s documentation leaves much to be desired as navigating it often becomes an exercise in CMD-fing. I often want to use docker-compose for a project to get it running locally as PoC before setting up my k8s cluster. But it usually takes me longer to get the ports and volumes...

Recently I decided to remove Google’s Accelerated Mobile Pages (AMP) from a bunch of personal projects. While not a very painful endeavour to do, with some ag find/replace magic you can remove most occurrences of amp- in tags and get your page using normal HTML tags in no time.

Hard to explain my love for MergeSort. It’s easily one of my favourite algorithms for its simplicity and recursive nature; being the closest to a literal “divide & conquer” algorithm you could possibly get to.

Recently a colleague of mine wanted to migrate one of our React apps from just using Babel for compiling ES6/7 to using TypeScript as well (strict-null types in TypeScript2 was just too good to pass up). Having used TypeScript for a few React apps in the past, I realized there...

One of the less well known or used features of modern browsers is Web Worker support. With it, you can use spin up isolated processes to do CPU intensive tasks without locking the windows main rendering thread.