McD's Perlmonk Cell

What's Here?

Hmm. Still not much, actually - which is in keeping with the monastic aesthetic, I suppose.

There's a TagCloud visualization I wrote for Cory Doctorow, originally posted here. A very simple script, it's usefulness derives from little more than just gluing together Léon Brocard's HTML::TagCloud module, and Jesse Vincent's HTTP::Server::Simple module.

Someone asked about getting this script running on Mac OS X. Rather than write up a lengthy bit about the variety of options for installing the necessary dependent modules on an OS X box, I instead decided to use Sveinbjorn Thordarson's most excellent Platypus utility to create a stand-alone OS X application that bundles in the dependent modules and invokes the script. You can download that here. This version also incorporates uploading a notes file via the web interface, rather than on the command line.

The latest source to TagCloud.pl is here.

There was a SpamAssassin-enabled POP3 proxy I wrote for Win32 users - it's a little outdated, contact me if you'd like a copy.

JAPH

perl -le 'for($c="McD"; $i<167990; $i++, $c++) {} print $c'

(Originally posted here. Shown here for a Unix shell; to try it at a DOS command line, change the single quotes to doubles, and the doubles to singles. :-)

I leveraged this technique to create an entry in an Obfuscated Code Contest on BoingBoing - which, amazingly enough, I won! The comments along with the posting mention that you need "either a recent Perl interpreter or a couple more megs of memory" - it turns out the Perl "1..N" operator was optimized along the way to not create an actual list with N elements in it.

Interesting Reading

Scripting: Higher Level Programming for the 21st Century.
Ousterhout, J., IEEE Computer, March 1998.

Five Quick Hacks: Downloading Web Pages
Jon Orwant and Dan Gruhl, The Perl Journal, Issue #13 Vol. 4 No. 1 (Spring 1999)

Knuth on email
By now, the hyphen has been dropped in common usage. Knuth FTW.

Contact Me

Check out my homenode on Perlmonks.

Send me mail: <McD@att.net>

Thanks

Bits of this site might look awfully familiar to other people who've writen websites. By way of thanks, let me just say:

"Newton said he saw farther because he stood on the shoulders of giants.
Computer programmers stand on each other's toes."

James Coggins, "Designing C++ Libraries"
The C++ Journal, 1(1):25-32, 1990

"Lesser artists borrow, great artists steal."
Igor Stravinsky

Last Update:20 May 2009