Archive for September, 2006

September 19, 2006: 8:47 am: kpdPython

Probably not noteworthy for many used to the python org site, but it took me a little bit of snooping to find the printable Python 2.5 documentation as 2.5 was just released and things are still being updated. This directory contains the 2.5 documentation in various formats:

http://www.python.org/ftp/python/doc/2.5/

September 17, 2006: 8:58 am: kpdindoor-rowing, rowing

The CrossFit-Live Podcast has a great interview with Peter Dreissigacker about the Concept II Ergometer. Peter provides a fairly technical discussion of how the machine works including the effects changes in damper settings have on the physics and workout. This is the best description I’ve found. The second part of the interview is with Angela Hart, a certified Concept II trainer.

The interview is also presented in two segments if you are concerned with the length ( 1:55 – 26 Meg ) of the interview.

This is well worth the listen! Quote of the interview – Peter describing the motion on the erg:

“…it’s kind of like a waltz.”

Download from the CrossFit Archives here.

I found this show on Podcast Net .

September 12, 2006: 9:40 am: kpdPython

PyPI Browser is a GUI used to browse the Python Package Index (PyPI).

The browser gui uses xmlrpc lib to communicate to PyPI, which is running over HTTP. Out of the box it does not support passing through a HTTP proxy server, but with a simple patch it can be modified to do so automatically.

1. Download xmlrpc_urllib2_transport.py from Jeff’s Starship site and place it in /Python2x/Pib/site-packages.

2. Add the following import to PyPIBrowser/pypi.py:
from xmlrpc_urllib2_transport import ProxyTransport

3. Modify the PackageServer initializer around line 185 to be:
self.server = xmlrpclib.Server(url, transport=ProxyTransport())

4. Set the environment variable http_proxy to indicate your proxy server:
ie: export http_proxy=http://proxy.yourcompany.com:80

Now you can browse all the wonderful offerings of the PyPi safely behind your http proxy.