Blog posts ✏️️

June 8, 2023

Playing Stardew Valley Co-op without Internet

Stardew Valley LAN

When using your iPhone's Personal Hotspot, Stardew still connects to the master server.

Use this trick to use your Personal Hotspot as a local only LAN hub to play games like Stardew Valley without internet connection.

1 min read
Jan. 19, 2023

Plausible proxy for using NGINX


NGINX is a very efficient forward proxy and the ideal tool for this job.

The goal is to set up a proxy in front of Plausible that consumes very little memory.

1 min read
Dec. 7, 2022
#ocaml #web #typescript

Error handling for web developers

Error handling is a broad topic. How to do it right is not always obvious. The unsatisfying answer in general is “it depends”.

Let’s have a look at a specific example using TypeScript in the context of web development.

4 min read
Oct. 1, 2022
#linux #dokku

Running multiple services on Dokku

Dokku makes it very easy to deploy and run simpler web apps.

Recently, I had to deploy a slightly more complex web app with multiple non-web worker services talking to each other. It’s surprisingly simple to get make this work.

2 min read
July 21, 2022

Migrating from Next.js to Remix

I recently migrated a Next.js project to Remix in order to improve performance and maintainability.

These are 8 reasons why you should and should not use Remix.

5 min read
May 26, 2022
#emacs #ocaml

OCaml and Reason on Emacs using lsp-mode

This year I started consolidating all the major modes by using lsp-mode and apheleia for all the programming languages I use.

The switch from OCaml’s merlin-mode was surprisingly painless.

2 min read
April 22, 2022

How to auto-reload the Django shell

The Django shell python shell is a very powerful tool that increases developer productivity if used correctly.

With a few lines of configuration, you don’t have to leave the shell anymore to apply code changes.

1 min read
Jan. 23, 2022

Fix Autostart On XFCE

It took me three months and five attempts to fix this issue. Upon reboot two terminal panes and one Emacs instance auto-started and I didn’t know why.

2 min read
Nov. 20, 2021
#linux #nixos

Thinkpad T14 with NixOS and I3WM

3 months ago I installed NixOS, i3wm and XFCE on my new Thinkpad T14 (1st Gen). It is the main machine that I use every day.

In this blog post, I summarize my experience with this setup.

3 min read
Nov. 18, 2021
#travel #linux

Captive Portals in Coffee Shops and Hotels using Linux

You sit in a cozy coffee place and you just finished your coffee.

You are still not connected to the WiFi while the MacBooks and Surface devices around you have sent and received Gigabytes of data since you sat down.

You are a Linux user.

1 min read