flurries of latent creativity

Stable diffusion on an M1 Mac

2022-08-31


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.

2022-05-29


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.

2022-01-02

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

Probabilistic Spreadsheet

2021-11-24


I’ve had an idea kicking around at the back of my mind for years and finally spent a few hours over the last couple of weekends building it. It’s a probabilistic spreadsheet.

Read More