Hello, hello! Is there anybody out there?1 Welcome to the sparkling new blog!
I’ve had a website since at least 2004. It’s gone through numerous changes over the years, as my software engineering skills and web technologies have evolved. My website has existed in its current form since July 2015, although it did receive a rather substantial facelift in April 20182. Before then, I had used a small selection of CMSes to host my content3.
Before my website had its current form, it had a decent amount of content of varying quality and interest, but when I did the reset in 2015, I wanted to reduce the website to a landing page about my skills and contact information; a sort of virtual business card. As such, my website had nothing but the main page for the longest time. In May 2019, I added the links page, which has been updated a few times since then, but that’s been it.
I’ve been wanting to do more with my website for a while, but due to complicated personal reasons, I’ve been unable to satisfactorily pursue that goal. Until now.
In recent weeks, I have been feeling inspired to begin blogging again. I’ve done blogging in the past, but those blog entries are most likely long gone for the most part4. What finally got me to stop thinking about doing it and finally taking the plunge was reading Manish Goregaokar’s blog post titled “Why I Enjoy Blogging” . My takeaways from reading that blog post were:
I like programming a lot, but if programming was all I did, I’d get tired pretty quickly. […] But I still sometimes feel like doing programmery things in my spare time just … not programming. Turns out that blogging doesn’t tire me out the same way!
Great! So, with the goal of picking up blogging again firmly implanted, the next question was, “how do I add a blog to my website?” My website was already built on React, so my first thought was that I could probably relatively easily add a blog system on top of that. I’m a big fan of doing things myself, but I’m also a big fan of not reinventing the wheel when it’s not necessary. In particular, the thought of having to manually maintain a list of blog posts, blog tags and an RSS file had me looking for something more than plain React. A little Googling later, and Gatsby presented itself as the obvious path going forward, seeing how it’s built on top of React, but also has a great system for compile-time generation of content. Converting my plain React website to one running on Gatsby took me about half a day; most of which was spent reading the tutorial and a smattering of documentation.
Another half of a day was spent setting up this blog. I based most of my code on the one from Mark Shust’s website ; although it seems that his was based on the Gatsby blog starter , so who knows if I wouldn’t have had an easier time basing it off of that instead? 😅
I did make one change to Mark’s setup though; because I wanted MDX support for my blog posts, which lets you mix Markdown with React components.
If you want to see exactly how I did what I did, you’re in luck! My website in all its glory is publicly accessible on GitHub for anyone to inspect and learn from!
I don’t intend on limiting myself regarding what to write about here, so upcoming posts will be covering whatever I feel like writing about. Still, my interests are mostly centered around software development, gaming and health and diet, and so I’d expect my blog posts to be, also.
© 2020 Alexander Krivács Schrøder. Some Rights Reserved.
You can also leave comments directly on GitHub, should you not want to authorize the utteranc.es API to post on your behalf.