Setting environment variables in a Python virtualenv from a .env file

February 28th, 2017 by Geoffrey Hing | No Comments

Lately, I’ve gotten into the practice of storing configuration in environment variables and keeping those in a .env file in the root of my project directory. This file contains simple environment variable assignment and is used by Heroku and Docker. However making sure these environment variables get set for any command being run in the […]

Music for early March

March 1st, 2016 by Geoffrey Hing | No Comments

Eskorbuto While in Mexico City, I went to “El Chopo”, a punk street market and got an Eskorbuto patch. It made me excited to listen to this band. Smino – S!CK S!CK S!CK EP Smino is a Chicago (via St. Louis) rapper performing March 2 as part of “The Come Up” series. Watercolor Paintings – […]

Upgrading Homebrew-installed Postgres 9.3 to 9.5

February 8th, 2016 by Geoffrey Hing | No Comments

I didn’t read the instructions when I let PostgreSQL get upgraded from 9.3 to 9.5 with brew upgrade. This is what I had to do to migrate my data after I had already upgraded: # Switch back to the previous version of postgres, postgis brew switch postgres 9.3.5_1 brew switch postgis 2.1.4_1 # Start the […]


November 7th, 2015 by Geoffrey Hing | No Comments

I played three different shows, with three different bands in 48 hours. So different playing for a handful of folks below the Loyola Red Line, in a crowded basement and on a giant stage. It was a hectic weekend, but ultimately, after the dust settled, I feel lucky to get to do all this.

Property tax increases and renters

November 7th, 2015 by Geoffrey Hing | No Comments

There’s been a lot of coverage of the mayor’s property tax increase, and some provisions to reduce the burden on low-to-moderate income homeowners. My first thought went to renters, though:

In-real-life data visualization of Chicago Budget

September 22nd, 2015 by Geoffrey Hing | No Comments

Originally from: .@ChicagosMayor, this just doesn't look right to me. And by right, I mean just. #WhoStoleOurMoney #ChiBudget2016 pic.twitter.com/UqDsDjPpKY — Sarah-Ji (@sarahdashji) September 22, 2015

Sincere. Fucking. Curiosity. Above all things.

September 22nd, 2015 by Geoffrey Hing | No Comments

Sincere. Fucking. Curiosity. Above all things. https://t.co/fMNTq5Q2Yf — Ta-Nehisi Coates (@tanehisicoates) September 20, 2015

New Music for Early August

August 14th, 2015 by Geoffrey Hing | No Comments

Janelle Monáe + Wondaland Records – Hell You Talmbout This references a bonus track off of Monae’s 2013 release, I think. Mick Jenkins – Wave[s] Mother Cyborg – Tough Femme Mix Aye Nako – White Noise Here’s a Pitchfork review of the track. From the review: Dixon elaborated on the song, saying it’s about how […]

Programmatically reshaping data

July 15th, 2015 by Geoffrey Hing | No Comments

Yesterday at work, my coworker needed to reshape a data table, from CSV. The data was a time series, with one row per date. He wanted to reshape the data so there was one row per day of the year with a column for the desired variable for each year. He observed that there were […]

Chicago Police Department accountability coverage

June 30th, 2015 by Geoffrey Hing | No Comments

Updated September 21, 2015 IPRA fails to pursue potential crime by cops caught on video (WBEZ) Video of a police raid on a tanning salon in 2013 shows Chicago Police officers engaging in potentially criminal activity. Some of that activity was reviewed by the Independent Police Review Authority, but other potential crimes by cops were […]