February 22nd, 2020

Designing the code behind product filters

You’ve seen these all over the internet, a sidebar containing controls that can filter a list, usually products in an online store. At my job as a front-end software engineer, we also made one of these, and I’d like to share with you how it works. MORE

Featured Image
December 31st, 2019

My favourite games and films of the 2010s

The decade is over, if you count your indices from zero. So I thought I’d share my favourite games and films of the last decade here on my blog. This list obviously doesn’t include every good thing, but these in particular have had the most impact on me. MORE

Featured Image
November 14th, 2019

An interactive file mover inspired by git

I recently had to change the names of a bunch of files at work. I thought about how annoying it was going into Finder and renaming individual files, but how easy it was in my code editor to change the references to those files. So I had the idea to write a tool that could open a list of files in an editor, and whatever file path was on each line when the file was saved and closed, that would be the new file path. MORE

August 25th, 2018

Labeling pie charts without collisions

Recently at work, I've been using Chart.js to create pie/donut charts. We really wanted the labels to be shown around the outside of the chart, next to each segment. Chart.js doesn't do this out of the box, and the only plugin I found would let the labels overlap. I decided to challenge myself with making my own plugin that would handle overlaps/collisions more gracefully. MORE

Featured Image
October 9th, 2017

The Delight and Damage of Prettier

When you work on a big codebase with multiple contributors it can be difficult to keep everyone to a specific style of coding. Prettier takes this weight off your team's shoulders and ensures you never have to review code for formatting again. MORE

Featured Image