Goodbye Wordpress, Hello Hugo

So this blog has been more or less flat-lined for years now, but the mess that is Wordpress needed constant attention because it’s so riddled with gaping security holes. I recently started writing in Go for some projects at work and was introduced to the static site generator Hugo, and I thought why not give it a try? I get to write in Markdown instead of a never-quite-right in-browser editor, so I get to stay inside Vim, and my security concerns are as close to nothing as possible when just tossing this up in an S3 bucket as a static site.

I have a tolerate/hate relationship with Go. It seems intentionally built to hinder abstraction, what with its lack of generics or parametric polymorphism. This decision seems to cause all sorts of silly constructs like the multiple return value nonsense, which could have been done so much more elegantly by first-class tuple support or, gods willing, an Either monad. Go 1.9 seems to concede the hamstrung type system ridiculousness by adding a concurrent map that deals only with interface{}. Now that’s just silly. At this point I’m not holding my breath for the introduction of generics because there’s so much silliness that has been written to deal with things the way they are. At the same time, if you can get past all that - and there are days I barely can - it’s an enjoyable language to be in. I come from a primarily C# background but have been far more interested in Haskell, Elm, and F# lately. Writing C# today just seems to tedious. There’s just so much ceremony involved with its object-orientedness, and the .Net world is in this weird limbo right now as we’re moving to .Net core. F# support is always going to take a back-seat. I’ve been playing with Docker and AWS right now and the simplicity of writing it in Go is appealing. Needless to say, I spend too much time trying to decide what language to write my next projects in.

But out of Go arose Hugo and now this long-comatose blog has found a new home.

Aside from all that, things are good. We’ve got two kids now: a twenty-month old hellion boy in addition to our four year old daughter. We are embarking on Preschool this year which begins with a home visit from the teacher in the coming week. I just finished reading Big Little Lies, which has led me to believe that the world of the kintergarden parent is a maelstrom filled with social landmines and it sometimes ends with murder, so I have that to look forward to.

comments powered by Disqus