Quick tip: Ignoring the Darcs directory in Eclipse

July 29th, 2006

I’m using Darcs on a new project and one annoyance was that when I did, say, a text search, Eclipse would happily descend into the “_darcs” directory and pull up the Darcs internal files in the editor. When I Googled this I found people asking about it but nobody with the answer, which turns out to not be too hard. You can also use this to hide metadata from Monotone or any other system that produces directories you don’t want Eclipse to mess with. Read the rest of this entry »

Neat North Korean photos

June 20th, 2006

A couple of sites with some photos and descriptions of North Korea taken by tourists. I picked up a cool graphic novel-style book called Pyongyang: A Journey in North Korea a few weeks ago and was interested to see color photos of a lot of the odd things described in the book. What a strange place — too bad as an American there’s pretty much no way I can go see it for myself www.paydaynow.net/ HERE .

RIFE with frustration

June 18th, 2006

I’ve been working on a little pilot project using RIFE, spurred on by some of the glowing reports I’ve read of how productive it is, and I’m finding it a bit frustrating. Mostly it comes down to the documentation, or lack thereof.
Read the rest of this entry »

GoDaddy: Less cleavage, more math, please

March 6th, 2006

I use GoDaddy as the registrar for several of my domains. Apparently their computers need a remedial math lesson, because they’ve decided that 17.90 x 1 = 18.40. This is the invoice I just got: Read the rest of this entry »

So much for “don’t be evil”

January 6th, 2006

Thanks, Google! You know, the world really needed yet another incompatible copy-protection scheme for video. I’m disappointed — I had hoped Google Video would spell the beginning of the end of ineffectual, invasive, fair-use-subverting DRM. You could have done it, too. Here’s one approach, free of charge to anyone who wants to run with it. I will even offer to testify in court to establish prior art if you run into a patent dispute; I have documentation of this idea dated January 20, 2005.
Read the rest of this entry »

Mac annoyances

November 23rd, 2005

I use a Macintosh (a PowerBook G4) as my development system at one of my jobs. For the most part I find MacOS X pretty smooth sailing, but there are a few niggling little things that irritate me on a daily basis.
Read the rest of this entry »

Utility class for simple getter/setter JUnit testing

November 8th, 2005

Like many people, I use a coverage analysis tool to measure how much of my code is covered by my unit tests. (For my hobby projects, Coverlipse is my tool of choice; it’s free and reasonably capable.) And I always hate to see my coverage numbers drop just because I’m not bothering to test trivial getter/setter methods. So I wrote a helper class to test the getters and setters for me. Download it here and read on to learn how to use it.
Read the rest of this entry »

Mixing EJB3 discriminators and the JOINED strategy: Hibernate falls short

November 5th, 2005

Has anyone out there ever gotten a decent response from filing a Hibernate bug? I sure haven’t. Here’s my latest one, on the subject of support for JOINED entities with discriminator columns in Hibernate’s EJB3 implementation. I ran into a situation that was handled fine in other EJB3 implementations but not Hibernate. In his inimitable fashion, Gavin King claims it’s not really a problem “because Hibernate is better than these other inferior implementations.” But I think he’s wrong.
Read the rest of this entry »

Dual booting no more

November 2nd, 2005

For a while I was dual-booting my desktop PC between Windows and Linux. I even figured out how to get Thunderbird and Firefox to share profiles between the two OSes. But I’m not using that setup any more.
Read the rest of this entry »

Peerflix: Nice theory, not so great practice

October 29th, 2005

I signed up for Peerflix, a new DVD trading service. The idea is you list all the DVDs you own but don’t really watch, as well as all the DVDs you want. Other members do the same, and the service keeps track of how many discs you’ve sent out to other people so you can receive the same number in return (some discs are worth more than others, but that’s the basic idea.) It’s not a loaning service — you give away your DVDs, and you own the ones you receive.
Read the rest of this entry »