Skip to content

Instantly share code, notes, and snippets.

@zmagg
zmagg / gist:f82ed07c119ce5b09e86
Created December 19, 2015 05:08
kindle books i read this year
"Broken Angels (Takeshi Kovacs, #2)",Richard K. Morgan
"Woken Furies (Takeshi Kovacs, #3)",Richard K. Morgan
Thus Was Adonis Murdered,Sarah Caudwell,"Caudwell
"The Steel Remains (A Land Fit for Heroes, #1)",Richard K. Morgan
Collected Poems,Philip Larkin,"Larkin
"Shards of Honour (Vorkosigan Saga, #1)",Lois McMaster Bujold
"The Warrior's Apprentice (Vorkosigan Saga, #2)",Lois McMaster Bujold
"Barrayar (Vorkosigan Saga, #7)",Lois McMaster Bujold
"The Vor Game (Vorkosigan Saga, #6)",Lois McMaster Bujold
Cetaganda (Vorkosigan Saga),Lois McMaster Bujold,"Bujold
@zmagg
zmagg / word_games.py
Last active December 21, 2015 02:38
hacker school mini improvised contest for the fastest solution to find what words are the longest anagrams of each other (single words, please, no phrases) in the sowpods scrabble dictionary.
f = open("sowpods.txt", "r")
canonized_words = {}
word1 = ""
word2 = ""
max_len = 0
for line in f:
if len(line) > max_len:
sorted_word = ''.join(sorted(line))
@zmagg
zmagg / GuavaCollection2
Created August 23, 2013 21:04
share guava test file.
import com.google.common.base.Predicates;
import com.google.common.collect.Collections2;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import static java.lang.System.out;
/**
@zmagg
zmagg / gist:10e2bcd383ae286dbe7e
Last active January 3, 2016 23:12
political theory reading, zmagg's list
nationalism & identity:
american foreign policy and its thinkers - perry anderson
Listening to Grasshoppers: Field Notes on Democracy. - arundathi roy
imagined communities -benedict anderson
Reproducing the State, Jacqueline Stevens
imperalism, arendt
general political theory:
18th brumaire, marx
@zmagg
zmagg / 0201.md
Last active February 11, 2016 17:27
food diary, february. eating vegan, started february 2nd.
  • 1 egg, scrambled
  • 2 tomatoes fried lightly in a cast iron, with vinegar, and some chard & broccolini pieces
  • 1 white bass fish fillet (1/4 fish), panfried with panko bread coating
  • 9 oysters: fanny bay, kushu, kunamato (bc when possible, wa otherwise)
  • 1/4 lb of shrimp in butter and garlic, serious eats style
  • 1 espresso, 1 coffee
  • handful of dried cherries
  • half a backlava
  • half a pastel de nata
  • quarter bottle unoaked chardonnay
@zmagg
zmagg / gist:b87db1437324c3c78757
Created February 23, 2016 00:54
download the tarheeltimes
for i in {1990..2016}
> do
> wget "http://www.tarheeltimes.com/schedulebasketball-$i.aspx"
> done
@zmagg
zmagg / coursework
Last active May 2, 2016 19:49
What coursework have I taken?
Foundations of Programming
Multivariable Calculus
Data Structures
DiffEQ
Algorithms & Analysis
Discrete Math
Linear Algebra
Computer Organization (hardware class)
Operating Systems
@zmagg
zmagg / leaving.md
Last active May 5, 2016 08:30
strategies i've used to leave projects without quitting

I consider myself reasonably OK at leaving projects without quitting, at Etsy. That's an important qualifier, as Etsy as an organization is very comfortable with diving deep to understand code and systems and co-debugging and generally what Julia would call, "becoming wizards together". Because of that, I've not found a lot of organizational pressure to stay on a project as the solo expert when you're ready to leave.

Some strategies I've used that have worked to wrap up work on a project and move onto a new one.

  • Go on a vacation. One week is frequently sufficient. Create the bus factor for yourself. Observe the things you do leading up to being gone for a week: probably you're meeting with coworkers to sync knowledge, or writing more documentation, or possibly even presenting exceptionally gnarly part of the system that you worked on. You can preemptively do these things even if you don't go on vacation, but I find being entirely disconnected an important part of demonstrating your trust in other peo
@zmagg
zmagg / 09.16
Created September 17, 2016 01:18
zmagg allergy log
Morning: sneezing starting around 30 min after getting out of bed. No watery eyes
Slight watery eyes upon entering Embarcadero station from the BART.
Feeling fine during the day.
Afternoon: Immediate sneezing upon entering 1611. Very sniffly nose. Took some Allegra around 6pm.
@zmagg
zmagg / syllabus.md
Last active January 24, 2017 00:38
engineering a safer world tentative syllabus

1.24

  • For the first meetup, please read through page 102 (So that's Chapters 1->4, reading the entirety of the Intro section and the first chapter in the STAMP section that introduces Levesen's model).
  • Optionally, also take a look at question 3 in this PDF (shamelessly stolen from the syllabus for course Levesen teaches about systems safety).

2.14

TODO: Are we meeting on V-Day? Could bump to 2.8

  • Read 103 -> 211 Chapters 5->7