[lsxnr]# _

Recent Posts

Looking at self-hosting a cluster

published on

I’m looking to self host more and more of my infrastructure, this comes with the old question of hardware maintenance, service failover and deployment reproducibility (aka the cattle vs pets argument). Finally a more nuanced question also arises around security, process and data isolation.

Read More...

Terraform: Cannot delete entity, must delete policies first

published on
Just one of those day-to-day things that you come across, fix, forget; then come across again and wish you wrote it down. Search online and you’ll get a bunch of results for getting this error whilst trying to delete an IAM User via terraform Cannot delete entity, must delete policies first, the gist is basically you’re going to have to go via the CLI. Here’s the official guide for deleting IAM users. Read More...

Dell Chromebook fan control - Part III: CMake

published on

Round Three. Fight!

I feel like I’m finally unblocked on writing ctempd. I cant get the ec build system to give me a nice library to link against, but I can get it to build a bunch of .o files for me and link against them directly. This is the simplest approach and I think it will do just well for now. I can always make my own library layer that is linked against these and built into a static library or something; alternatively I might revisit this problem again in the future and see what the cleanest approach is. But for now I’m happy to just get to writing some original code :)

Read More...

Fixing Pebble Steel Buttons

published on
I have an old Pebble Steel that has gone unused for a long time because two of the three buttons on the right hand side have stopped working. There is a post on reddit talking about how to fix this, but the original forum thread with pictures is gone (actually the whole forum appears to be gone), so I though I would take some and make a little writeup. Possibly you will find this through google and it may help someone; the process is easier than I thought! Read More...

Urho3d Empty Project

published on

There are a few resources online for setting up an empty project in Urho3D - even a github repo by the same name Urho3D-Empty-Project, but after having tried myself to create a basic “hello world” from scratch, I found them to either be a misnomer (as in the case of the “empty project” repo) or incomplete. This assumes you are going to use the Urho3D CMake build system as much as possible.

Read More...

Change resolution and renderer in Homeworld under wine

published on
There are very few computer games that I think have really captured my imagination, Homeworld is one of them. I still have the original CD and box so I though it best to clone it for safekeeping. So after borrowing a USB CD drive and running dd I decided to launch it for some nostalgia. Turns out though you can’t change the resolution in-game due to a wine bug, two in fact: Read More...

Dell Chromebook fan control - Part I: The ec build system

published on
I have an old Dell Chromebook 11 that I rather like and use. It’s pretty good for what it is or at least it was at the time when it came out, I haven’t looked at the market to say whether or not that still hold true; it came with an IntelĀ® PentiumĀ® 3556U CPU and 4G of RAM. However it also came with one massive drawback: an over-zealous fan controller and a small high pitched fan. Read More...

Common commands for namespaced projects running in gcloud

published on
This is nothing new, special or otherwise more than what you can find by just looking over the Kubernetes Cheat Sheet. However I tend to use these all the time when working on projects using gcloud and kubernetes (both k8s pods and gcloud vm instances), that use namespaces to segraggate different lifecycle deployments. The most common stuff I can remember (like getting a list of pods :p), but getting kubectl credentials for another project I tend to forget unless I use often :) So I will put them here in order to not have to look through my shell history so often. Read More...

Brother HL-4570CDW printers on Linux

published on

For whatever reason, I always find that any printer at work will always be the one that doesn’t work with Linux. Maybe that’s just because all printers don’t work with Linux ;p But luckily to get the printer to work all it took was a ppd file.

Read More...

Tags

aws (1) cassandra (1) chromebook (3) ctempd (3) cups (1) devops (2) docker (1) engineering-log (3) gaming (1) hardware (1) kubernetes (1) linux (3) pebble (1) prometheus (1) self-hosting (1) systemd (1) terraform (1) urho3d (1) wine (1)