Post examples of Noobness in this thread. Example 1: Not understand how to use NOT logic (aka, the ‘!’) if ((expDate!=null && expDate.isPast(null)) || (effDate!=null && effDate.isFuture(null)) || id.getRank() == null) { //Do Nothing } else return id; Example 2: Hard-coding Array indices if(person[i][3].equals(“Sam”) && person[i][1].equals(“17″)) name = person[i][3] + ” ” + person[i][4] + [...]
Thursday, February 21, 2008
It’s quite obvious that the folks at Interface 21 (Spring Source) and JBoss have quite opposite goalsets that are not necessarily complementary. While Spring subtly embraces Hibernate technology, JBoss seems to be committed to prove that _Spring_is_not_panacea after_all_. I’ve been working on JBoss Seam for a few days now and if I’m not wrong, the [...]
Friday, December 14, 2007
You’ve been here before: After two weeks of working around the clock, you discover that the people handing you requirements still don’t know what they want. You’re delirious from lack of sleep, and everyone around you is just pointing fingers, no one is actually helping. It sucks, and it happens frequently enough that it almost [...]
Wednesday, December 12, 2007
The next time you google for a Digital SLR Camera (like the new Canon 40D or Nikon 200D) or a LCD hi-def TV,  beware of fraudulent websites being shown in the Google sponsored links on the top and to your right of the browser search results! Some of these sites, promote with a price [...]
Thursday, November 29, 2007
Google just launched their MyLocation feature. For starters, it looks cool, but there seems to be an incredibly dangerous plot behind it’s inception. Imagine your advanced phone gadget (IPhone, Blackberry, Nokia/Symbian based) able to show you a reasonable approximation of your location, in real time, not just when you *ask* for, but tracking where all [...]
Tuesday, November 20, 2007
I thought the blog title calls in for an interesting research topic, however someone has already presented a paper on exactly the same name. I’ve been working on writing code and not-writing-code-but-getting-paid-for-getting-code-written kinda job all the while, it’s almost a certainty that today, serious women programmers are as fictional as marvel comic characters. Well, I’m [...]
Scenario 1 – You are checking the Status of your package on Amazon. You login in the morning. Click Account. Track Packagaes. Amazon.com ‘forces’ you to login again. Why? Ah. Security. You do this 10 times. You are forced to login 10 times. Scenario 2. Ebay. Imagine you are bidding on an item and are [...]
Thursday, August 23, 2007
“You cannot use the back button of your browser when ordering tickets. Doing so may cause inaccurate information on your confirmation and/or your credit card. If you use your back button, we cannot guarantee your ticket reservation! If you need to make a change or have made an error, you must click Cancel Order and [...]
I know Java handles dates with all the finesse of a brain-damaged… Ok there must be a better way to do this: //get the current time and put it in a sql.Date java.util.Date dateTime = Calendar.getInstance().getTime(); pCode.setDtActive(new Date(dateTime.getTime()));
Wednesday, February 28, 2007
Many a time when you are working on a web application, you would need to release your files for adopters to deploy and test early. Sometimes when your adopters are as many as 7, things dont look nice! Have a look at the following setup Typical Opensource webapp —————————– 1) Download Tomcat 5.5.x/JBoss 4.x 2) [...]