Bootstrapped by AI

Posted on (read in 3 minutes)

I’ve been meaning to upgrade my personal website from Bootstrap 4 to Bootstrap 5, but I’ve not had the time. Recently, it occurred to me that this could be a fun way to test out AI coding. I installed Ampcode in my VS Code and asked it to help upgrade my Hugo static site to the newest Bootstrap.

It did a near perfect job. There were a few things I had to ask it to correct or address. I also had to provide a bit of knowledge on why some things it was trying didn’t work. But in general, I was able to get this done in minutes and for less than $1.

Read more

My home, automated

Posted on (read in 3 minutes)

Given that I work in the technology sector, it should be no surprise that I have an interest in home automation. I’ve toyed with it on and off for years, but finally seem to be making progress with a system that actually does what I want. In this post, I’m hoping to kick start a series of posts that document my journey and setup with home automation. Currently, that entails my Home Assistant-based hub and all the devices it integrates together.

Read more

HTTPS Only

Posted on (read in 1 minutes)

I have finally joined the twenty-first century and made this website HTTPS only. This is supposedly good for Google ranking and it is definitely good for privacy.

All non-HTTPS requests are now redirected to HTTPS. Further, I’ve implemented HSTS, disabled SSLv2 and SSLv3, and done all of the things necessary to get an A+ on SSL Labs.

Hooray for security! The next step will be supporting HTTP 2.0.

Website changes, again

Posted on (read in 2 minutes)

A few years have passed so it seemed like it was time for yet another website change. I’ve not changed much visually, but I’ve changed the entire static content generation stack.

Previously, my site was generated using a static content generator called Nanoc. It took a set of source files written in Markdown, HTML, Haml, Sass, and a bunch of other stuff and output them as HTML and CSS. I had a lot of complexity. So much so that I never touched the content and didn’t want to upgrade Nanoc. Plus, the way rules worked changed in Nanoc 3 and I didn’t want to face untangling my mess.

Read more

Migrating VMs to a new vSphere cluster

Posted on (read in 3 minutes)

Where I work, we use VMware to virtualize the majority of our servers. Last year, we bought four new servers in order to provide more resources to our virtual evironment, and also to aid in the upgrade to vSphere 4 from VI3. The plan was to power off all virtual machines and perform an offline migration of all the VMs from the old cluster to the new cluster. However, we were also migrating from the vSwitch to the distributed virtual switch (dvSwitch).

Read more