Sunday, February 28, 2010

Building Dynamic Websites (LAMP)

Harvard university offers a course on PHP/MySQL based Dynamic website development (CS75 - Building Dynamic Websites). I found the contents are full of rich information. And I recommend this to all PHP developers.

The last 2 Lectures on Security and Scalability are must watch for any web developers.

Link to their videos

Sunday, February 21, 2010

Steve Jobs - Stanford Commencement Address

Steve Jobs - Standford commencement address 2005

Jobs at his best.

Connecting the dots ...

Saturday, February 6, 2010

Weird issue with application icons on iPhone dashboard


Note: Apple reported this as fixed in version 3.1 and above. The screenshot above was taken with an iPhone OS 3.0 on a 2G device.


This issue still exist. Please find the screenshot below. I’m using 2G device with iPhone OS 3.1 (Jailbroken, obviously)


Update 2:

I was able to reproduce this issue. As soon as you end your outgoing call there will be an alert which displays call duration & cost. All you have to do is turn off the display (a physical button at the top right of the device) without tapping the dismiss button.

In my case, I always see YouTube app in the search page. And the first page will be empty (my first page full of default apps from Apple).



Wednesday, February 3, 2010

Firefox : Settings are not saved

I was having an issue recently that none of my settings/preferences were saved in Firefox. It opens the Firefox updated page along with extensions updated page every time I open the browser. The manual override of about:blank is also not reflecting.

Solution is just delete your pref.js from your profile folder or make sure that it is not read only. Interestingly my pref.js was read only I just deleted it, I believe making it writable will also fix the issue.

Profile folder location(s)

Windows NT (NT4.x/2000/XP/Vista/7): "%APPDATA%\Mozilla\"
Unix/Linux : ~/.mozilla/
Mac OS X: ~/Library/Mozilla/ or ~/Library/Application Support/

Sync Contacts from your Nokia to iPhone without outlook

It is possible to sync your contacts to your iPhone without MS Outlook.


  1. Export your phonebook to CSV
  2. Import the same to your Gmail account
  3. Sync contacts from your Google account with iTunes.


  • In addition to Google, it is also possible to sync with Yahoo, windows address book, MS Outlook.
  • To export your phonebook you need Nokia PC suite. It doesn’t copy the SIM contacts; but the same can be imported directly in iPhone.

1. Open your iTunes, select your iPhone and click the Info tab.


2. Select “Google Contacts” in the “Sync contacts with” and it will ask for your Google Account information


Importing SIM Contacts to your iPhone

3. Hit the “Sync” button to sync it with your device. You can import the remaining SIM contacts by

Settings –> Mail, Contacts, Calendars –> Import SIM Contacts

importsimcontacts-thumbobviously you should have the SIM to see the option “Import SIM Contacts”

That’s it, you are good to go now.


Tuesday, February 2, 2010

Lord Ganesha in the background of iPhone compass app?


How to test your iPhone applications with iPad simulator?

iPad can run most of the iPhone (iPod touch) applications. After installing the iPhone SDK 3.2 open your iPhone simulator and select below from the menu

Hardware –> Versions –> 3.2 

This will open your iPhone application in iPad simulator. By default the app will be open on the center of the iPad screen with ugly black border.


First iPad program

I managed to install iPhone SDK 3.2 beta today. I installed it on my Snow Leopard 1.6 (Note: the minimum requirement of iPhone SDK 3.2 is 10.6.2). But the installer didn’t ask me to update OS before installing.

But it crashes xcode every time I create a new project until I updated the OS to 10.6.2. See the iPad simulator below (2nd image of this post).


You should have noticed that there is a new template for the project “Split View – based Application”


The very first impression was “Uh!!! Too small to read the text” on my 17” LCD. They map iPhone resolution (320x480) and iPad resolution 1024x768 on same window, compare the screen with the iPhone simulator below.


Update: There is an option under window to zoom the iPad simulator window -> zoom -> 50%, 100%. Yes it is only for iPad simulator. Still the iPhone simulator can't be resized.


Monday, February 1, 2010

iPhone SDK 3.2 beta for $29

I’m little surprised to know that the new iPhone SDK 3.2 beta requires 10.6.2 (Snow Leopard). And, no SDK for 1.5 (Leopard).

The upgrade cost is $29.