My name is Scott Colby. I am a software developer and chemist. I work in Python and Rust, and deploy with Kubernetes, Ansible, and bare Linux machines.
I use this site to post interesting things that I've worked on and as a personal notebook to document things that I've figured out so I won't forget them.
The last time I updated this blog, I noticed that the last updated time on the about page had changed to the last build time. My site generator, Pelican, uses the source file’s modified time for this value, and this was being set by the operating system of the …
I recently received a Starbucks gift card via e-mail. I don’t have a Starbucks account, nor do I use their mobile app. However, the online gift card page shows a bar code, which I decided to print at wallet size so I don’t have to keep the email …
I use pyenv to build, install, and manage multiple versions of Python on my system at once. At some point recently, I needed to link my compiled Python against a newer version of SQLite than was shipped with the version of macOS that I was using at the time.
I have a few backup jobs that are run periodically by systemd timers. Because these are backups, I would like to be notified somehow if they fail. systemd has a configuration option for this, OnFailure=.
This is not a radical idea, and in researching while writing this post, I found …
I took a machine learning course in graduate school. As part of the coursework, we were taught about the fundamental algorithms of machine learning and were asked to implement some of them. My implementation of the k-nearest-neighbors classification algorithm (k-NN) remains some of my code that I’m most …