The world, how it works, surroundings, myself, etc.

Thursday, November 24, 2005

gdb generic error

I had gdb-ing my application to figure out the reason why it had been
misbehaving for long. It had been so long that gdb tried to console me
with: "Cannot find user-level thread for LWP 7912: generic error"
I didn't particularly like the "generic error" phrase. What was it
trying to say? Is it trying to console me by stating that this error is
a generice error -- as in, everyone gets it -- and that I need not get
so annoyed? As if to say, everyone has a bad day -- just that it's yours
too today!

Sunday, November 20, 2005

gcc commentary

Gcc has some humorous commentary built into it. I tried the datatype "long", and then tried "long long" and just for fun tried "long long long" and here's what it says:
    error: ‘long long long’ is too long for GCC

Curiously enough, gcc doesn't remark similarly for "short short". I expected it to say: error: 'short short' is too short for GCC!


Tuesday, November 15, 2005

I eat shocks.. everyday

I'm eating shocks..literally. Electrostatic charge runs down by body and to the plate when I put forward my hand to pick it up after having finished my meal. I get a shock right after my meal, three times a day, everyday! I understand that there's something about electrostatic discharge which should be blamed, but it's kind of queer. If you are sitting with me on the mess table, you can almost hear the sparking sound while poor I get the shock (Paresh, Tarun, Ketan, Ranta, etc confirm this). I had heard about electrostatic discharge rendering electronic components useless and that you need to ground yourself before you touch things like the computer motherboard -- to avoid damaging the board. But here I am, without a single capacitor or transistor in my body, and I keep getting these shocks on a regular basis.

There are some strange observations about this phenomena:
  1. This phenomenon started only after I returned back from home after my Diwali hols. I was perfectly okay before that. I used to wear the same clothes and eat and sit similarly. Did I burn a bit too many crackers in Diwali? Or do I have an evergreen Diwali with me now?
  2. I get up 1-2 times before finishing my meal to load some more things from the counter. On these occassions, I don't get any shocks as I pick up my plate. It's only when I'm finished with my meal, my stomach is filled, and I get up finally, that I get these shocks. As a hit-and-try experiment, I once retired my meal without having filled my stomach, and lo..I did NOT get the shock. However natural this electrostatic discharge phenomenon be, how does it predict if my tummy is unfilled?
Well, untill I find explanations to the above, I'll keep getting shocks meal after meal, three times a day, everyday.

Saturday, November 05, 2005

Being Bangalored ... interesting

A shamelessly direct lift-off from someone else's blog. The usage of Being Bangalored even figured in this week's India Today, and I decided I'd rather yield to the temptation. Here you go:

Strange but true. "Bangalored" is a verb which has been recently accrued in the english vocabulary. A person is said to be 'bangalored' if he lost his job because the work got outsourced to bangalore or any other city in India. "He got bangalored last week" is an example of its usage.

I ain't kidding people. Google it up I say. Lot of people in US got bangalored that it became an issue during the US presidential election. Thats exactly when this word was coined.

Dictionary defintion :
Bangalored adj. (said of a corporation, project, or employment) having been relocated to India; having lost business or employment due to such a relocation.

Here are some quick links to 'Bangalored'..hmm it feels really awkward to even pronounce it.
Click: A and B.

And guess such similar verb is "Shanghaied" which means kidnapped. "Shanghaied" - this word even exists in Webster's dictionary. Try and see yourself. Shanghaied has been known since about 1870, at first in the sense of kidnapping a person to make up the crew numbers on a ship, but now more generally to be for ced into doing something against one's will. There is one more... 'Sodom' from the Bible.