Upstream released sesh 2.27.0 while misc/sesh was still at 2.26.1. I added the package earlier this year, but this was the first time I upgraded a package written in Go, so I made some notes about the Go-specific steps. The general pkgsrc update procedure applies as usual; the new part is go-modules.mk, the file listing all the Go module distfiles fetched from the module proxy. (more…)
21.7.26
Upgrading a Go package in pkgsrc
3.7.26
A Redis object cache for WordPress
WordPress Site Health had been nagging me to use a persistent object cache. I already run Zend OpCache, so I wondered what else I needed.
OpCache is an opcode cache: it stores the compiled bytecode of the PHP source so the engine need not recompile it on every request. The object cache is a different layer, holding the results of database queries and transients. WordPress ships with a non-persistent object cache that lives only for the duration of a single request; making it persistent means backing it with something that survives across requests, such as Redis.
On this site I manage the WordPress tree with svn and do not let PHP write into it, which changes a couple of the steps from the usual click-in-the-dashboard instructions. While I also generally prefer nginx and PHP-FPM, this site is still on Apache with mod_php. However, the installation is basically the same regardless of the web server software, but troubleshooting differs between them. I’m covering both here. (more…)
19.4.26
Goodbye, NetBSD Planet
Twenty years of orbiting is a good run, I’d say.
Thank you to everyone in the NetBSD community whose posts kept the planet spinning all these years, and thank you to Venus — and Sam Ruby before it — for making the aggregator possible in the first place. Now we must say goodbye to things Python 2.7.
3.3.26
Installing AI CLI tools
I dedicated a VM for running AI CLI tools. Consider it a kind of a sandbox, if you will. (more…)
3.1.26
Upgrading to FreeBSD 15
Some additional steps were necessary when upgrading to FreeBSD 15.0-RELEASE: (more…)
27.3.24
Rocky start
Here are some quick notes for how I got a Rocky Linux 9.3 VM up and running. (more…)
4.3.23
Solved slow WiFi on MacBook Pro M2
I got a new MBP a couple of weeks ago and I’ve been migrating things to it from my previous 2015 MBP. A couple of days ago I went to a different site on my UniFi network, and unexpectedly WiFi performance on the new MBP M2 was abysmal (more…)
18.9.22
Virtual PTP hardware clock on KVM guests
Using a virtual PTP hardware clock with the ptp_kvm driver and chrony is an easy solution for keeping time on guest machines synchronized to their host. Ideally the host is already keeping accurate time by tracking a set of NTP servers, but it is still probably a good idea to still add some network NTP peers on guests as well. (more…)