Magnus Hovland Hoff

Assorted stuff I've made

Blog

Id30
Id30 is an encoding scheme for identifiers I have designed for use in URLs, and implemented in Rust. It is also a good fit for single-use keys meant to be copied to another device, such as login codes sent via SMS or displayed on a TV screen. Id30 looks like the following: bpv3uq, zvaec2, rfmbyz, jwygvk or even 000000 and zzzzzz. Example URLs could be: https://example.com/item/bpv3uq or https://example.com/watch?v=zvaec2 Continue reading
Hexagonal train game
I'm dreaming of a train game inspired by OpenTTD, a game I have spent the typical "too many hours" playing. I obviously enjoy it a lot, but there are nevertheless some annoyances that would be nice to fix. So I have spent a lot of time designing a new game in my mind that fixes everything and is so much better. Maybe. The only way to know… Continue reading
Writing dependency-free JavaScript
Lately, I have been working on a web application, pixu.rs1, that, while small, includes an interactive form with image uploading and multiple phases. This is exactly the kind of thing I tend to turn into a mess when I'm not using React, Redux and everything that comes with that ecosystem, but small enough that I hesitate to bring in the big guns. F… Continue reading