programming
14 articlesConverting Numbers to Words in Perl
A Perl module that converts numbers to English words, handling digits through quadrillions, with plans for Indian English support.
Sending Mail from Java Programs
A Java class for sending email via SMTP, usable from Java programs and ASP pages on IIS for web application notifications.
Including Remote URLs in Web Pages
A Java program that includes content from remote URLs into web pages, enabling ad serving and dynamic content assembly from multiple servers.
Multiple Default Documents on IIS
An ASP script that enables multiple default document names on Microsoft IIS, solving a common problem when migrating sites from Unix to Windows.
Making Unix Web Servers Case-Insensitive
Two Perl scripts that make Unix web servers case-insensitive by building a URL database and redirecting mismatched requests automatically.
Sharing Code with the Perl Community
On registering as a CPAN author, sharing Perl code freely, and why building software in the open makes everyone better.
A Date and Time Package for Perl
An object-oriented Perl 5 package for date and time formatting with support for today, yesterday, tomorrow, and arbitrary date offsets.
A Tour Guide Applet for Web Sites
A Java applet that guides visitors through a web site by reading a configurable list of links from a text file.
A toHex Function for Java
A Java function to convert integers to hexadecimal strings, written when java.lang.Integer lacked toHexString().
Netscape Acknowledged My Directory Listing Script
Netscape published my Perl CGI for custom directory listings as Tech Note 20021, solving a gap in their server software.
Building an Ad System for a Newspaper Web Site
Two Perl scripts for serving and tracking online advertising at Philadelphia Newspapers, built before commercial ad servers existed.
Reading GIF Dimensions in Perl
A Perl function to read GIF image dimensions and generate correct HTML img tags automatically.
Splitting Files for Floppy Disks
A Perl script to split large files into floppy-disk-sized pieces for transport across unreliable connections.
Writing a Video Game Without a Computer
A childhood story about writing a car racing game in BASIC on paper during a summer vacation in Bhowali, India, and the lessons that came from watching it fail.