Avatar

Rob Crocombe

About

Software engineer at Ravelin.com

Blog posts

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. Our system needs to filter on a few different list types like customers, orders and more. So it needed to be generic in the type of user input it can ha… Read more →


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. In alphabetical order: Avengers: Infinity War (2018) I really enjoy the MCU, and Infinity War has been my favourite film in the series so far. It… Read more →


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. In alphabetical order: Avengers: Infinity War (2018) I really enjoy the MCU, and Infinity War has been my favourite film in the series so far. It… Read more →


An interactive file mover inspired by git

Time for the annual blog post! 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, one on each line, and whatever file path was on each line whe… Read more →


An interactive file mover inspired by git

Time for the annual blog post! 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, one on each line, and whatever file path was on each line whe… Read more →


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, so one of the only solutions I found was the plugin Chart.PieceLabel.js. This was a great start, but I found that if the chart segments were too small, the labels would overlap and be unreadabl… Read more →


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, so one of the only solutions I found was the plugin Chart.PieceLabel.js. This was a great start, but I found that if the chart segments were too small, the labels would overlap and be unreadabl… Read more →


The Delight and Damage of Prettier

At work, we recently added Prettier to our TypeScript dashboard. Prettier is a code formatter that’s gained popularity for its smart and deterministic output. Why did we make this change? 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 re… Read more →


The Delight and Damage of Prettier

At work, we recently added Prettier to our TypeScript dashboard. Prettier is a code formatter that’s gained popularity for its smart and deterministic output. Why did we make this change? 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 re… Read more →


Apple AirPods Review

I’ve been snagging my EarPods on door and drawer handles since my first iPod, wishing for the same comfort and styling without the pesky, tangled cables. So how excited was I when Apple announced the AirPods. I was sensible enough to wait for reviews and opinions first before buying them. Unfortunately supply has been very limited, ordering them online would take 6 weeks for delivery. The best way… Read more →