Missing or unsuitable terminal on FreeBSD

I recently switched to using Ghostty as my terminal emulator on macOS and Linux. A bunch of people at work started using it and were saying how good it is. In my experience it’s a little underbaked right now, but it’s nice enough - and the thing that is keeping me here most of all is a unified terminal experience across macOS and Linux (previously I was using iTerm2 and Tilix respectively).

However, since switching I’ve come across a few pain points related to the TERM environment variable:

missing or unsuitable terminal: xterm-ghostty

Error opening terminal: xterm-ghostty.

WARNING: terminal is not fully functional

Read On →

Sorry, that branch name is invalid.

Have you ever tried to create a new branch it GitHub and been met with the error:

Sorry, that branch name is invalid.

Perhaps on GitLab you’ve seen the error that looks like this:

Failed to create branch ‘foo’: invalid reference name ‘master’

These errors are unclear.

Read On →

Hosting Atuin on FreeBSD

In the past year or so my podcast listening habits have changed. While I used to favour shows from the Jupiter Broadcasting network, I have recently found myself listening more and more to podcasts from the Late Night Linux family.

On a recent episode of Linux Matters Martin Wimpress mentioned that he had started to use Atuin to sync his shell history across multiple machines and gain better history management and insights.

Atuin works by hooking into your shell and storing the history in its own, local, SQLite database. Optionally you can sync your history to the official Atuin server and then have it available across multiple machines. Although the history is end-to-end encrypted, Atuin can also be self-hosted - so of course I couldn’t help myself from doing just that!

Read On →

Generate JSON Schema from Kubernetes CRD OpenAPI

At work we use ArgoCD. One of the things we do in our CI is to check that some files modified by our users are actually valid.

ArgoCD Applications have been modified in various versions over the past year, and our internal json schema was out of date, so I wanted to update it.
But where did the original schema come from? I couldn’t find it in the ArgoCD repo, so I guess someone must have crafted it by hand, until I saw it was several thousand lines long!

Read On →

Goodbye Twitter

There has been a lot written already about how Elon Musk bid to buy Twitter, tried to back out, then was forced to go through with the purchase, and even more written about what happened next.
The Verge has a pretty good timeline of events.

Back in November lots of people started looking elsewhere, and I was no exception. I saw someone I followed create an account on the Hachyderm Mastodon server and decided to do the same.

Read On →

Giving Up Maintainership

I’ve previously posted that I maintained the FreeBSD Port of hugo (www/gohugo), the awesome static site generator written in Go. I heard about it on one of the Jupiter Broadcasting podcasts in mid-2016 (I don’t remember which one, specifically) and by July 2016 I submitted my first request for a Port to be added to the tree.

By September of the same year this website had been converted from Wordpress to Hugo. Looking at Git, it looks like I started converting the site in August 2016.

Read On →

The Infinite Escape Room

Back in 2018 I was at the Frocester Beer Festival with some friends, it had become an annual tradition to go to this festival for a weekend of sampling beers, and catching up - sometimes for the first time since the last beer festival.
It was in 2018 that I sat down with my friend Mike Collins talked about podcasts and podcasting. We both wanted to get into it, I was thinking a tech news/help related podcasts but Mike had some other ideas.

Read On →

Railway Boundary Markers

Back in June this year we bought our first house! The process was stressful, and not something I want to go through again ant time soon!

Our house is located in the town of Risca, well to be more precise it’s actually in Pontymister.

I had noticed a slightly odd metal thing poking out of the ground near our garage:

Read On →

Back in the office

Back on the 13th March 2020 work told us:

…if the impact on your work is low and manageable, you should work from home.

Although the office was open to those that needed to go in, we were being encourage to work from home. This image was taken for one of our Town hall meetings celebrating how well we’d all transitioned in the early days - and I note that it’s been used in a few since too!

Read On →

Hosting vaultwarden on FreeBSD

Background

Almost two years ago I stopped managing my passwords with the excellent 1Password and switched to Bitwarden.

Read On →