Category Archives: Programming

Pywatch: Run tests when your code changes

I’m happy to announce that pywatch is ready for use, I think. Continue reading

Posted in Programming, Projects, Python, Pywatch | 5 Comments

Announcing basecampreporting and django-baseboard

At [work](http://www.ajc.com), we use [Basecamp](http://www.basecamphq.com/), a lot. We use it for design projects, development projects, and projects that have no design or development components whatsoever. Our project teams like Basecamp because of its focus on communication, but we’ve found that … Continue reading

Posted in BasecampReporting, Programming, Python | Leave a comment

Adventures in unit testing the Basecamp API

I’m working on a little side project, that I might open source once the code is less rough, which involves using the [Basecamp API](http://developer.37signals.com/basecamp/). My package uses the [Python wrapper for the API](http://pypi.python.org/pypi/BasecampWrapper/0.1) and then does some naming convention magic … Continue reading

Posted in Programming, Python | Leave a comment

Django testing tip: don’t test template output

When writing tests for [Django views](http://docs.djangoproject.com/en/dev/#the-view-layer), especially for projects at [work](http://www.ajc.com), I’ve almost completely abandoned any sort of detailed test for the template being rendered. My tests usually look something like this: def test_link_archive_should_show_published_links(self): “””Links in draft status shouldn’t appear … Continue reading

Posted in Django, Programming | 3 Comments

Django Template Development review

You wouldn’t know it by looking at this site, or the HTML behind it, but I actualy started off life as a Web designer for [my college paper](http://themaneater.com). So even though my [day job](http://www.ajc.com) revolves around application development, caching strategies, … Continue reading

Posted in Django, Programming, Web design | 1 Comment

Django cache keys: making them safer

I posted some [my-snippet] over at [Django snippets] [django-snippets] the other day. This code evolved at [work] [ajc] over several months as we encountered a few caching challenges with [memcache] [memcache]. * The first problem was that occasionally some of … Continue reading

Posted in Django, Programming, Python, Technology | Leave a comment

Django developer wanted at ajc.com

We’re looking for a great Django/Python developer to join our small team at [ajc.com] [ajc]. Check out the job posting at [Django Gigs] [django-gig] or at [Craigslist] [craigslist]. Here are some of the benefits to working on our team: * … Continue reading

Posted in Django, Journalism, Programming, Python, Technology | 1 Comment

New York Times releasing document viewer, missing the point

[E-media Tidbits](http://www.poynter.org/column.asp?id=31) is reporting that the [New York Times](http://www.nytimes.com) is [releasing an open-source document viewer](http://www.poynter.org/column.asp?id=31&aid=150665). To be fully buzzword compliant it’s both built in [Ruby on Rails](http://www.rubyonrails.org/) and there’ll be [Amazon EC2 instances available](http://www.amazon.com/gp/browse.html?node=201590011). (Actually the EC2 instance is kind … Continue reading

Posted in Journalism, Programming, Technology | 4 Comments

Early Web 2.0 braindump

I thought I’d take advantage of the slow Wednesday afternoon to try and collalesce some thoughts from the first two days of the [Web 2.0 Conference](http://en.oreilly.com/webexsf2008/public/content/home) * There are a lot of suit-types-with-PCs here (as opposed to geeks-with-macs). I’m guessing … Continue reading

Posted in Business, Programming, Technology | 2 Comments

Quote of the day: NITF

“OMG I can hear the clunking sounds coming from the [NITF website](http://www.nitf.org/)” — IM conversation with [Zellyn](http://www.zellyn.com)

Posted in Journalism, Programming, Technology | Leave a comment