01 / Blogblog.xml

Blog (38)

Long-form. Ideas, dev notes, the occasional rant.

GB (Git Branch)

I made a small command line tool to quickly switch between recent branches.

Render error pages in Axum

This post details how I use IntoResponse for my AppError to render proper error pages and status codes for all my Error types, including Diesel::error::NotFound.

A personal API 

Moving from a static site with markdown to a personal API with structured (JSON) content.

Switching to Svelte

I have rewritten my middleman site to Svelte/SvelteKit, here's what I encountered.

Resize images from s3 with AWS Lambda and Rust

My site contains a lot of images and resizing them for different devices (mobile phone, tabled, desktop etc.) takes a lot of time and (upload) bandwidth. This is especially annoying on Hotel Wi-Fi in a far-away country. With the help of AWS Lambda and Rust I made this into a smooth process.

Apollo Query Batching and graphql-ruby

Query batching is a way to speed up your application. Instead of waiting on multiple client-server roundtrips to load data, everything is loaded at once.

Consistent API'sAppSignal

How to keep your API, client tests and documentation in sync.

Taming our MongoDB database sizeAppSignal

Not so long ago we noticed that our MongoDB servers were running out of disk space at an alarming rate. Because we host our database on SSD enabled servers at DigitalOcean, scaling up could cost us a lot of money.