Skip to main content

The Law of Java-simony.

Extending from the famous Law of Parsimony, when there are multiple explanation for a bug in a program, the mistake is usually made in the simplest form.

Java Debugging Essential Tip 101 #1: Most of the time its just a typo. Especially when Java is case-sensitive. You think I thought, who confirm I typed it correctly? I learned it thru the hard-way.

Java Debugging Essential Tip 101 #2: If you spend several hours in one direction and you can't solve the problem, you should probably explore the other direction. If its not the server problem, its the client's problem!

Java Debugging Essential Tip 101 #3: Are you sure you fully understood the Exception message? Read again! Read againnnnnnnnnn. Yes, againnnnnnnn.

Java Debugging Essential Tip 101 #4: One error usually masks another. The rest of the codes seems error-free cuz the current one is significant to give you the pain in the neck! Add the missin' brace, the other underlined red codes start to appear!

No, I'm not suffering from Monday Blues. In fact, I pretty much enjoyed working today. But I wouldn't mind having a longer weekend. 4 days left to the weekend! Hoooooosh!

P.S. the so-call tips are just reminders to myself, so don't say i hao lian start to give ppl tips liao hor. I still got alot to learn one.

Comments

Popular posts from this blog

The Bridal Dowry.

The delivery of dowry ( 送嫁妆 ) is another important custom. It represents parent's effort for her daughter to have a good life after marriage and prepare her with the necessities for being a good wife. I am amazed by some of the things included in the dowry. Of course, in our modern living, we will not be using some of those things... Nevertheless, I think it is all good to have them, as each item carries a good meaning for our blissful marriage. :-)

If you have it, just flaunt it.

Its such a lousy day, I have decided to blog another entry. Yesh, I am thinking about things other than my last two papers on Thurs and Friday. Something probably talked alot before by many people... What is it with men and women with 可爱-oooii *杨丞琳's voice* face, long tresses, slim legs, curvey body, in revealing tight clothes (only for those with the former characteristics), in pink. Why are men so attracted to those features? The guy is lying if he says he will not turn his head when he sees women with those features. I think it has nothing to do with men being lustful or anything disgusting. It probably has something to do with the genes, the hormones. I don't believe it has to do with things like its men's nature instinct to look for partners who can reproduce blahblahblah. That's so boring! Its something mysterious, something that let men derives pleasure by just looking openly, without doing anything bad or harmful or immoral. Do women ogle at men all the time too

Dreaming About You.

I usually leave my handphone on during the night (just in case if anyone want to contact me urgently, eg. a friend in need of help etc). But I think I will be leaving my phone off from now on. Why? In the wee hours this morning, I received three continuous sms . I forced myself outta bed to read the message, thinking it must be something very important. I surprised to read that they were messages from " Dreamchat ", telling me that " someone is dreaming of me ". Oh great! What a good reason to wake me up! It also asked me to call this 1900 number to listen to the message. There was even a member id at the end... So someone still wide awake in the middle of the night decided to use this wonderful service to let me know he/she is dreaming of me leh. wah seh. I immediately deleted the messages and went back to sleep. Knowing I will just have a few more hours of my six hours daily sleep time left. How did this " Dreamchat " thingy got my handphone number? Is