Latest Posts

Vuex getters

Every time I have to write a Vuex getter with parameters I have to look it up again - for some reason the method just doesn't go in. Today I found this comment, which gives an example of what feels

Auto-certs

I use mkcert and lvh.me quite a lot for local web development. To avoid gotchas (and because some libraries require it) I often test using HTTPS locally, which means generating a set of certs for each dev install. The

Unexpected Lists

I've been putting something together in Phoenix, and one of the pages kept throwing an error that it couldn't find item_path/3. This was odd, as the generating code in the template had four arguments.

Using QEMU in 32-bit mode

Lately I’ve been following this series on dev.to on writing your own OS from the ground up - it makes a nice change of pace from the web stuff I’ve been doing, from very near the top

Too Many Headers

Also known as "things I've learned today"... I've been using Insomnia the last couple of days to test a web API. Insomnia's a great client - it's got lots of features to make life easier. You can set arbitrary headers

Vue and PWA = awesome

I just had to take a minute to say - Vue’s automatic PWA support is amazing. Enable it with the Vue CLI and it Just Works. Okay, you have to supply your own icons and stuff, but that's pretty

X doesn't exist

When Linux keeps reporting that a binary doesn't exist, when it clearly does? That's annoying. One possible reason is below - this is the one that bit me a few days ago. If you don't know what bits and bytes

GraphQL - first steps

I was following Flavio Copes' tutorial on creating a basic GraphQL server in Express the other day. The tutorial was good, but I realised at the end that it didn't give you an example of a query to actually see