A couple of handy tools if you are sshing into servers

Dec 22, 2018 - 4 minutes
Now that I’m officially part of the DSSL at Virginia Tech (Hey! I’m in the Slack group. That’s totes official), I’ve got access to their servers to work on projects and stuff. I’m working with one of the PhD students in the lab on a project involving prefetching Docker layers from a registry and caching Docker layers to serve them faster, but also involves choosing the right layers to prefetch to maximize cache hits. Read more ...

Elixir Nodes are Cool

Aug 2, 2018 - 3 minutes
I had a bit of a problem. I was writing an app that would send me email reminders. It would store the reminder data in an ETS table and check it every 24 hours to see if were any reminders to send. The app would run quietly as a background process in my computer as long as the computer was running. Now I wanted it to read events from a csv file to add into the table. Read more ...

A Problem with Git Stash

Jul 27, 2018 - 6 minutes
Before going any further I probably need to explain what pre-commit hooks are. So Git has a facility called hooks which allow you to specify a script to execute or a command to run when some event happens. Pre-commit hooks are hooks that run before, you guessed it, a commit. There exists a single file called pre-commit in the .git/hooks directory in your git repository which will run as a script before every commit. Read more ...