Perplexed

Open questions as well as solutions to annoying problems get doc’d here.

GMail IMAP in Mail.app Slow?

I never download anything in Safari this slow. It’s easily hundreds of times faster. It’s been well over a month since I setup my GMail IMAP. I’ve done some initial investigation, but nothing concrete showed up that I hadn’t tried. Any ideas?

Rails Page Caching + Mongrel

So you’ve got a great Rails app. You’re setting up page caching for those publicly accessible pages shared by everyone. One of your pages is the :index. It seems like the caching isn’t working when you’re testing it, but the output constantly says: Cached page: /tag.html (0.00044) What gives? Try seeing if “/tag” seems to [...]

Macports Erlang Install

So I ran into a funny error today while trying to install erlang on my Mac. Zdot-MBP:~ tim$ sudo port install erlang Error: Unable to execute port: invalid command name “configure.cppflags” It turns out (after running port using the -d option), that macports was trying to upgrade my gettext version. The Portfile seemed to be [...]

Strange DBUnit Loading Problem

I use DBUnit to setup my database for test cases. Right now, I’m running HSQL in its “in memory” mode as the database. I’m using Hibernate mappings to connect my objects to the database, and I’ve got my Spring/Hibernate configuration setup to drop and create the tables at the beginning of my test run (and [...]

Eliminating Two Windows Boot Options

I tried a few different ways of setting up my laptop, and I ended up installing Windows on partition 3 once and then temporarily removing the partitions and installing it on partition 0. After that I resized the partition and installed Linux and Grub as the bootloader. I thought that everthing was straightforward, but I [...]

[Eclipse] Superclass does not implement the ‘junit.framework.Test’ interface

I ran into this really strange error the other day while using Eclipse. I had been creating some JUnit tests, and everything was going just fine. Then I tried to create another one, and I saw the dialog below with the error message, Superclass does not implement the ‘junit.framework.Test’ interface. The JUnit JAR file was [...]

JMS Error ‘ctor’

I’m trying out the Spring JMS support in the 1.1 RC2 release. So far I’m pretty impressed, but that’s something I’ll delve into another time. While I was running my tests from the Eclipse JUnit test runner, I got the following exception: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: ctor javax.jms.JMSException: [...]

The Mysterious “IPM.Microsoft Mail.Note” File

My wife has been doing some work for a friend, which has involved some mailing lists and merging. This friend isn’t very computer savvy, and has obtained these lists from other people lacking in computer knowledge. We have received files in various formats, all with poor field design for this type of work, but tonight [...]

Pebble 1.5

I’ve just tried to checkout Pebble’s source, and build the evolving version of 1.5. I couldn’t do it. There weren’t any instructions on building that I saw, so I tried a few things. Run the setenv.bat file. This seemed to mess up my ANT_HOME. Run ant -projecthelp. This gave me a NullPointerException. Run ant. This [...]

What are good ways to get file contents to an EJB?

I can think of a few: From a webserver, use the Commons FileUpload library and provide a custom class that sends bytes to the EJB instead of the file system. From a console program, loop through buffers of the file, and send chunks of the file to the EJB Does this mean that you have [...]