Niklas Saers
Featured Post

PostgreSQL Commander Is the Operator Layer AI-Built Apps Are Missing

AI can generate a lot of code. It cannot run your database responsibly.

Recent Writing

June 26, 2010 • General

Facebook/Address book syncing

I got an email today from two of my friends who had sent an email to everyone notifying that their email had changed. Not willing to do this work every time someone changes something I thought, I can just grab this via Facebook. A while back I used Address Book Sync (http://danauclair.com/addressbooksync/) and that was great, but one day it stopped working. I checked it out again, and although the new version 1.4 locks up while syncing, it actually does some work while appearing locked, and after a while it had chewed through my friends list and was ready to update my friends. It categorized them in matched and unmatched, so I started by syncing everyone who was matched. That seemed fine, but it synced photos more than phone numbers and email addresses, which is what I'm after. A couple of tests revealed that I was missing emails, adresses, phone numbers and homepages. Hmm... not quite there yet. What do you use? What do you recommend?

June 11, 2010 • Technology

SSL: Apache CRT => Pound PEM

To convert a certificate generated for Apache to a PEM file usable for Pound, do this:

May 31, 2010 • Photography

Face recognition in Lightroom 2

Frustrated about having Faces in iPhoto and not in Lightroom? Frustrated that it's then in Aperture, but not Lightroom 3 beta 1 and 2? Frustrated about not hearing about it being a priority in Lightroom at all? And still addicted to Lightroom? Yupp, me too. But this night, for reasons not related to this post, I thought, hey, perhaps Picasa can help out? What I found is too good to be true, so it's probably going to have all kinds of weird side-effects. But for now it seems to be great! You see, Picasa doesn't move the files out of place, and it works with XMP (which Aperture does not, even though it claims to). And of course, I save all changes in an XMP sidecar. This great article simply states that all face detection will be written back as metadata in the file, and even updated into the XMP, so that I can just read it back into Lightroom! That sounds fantastic! So right now I'm scanning my entire library and look forward to a lot of tagging! :-)

May 29, 2010 • Technology

Audible on iTunes fix

I've had a problem forever that when iTunes closes, it forgets the password to the iTunes store, and it forgets the password to my Audible account. I've Googled it once or twice but couldn't find the answer, and since I hardly ever close iTunes except for boots, and since Quicksilver is so fast to open 1Password to retrieve my passwords, it's only been a minor annoyance. But today I wanted it fixed, and Audible has actually provided a few solutions. The last one worked for me, I moved the /Library/Preferences/com.audible.data.plist out of place, relaunched iTunes, entered the password, closed and reopened iTunes again, and it still works. Super! :-) The new and old files differ not in size, but the key is different and the old file had some flags set on the file.

May 28, 2010 • Technology

Quick fix for Bootcamp

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.

May 26, 2010 • iPhone dev

managedObject problems resolved

I've been having some issues using the

March 26, 2010 • Technology

SharePoint 2010 and BDC

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)"

February 10, 2010 • General

Aperture 3 and XMP: A showstopper

It seems that Apple doesn't want people switching from Lightroom to Aperture. In this support document, Apple confirms that they only import strictly what they HAVE to to say that they comply with XMP, but they don't support XMP enough to make it useful. Expect to loose all your labels and ratings when importing from Lightroom, and don't expect to have the data transfer back to Lightroom in case Adobe releases Lightroom 3 and you'd rather stick with that after your 30 trial days are up.

October 14, 2009 • Technology

Sample Spring3 / Hibernate3 / TestNG app on GitHub

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.