Writing Simulations Using Go

Introduction If you can write a for-loop, you can do statistics. - Jake Vanderplas A lot of developers shy away from problems which involve statistics or probability. Which is shameful since in today’s data-rich environment, you can gain a lot of insights from data. In this...

GoReleaser: 4 years releasing software

Last year, I made a blog post about GoReleaser turning 3 years old.

A few bytes here, a few there, pretty soon you’re talking real memory

Today’s post comes from a recent Go pop quiz. Consider this benchmark fragment. A convenience wrapper around sort.Sort(sort.StringSlice(s)), sort.Strings sorts the input in place, so it isn’t expected to allocate (or at least that’s what 43% of the tweeps who re...

A little puzzle with <code>printf()</code> and C argument passing

Go modules are soon going to be the only future

macOS Command Line Tools

Today, again, I forgot the command to install Command Line Tools and had to search for it.

The story of the one line fix

Picture yourself, an engineer working at the hottest distributed microservices de jour, assigned to fix a bug. You jump into an unfamiliar codebase and quickly locate the line where the problem occurred. The fix is simple, just return early or substitute a default value in the ca...

Building view components with gomponents and TailwindCSS in Go

Reusable components for your server-side views that look good.

Why I migrated to the Fish Shell

Back in June, I started porting my dotfiles from ZSH to Fish. Here&rsquo;s why.

Engineering Management Books

We live in the world where there are so many offerings of information in all possible formats: podcasts, videos, blogs, etc. But reading a good book is something that you&rsquo;ll never regret.