Showing posts from November, 2009

Import Google Contacts to Nokia PC Suite

You would be forgiven to think that importing contacts from your Google address book into Nokia PC Suite would be an easy and straight forward task. Google Contacts has 3 export options: a proprietary Google CSV, a standard Outlook CSV and the vCard format. Likewise Nokia PC Suite allows importing Outlook CSV and vCard formats. Having recently tried both methods though, neither worked.

The Outlook CSV format failed with some error message and informed me that no contacts were imported. The error message gave no clue as to why. The vCard format on the other hand would import only a single contact.

After a little bit of digging around I found that the vCard .vcf file exported by Google Contacts is a composition of all your contacts, but Nokia PC Suite expects only one contact per .vcf file. A quick Google search reveled just the tool for this, vCardSplit. Using it is pretty simple: just dump your contacts.vcf file into a folder, say C:\temp, dump the vCardSplit.exe into the same folder, o…

Consolidating Mobile Contacts and Calendar through Google Sync

Most people know about Google's Calendar and Contacts services (contacts is available through the GMail or Google Mail interface). I personally have Google Apps installed for my domain and use Google Mail to consolidate 4 or 5 email accounts. Likewise I use Google Calendar to jot down meetings, events and todo's, and I started using Google Contacts to store everyone's emails, phone numbers, addresses, etc.
This is all well and good when you're in front of your computer, but it'd be even better to have full access to all this information from your mobile phone. Now if you have a modern smartphone like an iPhone or Android, you can just fire up a browser and connect to your Google account via 3G. Even better though, it's possible to sync your native phone contact list and calendar to your Google account for seamless integration via Google Sync.
Google Sync is available for the iPhone, Android, Windows Mobile and Symbian. I was surprised that I could get this servic…

Simple Service Layer PHP Caching

There are a lot of plugin caching systems out there but the correct caching mechanism is often specific to each individual application. This is especially true in Ajax-like web applications where data can be highly dynamic. Sometimes it doesn't make sense to deploy a cache to your entire application, especially if your data is dynamic to the point where the overhead from cache misses could actually slow down overall throughput.
Maybe you only have one service that processes a deep hierarchical data structure. This usually involves a lot of recursion and iteration and possibly a lot of database queries. Performance for this type of services is generally n^2 and while you may not notice any significant lag with small structures, once you start exceeding the thousands of nested elements mark, things start to bog down exponentially.
The simple solution for this is to implement a service-specific cache. To do this you need two things: You must have some way of caching the service results.…