Starting a new Python project with Pipenv

16 November 2017

Pipenv is a new tool for managing dependencies and virtualenv environments for Python projects.

Backing up SQL data without Transfer

14 June 2017

When working with data we typically make backups in case we make a mistake. In this age of high speed connections you still want to avoid transferring unnecessary data around, be it because it’s very large or you’re working over a cellphone connection. You can backup the data within the database.

How to fill and empty an s3 bucket with Python

24 April 2017

Say you have an s3 bucket on amazon web services. You may want to programmatically empty it. In order to empty a bucket it must have items in it. So I’ll demonstrate how to put and remove items from a bucket. We’ll use the excellent boto3 library.

How to read a Javascript Stack Trace

25 February 2017

A Stack Trace is a report of the active stack frames at a certain point in time during the execution of a program. You should learn how to interpret these to debug live systems because in many cases a stack trace is all you have to solve a customer’s issue.

Testing Javascript Logging Programs

29 December 2016

This turned out to be more time consuming than I’d like. I was testing a Node.js program that would log to stdout as prescribed by The 12 Factor Apps - Logs page.

How to remove a file from a git commit

07 September 2016

If you need to quickly remove a file from a commit you just made …

Great Papers in Computer Science

26 August 2016

Back in SF I found a great volume Great Papers in Computer Science. I got it for $1 at the library. When I lent it out to my friend I immediately missed it and decided to see if I could recreate it from freely available sources.

Learn Golang in 1 Month

30 June 2016

At my new job we have a Go backend. It’s a nice language with familiar syntax. Someone with C, C++, C# or Java experience will feel right at home. A language designed to make Software Engineering easier. At the same time it’s being sought out to address bottlenecks in Ruby, Perl, Node.js and Python codebases.

Running SchemaSpy for Postgres

24 May 2016

Note: I’ve since found better software for visualizing sql data models. I highly recommend dbeaver please consider buying this free software

API Design Link Roundup

31 March 2016

My friend was complaining that his iOS engineer made horrible API design decisions. I didn’t feel like I could discuss this intelligently so I started looking up materials on what makes a good API.