August 17, 2007

Casting to integer

a = b| 0

and wait a minute, you can't declare a as int, you must use

var a
= b | 0

Short but finally i've started some technical blogging.. hurrah!!!

And to keep link handy, here i go!!!

August 14, 2007

Constrasts of Life

I was going to Tot@l (a nearby shopping mall) yesterday for buying some usual stuff. On the way i saw a drunkard beating his wife near the crossing. That wife was trying to see where all she was beaten and if she was bleeding. While this husband was busy finding ways to slap and beat here. Did i say the wife had stopped resisting the attack; i saw she once tried but the husband picked up a stone on the road and threatened to hit with that. For a few moments i was with no words what in the world is happening. We claim so many things when we talk about India and "woman empowerment" and see here its the same old "woman story" for this unfortunate wife.

While i was cursing that guy for his brutality and reached the mall, i caught a totally different scene there. There was this young couple (both seemed working, well atleast i perceived so) with a child(hardly a year or two old). The husband was carrying the child on his lap and the wife was on a shopping spree. She was buying this and that and that and... (GOD knows what and what) and the husband was giving a pity glance "aaj pura mall hi kharid legi kya..." (OMG, she's gonna buy the whole mall..). Still he was mum and approving (as in accepting it) whatever she was buying... I felt a sense of surrender there by this husband to his wife.

I'm not saying that the second scene was something totally in contrast with what i saw in the first one. But what brought this change in just a few meters distance... was it education? Was it financial independence? I don't know what.. but thats what i'm pondering...

August 09, 2007

I'm reading...

Effective Java by Joshua Bloch

Rich Dad, Poor Dad by Robert T. Kiyosaki and Sharon L. Lechter

August 02, 2007

Thought of the day

There are things you can change
There are things you can work out
And then there are things you can't do anything about....