A Mini Server (two disks, no superdrive) became redundant in our setup, so I used it to test a few things. At the same time I needed Visual Studio, so I dedicated one of the drives to Windows 7. After installing it with bootcamp, the mini would reboot as Windows, but if I pressed option and selected OS X, and rebooted after having used OS X, I’d get a “no OS” flash and the mini would reboot, find no OS, reboot again and loop. If you ever get this problem, the fix is easy: Press the option key and select boot into OS X, then go to System Preferences, Startup disk, select your OS X disk, and press restart. It’ll now behave correctly and reboot into OS X at startup.


I’ve been having some issues using the

- (NSManagedObjectModel *)managedObjectModel
function. First it didn't load well, but Marcus Zarra helped me out there on Stack Overflow. The funny thing was of course that up until now, it'd worked great on the phone but not the simulator. That solved, it stopped working on my phone, but I was working so much in the simulator I didn't pay a lot of attention to it.
Anyway, today I wanted to have that figured out, and I came across this great post by Jeff Lamarche, and while it didn't explain to me why I had multiple versions on my phone but not my simulator, even after I had wiped the application and application data completely, it allowed me to load the correct model. So now everything is running smoothly and the app is coming along great.
If you've been having the same kinds of issues, I hope these links help you as much as they did me.


Are you having any of the following problems?
- In SharePoint Designer 2010, when you select “External Content Types”, you get “The Business Data Connectivity Metadata Store is currently unavailable.”
- The Business Data Connectivity in Central Administration under Manage Service Applications gives you “Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Bdc\client.config line 34)”
- When you create a new Business Data Connectivity service you also get “Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Bdc\client.config line 34)”

If so, hurry over to and request the hotfix for SharePoint Foundation 2010.


In case anyone’s interested I posted a sample Spring 3 / Hibernate / TestNG project on GitHub today. My motivation for doing so is to have a code base a project can start from, and a starting point for discussions on StackOverflow and such.


Recently I bought a Canon Pro9000 MkII printer. About a week later, Snow Leopard was released. I decided I wasn’t too fond of the drivers that came with Snow Leopard and wanted the “official” ones. However, they won’t install on anything beyond Leopard, unless you do some tweaking. If tweaking is what you’d like, you’ve come to the right place. In this little post, we’ll install them.

First, use Disk Utility to create a new image that’s read/write enabled from the CD. Select the CD (CANON_IJ) from within Disk Utility and hit the “New Image” button at the top of the window, between “Enable Journaling” and “Convert”. Select “read/write” from Image format and save the image to your desktop. You should get a window titled “Disk Utility Progress” saying Creating Image and Reading CANON_IJ. Let it finish

Having done that, eject your CD, and be sure you have your image mounted. (Double-click it if it’s not). Open your terminal, and write

cd /Volumes/CANON_IJ
find ./ -name getosversion -print

That should give you:
.//Set/Printer Driver/Pro9000 Mark II series/PrinterDriver_Pro9000II series_071700.pkg/Contents/Resources/getosversion
.//Set/Printer Driver_Alt/Pro9000 Mark II series/PrinterDriver_Pro9000II series_101800.pkg/Contents/Resources/getosversion

Now replace these files with a string saying your OS is version 10.5.8:
cat > /tmp/getosversion
#!/bin/sh
echo 1058

press ctrl-d

chmod a+x /tmp/getosversion
cp /tmp/getosversion "Set/Printer Driver/Pro9000 Mark II series/PrinterDriver_Pro9000II series_071700.pkg/Contents/Resources/getosversion"
mv /tmp/getosversion "Set/Printer Driver_Alt/Pro9000 Mark II series/PrinterDriver_Pro9000II series_101800.pkg/Contents/Resources/getosversion"

You’ll get an “Operation not permitted” when mv tries to set the file owner, don’t worry about that.

Voila, you’re good to go. Run the setup from your image. You’ll get a warning saying the OS version is unsupported, but we’ve just made it so that it will complete correctly. So just click OK when you get the warning, install the printer as you would before and enjoy