/ Software / Sketches

Sketches

This is a place for some software sketches. Like an artist's sketches, they may be interesting to someone even if they aren't finished.

  • memdbg.c is the source for a small Python C extension that exposes mallinfo to Python. mallinfo tells you how much memory a process has allocated. It was written for the purpose of discovering how much memory Zope is really using, which can be a lot less than the process size, due to heap fragmentation. On Linux, you can build the extension using the following command:

    gcc -Wall -shared -I /usr/include/python2.3 -o memdbg.so memdbg.c

    Then, while you're in the directory containing memdbg.so, type pydoc memdbg to read about the stats() and trim() functions.

  • blinkenlights.py shows you activity in Python code. The window displays one monitor light per module currently loaded in Python. Each light flashes when activity is detected in the corresponding module.
  • GTKLife "Battle" Patch: The Game of Life with two colors. Retains the qualities of Conway's original rules while colorizing active cells with one of two colors. Lets you play against an opponent or simply watch the progression of cells. The patch was written against gtklife-4.0. See Suzanne Britton's site for more information about GTKLife.
  • Storage Safety Estimation Script: Computes the probability of data survival in different RAID and forward error correction configurations. See also the weblog entry.

Click below to fill in the scripture reference.
Your browser is not able to display the scripture fill-in program. To see it, enable Javascript or use Mozilla 1.0 or better.
There are also celestial bodies, and bodies terrestrial: but the glory of the celestial is one, and the glory of the terrestrial is another. There is one glory of the sun, and another glory of the moon, and another glory of the stars: for one star differeth from another star in glory.

Church: lds scriptures provident games pearls kzion shiblon film chancellor gateway cumorah byutv happiness nephi
Zope: freezope org com zen labs newbies zettai warnes
Python: home pyzine daily icanprogram
Genealogy: cyndi
Weblogs: jeffrey paul jon joel another-shane guido barry jeremy windley chrism zac
News: quakes lwn dc weather deseret zeitgeist softwarelivre
Zaurus: software developer
Tech: tango spintronics thin
Semantic: aaron sean
Reference: css rdf html4 javascript geckodom iecss emacs phrases acronyms
Reverse: advogato slashdot
Misc: gimp-savvy directory soda jokes shouldexist pdphoto