The personal site of Chris Allen!

Two memory issues from the last two weeks

Posted: 2024-12-10

Okay maybe they don't qualify as actual memory bugs, but they were annoying and had memory as a common theme. One of them by itself doesn't merit a blog post so I bundled them together.

Rebuilding Rust (Leptos) apps quickly

Posted: 2024-12-01

I'm working on a side project that is written in Rust on the backend and the frontend. The frontend component is in Leptos. Our app is about 20kLOC in total, so it takes a little time.

The cost of hosting is too damn high

Posted: 2024-11-28

I recently migrated a side project from DigitalOcean to some dedicated servers. I thought that I would offer some context and examples for why.

Routines in caring for children

Posted: 2024-10-05

I have 4 children aged 4, 3, almost 2, and 19 weeks. Parents are increasingly isolated from each other socially so it's harder to compare tactics and strategies for caregiving. I want to share a run-down of how my wife and I care for our children and what has seemed to work and what has not.

Obtaining happiness by using Diesel Async in anger

Posted: 2024-09-02

I've been getting some questions from people about how to use Diesel and particularly diesel-async for interacting with SQL databases in Rust. I thought I'd write up a quick post with some patterns and examples.

The example project on GitHub for this post is located at: https://github.com/bitemyapp/better-living-through-petroleum/tree/blog/diesel-async-in-anger

The blog/diesel-async-in-anger Git tag is so you can see the version of the code that I'm using for this post.