Generating and Parsing Roman Numerals
Here's a handy class that contains methods for converting integers to Roman numerals, and Roman numerals back to integers.
By Jonathan Wood •
Created on Monday, April 11, 2011
|
Approximate String Comparisons Using Levenshtein Distance
Here's some code for testing the degree of similarity between two different strings. The Levenshtein distance algorithm returns the number of edit steps needed to make one string the same as the other.
By Jonathan Wood •
Created on Sunday, February 27, 2011
|
Enabling RSS Auto Discovery
RSS autodiscovery is a technique that allows browsers and other software to automatically detect any RSS feeds associated with a particular website.
By Jonathan Wood •
Updated on Sunday, April 24, 2011
|
A Scrolling Status Control
Displaying the current status in a status bar doesn't quite cut it when there are many status messages and you want the user to be able to see more than just the most recent. Here's a status control that efficiently displays multiple messages.
By Jonathan Wood •
Created on Wednesday, February 09, 2011
|
Splitting a Name into First and Last Names
Although splitting a name into the first and last names is not a major task, it's not quite as trivial as you might first expect due to potential variations.
By Jonathan Wood •
Updated on Sunday, January 30, 2011
|
Calling Web Services Using AJAX
This article presents code that uses AJAX to contact the server from client-side script and get a response without refreshing the current page.
By Jonathan Wood •
Created on Sunday, April 15, 2012
|
Converting Between Integers and Strings Using Any Base
.NET provides the Convert class, which among other things can convert between integers and strings using different bases. Inexplicably, the Convert class only supports base 2, 8, 10 and 16. Here's a class that can convert between integers and strings using any base.
By Jonathan Wood •
Created on Monday, April 11, 2011
|
A Friendly DateTime Formatter
Many websites have the ability show a date and time formatted as "2 minutes ago", "1 hour ago", or "Yesterday at 2:30P". Here's a class I wrote to format dates and times this way. It even supports dates and times in the future.
By Jonathan Wood •
Created on Friday, March 25, 2011
|
A Convenient LogFile Class
Here's a convenient little class for logging program events to a LOG file.
By Jonathan Wood •
Created on Tuesday, December 21, 2010
|
Programmatically Creating a Tiny URL from bit.ly
URL-Shortening sites are very common these days. This article shows how your application can generate a tiny URL automatically by requesting the shortened URL from bit.ly.
By Jonathan Wood •
Created on Friday, March 04, 2011
|