[ Content | Sidebar ]

Archives for 2020

SIGPIPE and how to ignore it

I recently found myself trying to port a program that uses Boost Asio to run on OpenBSD. Everything compiled OK but while running it would occasionally exit with an unhandled SIGPIPE signal. This doesn’t happen on Linux. What’s going on here? SIGPIPE is a synchronous signal that’s sent to a process (thread in POSIX.1-2004) which […]

OpenSMTPD: use SSL client certificate when relaying outgoing mail

I recently set up OpenSMTPD as the MTA on my local machine. I want to relay outgoing mail through another mail server on my VPS which is configured to only accept SSL connections with valid client certificates. It’s not clear from the documentation how to configure this in smtpd.conf. However I eventually found from the […]

NVC Version 1.5

I’m pleased to announce a new version of nvc, the VHDL simulator I’ve been working on for the best part of a decade now. I haven’t added any major new features recently but I’ve fixed several bugs listed below, and also updated the code generation to be compatible with LLVM 7 and later. Due to […]

My first Linux “kernel” patches

OK well not really kernel patches, but they’re in the Linux tree so I guess it counts? Was so excited when I got the automatic notification they’d been merged for the 5.8 release. Hopefully someone out there using perf to profile Java finds them useful.

Wlroots and Phosh on Samsung S7

A few weekends ago I left my Samsung S7 running Gnome on software-rendered X11. This kind of works as a demo but it’s slow and clunky so I followed that by attempting to get Phosh running. Phosh is a gnome-shell replacement for Purism’s Librem5. It uses phoc as a Wayland compositor instead of Mutter, which […]

Installing GNU/Linux on my Samsung S7

I want to do something useful with my old Samsung S7. Previously I’ve tried LineageOS, and while it works OK, it wasn’t as stable as the stock Samsung ROM and you still end up installing a lot of proprietary apps on it by necessity. I’d much rather run a proper GNU/Linux distro on it. This […]

Sunset

A few minutes too late. 🙁

Xcowsay 1.5

Xcowsay is starting to show it’s age a bit, and with Gtk2 and legacy GDK fast disappearing from distributions it’s time to upgrade to Gtk3! (Yes I know Gtk4 is out soon…) Migrating from GDK to Cairo was fairly painless as the drawing API is very similar. The main problem is the removal of the […]

Taking out the Rubbish

On the plus side I got an extra 10 days holiday. Downside is I can’t go outside.