Latest Posts

📝 Styling for Print & Accessible Code

When I moved to Hugo, one of the main goals was the generated site would be compatible with most media. This includes blog posts being printable and accessible.

(21 Nov, 2019 - 3 min)

📝 Bundling JS with Webpack & Babel

This tutorial will walk through retroactively adding Webpack & Babel to a Node.js project. The first step in changing your dependency management is to inventory the packages you’re using. For the project I’m going to do this on, the objective is to migrate away from using CDNs and bundle them instead. This is also a good time to implement Content Security Policy for additional security, since by inventorying you will know what scripts are being loaded.

(27 Feb, 2019 - 5 min)

📝 Pains of Stateless State Management

As it would turn out, synchronizing states is really hard. The tech used for this app is fairly common. The client is rendered using p5.js, the server uses Node.js, Redis stores states, & data is passed between the two using websockets via The biggest difficulty is that there are multiple devices per player and multiple players connected at the same time. I have to make sure that all necessary data is synchronized efficiently, but I also need a single source of truth to fall back on.

(18 Dec, 2018 - 5 min)