Posts

iPhone 4 not starting

I have seen this happen 3 times now. iPhone stops working suddenly - it just goes dead and whatever you do, you cannot boot up. Tried following: Long pressing lock button (on top).  Use special screwdriver and remove the screws near speaker and blow. Try to connect to your MAC/Windows and see if it gets recognized in itunes/drive.  None of the above worked. Simple solution to fix is: Press Lock & Home Button together for 10 to 15 secs. Apple icon should come up :-)

Interesting article on why we shouldn't use Task Killers on Android

http://lifehacker.com/5650894/android-task-killers-explained-what-they-do-and-why-you-shouldnt-use-them Not that I completely agree as per my observation, but interesting to read - especially the section which mentions:  "On Android, having your RAM nearly full is a  good  thing. It means that when you relaunch an app you've previously opened, the app launches quickly and returns to its previous state. So while Android actually uses RAM efficiently, most users see that their RAM is full and assume that's what's slowing down their phone. In reality, your CPU—which is only used by apps that are actually active—is almost always the bottleneck."

Associating file types to an app in MAC

There doesn't seem to be one place like windows registry classes subclass or the file associations application where you can set the application to open a file of certain extension in Mac OS X. If you select one file and click open with and select an App, it's associated to open that file only even if you select "Always open with". It doesn't set the open with app association for all files with that extension. Easiest way (or is it the only way?) to do that seems to be this way: Open File Info of a file of that extension. For e.g., to set all .sh to open in macvim, select any .sh file in Finder. Then Click Command I or right click -> File Info. In the Open With section, select the app to open the file with And importantly select the option "Change All". That's it - This should do.

Quick Calc on Mac

Click on Apps icon - Select calculator Or open spotlight, type calculator and select the first option to launch calculator. Type in your numbers and operators to get the result, seems to be the most used one.  You can also use Dashboard (by pressing F4) and calculator should be there by default. BUt the easiest of them if your data isn't very complex is just open spotlight (cmd-space) and type in your data there... For e.g., 3^4*2 and the first result is your answer. :)

Android/Java Static Code Analysis Tools

Java/Android compilers in itself are very good and give very good warnings to inform about various issues/things done wrong. Just thought about trying free Static Code Analysis Tools and found the below: FindBugs PMD All have eclipse plugin urls, so you can add the URLs at the software site link and easily add the plugins. FindBugs Damn good tool. Install the plugin and then right click on a java/android project. You will find FindBugs Menu. Just click on FindBugs and it gives a very good overview of the review bugs in it's own perspective. Each of the bugs is categorized by the pattern (you can change the categorization in the toolbar) and it lists all the occurrence of that type in all files in the project under that.  Clicking on it, it gives a very very good description about what the error is and why that is considered to be an error. It indicates if its just a suggestion or performance issue or style issue.  Some of these were quite new f...

Kaiwara and Avani Trip

Image
Date: 21st November Places Covered: Kaiwara, Kailasagiri, Kurudumale, Mulbagal and Avani. Vehicle: My Ritz Distance Covered: 280 Kms Start from Home @ 8 AM Back Home @ 10 PM We went to Kaiwara to see the Amaranarayanaswamy temple there.  A passer-by suggested us to visit Kailasagiri when we asked for directions to cave temples of Kaiwara. Didn't know it was man-made caves but it was first time I saw chaturlinga (4 faced Lingas like Brahma). Nice place to visit and temple free lunch was amazing. Details about this place: http://www.deccanherald.com/content/6954/snippets.html We came back to see Kaiwara caves with the lakshminarasimha temple in the caves and then saw the "Kaiwara" Thatha's Ashram + temple. We then headed to Kudurumale Ganesha temple near mulbagal. There is a large stone idol of Ganesha. After that we went to Anjenaya temple in Mulbagal town. It was supposed to be very famous but didn't find much crowd and the pujari there wa...

Mac - dvd drive not visible in Finder

Image
In MAC, the dvd drive gets listed in finder only if a dvd is present. Else it's hidden. In some rare cases, even after you inserted a drive, the disk might not be visible in finder and since there is no eject hardware button near the DVD, there doesn't seem to be a way for removing the disk. Browsing around, found the following ways (from multiple sources) to eject the disk and re-insert it: Force restart finder. Open disk utilities (Applications/Utilities/DiskUtility) and the drive should be available there. Right click on it and select eject. Command line always rocks. Run the following in a terminal:  drutil tray eject Cross posted from:  http://techieconnect.blogspot.com/2011/11/mac-dvd-not-visible-in-finder.html