To use or not to use database triggers, and functions default values for ActiveRecord models?
Recursively flattening a JSON object in Python
Functions are the staple of programming. In this post I recount frustrations programmers have unintentionally created for ourselves by creating functions that take several arguments. I argue that every function should take a maximum of 2 arguments.
Long running Go applications, especially compiled with pre-1.11 releases are a favorite target of the operating system's OOM killer. In this post I describe my setup to resurrect my long running Go application after it has suffered that regrettable fate.
A write-up on a tour of Go's implementation of strings.