Tuesday, September 27, 2011

"Why are you so difficult man?"


"Man, you seem to be extra-happy today!!"
"What do you mean extra-happy? I am always happy"
"Is it your birthday or something?"
"Oh C'mon. I'm always happy, did you see me sad any time? but yeah, if you keep pissing me off, I can be very bad. Try that... ha ha ha... just kidding"
"Ha ha, I know... Ok tell me, does this thing have beef or pork in it.."
"Yeah, try it, it's great !!"
"Nah, I eat only chicken!!"
"C'mon man, you can eat it everyday!!"
" In fact I eat it everyday and you know that. But I don't eat pork or beef."
"Ah... not this, not that... why are you so difficult man?" And both of us started laughing. This is one of the usual conversations between me and the chef at the Mexican food corner in the office cafeteria. But this time, this unusual word "difficult" managed to ring bells in my mind. Am I difficult? Really?

Monday, September 26, 2011

Data Processing...lol

There are 3 rules to follow when parallelizing large code bases.
Unfortunately, no one knows what these 3 three rules are.

--Gary R. Montry

Thursday, September 22, 2011

Classloader exception

Few hours ago, I had probably the most stressful 15 minutes of my life when I ran my programming assignment as a final check before submission and it did nothing but clean exited when I hit the run key. I went back to the test cases I had written for the modules and checked to see if everything worked fine. I had 100% success in there. Although, my program still won't print anything... strange!
So, as any programmer would do, I put the breakpoint at the very beginning and started debugging. Everything was still working fine, except when I came to the point where I was instantiating one of the classes, I got the classloader exception. I thought, that there probably was an issue with that class, so I rebuilt the program so the .class files get regenerated. Still no luck!
Update:
I am probably the silliest person on earth.Any beginner book will tell you that classloader exception is thrown when the class loader is unable to load the class. That is, the class doesn't exist. Which made sense in my case, because I had just refactored the code and update the other file while I did that. I still don't understand how the project was compiled though :S

Object oriented approach for user interface

Coming soon...