Author Archives: Wyatt

What I Learned from the apache.org Break-in

Here’s my initial take-away after reading about the recent apache.org XSS-initiated break-in: If you’re going to allow caching of credentials (Subversion or otherwise) on a server, don’t use an account that shares credentials with any superuser account. Personally, I can’t … Continue reading

Posted in planet python | Leave a comment

My Paste Pony

OK, so it’s actually a unicorn, but pony sounds better in the post title. Made in Gimp by tracing over the Paste ASCII Unicorn. Silly but fun. To see the ASCII original: $ easy_install Paste >>> import paste.pony >>> print … Continue reading

Posted in planet python | Leave a comment

Eclipse for Python Web Development on Ubuntu

Updated 14 July 2009 for Eclipse 3.5. Now using Aptana to install PyDev. Updated 5 March 2010 for Eclipse 3.5.2 and Subversion 1.6. Updated 20 July 2010 for Eclipse 3.6 Overview So, I think I’ve finally decided that I prefer … Continue reading

Posted in planet python | 2 Comments

Supervisor now supports Python 2.6

I’ve been using Supervisor for a few months now to manage some app servers at work. Good stuff; solid. My only gripe with it was that it didn’t run properly under Python 2.6[1,2]. I had to install Python 2.5 just … Continue reading

Posted in planet python | Leave a comment

oTidyBrowser is not defined

If you’re tired of seeing this annoying error in Firebug, here’s the fix on Ubuntu (I stole this from here and condensed it to its Ubuntu specific essentials, though, of course, the procedure would be similar on other OSes): Locate … Continue reading

Posted in planet python | Tagged , , | 1 Comment

“phrase from nearest book” meme

Via Grab the nearest book. Open it to page 56. Find the fifth sentence. Post the text of the sentence in your journal along with these instructions. Don’t dig for your favorite book, the cool book, or the intellectual one: … Continue reading

Posted in planet python | Tagged , , | Leave a comment

Implementation of Dijkstra’s Single-Source Shortest-Paths in JavaScript

I’m working on a project where the client wants a cool sliding navigation effect. We’re implementing this with JavaScript/AJAX/DHTML. One of the constraints is that pages can only be reached via certain other pages. For example, if you’re on the … Continue reading

Posted in planet python | Tagged , , , , , | 3 Comments

YUI TreeView with Ruby on Rails

Here’s some code I’m using to generate a dynamic tree view using an acts_as_tree model with slug and title fields, the TreeView widget from YUI, and a Rails helper. I chopped out some of the code for clarity, so all … Continue reading

Posted in dev | Tagged , , , , | 4 Comments

Forest Park

Posted in play | Tagged | Leave a comment

Decluttering the Desk

Today I read a post about decluttering your desk. Right now, I can’t find that post, but this page links to a bunch of similar and related articles. Those links are on the Zen Habits site, which I’ve started reading … Continue reading

Posted in planet python, work | Tagged , , , , , , | Leave a comment