Skip to content

Instantly share code, notes, and snippets.

from datadirect.dataset.aggregation_mixin import AggregationMixin
def test_aggregation_mixin_is_instantiable():
actual = AggregationMixin().__class__
assert actual is AggregationMixin, actual
@chadwhitacre
chadwhitacre / gist:3593759
Created September 2, 2012 02:00
On Jamming One's Personal Brand

I studied Greek in college, which meant I was temping soon after. My best gig was in an internal medicine office, where I sat in a closet calling insurance companies all day, and the ladies teased me for being a virgin, and also thought I was quaintly cute. Two of them attended my wedding.

In the closet, while calling the insurance companies, I stared at an old DOS medical records system. Each screen was a different human, a person, reduced to an ASCII medical records profile along familiar axes: name, age, gender, race, and then medical history. By the end of my stint I had an image of a reconstituted person, a human, appear (to my conscious mind) instantly upon switching screens. This was late 1999, the age of The Matrix, and I identified with Mouse, the geeky young character who scans the falling green characters and cognizes the world itself. Martha Schwartz, old lady, 309 lbs., sitting on her couch with a walker in front of her, tube

@chadwhitacre
chadwhitacre / twit537.py
Created September 21, 2012 17:00
Simple Twitter archiving script in Python
#!/usr/bin/env python
import twitter
import simplejson
api = twitter.Api( consumer_key=''
, consumer_secret=''
, access_token_key=''
, access_token_secret=''
)
@chadwhitacre
chadwhitacre / gist:3783013
Created September 25, 2012 16:36
example that should(?) work but doesn't
class Counter(object):
visitors = 0
counter = Counter()
^L
counter.visitors += 1
^L
howdy, visitor number {{ visitors }} !
Greetings, program!
program = "python"
^L
Greetings, {{ program }}!
program = qs['program']
^L
Greetings, {{ program }}!
@chadwhitacre
chadwhitacre / gist:3799912
Created September 28, 2012 13:39
Crutches for when you're stuck
=================
Don't Forget To
=================
0. Test often. Test after every little change.
1. Listen to music.
2. Drink coffee.
3. Do chores.
@chadwhitacre
chadwhitacre / find.py
Created October 3, 2012 23:45
Script for Saxifrage Class to Chew On
#!/usr/bin/env python
# The "import" statement finds modules (whatever those are!) and defines names
# in a namespace (whatever that is!):
#
# http://docs.python.org/reference/simple_stmts.html#the-import-statement
#
# The "sys" module provides things related (apparently) to the interpreter
# (whatever that is!):
#
@chadwhitacre
chadwhitacre / gist:3847159
Created October 7, 2012 05:00
Ramblings on gittip marketing strat

[A close friend of mine sent this to me via email.—whit537]

Here is the evaluation as promised/threatened:

What is gittip? How is gittip not just you? (Paying people out of pocket, pushing a personal goal of $2,000, writing essays about your inspirations.) How do other people resonate with gittip, beyond wanting free money from their posse?

The answer represents what gittip will become. It is your market / dedicated userbase, who will represent the drift of gittip, if indeed you want gittip to be run by them. (This is the same conversation we had about your lecture school project.)

I see dowski, thiloplans, and lyndsysimon on the forum... are you going after those people? Do you deal with them directly, outside of their services? Or are they just watching you run gittip & chiming in on your thought processes?