Blog posts: Fun

Most of what I write is intended to be useful, but sometimes I write things just for fun. I make no guarantee that you will enjoy them; it is enough that I do.

2022

U+: pretty Unicode code point literals for Rust

Stop worrying about whether char literal syntax uses '\u{1234}', "\u1234", \x1E\x88\xB4 or something else, and use the True Unicode Syntax of U+1234!

2021

make me a sandwich

xkcd 149. I was hungry.

2019

<_>::v::<_>

A fun little piece of Rust artwork.

2014

Blindly random (or: old stories + computers = ?)

Have you ever wondered what the storytellers of yore would have done if computers had been in common usage? All of a sudden, people might start choosing supposedly random things scientifically…