simplehash

simplehash is a hash datastructure library in C. Because, you know, there can never be enough of those! In my defense it's simple, fast, and easy to use, which is more than I can say for many other hashing libraries.

Continue Reading...

qs_parse

qs_parse is a library I built for myself for quick and dirty FastCGI programming in C. Parsing the query string is the first step for the server to perform, so I felt a need to have a query string parser that was fast and flexible that I could reach for whenever I feel the need to write web apps in C.

Continue Reading...

The Mr. T Collection

In October of 1997 my friend Todd hosted the group birthday party for the Chumps (my group of friends) who had their birthdays in the September/October time period. This was the third such party in as many years known as "Toddfest". Held in Blacksburg, VA where a few of the Chumps were attending college at Virginia Tech, the party involved much mayhem and fun since usually about dozen of us traveled to make it to the blowout. This was the last and definitely the craziest of the Toddfests and it would also be the beginning of a new tradition.

For this particular Toddfest my gift to everyone else was to fly Rich down to VA from Boston, where he has just started his second semester at Berklee. It was a surprise to the birthday celebrators for me to show up with a person everyone thought was 500 miles away, but Rich had a bigger surprise in store for me. Lovingly nestled in his bag was a 16 pound concrete bust of Mr. T's head. This was 1997, before Mr. T had come back into style so this was not only one of the heaviest gifts I've ever received, but definitely the most inexplicable. (Witt interjects: Mr. T has never been out of style)

Now just to be clear, at the time I didn't have any particular fascination with Mr. T, nor did anyone else in our circle of friends. Without missing a beat, the rest of the Chumps decided that Rich had it right: The world would be a better place if I had a collection of the most bizarre and unusual Mr. T themed gifts they could find.

Several years have passed. I have many more T-things now. Here they are...

Continue Reading...

cronolog.pl

Cronolog rocks. It's an elegant alternative for logrotate and it's ilk. It's small app that takes a log file name template as an argument on the command-line and logfile data on STDIN. Cronolog then outputs the log data to a log file with the given name template. The template is a subset of the C strftime() format tokens. But I'm peculiar and even cronolog's meager installation needs are too much hassle for me, so I whipped up a copy in a couple dozen lines of Perl that can be cut and pasted into a new server. It supports an even smaller subset of tokens (those resulting from Perl's localtime()) and a couple features I preferred (like gzipping on closing the log file).

Continue Reading...

Trivia-o-matic

The Trivia-o-matic is a set of tiny perl scripts that can be used to set up an impromptu trivia server for any gathering of geeks sitting around with networked laptops. It was developed during The Sixth Hope (July, 2006) as an amusement for loungers in the 2nd floor theater. The idea was to advertise a login/password on a quickly deployed box with an invitation to connect and compete in a trivia challenge. A banner with the current winner(s) and the invitation was displayed on a scrolling LED sign. The code was designed to be simple, with only basic precautions for security, assuming that the system getting hacked might be part of the amusement. It was also designed to be a quick bit of code and only took 6 or so hours to put together, which is reflected in its lack of sophistication.

Continue Reading...