Bill Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

March 2006
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Feb  Apr

Graphing Directories with Flash and CL

Wednesday, March 22, 2006

I just came across torta today. It's a pretty cool filelight-like utility that generates a Flash representation of some subset of your hard drive. It's written in CL and I used it to generate a map of the asdf-install'ed packages that I currently have on my system. The following snapshot (click on the static jpg below to get the interactive Flash version) shows the cursor hovering over the cl-ppcre directory, showing that cl-ppcre takes up 3.61MBs of disk space:

asdf-installed

Here's the official description of the utility:

"Torta shows you where your disk space is being used. Its user interface is similar to that of the awesome program filelight. Unlike filelight, Torta does not need any graphical environment to run: it analyzes the file system directly and generates a Flash file that you can load locally or remotely on any Flash-supporting web browser.

Torta uses Gordon, a library that provides flash generation functionality.

Torta was created by Sergio García and runs in Common Lisp. It has been tested under SBCL, CMUCL and Clisp but it should run in any other implementation. It uses the standard du command-line tool and has been tested on Debian GNU/Linux as well as on Solaris."
The torta page links to a few other samples:

emacs Copyright © 2006 by Bill Clementson