Published by Zaheer Paracha
One of the routine tasks in many Java applications is to convert a string to a number. For instance, you may have a form where user submits his or her age. The input will come to your Java application as a String but if you need the age to do some calculation you need to convert that String into a number.
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Nov 02, 2009
Filed under: Java
Tags: Java, RegEx, String, validation
Published by Zaheer Paracha
Recently I upgraded to WordPress 2.8.5. The upgrade process itself went smoothly but some of the plugins I have installed on my blog stopped working with latest WordPress version. One of them is AdSense Deluxe.I use AdSense units on my blog (as you can see) and use AdSense Deluxe plugin to manage my ads. The plugin was still displaying my AdSense units properly, the problem was that I could not access its admin panel to change settings or ad units. I was getting following error.
“You do not have sufficient permissions to access this page.”
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Oct 30, 2009
Filed under: Blogging
Tags: AdSense Deluxe, AdSenseDeluxe, Plugins, WordPress
Published by Zaheer Paracha

Image credit:Mooganic
Nothing is more embarrassing than a misspelled word or incorrect grammar in an article on your blog. OK, may be there are other more embarrassing things out there but this still is not a nice scenario for a professional blogger. As a blogger you should try to catch all your mistakes before your readers catch them and point fingers at them (or worst publish your mistakes on flickr for all to see:) ). Almost all commercial word processing programs offer built-in spell and grammar checkers. These tools allow the users to write without worrying too much about the spelling and to some extent the structure of their sentences. This peace of mind naturally increases their productivity. Now you can get that same functionality for your WordPress blog by installing a smart plugin. Aptly named ‘After The Deadline’, this plugin frees you from worrying about spelling and grammatical structure and let you focus on your main goal – to write.
“After the Deadline is a plugin for WordPress and TinyMCE with contextual spell checking, advanced style checking and intelligent grammar checking.”
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Oct 30, 2009
Filed under: Blogging
Tags: afterthedeadline, Blogging, plugin, writing
Published by Zaheer Paracha
Smart phones are a great tool for bloggers to blog even when they are away from their computers. Ever since iPhone was introduced mobile-blogging hit its stride. With a plethora of apps available for iPhone you can now easily post to your blog wherever you are. Although most iPhone apps have a modest price but if you search hard you can find some gems of applications even for free. Following are five free but excellent iPhone apps that are immensely valuable for the bloggers on the move.
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Oct 24, 2009
Filed under: Blogging, Most Popular Posts
Tags: Blogging, free iPhone apps, iPhone
Published by Zaheer Paracha
Recently Darren Rowes of problogger.net launched a premium forum for bloggers ( problogger.com). I was surprised that he offered the membership of only $1.95 a month.
I singed up as soon as I heard the news and I believe it’s worth much more than that. The community is getting close to 2000 member strong. The first advantage of a fee-based forum is that usually do not get spammers flooding the message boards. Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Oct 18, 2009
Filed under: Blogging
Tags: Add new tag, Blogging, problogger
Published by Zaheer Paracha
Almost all major web development projects include some javascript. Developing Javascript may be easy for some but working around various browsers’ incompatiblities makes it a bit more tedious chore. As a developer I always welcome the opportunity to use development tools that may help in the development process. Following is a list of some useful Javascript tools that I believe every web programmer should have at his or her disposal.
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Oct 15, 2009
Filed under: Javascript
Tags: damnit, firebug, framework, Javascript, javascript frameworks, javascript tools, javascriptmvc, tools, web development tools
Published by Zaheer Paracha
A couple of weeks ago a reader asked me for a Java program to read command-line input from the user and then display the smallest value the user has entered. He wanted to use digit ‘0′ to indicate that the user is done entering the data and not to include 0 in the list of numbers entered by the user. Here is the Java code to do this. Bonus: This program also determines the largest value entered by the user.
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Oct 01, 2009
Filed under: Java, Most Popular Posts
Published by Zaheer Paracha
Joseph Darcy, the lead of Project Coin, formally announced the approved changes to the Java language to be included in JDK 7. Although there was no major change announced, the announced enhancements will improve program readability. Following are few changes that I am glad they are going to incorporate in JDK7.
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Sep 05, 2009
Filed under: Java
Tags: automatic resource management, diamond notation, java7, jdk7, string in switch, switch
Published by Zaheer

If you are thinking of starting your own blog or have just started it, I would recommend that you download and read the free eBook, Make Money Blogging, by Daniel Scocco.
Daniel runs a successful and a very helpful blog “DailyBlogTips” and is quite well know among the bloggers. In this free eBook Daniel laid out a well written plan on how to get started in blogging universe.
In the introductory chapter he explains the need of a domain name and the virtues of using WordPress platform.
In the next couple of chapters Daniel lists important steps a new blogger should take to become a successful blogger. He explains how to choose a niche for your blog, how to write killer articles and how to attract and retain more visitors.
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Aug 26, 2009
Filed under: Blogging
Tags: make money blogging
Published by Zaheer
If you need to search for a phrase or a string in a text file Java regular expression is the easiest way to accomplish this task. Here is a simple example that demonstrates how you can use Java regular expression to find a string or a phrase in a text file.
Continue Reading…
If you enjoyed this post, make sure you subscribe to my RSS feed for FREE!
. Jul 28, 2009
Filed under: Java, Programming