Working with DB datetime/date columns in Go

This post shows how to work with DATETIME`` / DATEdatabase columns and use Go standardtime.Timeavoiding manual string parsing. This article contains examples using 2 packages:database/sqlandgithub.com/go-sql-driver/mysql`.

Language Mechanics On Escape Analysis

Prelude This is the second post in a four part series that will provide an understanding of the mechanics and design behind pointers, stacks, heaps, escape analysis and value/pointer semantics in Go. This post focuses on heaps and escape analysis. Index of the four part series: L...

Debugging Go core dumps

Debugging is highly useful to examine the execution flow and to understand the current state of a program. A core file is a file that contains the memory dump of a running process and its process status. It is primarily used for post-mortem debugging of a program, as well as to u...

Controlling a Digispark board

The Digispark is perhaps as small as a microcontroller board for DIY electronics can get. This is a short writedown about my first experiences with controlling this board through Go code, using Gobot and LittleWire.

Language Mechanics On Stacks And Pointers

Prelude This is the first post in a four part series that will provide an understanding of the mechanics and design behind pointers, stacks, heaps, escape analysis and value/pointer semantics in Go. This post focuses on stacks and pointers. Index of the four part series: Language...

Premortems: The Art of Negative Visualization

Improving Jekyll build time

I’ve been using Jekyll on my blog since 2012. It is great! But, lately, its slow build times started to bother me. I consider moving to Hugo, but that seemed like a lot of work, and I didn’t know what the real problem was. In this post I’ll show how I improved...

Design Philosophy On Logging

Prelude This post is part of a series designed to make you think about your own design philosophy on different topics. If you haven’t read the following post yet, please do so first: Develop Your Design Philosophy Introduction Systems cannot be developed assuming that human bei...

The Discipline of Chaos Engineering (Gremlin)

Big Oh!

You worked hard to save a few CPU cycles in the central loop, but your code is still slow? Time to think about the time complexity of your algorithm.