Former software engineer, current engineering manager. Interested in how things work; breaking things and fixing things.

Located in Wollongong, Australia.

Floating Point Arithmetic and Why It Makes Cents

With the current headlines being dominated by the collapse of the Silicon Valley Bank, it seems apt to share this recent coding mistake I made with floating point numbers.

A person in silhouette appears to be floating above the ground

Writing Code with AI Examples

Having a conversation with ChatGPT can be fun, but it will quite often tell you confidently something you know to be gibberish.

Screen with charts and numbers

Displaying Relative Time for a Static Site

Calculating relative dates in JavaScript to display on statically generated sites, including those built with Eleventy - like this one.

Watch face with complications showing the time

Getting Started with AI

Tips and Resources for AI Beginners.

A graphic depicting a network of blue dots connected by lines

Ruby-on-Rails Conditional Validation

How to apply validation in a Ruby-on-Rails model when you don't always want it.

Orange diamond sign featuring a black exclamation point

More articles...