Milhouse on software, engineering, and Emacs.

Tech-Talk about random testing

TL;DR: Just found out that the talk (pt-br) I gave about Random Testing @ Locaweb was made public. The links to both video and slides are shown below.

Read More

Writing a process pool in Bash

TL;DR: In this post I will show how one can achieve the equivalent of a “process pool” to run many processes in parallel in Bash. Think of a thread pool, but for running individual processes. In a next post, I will show we can use this “process pool” to build a tool that will help you manage tons of git repositories.

Read More

Small hack to use Slack in Firefox with Keysnail

TL;DR: In this (very) brief post I describe how you can make your C-k binding in Keysnail play nice with Slack’s C-k.

Read More

Live coding a multithreaded job executor

TL;DR: Last week I gave a talk (in pt-br) at the local Ruby user group which is a variation of what I did at Rubyconf Brazil 2015. In this talk I live-code a thread-pool and a (very) simple background job processor emulating some of Sidekiq’s interface.

Read More

Writing your own password manager with gnupg and shell

TL;DR: In this post I will walk through the implementation of a simple, yet complete password manager in pure shell script. This may seem a daunting task, but as you will see, the important bits are already solved by gnupg, and all we need to do is to write some “glue” code.

Read More

Useful tip for debugging intermitent tests

TL;DR: Its a terrible pain to debug tests that break intermittently. I’ve been using a simple script to run tests in an infinite loop and stop when they break. Read on and I will explain how it works.

Read More

My talk @ RubyConf Brazil about concurrency in Ruby

TL;DR: Just finished my talk about Concurrency in Ruby @ Ruby Conf Brazil. I was completely terrified when I saw the number of people in the room. Somehow, I survived and people seemed to like it.

Read More