Sunday, June 25, 2006
All ye Indophiles
which no Indophile should miss. The work of one D V Sridharan (not to be confused with Metro's E Sreedharan), the site consists of true stories from India - stories of sung and unsung heroes (note that I use the term 'hero' without reference to gender). The site has hours and hours of pro-India stories for those that are interested.
If you are ever going to Amazon to purchase a book, please go from the links provided on this site.
Heroes
Read more about her here: http://en.wikipedia.org/wiki/Jane_Goodall
Crediting Jane Goodall is not only why I wrote this post. I wrote this to highlight the difference between two classes of societies - one that respects and truly worships its heroes and the other that pretends to. With due apologies to my friend, 'Anonymous', who incidentally accuses me of being 90% American, we know which the two classes of societies are.
Look at the movies Hollywood has made about American heroes. And I am not referring to war heroes, politicians, or sportsmen. I am talking about your 'everyday' mathematician, scientist, or writer. Many examples abound: "A beautiful mind" talked about the achievements of Dr. John Nash, whose Nash equilibrium is said to be one of the building blocks of Operations Research, "Apollo 13" commemorated the bravery of the Apollo 13 astronauts who against great odds managed to finish their intended mission, why even our own Gandhi was first celebrated by Richard Attenborough in what is the classiest movie made about him. Not to mention all the unsung fire-fighters, policemen and other day-to-day heroes who have been celebrated in so many movies.
So the question arises, why don't we have the same in Bollywood? Is it because such movies don't sell? Or is it because as a society we don't really know how to honour our heroes? Is it because we don't like heroes except those imposed upon us - like the cricketers, film stars or politicos? Or, is it because, as a society and a culture, we don't have a sense of history? Why?
I don't know. But I do know that a society that forgets its history is condemned to repeat it.
Saturday, June 24, 2006
Writer's block
Need to get out of this phase soon.
Sunday, June 11, 2006
A posting century.
You guessed it right. This is my 100th post. At first, I thought I'll follow my favourite TV personality and have a "Best of Gopal's blog" for my 100th post, but I realized that I wasn't *that* self-involved.
So. Here is to further blogging. Thanks to my regular readers for keeping my motivation levels high enough to hit this 'landmark'.
Accepting congratulations... :)
Thursday, June 08, 2006
So, what is Freedom?
Couldn't agree more. Thanks 'Anonymous' for the correction. :)
Nice guys...
I've always believed that nice guys finish last. No where is it better illustrated in the recent test between India and the West Indies. Lara was way out of line in demanding that Dhoni walk. Dravid should have asked him to shut up first. He thought it was better to declare, rather than waste time, so as a strategy, it is probably OK. What was the need to go to the match-referee and exonerate Lara? Let Lara be dunked a couple of matches - India would have been in a better position to win then. But no, we have to be the nice guys (read fall guys)!
To add injury to insult, Sehwag was fined for excessive appealing. Nice going, Rahul!?
Sunday, May 28, 2006
The Fanaa controversy
But what we saw was the occurrence of all three. And there are in fact people who went on national television calling Aamir names - "enemy of Gujarat", for example.
I was discussing this issue with a friend - someone I respect greatly - and his point was that Aamir should have exercised restraint in whatever he did or said. And that what was happening was essentially his (Aamir's) fault.
In my opinion, it is this attitude that has allowed governments, hooligans (read Rajkumar 'fans'), and plain sickos (read VHP/Bajrang Dal/Muslim Personal Law Board/Christian 'activists') to get away with denying us one of the most fundamental human right - the right to speech and expression.
What is your take?
Saturday, May 27, 2006
The Nanny State, Police brutality, and other issues
Why am I talking about this? Well, the recent reservation debates have demonstrated the 'nanny' nature of the Indian state. First, you have a hidden agenda, that comes out only in the last minute. Then, you have the mandatory round of police brutality - non-violent protesters being beaten mercilessly. Finally, you have the denials - the Commisoner of Mumbai Police denying that there was any lathi-charge at all. In fact, Star News did something real cool for once. They broadcast his denial and shots of people being beaten up on a split screen simultaneously. Still, the shameless state did nothing.
Consider this - the brightest, young minds of the country are protesting against an injustice. How does the government treat them? No one listens to them at first, then, the police beat them up, and even after that, no minister had the courtesy to apologize or at least visit the injured students. Contrast this with the treatment given to VIP protesters like Vandana Shiva, Arun'dirty' Roy and Medha Patkar. These worthies are feted, cajoled, and even the tall and mighty Indian state falls at their feet.
I could go on and on about why this is so - but I'll defer it to an other post.
Friday, May 26, 2006
Joke
"Why?" asks the confused waiter, as the panda makes towards the exit. The panda produces a badly punctuated wildlife manual and tosses it over his shoulder.
"I'm a panda," he says, at the door. "Look it up."
The waiter turns to the relevant entry and, sure enough, finds an explanation.
"Panda. Large black-and-white bear-like mammal, native to China. Eats, shoots and leaves."
Came across this in the book "Eats, shoots and leaves" by Lynne Truss.
Sunday, May 14, 2006
Drinking and Alcoholism
Needless to say, Vijay Mallya was pilloried by everyone, including the audience, the other debators and the compere. And to add to it, my Mom. Somehow the words "alcohol" raises the temperature of any room it is uttered in, particularly when women are around. Some assumptions are immediately made:
- Only men drink
- Only men drink irresponsibly
- Men drink and they come back and beat their wives/mothers/sisters/daughters
- One drink is enough to convert a man from a normal human being into a raving psychopath/rapist/criminal.
- Anyone who drinks once instantly becomes a slave to the drink and can't live without it
- Every man who drinks is depriving his family of essentials to pay for his habit
- And importantly, any one who tries to introduce some sanity into the debate (poor souls like me) are either drunkards themselves, or they want to become one.
The best part is that all these comments come from those who have *never* had the misfortune of actually consuming alcohol. And you know where they get these ideas from? Depending on your preference, B(T)(K)ollywood. Every villian, particularly in the old Hindi movies would conduct his 'business' over a peg of whiskey. Every vamp would tempt the unsuspecting hero by giving him alcohol. Every heroine or hero's sister would be led astray by first filling her up with alcohol. And mind you, everytime, after one peg, there is no stopping these victims! After one peg of whiskey, the normally sedate hero would starting uttering gibberish, attempt to molest the heroine, drive like a man possessed, and simply make a fool of himself, until the heroine or the mother intervened with a bucket of ice-cold water after which he immediately returns to sanity. Geez!
I know I am going to get spammed like hell, particularly if some people read this. But seriously, grow up, folks!
Saturday, May 13, 2006
C++ and Movie dialogues
Recently, I got an opportunity to talk about C++ to a few colleagues at the place I work (yeah, yet again!), and then a few movie/comicbook dialogues popped up in my mind as I was explaining C++ concepts. Thought it'll be interesting to share them with you.
On the fact that while C++ gives you near total control on how your clients can create and use your objects, you have to take care of many details to make it work properly:
"With great power comes great responsibility" [Original: Dave Parker, Spiderman's uncle.]
On the fact that even when an exception is thrown (not to the runtime), objects that have been created will be destroyed:
"Everything that has a beginning has an end." [Original: Matrix I]
I'll update this post as I find more. And no, I am *not* offering this as proof of my theory about the single thread running through all facets of life. That proof will take some time to materialize.
Thursday, May 11, 2006
Sitcom stuff.
Here are some dialogues I kind of remember from the series:
Roz telling Frasier after yet another unsuccessful date: "You are sweet, you're smart, you're nice - you are exactly what women should be looking for".
Frasier (with a sad voice): "Yeah, I am the Brocolli of dating!"
Another one:
This is the first episode, and Martin has just moved into Frasier's apartment. Frasier asks his opinion of how he has setup his living room and Martin cribs "But nothing matches".
Frasier: "Yes Dad. It is _eclectic_"
Now two workers come in carrying Martin's chair. The look on Frasier's face is one of sheer horror. He doesn't want that chair in his living room at _any_ cost.
Frasier: "Dad, but that...that chair doesn't go with anything in the room!"
Martin (with dripping sarcasm): "I know! It is _eclectic_".
Here is another one:
Daphne has become real fat after she and Niles start dating - but no one wants to point it out to her. One day however, she slips and falls. Niles first rushes to lift her up, but he can't. Martin joins in, and they still can't move her. Finally, Frasier arrives and the three lift her up. So, here's what Martin says:
"Daphne, I just thought of somethin' funny: It took three Cranes to lift you!?" [Frasier/Martin/Niles's surname is Crane]
There are so many more...too bad I can't remember all of them! :(
Anyway, here is one from Friends:
Monica and Chandler are dating and they think no one knows. But Rachel and Phoebe know, and Monica and Chandler know that Rachel and Phoebe know. Phoebe and Rachel are coming up with a plan to oust them (Monica and Chandler) and here is what Phoebe says:
"But they don't know that we know that they know we know!"
If you haven't had an opportunity to watch Frasier - do watch it now. Considering the kind of junk that passes for comedy these days (what with Paapa Pandu and the like), you'll definitely find this series refreshing.
Monday, May 08, 2006
How do I feel, driving my new car in town?
You guys know the 'Friends' title song? Well, for the uninitiated, here it is:
"So no one told you life was gonna be this way
[Your job's a joke,
you're broke,
your love life's D.O.A. ]
It's like you're always stuck in second gear
When it hasn't been your day, your week, your month, or even your year " ...
Well, the part of the song enclosed in [] was true of my life for a long time, and now with the car, the next line has come true as well!!!
But anyway, on a serious note, driving in Bangalore isn't as bad as it seems. There are still roads on which you can reach 4th gear. Seriously! :)
Friday, May 05, 2006
More role modeling
Obviously, after my parents, my brother has been a big influence on me. He was my first maths and science tutor, my first cricket coach, my first 'how to tackle bullies' instructor, and being fourteen years older than me was my guru for practically everything (except maybe languages, social studies and music). He introduced me to the world of English literature, (read novels) and Old Hindi film music. He gave me my initial goals in life - first to be a participant in many activities, then to enter SJIHS, and then to prepare for the IITs. Ofcourse, not all of those goals materialized and for that no one is to blame but me. The biggest lesson I learnt from him though is that raw talent is nothing without the effort to back it up. That has been the most important lesson in life. Just a pity that I learnt it very late.
The next person I want to credit is my sister-in-law. For a single 1/2 hour session where she taught me the intricacies of C pointers. That lesson is with me even today - and was the single thing that helped me learn pointers - her lesson helped me more than many reads of Kanetkar's "Pointers in C", giving me such a strong basis in pointers that I lost all fear of it :)
Whew! Looks like I wrote quite a bit. And the smell of my mom's cooking is wafting through the air, restricting my vocabulary to food-related words. So, I'll stop here. Do cook up (oops! send in) your comments.
I'll write about my other role models (influences) in the next posts. _That_ should be interesting...
Thursday, May 04, 2006
Goodbye, Mr. Mahajan.
Another young, able son of India stolen away in 'youth'.
May his soul rest in peace. Am unable to say anything else.
Tuesday, April 25, 2006
The reservation debate
After this ridiculous coalition of lefties and wannabe-lefties known as the UPA has come into power, we've kept hearing about nothing but 'empowerment' of the so-called backward classes and the minorities. While one cannot be against that in principle, it is the implementation that is causing a lot of disconcertion amongst those who really want empowerment of all sections of society.
It is no one's case that the underprivileged sections of society must be given a chance to compete with the others. But who are the underprivileged? Son of a former railway minister, just because he is a Dalit? Son of a RBI governor, because he belongs to the scheduled castes? Or is it a poor Brahmin's son? Or the daughter of a poor Muslim?
Caste-based reservations haven't really led us anywhere. It is not that the politicians can't see it. But as Ayn Rand eloquently explains in her masterpieces, they are a bunch of second-handers who are out to destroy everything that the first-handers have created.
More on this later...just got back to blogging after a long hiatus.
Saturday, April 01, 2006
Foot(firmly)-in-the-mouth disease
Usually, symptoms of this disease manifest themselves during puberty, and while it affects both genders, the male of the species tends to succumb to this more frequently, and with greater intensity. Ofcourse, there is no cure for this disease and while the symptoms may be mitigated, they tend to relapse ever so often. And a miraculous thing about this disease is that its symptoms adhere to Modern Physics - they appear in both space and time, confirming to the eternal Space-Time Continuum. To elaborate, there are three major kinds of symptoms that have been observed. The first is "SITAAT" or Say Inappropriate Thing At Appropriate Time. The second, "SATAIT" or Say Appropriate Thing At Inappropriate Time, and the final one is "SITAIT" or Say Inappropriate Thing At Inappropriate Time. Ofcourse, there is also the rarely occurring DITAAT, DATAIT or DITAIT, with the D standing for "Do", but that is not significant to my discussion and so I'll let that rest.
However, I am not a registered medical practitioner, and with the licensing hawks around, I better take care about diagnosing medical problems on my blog. [Remember, my disclaimer does not still exempt me from any harm that may be caused to someone using information from my blog.] I'll just talk about my symptoms. I have a severe, relapsing case of FIM, known as the FFIM, or the Foot Firmly In the Mouth disease. It's symptoms are similar, but unlike the FIM, where the foot does get to go out of the mouth, when you have the FFIM, the foot just doesn't leave it. Ofcourse, it relapses quite regularly, is mostly harmless, and tends to attack particularly when I am conversing with an (unrelated) female of my species. The problem is exacerbated by the fact that the disease immediately 'informs' me that it has set in, but only after the symptom has been broadcast to the entire planet (which according to the Stinky Foot theory of relativity, is at that instant of time constituted of the trigger and me and any others listening in to the conversation). For long, I've been looking for a cure for this disease, but it has eluded me. One way to mitigate the problem, has been to avoid the trigger, but in today's world, that is hardly feasible.
Diagnoses welcome.
(PS: In case you noticed, I did change my blog to add the disclaimer. So long, suckers!)
Sunday, March 26, 2006
Still More Freedom of Speech and Expression
Can you believe it!?
I can't begin to say how wrong this whole thing is. But I'll let that pass. However, at the risk of sounding repetitive, I'll only say what I had said earlier. This is just another symptom of the underlying malaise where societal moores get higher precedence than the legitimate privacy of an individual. People like this warden get the guts to do something like this because the way society reacts to an individual's freedom, because of the kind of support the 'moral police' got during the Khusboo or Suhasini incidents, and because of the whole assumption that wierd concepts of societal honour are more important than individual rights.
God save this country.
C++ Static blocks
This time it is about static blocks in C++. Now what are static blocks? They are a cool feature in Java that lets you write code that executes when a class is loaded. For example:
class InitializedVariable
{
private static Vector data;
public static void main (String args[] )
{
for ( int i = 0; i < data.size(); i++ )
{
System.out.println(data.elementAt(i) );
}
}
static {
data.insert (new Integer(10));
}
}
So, how would you do this in C++? Ofcourse, you have static variables that can be initialized before the program starts (or the library loads). But how will you insert values into a map, or a vector?
Well, the answer is simple. Use another static object. In its constructor, perform the initialization that you want. :)
#include
#include
using namespace std;
class Static
{
private:
static vector
public:
Static ( )
{
vector
for ( ; b != values.end(); b++ )
{
cout << *b << endl;
}
}
class VectorInitializer
{
public:
VectorInitializer ( )
{
Static::values.push_back (20);
Static::values.push_back (40);
Static::values.push_back (60);
}
};
friend class Static::VectorInitializer;
};
vector
static Static::VectorInitializer initalizer; //initializes the vector.
int main ( void )
{
Static x;
}
While on this, can someone tell me how I can get code into HTML without the associated struggle? Thanks! :)
Saturday, March 18, 2006
More Freedom of Speech and Expression
On both these aspects, India fails quite miserably at times. For an instance of what I mean, see this story:
http://news.bbc.co.uk/1/hi/world/south_asia/4746480.stm
A young Muslim girl from one of Kerala's districts is learning classical dance. And is pretty good at it too. Her parents support it as well. But meanwhile, we have the local demagogues who have ostracized her family because of this.
So, what we have is a classic example of the conflict between the right of an individual to lead their lives and the power wielded by society. Fortunately, this time, the right of the individual seems to have the upper hand, but it is anyone's guess as to how long that'll last. And where are the 'guardians of public interest' now? Why are they silent? Why is Brinda Karat, who frets and fumes on women's rights, silent when faced with a real-life issue?
Before you think I am a different kind of (anti-Muslim) demagogue, let me clarify that I feel the same way when young friends are beaten up in UP parks, or when couples taking a walk in a park are harassed by the police, or when girls are killed to 'defend family honour'. My point is simply this - if the right of the individual is subjugated to the brute force of society, that society is not democratic.
Which, unfortunately, still holds for our dear own India.