By day, I'm a product manager serving a group of fantastic engineers at Square.
By night, I fight crime and solve mysteries with a robot pal of my own creation.
By midday, I like a snack, generally a cookie.
Part of this biography isn't true (hint, I like cookies and engineering, I don't own a robot).
Category Archives: Python
Hooray! I posted by first Django snippet today. It’s a [status view for your memcache server(s)](http://www.djangosnippets.org/snippets/597/). I had originally used [this snippet](http://www.djangosnippets.org/snippets/54/), but the regex and socket thing never quite sat right with me. Turns out that django.core.cache has a … Continue reading
A colleague of mine, (whom may or may not remember me from my [Dow Jones Online Internship](http://indystar.com)), [Eric Ulken](http://ulken.com/blog/archive/000145.html) built a tag cloud of [keywords in postings to journalismjobs.com](http://ulken.com/blog/archive/000145.html). Not surprisingly, “blogs”, “interactive”, “flash” and “graphics” top the list — … Continue reading
We’re in [film!](http://alt.coxnewsweb.com/ajc/soundslides/ajc_apme/soundslider.swf) Robin Henry, our Digital Managing Editor extraordinaire, spoke at a recent [Associated Press Managing Editors conference](http://www.apme.com/) and screened this [Soundslides presentation](http://alt.coxnewsweb.com/ajc/soundslides/ajc_apme/soundslider.swf) that Emily Murphy and the [AJC](http://www.ajc.com)’s multimedia group put together. I look and sound like a … Continue reading
Is the ability to specify a series of template folders in [your settings file](http://www.djangoproject.com/documentation/settings/#template-dirs). Here’s what we do at [work](http://www.ajc.com): TEMPLATE_DIRS = ( os.path.join(os.path.dirname(__file__), “templates”), os.path.abspath(os.path.join(os.path.dirname(__file__), “..”, “ANOTHERSITE”, “templates”)), ) It allows us to easily share templates from ANOTHERSITE with … Continue reading
Had a total ‘duh’ moment today at work. I wanted to perform the equivalent of [Python’s string.strip method](http://www.python.org/doc/2.3/lib/module-string.html#l2h-819) on some [Django template output](http://www.djangoproject.com/documentation/templates/). I looked on the [Django documentation site](http://www.djangoproject.com/documentation/templates/) but I couldn’t find a strip filter. It took me … Continue reading
A quick heads-up to any Atlanta area Pythonistas and Djangoistas, I’ll be giving a brief talk at the the September [Atlanta Linux Enthusiasts meeting](http://www.ale.org/new/index.php). As of this morning their Web site didn’t list the meeting, but it’s Sept. 13 at … Continue reading