flurries of latent creativity

Advent of code


The contest Advent of Code is an advent calendar of programming puzzles made by Eric Wastl. It’s been going since 2015 and really gained popularity in 2020. I’d heard about AOC peripherally (is… peripheral hearing a thing?

Read More

TOTP tokens on my wrist with the smartest dumb watch.


I recently took delivery of a new replacement logic board for the ubiquitous classic Casio F-91W from Sensor Watch. The F-91W needs no introduction. It’s probably the most popular quartz watch in the world with something like 90 million total units sold.

Read More

Stable diffusion on an M1 Mac


As you’ll know if you follow me on Twitter, I’ve been kindof obsessed with the text-to-image GPT models OpenAI released as DALL-E recently. I’ve enjoyed generating art and even collaborating with DALL-E to riff on paintings I’ve made myself.

Read More

Kālua pork, cooked in an imu.


If you’ve ever enjoyed a Luau in Hawaii, chances are that the pièce de résistance was delicious melt-in-the-mouth Kālua Pork which is often served as the centrepiece of the Luau feast.

Read More

The joy of building a ray tracer, for fun, in Rust.


TLDR? You can find the code and a bunch of examples on GitHub at dps/rust-raytracer.

Over the holiday break, I decided to learn Rust. Rust is a modern systems programming language which has a really interesting type system. The type system can catch broad classes of common programming mistakes - e.g. ensuring memory is accessed safely - at compile time while generating tight, performant machine code. I’ve heard a lot about Rust from friends and colleagues over the past several years. Their most frequent descriptions in the early days were “esoteric” and “puzzling” but during 2021 it’s been increasingly common to hear gushing praise for the language.

Read More