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

This was harder than it should have been so I’m documenting it.

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.

How to add a shortcut to Atom

28 February 2016

Atom has become my default editor. Before I used vim most but thankfully there is a vim-mode plugin to get most of the benefits.

How to add app icons in React Native Android

21 January 2016

During the development of my most recent app. I realized the React Native docs do not cover how to add an app icon. I love the little android icon as much as the next person but we need our own logo.