The 80 Column Coding Rule

I've followed the 80 column rule almost always when I code, i.e., I keep a soft limit of keeping my lines of my code limited to 80 characters max. unless breaking up the line really messes up the readability of the code. I was asked recently why do I bother now in this age of 24” widescreen monitors (and above) with resolutions of 720p at the bare minimum. I could certainly afford to have more than double that limit staring back at me from the screen without overflowing. [Read More]

Android Dev Tip: App Not Showing on X10 Mini Marketplace

Many Android Developers (and users) get confused that why a certain app isn't showing up on the new Xperia X10 Mini (and few other) phones. This happens even if they support all android versions and have published their apps for all countries, so that shouldn't be the issue. I came across this as well when few people mentioned that they couldn't find my app Wi-Fi Keep Alive in the X10 mini marketplace. [Read More]

BadTokenException Error In Android Dialog

If you are creating a custom Dialog for Android, and following the Android Developers’ Creating Dialogs tutorial, then most likely you would have faced a Force Close with this exception showing up in logcat. I did too. Although I figured it out quickly, it might not be easy to find out for many, so posting it here for reference. Basically, the code given in the tutorial goes something like this: [Read More]

Project: Shantz WordPress Prefix Suffix Updated to 1.1.2

My WordPress Plugin “Shantz Wordpress Prefix Suffix” has just been updated to version 1.1.2. For those who don't know, this is a super-light and easy to use plugin that allows you to add any text or html/javascript/php code to your posts, be it the top of the posts, bottom of the posts or even in the middle. And you get a lot of options to control all this. I use it even on my site, to create links for my other blogs, adding copyright notices and even for advertisements (google adsense, chitika premium, etc). [Read More]

Slow Updates And A Small Nugget Post

Many readers of this blog have written to me for the slow updates. I apologize for the same. I’ve been swamped by loads of work for quite some time now and haven’t been able to write anything here or update any of my projects, though I have loads of new hacks and tricks that I would write once I’m free and lots in store for most of the projects as well in form of bug fixes and new features. [Read More]