Ben McCann

Co-founder at Connectifier.
ex-Googler. CMU alum.

Ben McCann on LinkedIn Ben McCann on AngelList Ben McCann on Twitter




Being on the computer forces your shoulders forward and together. A split keyboard helps bring your shoulders back into a natural position. I recommend the Kinesis Freestyle 2, but there are quite a few alternatives on the market like the Ultimate Hacking Keyboard and KeyMouse. There’s a lot of research about how sitting all day Read More

How SBT does dependency resolution


SBT uses its own fork of Ivy to do dependency resolution. The code to do this resolution is split between a few classes such as ConvertResolver. I’ve posted below an excerpt of what SBT does. It uses a chained resolver, which I’ve simplified here to use a single resolver for demonstration purposes. IvySettings settings = Read More

Setting up Mac OSX


Install Homebrew. It will fail to install packages by default due to issues writing to /usr/local. To fix this: sudo chmod -R g+w /usr/local Make hidden files visible in the Finder: defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder Change the following settings using the Mac system preferences to make the trackpad usable: Key Repeat – Read More

Building Docker images with SBT


A typical way to setup Jenkins is to connect it to your source repository (e.g. with the Git Plugin), run your tests after each commit, and then build a package for deployment when the tests pass. We’ll use SBT’s sbt-native-packager for this last step, which allows you to package your applications in numerous different formats Read More

MongoDB data migration


Here is some benchmarking data regarding transferring data from one machine to another. These benchmarks were run on the AWS i2 instance class. mongodump – 15min / 100GB gzip using pigz – 15min/100GB network transfer – 20min/100GB extract archive – 30min/100GB mongorestore -j 12 – 2hr/100GB

IntelliJ Setup


The font rendering on IntelliJ is horrendous and makes you want to gouge your eyes out. This is because is uses Swing. In order to make this not completely horrible, you’ll need to install tuxjdk, which contains series of patches to OpenJDK to enhance user experience with Java-based and Swing-based tools. I also recommend installing Read More

Formatting a Disk on Amazon EC2


The following commands will format and mount your disk on a newly created EC2 machine: sudo mkfs -t ext4 /dev/xvdb sudo mkdir /storage sudo sed -i ‘\|^/dev/xvdb| d’ /etc/fstab # delete existing entry if it exists sudo sh -c ‘echo “/dev/xvdb /storage ext4 defaults,nobootwait,noatime,nodiratime 0 2” >> /etc/fstab’ sudo mount -a



Here are some things I consider when designing a web API. Consider using the following response code: 200 – OK 400 – Bad Request 500 – Internal Server Error 401 – Unauthorized (i.e. authentication error) 403 – Forbidden (i.e. not authorized) 404 – Not Found Version your API Use limit and offset for pagination Return Read More

Running Marathon and Mesos with Panamax


Technology Overview Panamax is a new tool that allows you to manage multiple Docker containers and to link them together. In this post, I’ll talk about creating a Panamax template which will allow you to run Marathon and Mesos in Docker containers. Mesos is a cluster manager, which allows you to run many jobs in Read More

How to take over the computer of a Jenkins user


I recently began using Jenkins and found quite a bit of security indifference. This is unfortunate because Jenkins is the world’s leading continuous integration server used for testing, building, and deploying code. According to RebelLabs, Jenkins has 70% market share, with the next closest competitor having only 9%. I’ve raised these issues with the Jenkins Read More

Older Posts