Bicycle ReConstruction

Before building an electric bike, I first need a bike suitable for electrification. With the expected expense of the project, I wanted to ensure I was building something to last. For the past few years I have been riding an ill-fitting mountain bike which actually belongs to my fiancé, so the first step was going to be finding a bike I liked enough to call my long-term rider. Growing up I always had a cheap mountain bike. [Read More]

De-Duplicating Unit Test Setup

Go (or if you are using a search engine, Golang) has great unit testing functionality built directly into the language. Create a file ending in _test.go and define a function with the signature func TestMyFunction(*testing.T). Executing go test will now run any tests in the current package. Very easy. As an application grows however, the number of tests explodes and it maintaining organization becomes difficult. To solve this problem, while developing the new REST API at ExtraHop I began using GoConvey from the very gracious developers at SmartyStreets. [Read More]

A Better Recipe

I have always had trouble with recipes. The instructions are always located at the bottom well after the full list of ingredients is displayed. So guess what happens… yup, I go down the ingredients list adding each to a big bowl as I go. By the time I read the instructions and learn there was a specific order it is far too late. I have been reading The Little Schemer and came across a nearly perfect solution that I just had to share. [Read More]