login
v2
v1

jmoiron.net

This is page 1 of 35 showing 10 posts per page. Navigate to the -> next page. You can also head back to the blog home.

Early impressions on sass

posted March 9th, 2010 @ 02:27:02

- tags: web design

- comments: 0

Spent a little time with "Syntactically Awesome StyleSheets" tonight (sass). I wrote up a preliminary new design for this blog, and used all of the features in the sass tutorial. My impressions as I went through this process:

read the rest of "Early impressions on sass"

Is johnny-cache for you?

posted March 2nd, 2010 @ 05:24:36

- tags: development , python

- comments: 0

I've been pleasantly surprised with the amount of interest in johnny-cache since Jeremy and I released it this past weekend. A lot of the comments revealed that perhaps the documentation is missing an important discussion on the repercussions of using Johnny. They are also pretty positive about the name :)

read the rest of "Is johnny-cache for you?"

Johnny Cache

posted February 28th, 2010 @ 12:11:56

- tags: python , development , web design

- comments: 0

I've been waiting a long time to write about this. Johnny Cache is now released upon the world. It's a drop-in caching library/framework for Django that will cache all of your querysets forever in a consistent and safe manner. You can install it via pip install johnny-cache.

read the rest of "Johnny Cache"

Profiling Generalizations

posted February 25th, 2010 @ 22:00:05

- tags: development , python

- comments: 0

A friend and colleague Jeremy Self, who I've been working with the past few weeks on a project that will probably be released shortly, told me the interesting results of some profiling he was doing on a lazy-evaluated data structure:

read the rest of "Profiling Generalizations"

Subclassing Django's TestCase

posted February 15th, 2010 @ 13:51:28

- tags: python , development

- comments: 0

As mentioned in yet-unresolved #7835, I've been writing a sort of meta-application recently that doesn't provide any models of its own but absolutely requires models (and data) of various types to test against. I ended up adopting julien's technique, which puts the test-only application inside the tests module, and then overrides setUp and tearDown to monkey patch your settings to include the test-only application and then run a syncdb command. This approach started out working very well, but I soon ran into a fairly major problem: fixtures failed to load.

read the rest of "Subclassing Django's TestCase"

Cheesy color console output

posted January 20th, 2010 @ 00:09:34

- tags: python

- comments: 0

Since Audacious crashes in Ubuntu 9.10 when playing NSF files, I was compelled to compile a newer version for personal use, and I noticed that their build system is tricked out with very little extraneous geek-cred output and some colored output. I have been writing lots of little one-off bulk job scripts lately, and when I realized the answer to the question "Why don't I do this?" was "I don't know how", I decided to do some google jump roping and figure it out.

read the rest of "Cheesy color console output"

On-Suspend scripts in Ubuntu 9.10

posted January 7th, 2010 @ 19:25:47

- tags: general tech

- comments: 0

My thinkpad works pretty well in Ubuntu 9.10, but one thing thing that is not fixed is that my wireless ceases to function when I resume. If you remove and reinsert the kernel module for it, it will work again. Back in the day, you'd put this in /etc/apm/resume.d/, or more recent, in /etc/acpi/resume.d/, but as with other seemingly fine technologies Ubuntu has recently deprecated ACPI. The new location for the script is /etc/pm/sleep.d/.

read the rest of "On-Suspend scripts in Ubuntu 9.10"

Third World

posted December 15th, 2009 @ 09:14:53

- tags: life

- comments: 0

Every time I go to Asia, it gets harder and harder to come back. Landing at Newark "Liberty" International Airport via Hong Kong's airport feels like travelling to a third world backwater.

read the rest of "Third World"

iPhone wifi timeouts

posted November 21st, 2009 @ 14:33:05

- tags: general tech

- comments: 0

I finally got sick and tired of my iPhone disconnecting from wifi when locking, not actively in use, or feeling unloved, and did some research this weekend. There seems to be two issues that are not easily overcome:

read the rest of "iPhone wifi timeouts"

The joys of racing

posted November 3rd, 2009 @ 02:02:05

- tags: life , games

- comments: 0

I'm not quite sure how to initiate this discussion. I know that it was initiated for me by the recent release of the [Forza 3] racing sim, but it's something that has been on my mind for years. As someone who used to prefer the cheap thrills and pure raw adrenaline of arcade racers, I know what it's like to bemoan a game filled with cars that "won't turn."

read the rest of "The joys of racing"