I’m taking a break from daily blogging. I’ve started my first job in tech as a full-time software developer on July 1st. Before that, I was employed as a tax officer where I chose to work part-time. The transition to full-time work and a totally different industry doesn’t leave me enough energy to work on my side-projects or to write blog articles. For now, I will concentrate on getting up to speed in my day job.
Last month I decided to try to write a blog post each day. Today’s article is the embodiment of my frustration with this experiment. While I code every day, some days I don’t have anything interesting to share. No learnings, no insights that warrant a blog post. Today the daily writing habit feels pointless. I will try to keep it up for a few days more. My new job (first job in tech!
Inspired by Seth Goding and other folks like Mike Crittenden, I’m going to write a blog post each day for 100 days. Writing daily was a habit that I followed in 2019 and 2020, until I burned out on writing. My situation is different now. I’ve quit my job as a civil servant and will start my first job as a software developer in July. I plan to use my free time to learn a few new things (Angular, Java), play around with things that I enjoy (Go), writing and reading.
I’ve been sick the last few days and wasn’t able to program or to write blog posts. For now, I will cut back on blogging. I’m not sure if the daily format is the best for me. Daily blogging was a good exercise for me. It forced me to produce. I published my thoughts and learnings instead of being afraid that my writing is not good enough. My plan is to continue publishing short snippets and insights, but I won’t force myself to write a daily article.
Hugo is a well-designed and feature-full static site generator. It’s ideal for a blog. The build times are fast, so it’s a joy to write a blog post with the development server and enjoy fast reloading. Unfortunately, it’s not easy to integrate a search function with Hugo. You definitely need a third party, either a commercial service like Algolia, or a NPM library like lunr.js. I do not want to add a commercial service.
I’ve moved this blog from Gatsby.js to Hugo. My build times have gone down from more than 7 minutes to a few seconds! The slow build times with Gatsby have been an ongoing concern for me. I’ve slowly been creeping towards Netlify’s free 300-minutes-build-time cap. Hugo runs a magnitude faster, and it integrates well with Netlify. Hugo is a static site generator built with Golang. The project’s selling points are incredible speed, ease of use, and the ability to configure tons of settings.
Rich Winter kindly pointed out an error in one of my posts. He also suggested adding my Twitter handle to the blog. Thus, I’ve included a new button to the index page. The button leads to my Twitter account. It’s only visible on the index page, not on the individual blog post pages. My blog uses the Gatsby blog template by LekoArts. I don’t want to deviate from the design too much as I like the minimalist style.
I like Gatsby.js - it offers a ton of functionality out of the box and embraces the React ecosystem. I watched the excellent Frontend Masters course Introduction to Gatsby. I’m blown away by the possibilities Gatsby offers. But the devil is in the details. A while ago, I added an RSS feed to my blog. Unfortunately, using the official gatsby-plugin-feed is not as easy as it sounds. The culprit is mdx again.