Blog posts


Compiling Scala as a single binary for AWS Lambda

An experiment of using GraalVM to compile my Scala Lambda to a single binary to improve cold start times.

Posted on .


Should you zip your precache assets?

My attempt at benchmarking to figure out if it's faster to zip your precache assets and extract them in a service worker.

Posted on .


Exploring the usage of prefetch headers

On the web, prefetching describes the practice of downloading something before the user actually needs it. But how do browsers indicate that a certain request is not a "real" user request, but instead a prefetch request?

Posted on .


k-means clustering simplified

My attempt at explaining k-means clustering in simple terms as well as walking through a very basic implementation of a clustering algorithm.

Posted on .


Rendering accessible LaTeX math on the web

I wasn't satisfied with using client side LaTeX rendering, so I figured out how to do it in Node.js while also making it accessible.

Posted on .


Thinking in terms of constraints

Constraint Satisfaction Problems (CSP) are a way to represent a problem in terms of variables and constraints. In this blog post, I explore how to use and solve them.

Posted on .