Category Archives: planet python

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

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

Ruby on Rails… Revisited

Updated with links and a couple typo corrections. I’ve been working on a fairly big Web site project lately. My partner and I initially decided to use Django to build the site, mainly because I’m a Python “expert” and Django … Continue reading

Posted in dev, planet python | Tagged , , , , , , , , , , | 11 Comments

WordPress 2.5

I haven’t seen any posts about WordPress 2.5 on Planet Python yet, so I thought I’d make a quick mention of it. RC2 came out today. I installed it on a test site, and it’s looking pretty sweet. Definitely worth … Continue reading

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