Hello World

Jun 23, 2020

So I have always liked the idea of starting a blog, and I have done so on many occasions. Most blog parts rely on a content management system to deliver said content that I write. However, content management systems have always been a bit of a pain in the ass to use.

I can attest to all these. I have used various such services and platforms, anything from BlogSpot, LiveJournal, to WordPress and to the modern Javascript equivalent of Ghost. But most of the time, the best part about all these platforms is the set up and configuration of them.

Other than the initial setups, the content generation has always been a pain in the ass. Firstly, you have to log in to the platform itself, and it is always been wrapped up in a GUI. I don’t need all that. The fuck do I need all your plugins for? I don’t want to dig into your janky PHP code. And, the page loads are so so so slow. Why do I have to go through login, drafts, write, publish just for a shit post?

Fuck me. There is so much friction between the desire to write, and the actual execution of the writing itself.

And what’s more. For you to really get a proper CMS experience (without having to pay for the “Pro” version), you usually have to host it yourself. Which sucks. There is the actual cost of hosting it (DigitalOcean is like $15 a month. Not a lot. But still wtf.). And there is also the effort of maintaining it.

Part and parcel of being an engineer is that we tend to engineer solutions to any possible pain points in our lives. So, we have created an extraordinarily simple workflow to write our code. It is just type it and publish it within the same interface.

TLDR. I am spoilt fucking rotten, and I want CMSes to spoil me. So, maybe I am just a lazy ass. But I really love the ability to just push my writing out as I would code.

Which is why I was quite entranced by Hugo. Firstly, it is written in Go, which is a language that I have been rather enamored with recently. Secondly, it promised to support Markdown. Thirdly, the steps to publish it seem trivial. (It is literally two commands. hugo, hugo deploy).

But the super big dealbreaker is this. I am able to host it on Github using Github Pages.

The major problem with every CMS is that, it saves a local backup. Ghost saves it in a certain format. WordPress saves it in its SQLite DB. Extracting the shit I wrote previously is hard. I usually have a copy that I commit to Github. But when I have a Github copy, and a CMS copy, I need to maintain both sources of truth.

Should I want to edit or change what I wrote, now I have to change multiple places. This whole process is shit.

But Hugo circumvents this. I am able to commit, and host on the same source of truth. Idk about you guys out there, but this is super major for me.

So this is my another stab at creating some blog for my own shit. And I am honestly having quite a fun time writing.

And best thing is, I can post up the whole fucking bunch of Markdown files I have written onto this blog. So yeah. I will probably be updating this space with some shit in the future.

Hopefully. Fingers crossed.

Miscellaneouspersonalmiscellaneous

yish91

Yi Sheng is a programmer by day, and still a programmer at night. But occasionally, he loves to write nonsensical posts about various things in his life.

July 2020 Project: Part 1 - Event Sourcing and CQRS