Yearly Archives 2010

Printing directly on pre-cut photo mat boards

I recently finished a job where a client wanted a set of matted fine-art prints with their logo on the final product. I am loathe to cover fine photography with graphics, so I came up with the idea of printing on the mat. I was working with the Redi-Pak product from redimat.com. I’ve got a [...]

Microsoft healthvault doesn’t support OpenID

Microsoft Healthvault doesn’t really support OpenID. I suppose this shouldn’t be all that surprising, but they do feature the logo and claim to… I entered my usual id. They told me to use a https url (guys, http auth can be encrypted – don’t judge my endpoint, or the URL from which I delegate). I [...]

update script for unittest2 integration

Django is moving to use unittest2 as part of the default test suite. Unfortunately, it needs to be bundled, which means that it will live in django.utils.unittest rather than in the pythonpath where it expects to be. This means that we need to patch the import statements. I’ve written a little script to download the [...]

Django model definitions can’t be reloaded

I spent way too much time this evening figuring this out. If you have a models file like this (artificial, but play along): from django.db import models from random import random rand_val = random() class MyModel(models.Model): r = rand_val After you import MyModel in some other module, you can’t re-load the class definition of MyModel. [...]

GSOC Status Update

This past week I worked up updating the model tests, and committed 7 changes. I did an analysis of the rate at which I need to finish the project, and I’m going to aim for converting 25 tests a week. I’ve gotten better at formulating unittests and have learned a bunch of useful emacs features. [...]

Don’t use Ontrac for shipping

I recently had a package sent overnight to me via Ontrac. The first day they attempted to deliver the package, they couldn’t find my address (a clearly marked commercial mail receiving service). The second day they attempted to deliver, they decided to deliver to a college dorm down the street. It was only by chance [...]

GSOC status report

I’ve been behind on the Summer of Code work. This week I started working on converting model tests, and converted 3 changes. I also submitted a patch clarifying the documentation (and help text) of the dumpdata command. I’ve been going more slowly than I should because I’ve had to read a lot of documentation about [...]

GSOC Status Report

So… I’ve been working on the summer of code project now for a bit. Hopefully I’ll be more productive next week, as this week was frustrating with non-SOC things. The main SOC things I did this week involved getting stuff set up to do more work next week. I spent a bunch of time setting [...]

Rackspace cloudserver complaints

The control panel is slow… Guys, just because it’s ajax doesn’t mean it’s fast. Get some more responsive servers, or at least add a spinner or some other UI element to let me know that something is happening. UI 101. Slicehost has a much better panel. The rackspace panel is almost as slow as Dreamhost’s, [...]

GSOC 2010 – I’m updating the Django Test Suite

I’ve been accepted to work on Django’s Test Suite during the Google Summer of Code this year. I’ll be working to improve the runtime and uniformity of the test suite, mainly by converting existing doc tests to unit tests. This isn’t particularly glamorous, but it should be a chance to get intimately familiar with the [...]