GpgFrontend's New Version Model and Release Mechanism

Updates have always been one of GpgFrontend’s biggest pain points. From the very first versions, GpgFrontend relied on GitHub Release to publish versions and to check for updates, and it stayed that way for many years. Starting with 2.2.5, and including the current main line, the version numbering rules, the release process and the way the client checks for updates have all moved to a new model and mechanism. How to use it and how to verify things is already in the user manual. But why I did it this way, and what I was thinking at the time, doesn’t come across in the documentation. ...

November 19, 2026 · Saturneric

Building a Split-Tunneling Personal VPN Gateway: A Practical Setup with WireGuard, sing-box, and Gluetun

In a previous post, I introduced a fairly straightforward chained VPN setup: all devices first connect to a WireGuard server I host myself, the server forwards the traffic to Gluetun, and in the end the traffic reaches the Internet through the exit of an upstream VPN provider. The core value of this setup is pretty clear: All devices only need to set up one WireGuard connection. The upstream VPN only has to be maintained on the server. Phones, computers, tablets and home devices can all join the same virtual LAN. The exit IP comes from a commercial VPN, a company VPN or another upstream VPN, instead of exposing the VPS IP directly. The whole system can be deployed with Docker, so it keeps the host environment as clean as possible. Compared with connecting to a VPN directly, all the VPN provider can see in this setup is the exit of your VPN gateway (your VPS), not the real IP of each device. Also, your local ISP and others can’t tell whether you’re using a mainstream VPN. All they know is that you’re connecting to a VPN gateway (your VPS), but where the traffic finally goes is unknown to them. But as I used it in more situations, the original structure started to show some limits. The most typical problem was that traffic control wasn’t fine-grained enough. By default, all traffic had to go into the upstream VPN tunnel, and for some services this could trigger risk-control mechanisms or cause access problems. It also wasn’t easy to do traffic engineering and use different exit strategies for different services. I could already do split routing with iptables and routing tables, but once there were a lot of rules, it got hard to maintain. ...

May 23, 2026 · Saturneric

Long-Term Personal VPS Self-Hosting: Cleanliness and Security

I’ve been seriously tinkering with personal self-hosting for about five or six years now. Strictly speaking, the time I started managing my own VPS goes back even further. The original motivation was actually pretty simple: there were some services I used every day, like a password manager, music playback, note syncing, a personal website, code repositories and so on. So why not just deploy them myself? That way the data stays in my own hands, and I’m not pushed around by all kinds of platform subscriptions and price increases. ...

January 3, 2026 · Saturneric

Running a “Vanilla” Mainline Kernel on Raspberry Pi 5: Full Workflow of Trimming, Cross-Compilation, and Deployment

Summary This post records how I turned the Raspberry Pi 5 into a minimal development and testing platform for the mainline Linux kernel (the vanilla kernel). It covers how I trimmed the repository down, a custom kernel config, cross-compilation and automated deployment scripts, a trick for removing overlays, and what I’ve learned from keeping it in sync with the mainline community over time. It should be useful for geeks who follow Linux mainline, ARM64 support, kernel development or upstream contributions, or who just like tinkering with the kernel. ...

June 14, 2025 · Saturneric

Building a Personal Chained VPN Network: Efficient Privacy Protection, Unlimited Device Management, and Remote Access

In some situations, you might want to set up a chained VPN. That means your devices on the internal network first connect to a self-hosted WireGuard server (a personal VPS, for example), and that server then forwards all traffic to another VPN (a company, school or commercial VPN service) before it goes out to the Internet. This kind of “VPN over VPN” setup has some clear advantages: Strong privacy protection: Traffic from your devices first goes through your own encrypted WireGuard tunnel to your personal VPS. The VPS then forwards it a second time through the commercial or company VPN, and it finally reaches the Internet from that VPN’s exit IP. This way, the VPS never uses its own IP address to access the target network directly, which greatly reduces the risk of your personal IP being tracked or leaked. ...

June 2, 2025 · Saturneric

Fix grub2 boot UEFI after Ubuntu dual system reinstallation of Windows

Say you have Ubuntu and Windows installed as a dual-boot system, and then you reinstall Windows. The Grub boot entry will very likely be overwritten by Windows Boot Manager, and at that point you can’t get into Ubuntu anymore. But don’t panic. You can fix the grub2 boot entry with the steps below, and you don’t need to install any extra software. Making an Ubuntu USB Boot Drive To repair the boot entry, we need the software tools that come with Ubuntu. We can’t get into the original Ubuntu system for now, but we can use the image written to an Ubuntu USB drive to get a basic, working Ubuntu environment. Download the image file from the Ubuntu website. ...

November 26, 2021 · Saturneric

Implementation of a Hybrid Simulated Annealing Algorithm for Solving the Three-Dimensional Boxing Problem MATLAB

For a mathematical modeling project, I needed to solve a three-dimensional container loading problem. After some searching, I chose the paper “A Hybrid Simulated Annealing Algorithm for Solving the Three-Dimensional Container Loading Problem” by Prof. Zhang Defu and others, published in the Chinese Journal of Computers, as the theoretical basis for my solution. The Paper’s Abstract This paper proposes a hybrid simulated annealing algorithm for efficiently solving the three-dimensional container loading problem (3D-CLP). The 3D-CLP requires loading a subset of a given set of boxes into a container so that the total volume of the loaded boxes is maximized. The hybrid simulated annealing algorithm in this paper is based on three important algorithms. (1) A composite block generation algorithm. Unlike traditional algorithms, the composite blocks proposed in this paper don’t contain only a single type of box, and can contain boxes of any type under certain constraints. (2) A basic heuristic algorithm, which is based on block loading and can generate a placement plan from a given loading sequence. (3) A simulated annealing algorithm. Built on composite block generation and the basic heuristic algorithm, it uses the loading sequence as the encoding of a feasible placement plan, and searches the encoding space with simulated annealing to find an approximately optimal solution to the problem. The algorithm is tested on 1,500 weakly and strongly heterogeneous container loading instances. The experimental results show that the fill rate of the hybrid simulated annealing algorithm is higher than that of the best known algorithms. ...

September 30, 2021 · Saturneric

Solve the problem of oh-my-zsh plugin 'zsh-autosuggestions' not found and plugin 'zsh-syntax-highlighting' not found

When we install the zsh plugins zsh-autosuggestions or zsh-syntax-highlighting, we usually run into the oh-my-zsh error “plugin ‘xxx’ not found”. So let’s look at why oh-my-zsh reports “plugin ‘zsh-autosuggestions’ not found” and “plugin ‘zsh-syntax-highlighting’ not found”, and how to fix it. The cause is that the plugin’s code repository was never cloned to your local machine, so the plugin you want isn’t actually installed. The fix is really simple. Just run the following commands: ...

May 25, 2021 · Saturneric