Troubleshooting Failing Commands

I created a new command on my Discord bot (PR #16) that fetches the status of the Minecraft servers running on minecraft.kgb33.dev. When running locally it worked perfectly, but when running in production it fails silently. This post outlines the debugging steps I took to solve the issue.

Read more >

TiL..About git remotes

I’m trying out daily driving NixOS and one of the problems I have is knowing when updates are available. On NixOS all the packages are defined in a giant git repository - github:nixos/nixpkgs - and updates are commits to the various branches (called channels) of this repo. Then, my system is locked to a particular commit hash for whichever channel I’m comfortable running. Thus, to find out if there are updates available I just have to check if the most recent hash is in the lock file.

Read more >