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:
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 :)
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.
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:
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.
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.
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/.
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.
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:
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."