RSSAmplifier

Blog

Matsimitsu.com | Blog

Writings about tech.

matsimitsu.comRSS feed ↗20 posts

Latest posts

GB (Git Branch)

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

Blocking AI crawlers with Bunny.net edge rules

I noticed a larger CDN bill than normal, and the cause was AI Crawlers, so I blocked them with Bunny.net Edge Rules.

Rust Enums in SQLite with Diesel

I keep forgetting how to use Rust Enums with Diesel, so I wrote it down for future self.

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.

Handle trailing slashes for Axum routes

How tho handle trailing slashes for Axum routes

A personal API part 2, restructuring

Moving from Pocketbase to Rust and removing a whole lot of moving parts in the process.

A personal API

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

Self-nested components with svelte

Convert tiptap marks to svelte HTML components with a self-nested component.

Tailwind CLI with Yew and Trunk

Let's see if we can go node-less with Yew.

Serving static CORS JSON with Caddy

For a simple side-project, I needed to serve static JSON, with proper CORS headers.

Switching to Svelte

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

Remote uploads with pre-signed URLs on Scaleway's object storage

Or, make sure your headers match, otherwise you'll get a lot of strange errors.

Upload a file to an AWS pre-signed S3 url with RestClient

Or, how something so simple cost me so much time.

Publish articles from iA Writer to your static site

My hope with this project is that with less friction to write and publish a note/article, I'll do it more.

Kafka and Ruby, a Sidekiq lovestory

In today's article, we’ll cover performance from a different angle: The choices we made in our stack for AppSignal.

Using MailGun Europe with Rails’s ActionMailer

If you like to use Mailgun's Europe region you need some undocumented settings in the ActionMailer integration to get emails out.

Automatically water your plants with this 3d-printed system

After getting back from a 3-week trip my plants were not in a good mood, there was a heatwave when I was gone and not all plants survived. Time to think of a solution.

Identifying and Resolving a Kafka Issue With AppSignal

In this post, I'll tell you how we used AppSignal to detect and resolve an issue we had last week with our Kafka brokers.

Extending Protobuf with Traits in Rust

Extend default behavior of code with Traits and default implementations. In this case we add new functionality to generated Protobuf code.

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.