← All Articles

Building a card-trick program with my son

Building a card-trick program with my son taught me when to explain, when to wait and how to respect a child's ideas while making something worthwhile together.

· 8 min read

Notes from the 2015 Cloudflare Internet Summit

Notes from Cloudflare’s 2015 Internet Summit on reader privacy, programming as a life skill, and the leadership work needed to build a more trustworthy web.

· 6 min read

Converting Numbers to Words in Perl

A Perl module for spelling numbers in English, with source code, grouping examples, practical uses, and plans for Indian English and words-to-number conversion.

· 5 min read

Sending Mail from Java Programs

A Java SMTP class for web-form notifications, with Java and ASP examples, complete source code, and the mail workflow I used at Philadelphia Newspapers.

· 8 min read

Including Remote HTML in Web Pages

A Java component for including remote HTML in web pages, with rich ad-serving examples, ASP integration, complete source, and reuse across server environments.

· 7 min read

Multiple Default Documents on IIS

An ASP workaround for mixed default-document names on IIS, including the original source, its file-selection behavior and the response from web administrators.

· 5 min read

Making Unix Web Servers Case-Insensitive

Two Perl scripts for recovering miscapitalized URLs on Unix servers, with a DBM lookup, helpful error messages and the complete original newspaper-site code.

· 10 min read

Sharing Code with the Perl Community

Why I registered as a CPAN author: sharing reusable Perl tools, learning from other programmers, and writing code that strangers can understand and use.

· 3 min read

A Date and Time Package for Perl

A Perl 5 date-formatting package, with working constructor examples, the original source, and practical reuse in the tools I built for newspaper web sites.

· 8 min read

A Tour Guide Applet for Web Sites

A Java applet for guiding visitors through a site, with editable tour data, a persistent popup window and the complete original source for other web builders.

· 5 min read

A toHex Function for Java

A Java function to convert non-negative integers to hexadecimal strings, written when java.lang.Integer lacked toHexString().

· 3 min read

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.

· 4 min read

Building an Ad System for a Newspaper Web Site

The Perl click tracker and ad-rotation scripts I built for Philadelphia Newspapers, with monthly flat-file logs and reusable page templates.

· 5 min read

Reading GIF Dimensions in Perl

A Perl function to read GIF image dimensions and generate correct HTML img tags automatically.

· 3 min read

Splitting Files for Floppy Disks

A Perl script to split large files into floppy-disk-sized pieces for transport across unreliable connections.

· 3 min read

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.

· 6 min read