Thursday, May 12, 2005

When an upgrade is a downgrade

It was the case that when I plugged my Cannon PowerShot S500 into my Fedora Core 1 machine it simply mounted the camera as a USB drive on my desktop. I just tested this on another FC1 machine and it did not “just mount”, so I must have monkeyed with it. Anyway, currently when I plug my camera into my FC3 machine an Import Photos application automatically starts asking if I would like to copy the images to my home directory. Not bad, but I prefer the old way. Google suggests I play with my /etc/fstab file, but that will not disable the “Import Application”, what ever that is. The 'gconf' application does not seem to have an entry about this import application either. I will try and answer the “How do I switch the behavior of my system in the best FC3/GNOME way” in a future post.

Sunday, May 08, 2005

java.lang.Thread's sleep method is static

I have noticed that Java programmers often use Thread's sleep method like this:
Thread.currentThread().sleep(DateUtils.MILLIS_IN_SECOND);
however, Thread.sleep is static, thus the following is equivalent:
Thread.sleep(DateUtils.MILLIS_IN_SECOND);