RSSAmplifier

Blog

my tech blog

Anything I found worthy to write down.

billauer.seRSS feed ↗10 posts

Latest posts

Linux kernel: Preparing a patch for submission

This is a spin-off from my old post about git in general, and it contains my notes to self for preparing a patch for submission to the Linux kernel. See Documentation/SubmittingPatches in the Linux tree. First, clone the main git that appears in the MAINTAINERS part for the subsystem the patch is going to. Probably [...]

The pitfalls with unsigned integers in C

Background These are my notes as I tried to figure out if it s OK to assume that a multiplication of two signed integers results in something repeatable. Or more specifically, if I multiply two radix-2 strictly positive integers that are defined as int in C, is it enough to check that the result is strictly [...]

Utdelning eller lön från enmansbolag?

Jag är ingen revisor .. utan snarare någon som ville förstå varför tumregeln är att man betalar ut lön till sig själv upp till brytpunkten. Detta inlägg består av mina anteckningar i den processen plus några andra frågor. Jag fokuserar på ett bolag ägt av en person som tar ut lön och utdelning endast till [...]

Perl one-liner for adding newlines to HTML

When the rich editor puts all HTML in one line, and I want to edit it, I could always use the tidy utility, however it does too much. All I want is a newline here and there to make the whole thing accessible. So this simple one-liner does the job: perl -pe 's/( \/(?:p h\d div tr td table ul ol li) )/"$1\n"/ge' Not perfect, [...]

Enabling STARTTLS on sendmail with Let’s Encrypt certificate

Introduction I ll start with the crucial point: My interest in giving sendmail a Let s Encrypt certificate (along with a secret key, of course) has nothing to do with security. The real reason is that some mail servers won t deliver their mail to my server unless the link is encrypted. As of today (March 2026), I [...]

Using MGTs in FPGA designs: Why the data is organized in packets

Introduction I ll start with a correction: Indeed, application logic transmitting data from one FPGA to another is required to organize the data in some kind of packets or frames, but there s one exception, which I ll discuss later on: Xillyp2p. Anyhow, let s take it from the beginning. Multi-Gigabit Transceivers (MGTs, sometimes also referred to as RocketIO, [...]

Messy jots on AppSheets

Introduction These are the jots I wrote down as I learned my way through AppSheet. So this a messy and not so coherent post. Info is scattered here, not necessarily in a sensible order. This is not a tutorial. My interest comes from the fact that I m looking for an apartment, and I want to [...]

Un-ignore /usr/lib/systemd/ in .gitignore with git repo on root filesystem

Actually, this is about un-ignoring any subdirectory that is grandchild to an ignored directory. Running Linux Mint 22.2 (based upon Ubuntu 24.04), and having a git repository on root filesystem to keep track of the computer s configuration, the vast majority of directories are ignored. One of the is /lib, however /lib/systemd/ should not be ignored, [...]

Footnote and whole-page layout with wkhtmltopdf

This HTML code makes wkhtmltopdf create a single page with a footnote. If the external div is duplicated, separate pages are generated. html head meta http-equiv="Content-Type" content="text/html; charset=utf-8" / /head body div style="height: 1350px; display: flex; flex-direction: column; break-inside: avoid; border:1px solid #668;" This is just a test. div style="margin-top: auto;" This is a…

Notes on installing Linux Mint 22.2 (full disk encryption)

Introduction These are my notes to self for the next time I install a Linux system. As if I read my previous posts before attempting. So I installed Linux Mint 22.2 (kernel 6.14.0-29) on a Lenovo V14 G4 IRU laptop. With Cinnamon, of course, not that it s relevant. All that I wanted was a full-disk [...]