Blog Migration and Tech Adventures Thereof

I Migrated My Blog And All I Got Was A Blog

I am in the process of migrating my blog away from Ghost and into a static site generator. This was to to explore some different technologies and learn a bit around software deployment automation as well as help protect my website (AI and LLMs are making a lot of noise about attacking technologies and vulnerabilities).

There isn't much to this website and I can write a blog post while offline and just push the code changes when I get home. That's pretty slick.

Content of the blog

I decided to write a lot more about my aviation adventures, as well as my airplane build, into this blog. Since I program I figured that would make its way in too. I fell into the trap of thinking my blog had to be focused specifically for my audience but really I think the blog should just be mine and if people stop by, that's nice too! So there could be many topics, I like to dabble!

Underlying Technologies

For those so inclined, I'm a Software Engineer of 16 years and so here is a rough rundown of what I've setup. There is no shortage of static site generators out there and most of them are built in technologies that have various dependencies. I've been writing a lot of Rust in my freetime so I decided to check out Zola. It works great, no dependencies, runs fast, all I could ask for in a program.

The blog posts themselves (such as this one) are markdown and the theme handles all the templating and formatting for me. Setup was quick and easy (mostly, but you can read the next section for when it wasn't). There isn't a lot to say on this, it generates a static website I can deploy to the internet (which you may be familiar with).

I use Forgejo hosted on my local network (a raspberry pi, in fact). I setup the actions runner so that when I push to the main branch, it builds the site and deploys it to the server automatically. The last few versions are kept in-case I want to roll back (alternatively I can redeploy a past commit).

The server is just a web server that hosts the static website. No database or anything else going on.

Challenges in Migration

Beyond the normal challenges of technologies I'm not super familiar with (like writing a Forgejo action), it has been pretty easy going EXCEPT getting back into my Ghost server.

Did you know that sometimes software lies to you? It didn't mean to, of course. It was the design decision of whomever wrote the login page. I went to log in to export my Ghost posts and it told me my password was wrong. I never setup email on this server since it is just me messing around so I couldn't reset my password.

I went onto the server itself and called the bcrypt binary in the Ghost container to create a hashed password that I DO know, there is no uncertainty there. Then I connected to the Mysql database manually on the server and put the new hash right into the user table; the error remained unchanged. After too long of trying to figure out what I did wrong (nothing, it turns out) I finally thought to check the logs.

The logs, which I should have checked first, told me that it was trying to send an email to verify the login. This must had been a new feature in one of the upgrades and it was ON by default. So my password was fine (although I changed the hash so now we better hope mine is right or I'm pulling a backup). Some looking around led me to figure out I could disable this auth check as an environmental variable and once I did I finally had access with the new password I hashed myself.

Now I need to reformat the images and figure out how to import the old blog posts but things are on the upswing. Let's gooo

Challenges in life (Not that you asked)

Flying Club

I am the President of my equity flying club. So I own roughly 10% of the flying club and have to manage some things related to its operation. Lucky for me this is a fairly easy role and well within my ability. It is yet another thing competing with my time though. This has been so much better than renting an aircraft though! We are currently getting the aircraft upgraded with a new radio and a new intercom.

EAA Chapter

I am the newsletter editor, website maintainer, and social media manager for my chapter which is, frankly, too much for one person to manage in their "spare time". We are reoganizing this to be more of a committee that I oversee instead of me doing all the work.

Family

Unfortunately my step-father passed away from ALS right before Christmas. It wasn't a surprise but the slow degeneration and suffering weighed more heavily upon me than I wanted to admit.

Employment

For those of you in the real world, you know that AI (specifically LLMs) has made quite a splash in the tech world. I am a software engineer and I have a lot of opinions on generative AI but regardless of my opinion is that my job is impacted by them. I was working on Aviation Software but after a private equity acquision they reduced the majority of their engineering staff in favor of heavy LLM usage and squeezing all value they can from the company before it is a husk. This was a big bummer and lead to a lot of burnout up to the end of my employment there.

I was then unemployed for 7 months because the market for software engineers is a mess. I found a job purely through networking and luck. There were many 5 round interviews that went nowhere and it is exhausting.

Previous burnout

If you read between the lines of my last post, I was burnt out then from my cat passing away, my friend taking his own life, and my other job getting bought by private equity and ruined. I've had this happen to me four times now in my career of 16 years where private equity has purchased my employer and ruined everything they could to make themselves rich. So I never really recovered before the other stuff started hitting

Conclusion

None of the challenges is to provide excuses, of course. I only seek to add context and explain what happened. Writing these blog entries are good for me to organize my own thoughts and start to understand what happened that I didn't plan for.

I'll be scheduling a work day (or two) each week in the future to keep me on a regular work schedule for my aircraft. It is much too easy to get away from doing work when it isn't scheduled, so that is one change I'll be seeking to make.

I hope everyone out there has been well. As I get older I have been getting more and more empathetic towards others whereas I remember being a teen and not caring at all beyond my own technical ability (which drove egotistical behavior).

Now the end of the year is approaching and it is getting colder here. Happy holidays!