-
do while false pattern
March 12, 2018While working on an NDIS Driver for custom hardware, I saw a code pattern that intrigued me. The driver was using a do while false pattern with validated inputs and common error handling. A simplified version is below for reference.
-
Working with Erlang records in Elixir
December 21, 2015Elixir is a great way to hop on the power of the Erlang runtime with a more friendly syntax. Working with Erlang records can be a bit un-intuitive though, here’s how we are dealing with it.
-
Notifying AppSignal of Mina Deployments
March 25, 2015We decided to give AppSignal a trial run to possibly replace New Relic as our monitoring solution.
-
Setting up PositiveSSL w/nginx
March 3, 2015So you have a working site running behind nginx, and you want to secure traffic to it.
-
Notifying Rollbar of Mina Deployments
September 24, 2014After switching to Mina (from Capistrano) for our Rails application deployments, there was one tiny thing missing.
-
Using boost::asio::io_service in another thread
June 18, 2013Not an earth-shattering revelation, but a handy way to toss an io_service into a thread to allow async IO.