Pydoc’s built-in HTTP server

Just came across this in python mailing list (link)

import pydoc

(then click the ‘open browser’ button)

HotKeys jQuery Plug-In version 0.7 is out

Last night I released a new comprehenced version of jshotkeys. This plugin lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.
For example, to bind Ctrl+C to a function fn simply type:

$(document).bind('keydown', 'Ctrl+c', fn);

See the live demo.

A Couple of Nice and Handy Python Modules

python-wifi 0.3.1

Python-Wifi is a Python library that provides access to information about a W-Lan card’s capabilities, like the wireless extensions written in C.

>>> from pythonwifi.iwlibs import Wireless
>>> wifi = Wireless('eth1')
>>> wifi.getEssid()
>>> wifi.getMode()

A simple unix/linux daemon in Python

by Sander Marechal

sub-process usr/bin/dpkg returned an error code (2)

I came across this annoying message and couldn’t get around it (running dpkg --configure -a  yields EOF related error message)  until I ran dpkg --clear-avail

jQuery vs. Prototype

just put both libraries on wordle to visualize on which each library have focused.

Here are the results:




prototype visualized

Choosing the right (open-source) tools

From the announcement of the open source reddit:

There are only five of us who work on reddit; we couldn’t have made this site if it weren’t for a great community of developers. In no particular order, here’s a quick list of the open source products that reddit is built and runs upon: Debian, lighttpd, HAProxy, PostgreSQL, Slony-I, various python libraries, Psychopg, pylons, Solr, Tomcat, Ganglia, Mercurial, Git, gettext (translation), daemontools, and memcached.

Five people. 1,000,000’s of pages every day.

Do we need more facebok applications?

My friend has 73 friends and 152 Facebook applications.
IMHO, the layout is lack of usability and functionality.
Let alone the fact each application require other users to install them in to their accounts in order to view standard web content (images, flash, videos, etc.)

I am sure Facebook’s dudes need to rethink the whole concept and come up with something more sensible.

152 facebook applications