When I install RAM, I usually like to test it with a program like Memtest86+ or its ancestor, Memtest86. Testing helps to ensure that the RAM is good quality and will perform reliably in your computer. If you don’t thoroughly test your RAM after you install it, you might learn much later that the RAM is faulty, perhaps when you are doing some serious multitasking and you are making full use of the RAM. Unfortunately, “much later” often comes after the RAM warranty has expired. When that happens, you’ve wasted your money (assuming you don’t want to keep using the unreliable RAM).
The other day I installed some new RAM on my Samsung NC10 netbook and I wanted to test it with Memtest86+. In the past, I have always burned the bootable ISO image of Memtest86+ to CD and booted my computer from the CD drive. That’s a very convenient way of running Memtest86+. Unfortunately, my netbook doesn’t have a CD drive or a DVD drive. Thus, I needed to find a way to run Memtest86+ from a bootable USB flash drive. …Continue reading » How to Run Memtest86+ On a Bootable USB Flash Drive

I’m a big advocate of automated software testing with tools like the venerable JUnit for Java and the similar NUnit for the .NET languages such as C#.
Yesterday I was implementing some NUnit tests for a C# database access object (or DAO). If you have ever implemented such tests before you’ll probably agree with me that it’s important for your test data to be in a known and consistent state before every test run. …Continue reading » XtUnit Troubleshooting

Out of the box, many (perhaps most?) Wordpress themes do not display the category name and description on the category page. I find that to be a bit lacking, especially since the category administration page allows you to enter both a name and description for each category.
Some themes, such as Atahualpa 3.4.1, display the category description in a tool tip (a.k.a. bubble help) when you hover your mouse over the category name in a category list widget. That’s nice but I wanted more than that. …Continue reading » How To Display Category Name And Description on Category Page in Wordpress

Here are some handy sed one-liners I’ve come across recently. Maybe someone else will find them handy.
Wrap each line with quotes (quotation marks) – version 1:
sed 's/^[^$]*$/"&"/'
Wrap each line with quotes (quotation marks) – version 2:
sed 's/.*/"&"/'
Replace space with escaped space:
sed 's/ /\\ /g'
