Categories

ESET vs Kaspersky

Our AVG subscription was expiring and I was having 2nd thoughts about renewing – it was periodically crashing Bette’s underpowered computer. Ralph at work recommended Kaspersky Internet Security, and I got a trial of that and ESET Nod32 Security to try out. Both were well reviewed. ESET has a more techie interface, and a [...]

Photo Mechanic

So I am trying to archive the check scans. TIF files named “donation-2010-DEP01-01.TIF” to identify the year, deposit batch number (01) and the scan number within the batch.

I first just entered the keywords using Thumbs Plus 7. Pain. TP8 is not much better – cannot keep the image open while I add the keywords. [...]

Installing Windows XP into a Virtual Box VM

I need to do some testing, so let’s try installing Windows XP Pro into a Virtual Box VM to avoid trashing my production system. Which is pretty trashed anyway, and has a big frosty pre-ordered (cheap) Windows 7 waiting when I finally get around to researching a driver for my now non-supported HP LaserJet 3150 [...]

Mockito and void methods on mock objects

SO I have
class TestFoo {

}
TestFoo s1 = Mockito.mock(TestFoo.class);
TestFoo s2 = Mockito.mock(TestFoo.class);

The Mockito doc “Real Partial Mocks” says to do this:

when(mock.someMethod()).thenCallRealMethod();

we get the error

“The method when(T) in the type Mockito is not applicable for the arguments (void)”

After 1/2 hour of hunting I found a hint, and refactored:

Mockito.doCallRealMethod().when(s1).assertEquals(s2);

Adios D-Link USB Hub

Finally dumping my D-Link DSB-H4 USB powered hub. I think I got it for 10 bucks, and I think it worked for about 20 minutes. Then as soon as you plug something in, all the lights would go black and I would fear for my motherboard.

I just marked it with “US” and tossed it into [...]

A New WordPress Install

Get the storage folder; redirect the domain there;

Get the code into the target dir:
$ svn co http://core.svn.wordpress.org/tags/2.9 .

Copy wp-config.php
$ cp wp-config-sample.php wp-config.php

Get new secret keys:
https://api.wordpress.org/secret-key/1.1/

Edit wp-config.php
$ vi wp-config.php
Change dbname, hostname, password.
Change 4 secret key lines to above lines.

Run config:
http://example.com/blog/wp-admin/install.php

Set up the profile pages; add default user;

Install Atahualpa Theme and configure.

Download zip [...]

DeDuping MusikCube playlists

Or, Use SQL Squirrel and JDBC to dedupe MusikCube playlists

I use MusikCube a lot. That said, I sometimes share files from various machines that have duplicate files, and rather than hand-edit the playlists after each synchronization to eliminate the duplicate albums, I want an automated way. Since MusikCube runs on SQLite, why not do it [...]

Quicken 2009 R7

So got the online notice for Quicken 2009 that R7 is ready. I tried 4 times, got a “patching engine has failed” error. After some googling and using Filemon to find the log, and looking in the log, I found that one of the files was not being recognized as the correct version. Dead.

Today I [...]

Wordpress Upload error 500

I was working on the trideltamc.org wordpress installation and tested uploading pictures. Error 500. Huh.

A little googling. Found this article on Error 500 Wordpress 1&1 Web Hosting. I already had a .htaccess file, but added the two lines – the first time I forgot the space and it blew up everything.

Thanks dude!

Renaming photos based on filename

I found some photos of a rock climbing group from work. They were named “Cora At Top.JPG”, which is great to look at the once, but they don’t really fit into the archival scheme. Plus I didn’t want to have to reenter the caption, since it was encoded into the filename already.

I reached into the [...]