Thursday, March 25, 2010

iPhone – Accessibility

What if iPhone provides an accessibility option for users with bigger finger?


I found that pinch to zoom and screenshot capturing can be considered as good photo cropping tool. This was done in the following sequence screenshot + zoom + screenshot. You can see the same with the UIPageControl aligned little left instead of center.

And it also reminds me that a colleague of mine thought iPhone 3GS is 3G small. I hope this could be the picture that he had in his mind.

Dr. P

Sunday, March 21, 2010

Objective-C Crash Course for Web Developers

Please find the below presentation which explains obj-c for web developers (js/php). This is taken from SXSW'10. I'm also searching for the video will share if I come across any.

Sunday, March 14, 2010

Nobody is using NOSCRIPT tag?

It seems nobody is using NOSCRIPT tag. I never used in my application as well. But it is surprising that even Google itself ignoring the NOSCRIPT.



The first screen allow the user to navigate to the dashboard of analytics. But the latter on does not provide any clue on what is happening? If there a NOSCRIPT with “Please enable javascript in your browser” could help the user instead of useless “Loading page..” in this case.

I was recently testing a server-side validation without javascript. I forgot to enable the js again and it costs me 10 min and this post. So team kindly include NOSCRIPT in you header please.


How to Register iTunes Account for Free (In Any Country Without A Credit Card)


Follow the steps below:

  1. Launch iTunes
  2. Log out of your account (if any)
  3. Scroll down the iTunes page and hit the flag on the right
  4. Select your country of interest
  5. Try to buy a random free app (Note: You will see payment option None only when you register after/while downloading a free app)
  6. iTunes will ask you for your credentials, hit open a new account
  7. Accept the terms
  8. Enter a valid email, pick a password and so on. Hit next
  9. Select “none” as the payment method. Then fill in the form with some random address in the country you picked (Google maps is your friend) or avail the service from
  10. Finalize & click the validation link in your email

Thanks: AppAdvice

And I have found another link which explain the process with images. Link from How to Geek


IPL 3 on YouTube

If you have Airtel broadband + unlimited bandwidth then you are lucky to enjoy IPL without commercials. YouTube IPL channel can be viewed with 2Mbps speed without any extra cost.

This is applicable only to



Thursday, March 11, 2010

Apple App-store bug


It was showing same app Parking Mania Lite twice :)

Update [28-Mar-2010]



Wondering what’s wrong with appstore app? is this an API issue or dequecellidentifier issue?  


Wednesday, March 10, 2010

How to connect to multiple MySQL servers from PHP

Most of the PHP developers remember only the first three parameters of mysql_connect (host, username, password). There is a fourth parament called $new_link a boolean existscreate a new link. The default value is set to false.

$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
//create a new link/resource
$linkRemote = mysql_connect('remotehost', 'mysql_user', 'mysql_password', true); 
//pass the $link/$linkRemote as second argument to 
//mysql_select_db,mysql_query functions to work on 
//both the servers simultaneously. 
//do stuffs
//close both the connections