November 27, 2020

My guide to working with JSON in Go

Working with JSON in Go can be tricky. Specially if you’re coming from dynamic languages like Python or JavaScript, where JSON encoding often “just works”. Over the years I had grown accustomed to those conveniences and that made me overlook many details which affect JSON encoding in Go. This guide hopefully helps me to avoid those mistakes in the future. Read more

November 8, 2018

Would you like to send an email?

There is a simple task that I occasionally need to perform which has caused me many headaches during the past 10 years: send an email from a server. I remember a day in my early career where I spent hours and hours trying to get Exim4 configured. I’ve similar recollections with Postfix, Sendmail and ssmtp. The last being close to what I was initially hoping for to find. But even this had it’s issues. Read more

Powered by Hugo & Kiss.