Sunday, November 30, 2008

A few thoughts on the Mumbai attacks of 26 Nov 2008

The past few days' events have filled me with a sense of sadness and gloom. There are so many thoughts going around in my mind that I just decided to "blog them away". So here goes - the list is not ordered, as it mirrors what I am thinking ...

  1. When will our government learn?

    This is not directed at any particular political party. I am pretty sure that had any other party other than the Congress(I) been in power, the end result would have been the same.

    Our "leaders" are very reliable - you can rely on them to do anything other than the right thing. They play the politics of vote banks, communalism, casteism, reservation, etc. etc. - anything to avoid doing the right thing.

    We do not have a comprehensive anti-terror policy. We do not have co-ordination amongst security agencies. We do not have proper equipment for our police forces.
    We do not have anything other than the bravery of our armed forces who lay their lives down for our country selflessly. A country that does not even honor them enough.


  2. Spend money on anti-terror freely and wisely.

    News reports said that 100 policemen responded to the attacks immediately. But out of them only 7 had guns. The rest had lathis!! (canes)
    Only 7% of the policemen had guns? Could there be anything more pathetic than this? In the US, each and every policeman/policewoman has a gun. That is more like it.

    In India, most of the gun-toting policemen are sent to guard politicians. These politicians are mostly people who, if killed, would be more a reason for celebration than sadness!! Why can't we reduce the security of such goons-in-political-clothing?

    The equipment that the police had was faulty. The bullet proof vests could not stop bullets from AK-47 rifles. Ditto for the helmets.
    Instead of spending more money on foreign tours of our "leaders", it would be better to spend it on such items.

    Another article said that the Navy did not get the money needed for effective patrolling of the sea coast. We have outdated radar, and outdated ships / less ships than required. This is disgusting!!



  3. Choose the right men for the job.

    Just now heard the news that the home minister, the "honorable" Mr. Shivraj Patil, has resigned and has been replaced. Too little, too late.

    Mr. Patil should not have been made the home minister in the first place. A post that was held by stalwarts like Sardar Patel is now being held by people who change their dress 4 times during the day but don't do what they are supposed to.

    Another colossal mistake that happened was that the NSG is situated only in Delhi. This meant that it was a good 9 hours before they could come to Mumbai. 9 hours!! If that had been reduced to 30 minutes, a lot of lives could have been saved ...

    To take this to another level, we must choose the right people to man the security agencies. Make them co-ordinate with each other. Make sure that all information is given to all the concerned people.



  4. Finally, please spare a thought for all the people who died in this dastardly attack. All the army and policemen who lost their lives. All the commandos who fought so bravely. All the innocent civilians who died an unnecessary death.

    Rest in peace, my friends. Rest in peace.

Insensitivity never dies !!

After the horrific terrorist attacks in Mumbai on 26-Nov-2008, once expects that others would be sensitive to this fact and respect those who lost their lives.

But no. Human nature never ceases to amaze me - both positively and negatively. In this case, it was the negative.

We live on Baner road in Pune. There are 2 marriage halls near our home. This being the marriage season, there were marriages held on Saturday (29 Nov ) and Sunday (30 Nov).

That the marriages were held is perfectly fine - life has to go on and you can't cancel an event that was organized a long time ago. But one did expect them to be sensitive to the fact that terrorists had wreaked havoc in a city that is less than 3 hrs away from Pune.
No such luck. Both times there was a band playing loud music that lasted for one hour!! Not 5 mins, 1 whole hour!! Amazing ...

Friday, November 21, 2008

Footwear designed specifically for diabetics

A Pune, India based doctor – Dr. Manisha Deshmukh - has designed footwear specifically for diabetics as they are prone to suffer from a lot of foot related problems.

The article doesn’t mention where to buy the footwear, but I think she works at K.E.M. hospital --> http://kemhospital.org/diabetes.html

I have put the scanned article at http://www.flickr.com/photos/amitshirodkar/3046942477/sizes/l/

Monday, November 17, 2008

The 9/11 photograph you didn't see

This article is 2 years old, and the snap is 7 years old. But still does it make a comment on the times we live in?

Link: The 9/11 photograph you didn't see. - - Slate Magazine

Tuesday, November 11, 2008

New garbage collector G1 available in JDK7 / OpenJDK


Ø Snip from http://jeremymanson.blogspot.com/2008/11/g1-garbage-collector-in-latest-openjdk.html

G1 is supposed to provide a dramatic improvement on existing GCs. There was a rather good talk about it at this year's JavaOne. It allows the user to provide pause time goals, both in terms of actual seconds and in terms of percentage of runtime.

The principle is simple: the collector splits the heap up into fixed-size regions and tracks the live data in those regions. It keeps a set of pointers — the "remembered set" — into and out of the region. When a GC is deemed necessary, it collects the regions with less live data first (hence, "garbage first"). Often, this can mean collecting an entire region in one step: if the number of pointers into a region is zero, then it doesn't need to do a mark or sweep of that region.

Ø White paper describing the “Garbage-First Garbage Collection” algorithm: http://research.sun.com/jtech/pubs/04-g1-paper-ismm.pdf

Tuesday, November 04, 2008

Youtube - “We’re sorry, this video is no longer available”

YouTube was pretty reliable - until now. Nowadays I frequently get the following error message for videos:  “We’re sorry, this video is no longer available”.

Now this error message used to come for videos that had been removed from YouTube either by the uploader or the web site itself. But now it comes even for valid videos.

There is a fix for this (courtesy http://www.marcforrest.com/). For any video that gives such an error, append one of the following to the URL (in the browser's address bar)
  • &fmt=6
  • &fmt=16
  • &fmt=18

E.g.
http://www.youtube.com/watch?v=AODycP1Y24M&feature=related
would become
http://www.youtube.com/watch?v=AODycP1Y24M&feature=related&fmt=6


Original Post:
Marc Forrest.com » Youtube - “We’re sorry, this video is no longer available”

Thursday, October 23, 2008

Electing a US President in Plain English

Very nice and simple video that explains the process by which a candidate is elected as the President of the US of A.

Link: YouTube - Electing a US President in Plain English

Thursday, October 16, 2008

E-mail Etiquette 101

In today's world, email is one of the top forms of communication. It makes sense to learn how to communicate via this medium effectively, especially in the corporate world.

Here's a nice list of dos and don'ts when writing emails: E-mail Etiquette 101 - Michael Hyatt

BTW, one rule not mentioned there: Do not overuse email. Sometimes an issue can be better solved with a face to face meeting or a talk over the phone.

Tuesday, October 14, 2008

Wednesday, October 08, 2008

Copernic Desktop 3 sucks!!


I am an avid fan of Copernic Desktop search. I use version 2 all the time and it works great!!

But recently I had the misfortune of upgrading to version 3. I quickly found out that it was a waste, for the following reasons:
  1. Features have been removed from the free offering from version 2 to 3, such as
    a)  Find as you type (you now have to press Enter before the search gets executed)
    b)  Indexing network drives --> Now only local drives are indexed by the free version

  2. The software crashes frequently. Once every 20 mins or so.
I know that the free version is well, free. And so the company has the right to give anything they want in it. But taking away features from a previous free version leaves a bitter taste in one's mouth. I guess they don't know the meaning of the word "upgrade".

And crashing so often - well that is just plain sad.


I have gone back to version 2. It works great!! I luckily did not clear out my index when uninstalling ver 3 before installing ver 2, so it works just as before.

If other search tools improve, I will switch. But I am definitely not "upgrading" to any new version of Copernic Desktop search.


Link: http://www.copernic.com/en/products/desktop-search/index.html

Tuesday, October 07, 2008

Using Microsoft Outlook to Schedule Report Transmissions

A programmatic way to send recurring mails via Outlook (mails that are same in content and have to be sent periodically)

Link: Using Microsoft Outlook to Schedule Report Transmissions

Jeeves and Wooster Quotes Page

A bunch of quotes from the Jeeves series by P.G. Wodehouse. Enjoy!!

Link: Jeeves and Wooster Quotes Page

Sunday, September 28, 2008

NASA: 2 space shuttles on nearby launch pads simultaneously

You might not get to see this again, at least not for many years...

<SNIPPET_FROM_NASA_SITE>
Space shuttle Atlantis (foreground) sits on Launch Pad A and Endeavour
on Launch Pad B at NASA's Kennedy Space Center in Florida. At the left
of each shuttle are the open rotating service structures with the
payload changeout rooms revealed. The rotating service structures
provide protection for weather and access to the shuttle.

For
the first time since July 2001, two shuttles are on the launch pads at
the same time. Endeavour will stand by at pad B in the unlikely event
that a rescue mission is necessary during Atlantis' upcoming STS-125
mission to repair NASA's Hubble Space Telescope. The missions is slated
to launch Oct. 10.

After Endeavour is cleared from its duty
as a rescue spacecraft, it will be moved to Launch Pad 39A for its
STS-126 mission to the International Space Station. That flight is
targeted for launch Nov. 12.
</SNIPPET_FROM_NASA_SITE>


Link: NASA - Mirror Images


Image below. It is beautiful!!



Tuesday, September 23, 2008

Choosing the next CEO: Nice story

Got this nice story in the mail ...

A successful business man was growing old and knew it was time to choose a successor to take over the business. Instead of choosing one of his directors or his children, he decided to do something different.

He called all the young executives in his company together. He said, 'It is time for me to step down and choose the next CEO.I have decided to choose one of you'

The young executives were shocked, but the boss continued. 'I am going to give each one of you a SEED today - one very special SEED.

I want you to plant the seed, water it, and come back here one year from today with what you have grown from the seed I have given you. I will then judge the plants that you bring, and the one I choose will be the next CEO'

One man, named Jim, was there that day and he, like the others, received a seed. He went home and excitedly, told his wife the story. She helped him get a pot, soil and compost and he planted the seed. Everyday, he would water it and watch to see if it had grown.

After about three weeks, some of the other executives began to talk about their seeds and the plants that were beginning to grow. Jim kept checking his seed, but nothing ever grew. Three weeks, four weeks, five weeks went by, still nothing.

By now, others were talking about their plants, but Jim didn't have a plant and he felt like a failure.
Six months went by--still nothing in Jim's pot. He just knew he had killed his seed. Everyone else had trees and tall plants, but he had nothing.

Jim didn't say anything to his colleagues, however. He just kept watering and fertilizing the soil -
He so wanted the seed to grow.

A year finally went by and all the young executives of the company brought their plants to the CEO for inspection.

Jim told his wife that he wasn't going to take an empty pot. But she asked him to be honest about what happened. Jim felt sick at his stomach, it was going to be the most embarrassing moment of his life, but he new his wife was right.

He took his empty pot to the board room. When Jim arrived, he was amazed at the variety of plants grown by the other executives. They were beautiful--in all shapes and sizes. Jim put his empty pot on the floor and many of his colleagues laughed, a few felt sorry for him!

When the CEO arrived, he surveyed the room and greeted his young executives.

Jim just tried to hide in the back. 'My, what great plants, trees, and flowers you have grown,' said the CEO 'Today one of you will be appointed the next CEO!'

All of a sudden, the CEO spotted Jim at the back of the room with his empty pot. He ordered the financial director to bring him to the front. Jim was terrified. He thought, 'The CEO knows I'm a failure! Maybe he will have me fired!' When Jim got to the front, the CEO asked him what had happened to his seed - Jim told him the story.

The CEO asked everyone to sit down except Jim. He looked at Jim, and then announced to the young executives, 'Behold your next Chief Executive! His name is Jim!' Jim couldn't believe it. Jim couldn't even grow his seed. How could he be the new CEO the others said?

Then the CEO said, 'One year ago today, I gave everyone in this room a seed. I told you to take the seed, plant it, water it, and bring it back to me today. But I gave you all boiled seeds; they were dead - it was not possible for them to grow.

All of you, except Jim, have brought me trees and plants and flowers. When you found that the seed would not grow, you substituted another seed for the one I gave you.

Jim was the only one with the courage and honesty to bring me a pot with my seed in it. Therefore, he is the one who will be the new Chief Executive!'


  1. If you plant honesty, you will reap trust

  2. If you plant goodness, you will reap friends

  3. If you plant humility, you will reap greatness

  4. If you plant perseverance, you will reap contentment

  5. If you plant consideration, you will reap perspective

  6. If you plant hard work, you will reap success

  7. If you plant forgiveness, you will reap reconciliation

  8. If you plant faith in God, you will reap a harvest

  9. So, be careful what you plant now; it will determine what you will reap later.


Hidden Emoticons - Yahoo! Messenger

For Yahoo! messenger --> You won't find these in the emoticon menu, but you can send them by typing the keyboard shortcuts directly into your message.

Link: Hidden Emoticons - Yahoo! Messenger

Sunday, September 21, 2008

I use Firefox as my default browser. It's great, and has a lot of cool features. But it loads up very sloooooooooowwwly!!

To avoid the pain, a couple of things to try:
  1. Turn off automatic updates: FF checks for updates (to itself, to plugins and to search engines) very time you start it. This makes it very slow. So turning off automatic updates makes it very fast. To turn them off go to Tools --> Options --> Advanced --> Update check off all the Automatic Update checkboxes.

  2. Note: This means that you don't get some required updates automatically. So you will have to do this yourself. Tools --> Add Ons --> Find Updates

  3. Use FF Preloader --> https://sourceforge.net/projects/ffpreloader/.
    This pre-loads parts of FF into memory (RAM) and hence speeds it up.
    Note: There are folks who caution against doing this - it may cause FF to malfunction. I have not tried this myself.
Links:



Thursday, September 18, 2008

Joke: Ten Jew Berry Mud


Old but gold joke…

The following telephone exchange between room-service and a guest at a hotel in Asia was recorded and published in the Far East Economic Review.

Hotel: Morny, ruin sorbees.

Guest: Sorry, I thought I dialed room-service.

Hotel: Rye! Ruin sorbees ... morny! Jewish to odor sunteen??

Guest: Uh ... yes ... I'd like some bacon and eggs.

Hotel: Ow July den?

Guest: What??

Hotel: Ow July den ... pry, boy, pooch?

Guest: Oh, the eggs! How do I like them? Sorry, scrambled please.

Hotel: Ow July dee baychem ... crease?

Guest: Crisp will be fine.

Hotel: Hokay. An San tos?

Guest: What?

Hotel: San tos. July San tos?

Guest: I don't think so.

Hotel: No? Judo one toes?

Guest: I feel really bad about this, but I don't know what 'judo onetoes' means.

Hotel: Toes! Toes! ... Why djew Don Juan toes? Ow bow singlishmopping we bother?

Guest: English muffin!! I've got it! You were saying 'Toast.' Fine. Yes, an English muffin will be fine.

Hotel: We bother?

Guest: No, just put the bother on the side.

Hotel: Wad?

Guest: I mean butter ... just put it on the side.

Hotel: Copy?

Guest: Sorry?

Hotel: Copy ... tea ... mill?

Guest: Yes. Coffee please, and that's all.

Hotel: One Minnie. Ass strangle ache, creasebaychem, tossy singlish mopping we bother honey sigh, and copy... rye?

Guest: Whatever you say.

Hotel: Ten jew berry mud.

Guest: You're welcome.

Monday, September 15, 2008

Firefox add-on: ScribeFire Blog Editor

Blog to a variety of sites such as Blogger, WordPress, LiveJournal, Windows Live Spaces, etc. right from within the Firefox browser.

Really cool - I use this one regularly. Most of my posts are via this tool.

Note: They have a feature where you can make money via ads, but I have't used that. I only use the pure blogging part.


Link to Firefox add-on: ScribeFire Blog Editor :: Firefox Add-ons

List of supported services/sites: http://blog.scribefire.com/help/supported-services/

Wednesday, September 03, 2008

New browser - Google Chrome

Google has come out with a new browser, Google Chrome.
The browser is now ready for download. Try it out ...

Download link: Google Chrome
For some reason, this download link works only in IE for me, not in Firefox. Coincidence? ;-)

Thursday, July 31, 2008

How to find Uptime for a Windows machine



I have used Microsoft Windows for a long time now. But the other day when someone asked me how to find out the uptime for a Windows machine (how much time the machine has been running), I was stumped :-).

A little bit of Googling has revealed 2 ways to do this.

  1. Open a command prompt. (Start --> Run --> cmd).
    Type "net statistics server" and press "Enter".
    The line that start with "Statistics since …" provides the time that the server was up from.

  2. Open a command prompt.
    Type systeminfo | find "Up Time". You get the uptime.

Links:

Thursday, June 19, 2008

Quotable Quotes


1. Tears are the safety valve of the heart when too much pressure is laid on it.

-- Albert Richard Smith, author and entertainer (1816-1860)

2. Conscience is a mother-in-law whose visit never ends.

-- H. L. Mencken

3. People often find it easier to be a result of the past than a cause of the future.

-- Unknown

4. No one can guarantee the actions of another.

-- Spock, "Day of the Dove", stardate unknown

5. Man is the only animal that can remain on friendly terms with the victims he intends to eat until he eats them.

-- Samuel Butler (1835-1902)

6. The reasonable man adapts himself to the world;

the unreasonable one persists in trying to adapt the world to himself.

Therefore all progress depends on the unreasonable man.

-- George Bernard Shaw, Nobel laureate(1856-1950)

7. Hating people is like burning down your own house to get rid of a rat.

-- Henry Emerson Fosdick

8. Conquest is easy. Control is not.

-- Kirk, "Mirror, Mirror", stardate unknown

9. They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.

-- Benjamin Franklin, 1759

10. It's not the size of the dog in the fight,

it's the size of the fight in the dog.

-- Mark Twain

Sunday, June 15, 2008

Got this in a forwarded mail ...

There's an English proverb that
goes: "One father is worth more than a hundred schoolmasters."


Fathers can teach their children many important lessons. Father's Day is Sunday, June 15, and it brings to mind
some of the valuable lessons I learned from my father, Jack Mackay. I've shared
many of them with you in my books and columns, but here they are, in one nice
package, for the 64.3 million fathers out there.


My dad headed the Associated Press in St. Paul, Minn., for many years. He lived by deadlines. When he told
his 10-year-old fishing partner, "Be at the dock at 7:30 a.m." and I arrived at
7:35, I would be holding my fishing pole in one hand and waving bon voyage with
the other. Time management 101.


When I began my career selling envelopes, I asked my father how I could make twice as much money as my fellow
sales reps.


He asked me how many sales calls my peers made every day. I told him that everyone made about five calls a day,
and I could match them call for call.


"No good," he said. "Do what they do and you'll make what they make. Figure out how you can get to 10 calls a
day and your income will double."


We worked out a game plan, which became a life plan. I learned when the buyers were in the office and worked
according to their schedules, which sometimes meant anytime from 6 a.m.-8 p.m.
and Saturday mornings. I quit making cold calls, was among the first to get a
cell phone and learned many other time management tips from my
father.


TRUST is the most important five-letter word in business and in life. When I was only eight years old, he
said: "Son, would you like to learn a lesson that might save your life some day?"


"Sure I would, Dad," I answered.


"Just slide down the banister and I'll catch you," he urged.


I slid ... and landed on the carpet. As I dusted myself off, he announced, "Never trust anyone completely.
Keep your eyes open and your wits about you."


Similarly, my father encouraged me at a young age to keep track of all the people I met on Rolodex cards, now on
my computer. He was a master networker. He knew where to get stories, much like
I learned where to get sales.


Maybe the most important lesson my father taught me was that your best network will develop from what you do
best. In my case that was golf. When I joined the sales game after college,
where I had been a varsity golfer at the University of Minnesota, my father
suggested I join Oak Ridge Country Club, which I couldn't afford. Because Oak
Ridge was historically at the bottom of the city golf league, I offered to play
for them and try to win them a championship. Six months and numerous meetings
later, I was admitted to the club where I gained access to many of the major
companies around town.


My father also taught me that the big name on the door doesn't mean diddly. You have to know who the decision makers are.


In addition, he warned me
against telling anyone how I vote. That's why it's a secret ballet. The Democrats think I'm a Republican, and the Republicans believe I'm a Democrat.


My father's greatest
professional attribute was his nose for a good story and his indefatigable zeal
in getting it. He taught me the same desire, determination and persistence for
sales.


After a skiing accident that
landed me in the hospital for 35 days in neck traction, he told me, "You can take any amount of pain as long as you know it's going to end."


My father taught me many more life lessons, among them:


  • They don't pay off on effort . . . they pay off on results.
  • No one ever choked to death swallowing his
    pride.

  • He who burns his bridges better be a damn good
    swimmer.

  • Education is like exercise. As soon as you quit
    you begin to lose the benefits.

  • It's hard to soar like an eagle when you're
    dressed like a turkey.

  • If you win say little. If you lose say
    less.

  • We are judged by what we finish, not by what we
    start.

Thursday, June 05, 2008

Got this as a forwarded mail. So true ....


London Times Obituary of the late Mr.
Common Sense - Sunday, 31st March 2008

Today we mourn the passing
of a beloved old friend, Common Sense, who has been with us for many years. No
one knows for sure how old he was, since his birth records were long ago lost in
bureaucratic red tape. He will be remembered as having cultivated such valuable
lessons as: Knowing when to come in out of the rain; why the early bird gets the
worm; Life isn't always fair; and maybe it was my fault.

Common Sense
lived by simple, sound financial policies (don't spend more than you can earn)
and reliable strategies (adults, not children, are in charge).

His health
began to deteriorate rapidly when well-intentioned but overbearing regulations
were set in place. Reports of a 6-year-old boy charged with sexual harassment
for kissing a classmate; teens suspended from school for using mouthwash after
lunch; and a teacher fired for reprimanding an unruly student, only worsened his
condition.

Common Sense lost ground when parents attacked teachers for
doing the job that they themselves had failed to do in disciplining their unruly
children.

It declined even further when schools were required to get
parental consent to administer sun lotion or an Bandaid to a student; but could
not inform parents when a student became pregnant and wanted to have an
abortion.

Common Sense lost the will to live as the Ten Commandments
became contraband; churches became businesses; and criminals received better
treatment than their victims. Common Sense took a beating when you couldn't
defend yourself from a burglar in your own home and the burglar could sue you
for assault.

Common Sense finally gave up the will to live, after a woman
failed to realize that a steaming cup of coffee was hot. She spilled a little in
her lap, and was promptly awarded a huge settlement.

Common Sense was
preceded in death by his parents, Truth and Trust; his wife, Discretion; his
daughter, Responsibility; and his son, Reason.

He is survived by his 4
half brothers; I Know My Rights, I Want It Now, Someone Else Is To Blame, and
I'm A Victim.

Not many attended his funeral because so few realized he
was gone. If you still remember him, pass this on.

Monday, May 26, 2008


How to download videos from YouTube (Firefox)



How to download videos from YouTube (Firefox)

Most of us watch videos at YouTube. If you want to download some of the ones you like, then here’s how.

Note: The downloading steps only work on Firefox. For other browsers, you will need to find out on your own.

Steps:

1. Install the VideoDownloader extension from

https://addons.mozilla.org/en-US/firefox/addon/2390

2. Go to YouTube and pick the page of the video you want to download, e.g.

http://www.youtube.com/watch?v=wP-TwHwLc98

3. Click the VideoDownloader icon at the bottom right of the Firefox window (status bar). You should see something like this:










4. Click “Download”

5. The file name will be “get_video”. Rename it to e.g. music_video.flv. The .FLV extension is important.

6. Play the .FLV file using an FLV player. 2 free ones (Windows) are:

v http://www.rivavx.com/index.php?id=422

v http://www.wimpyplayer.com/products/wimpy_standalone_flv_player.html (this one has a Mac version too)

Friday, May 16, 2008

NTLM Authentication and Firefox

If you are a Firefox user who is tired of entering the Windows password again and again for your intranet sites, then this is a must read.

I set both the keys required - I don't know if only 1 is sufficient. But it works!!

Link: Patrick Cauldwell's Blog - Firefox and Sharepoint

Thursday, February 28, 2008

Got this great joke in my mailbox ...

A to Z of being Punjabi.


A is for Adjust. Punjabis will always ask you to adjust whenever they want to push you around.

B is for Backside, and it has nothing to do with your bum, it is an instruction to go to the rear of a building, or block, or shop or whatever.

C is for Cloney and its not a process for replicating sheep, nor is its first name George. It is merely an area where people live e.g. ... "Dfence Cloney".

D is for Dilliwallas that live in Dfence Cloney

E is for Expanditure. Punjabis are never shy of spending money ¡V the latest cars, gadgets, marble floors: their ambitions are always expanding.

F is for Fackade, and even though it sounds like a bad word it is actually just the front of a building (with backside being the back, of course).

G is for Gaddi, and the way a Punjabi can pilot his gaddi puts any F1 driver to shame. (If the Grand Prix does come to Delhi there's no way Hamilton, Alonso or Kimi can overtake Balvinder, Jasvinder or Sukhvinder.)

H is for Ho Jayega Ji, and the moment you hear that you have to be careful because you can be reasonably sure it's not going to happen.

I is for Intezaar, and to know more about it see P.

J is for Jindagi, and if there's one person who knows how to live life to the fullest it's a Punjabi.

K is for Khanna, Khurana, etc, the Punjabi equivalent of the Joneses (e.g."Keeping up with the Khuranas")

L is for Lovely, but unfortunately she almost never is. Nor is Sweety.
She is usually married with kids.

M is for Mrooti, the car that an entire generation of Punjabis were in love with.

N is for No Problem Ji. To find out how that works see H.

O is for Oye, which can be surprise (Oyye!), a greeting (Oyy!), anger (OYY!) or pain (Oy oy oy...).

P is for Panch Minit, and no matter how near (1 km) or far (100 km) a Punjabi is from you he always says he'll reach you in panch minit.

Q is for Queue, a word completely untranslateable into Punjabi.

R is for Riks, and a Punjabi is always prepared to take one, even if the odds are against him.

S is for Sweetie, Bunty, Pappu and Sonu, who seem to own half the cars in Delhi.

T is for the official bird of Punjab: Tandoori chicken.

U is for when you lose your sex appeal and become "Uncle-ji"

V is for VIP phone numbers @ Rs 15 lakh and counting.

W is for Whan, as in "Whan are you coming, ji?"

X is for the many X-rated words that flow freely in all Punjabi conversations.

Y is for "You nonsense", when anger replaces vocabulary in a shouting match.

Z is for Zigzag. (Please refer to G, M and P)


This was sent to me by a Sardarji friend of mine.


Moral of the story:

Unlike most other communities who take instant offence, they can have a hearty laugh at themselves.

Cheers to that!!

Wednesday, February 20, 2008

Reverse AJAX : Comet


Comet is basically Reverse Ajax --> for streaming data from the server using a server-side push mechanism.
Needs server side support as well. But a good idea nevertheless ...

Link:
Continuing Intermittent Incoherency » Comet: Low Latency Data for the Browser

Monday, December 10, 2007

[Original]: Review of Manorama - Six Feet Under


Summary: Slow movie, but liked it.
Cast : Abhay Deol, Raima Sen, Gul Panag, Sarika, Kulbhushan Kharbanda
Director: Navdeep Singh


Satyaveer or SV (Abhay Deol) is a government engineer leading a drab and dreary existence in a small town in Rajasthan. He has a nagging wife (Gul Panag) who is frustrated by his lack
of success. Abhay's real passion is writing detective fiction. He writes a novel called Manorama that flops badly.

A mysterious lady (Sarika) with the same name as the novel comes into his life. She asks him to spy on her husband, a local and powerful politician (Kulbhushan Kharbanda). From
then on his life gets caught into a maze of mysteries - big and small.

Sarika gets murdered. Then it turns out that Sarika is not the politician's wife. The politician has an illegitimate daughter who is demanding that he recognize her. She and her boyfriend (the politician's personal doctor) are brutally murdered. Abhay is threatened by a couple of goons working for Kulbhushan for some photographs.
A cop (Vinay Pathak) who is Abhay's brother-in-law, is his only source of help, and even he can't do much as the politician is powerful.


Raima Sen is the murdered daughter's room mate. She and Abhay are subject to many twists and turns as the story unfolds.

The obvious questions -
1. Who was Sarika? Why was she murdered?
2. What is the link between the murders of Sarika and that of the illegitimate daughter?
3. What is in the photos?


The suspense is good but not outstanding - all questions are reasonably guessable while watching the movie. But what I liked was the simplicity and realism of the movie. Right down to Abhay's unpolished shoes, there has been a conscious effort to make sure everything is as real as possible. The dry and arid desert was used as a very good metaphor for Abhay's dull
existence.

The film pays attention to the relationships between Abhay and different characters - Gul, Raima and Vinay. No songs. It is more like an art film than the usual fare.


Performances:
Vinay Pathak has some of the best lines, but still has too small a role to make a big impact. Raima Sen is good.
Gul Panag did the nagging act well.
Kulbhushan - as good as ever.
Sarika - competent (but again has a pretty small role).

Abhay Deol is the main character and he does justice to the role. I had not liked him in some of
his earlier performances, but now he has moved to the +ve side for me.



Negative points:
1. Slow pace.
2. Gaps in writing as far as scenes or continuity is concerned.


Overall, worth a watch.

Sunday, December 09, 2007

Windows: Your computer may randomly play Classical Music

Microsoft does its very best to entertain you as well as improve your "class".
Classical music on your PC:

Microsoft Link: Computer Randomly Plays Classical Music

Thursday, November 22, 2007

Beware of Garbage Trucks!™

Very nice article.
From this link : " Beware of Garbage Trucks!™ - The Law of ...

Beware of Garbage Trucks

By David J. Pollay

How often do you let other people's nonsense
change your mood?

Do you let a bad driver, rude waiter,
curt boss, or an insensitive employee ruin your day?
Unless you're the
Terminator, for an instant you're probably set back on your heels.
However,
the mark of a successful person is how quickly one can get back their
focus on what's important.

Sixteen years ago I learned this lesson. I
learned it in the back of a New York City taxi cab. Here's what happened.


I hopped in a taxi, and we took off for
Grand Central Station. We were driving in the right lane when, all of a sudden,
a black car jumped out of a parking space right in front of us. My taxi driver
slammed on his breaks, skidded, and missed the other car's back end by just
inches!

The driver of the other car, the guy who
almost caused a big accident, whipped his head around and he started yelling bad
words at us. My taxi driver just smiled and waved at the guy. And I mean, he was
friendly. So, I said, "Why did you just do that? This guy almost ruined your car
and sent us to the hospital!"

And this is when
my taxi driver told me what I now
call, "The Law of the Garbage Truck."

"Many people are like garbage trucks.
They run around full of garbage, full of frustration, full of anger, and full of
disappointment.
As their garbage piles up, they need a place to dump it. And
if you let them, they'll dump it on you.
When someone wants to dump on you, don't take it
personally. You just smile, wave, wish them well, and move on.
You'll be
happy you did."

So this was it: The "Law of the Garbage
Truck." I started thinking, how often do I let Garbage Trucks run right over me?
And
how
often do I take their garbage and spread it to other people: at work, at home,
on the streets?
It was that day I said, "I'm not going to do it
anymore."

I began to see garbage trucks. Like in the
movie "The Sixth Sense," the little boy said, "I see Dead People." Well, now "I
see Garbage Trucks." I see the load they're carrying. I see them coming to drop
it off. And like my Taxi Driver, I don't make it a personal thing; I just smile,
wave, wish them well, and I move on.

One of my favorite football players of all
time, Walter Payton, did this every day on the football field. He would jump up
as quickly as he hit the ground after being tackled. He never dwelled on a hit.
Payton was ready to make the next play his best.

Good leaders know they have to be
ready for their next meeting.

Good parents know that they have to
welcome their children home from school with hugs and kisses. Leaders and
parents know that they have to be fully present, and at their best for the
people they care about.

The bottom line is that successful people do
not let Garbage Trucks take over their day.

What about you? What would happen in your
life, starting today, if you let more garbage trucks pass you by?

Here's my bet. You'll be happier.

Life's too short to wake up in the morning
with regrets. Love the people who treat you right. Forget about the ones who
don't.
Believe that everything happens for a reason. If you get a chance ,
TAKE IT! If it changes your life , LET IT!

Nobody said it would be easy… they just
promised it would be worth it!

____

I have sometimes wasted my mental CPU
cycles, trying to analyze my interaction with some people who were simply
unloading their garbage.

Of course, like other inspiring thoughts, it
needs to be applied judiciously. This is not a prescription to ignore feedback
from others when we don't like it. Or to be insensitive to another's plight.
Just to move on and spend energy on the next step forward.


Monday, November 19, 2007

[Original]: Review of Saawariya


It is now too late to save many people (including myself), but here's my review of Saawariya.

1. The title should have been SaBOREiya.

The movie is amazingly boring. At no point of time did I feel interested in what was going on.
The predominant thought that I during the movie had was regarding the money we wasted on tickets.



2. The main characters are a demented couple.
Neither of them has much logic to offer. Now love is beyond logic and all that, but still one is supposed to have some logic at all times.
Ranbir Kapoor has a "boxing your way out of grief" theory. Sonam Kapoor breaks into demented laughter from time to time. She has fallen in love with Salman – absolutely no reason given other than the fact that he stayed at her home. Instant coffee, and now Instant Love!! Show up at a girl’s doorstep during rain, grimace and stare at her, and win her heart!!

Both of the actors (Ranbir and Sonam) seem to be decent in acting. But the script and the dialogues that are given to them are so pathetic that they can't do anything. If both of these folks want to make a mark in the Indian Film Industry, I suggest they stay as far away from Sanjay Leela Bhansali as possible.



3. The side characters try to save the movie, but fail.
Zohra Sehgal (good as always) and even Rani Mukherjee have their good moments and provide some relief.
But since they are not the main characters of the film, they can't do much. What could anyone do about this turkey?

Salman Khan has a tiny role where he shows a grim face (perhaps because he guessed the fate of the movie during shooting itself), and says some weird dialogues like "Main mulk ka (secret) kaam karta hoon". Since the entire movie set is a fantasy land, I guess his country and work are also equally imaginary.


4. The sets, lighting and casting are weird/pathetic/psycho.
The whole set is pale blue. The women (a city of at least 60% prostitutes) wear various shades of blue. I think they got a group discount on blue clothing.

Almost all shots are at night in dim lighting. By the time the movie finishes, your mood has turned blue also.

The fantasy city is partly Venice, partly old city look and wholly weird.

The streets have designer potholes where Sonam and Ranbir can jump stylishly and then do "grief boxing".

There are approximately 7 males in the entire city, counting Ranbir and Salman (who is a visitor anyway).

Rain pours like a tap and shuts like a tap being closed, hence proving that it was filmy rain coming out of a tap anyway.



5. Sanjay Leela Bhansali thoroughly disappoints.
You find it hard to believe that this is the man who gave us a great movie like Black, and a very nice love story like Hum Dil De Chuke Sanam.

I think throughout the shooting of the film, he was stoned/drugged. Which is the only reason that one can think of regarding the final output.
This would also explain the sets, lighting and casting.




P.S. The story of the movie is:
Ranbir meets Sonam and falls in love with her. But Sonam is waiting for Salman. Who will get the girl in the end?

Answer: Well before the movie ends, the public says "Either Salman or Ranbir can get Sonam, we don't mind - but please end this movie (and our suffering) quickly!!



More P.S.:
Somebody should have boxed Sanjay Leela Bhansali's ears (and other body parts) for making this movie. There is no way you can "grief box" your way out of this one.

Sunday, October 21, 2007

Java: String class leaks memory

Java is also capable of inadvertent memory leaks.

Link: Xebia Blog

Tuesday, October 16, 2007

Rules for Hotel C Park Inn, Delhi, India

See the highlighted one ….


Tuesday, September 25, 2007

Misbah jokes (Twenty20 cricket final)

Got these on email ....




Knock Knock !!


Who’s there?


Misbah.


Misbah who?


Mis bah 5 runs!!



------------------------------------------------------------------------------------------


Misbah’s mistake:


Misbah thought he was hitting where there was no one. He didnt know that
there is a Malayali in every corner of the world!



------------------------------------------------------------------------------------------

Thursday, September 20, 2007

Joke: The Atheist

An atheist was taking a walk through the woods "What majestic trees!
What powerful rivers! What beautiful animals!" he said to himself. As he
continued walking alongside the river he heard a rustling in the bushes.
Turning to look, he saw a 7 foot grizzly charging towards him.

He ran as fast as he could up the path. Looking over his shoulder he saw
that the bear was closing in on him. His heart was pumping frantically
and he tried to run even faster.

He tripped and fell on the ground. He rolled over to pick himself up but
saw the bear raising his paw to take a swipe at him. At that instant the
atheist cried out: " Oh my God..."

Time stopped.

The bear froze.

The forest was silent.

It was then that a bright light shone down upon the man and a voice came
out of the sky saying: "You deny my existence for all of these years,
teach others I don't exist, and even credit creation to a cosmic
accident. Do you expect me to help you out of this predicament? Am I to
count you as a believer?"

The atheist looked directly into the light, "It would be hypocritical of
me to suddenly ask you to treat me as a Christian now, but perhaps,
could you make the bear a Christian?"

"Very well," said the voice.

The light went out.

And the sounds of the forest resumed.

Then the bear lowered his paw, bowed his head and spoke:
"Lord, bless this food which I am about to receive and for which I am truly thankful.
Amen."

Tuesday, September 18, 2007

A guy walks into a bar ...

The longest list of bar jokes that I got in an email ...


No one knows when the first joke beginning with the
six words "A guy walks
into a bar . . ." was told, or how it went.
Nevertheless, an entire genre of
jokes has been created revolving around that opening
scenario. Here's a
sampling of some of the variants that have sprung
up, many now involving
animals or inanimate objects:


A guy walks into a bar with a slab of asphalt under
his arm and says, "A
beer please, and one for the road."


An amnesiac walks into a bar and asks the bartender,
"Do I come here often?"


A guy with dyslexia walks into a bra.


A young Texan walks into a bar and orders a drink.
"Got any ID?" asks the
bartender. The Texan replies, "About what?"


A pair of battery jumper cables walk into a bar. The
bartender says, "You
can come in here, but you better not start
anything!"


A Latin scholar walks into a bar and says, "I'll
have a martinus." The
bartender asks him. "Don't you mean martini?" The
man tells the bartender,
"Listen, if I wanted two or more drinks I would have
asked for them."


A horse walks into a bar. The bartender asks, "So,
why the long face?" A
variant on this joke during the 2004 presidential
campaign substituted John
Kerry for the horse, but the punch line remains the
same.


A penguin walks into a bar and asks the bartender,
"Has my father been in
here?" The bartender says, "I don't know. What does
he look like?"


A brain goes into a bar and says to the bartender,
"I'll have a beer,
please." The bartender says, "Sorry, I can't serve
you. You're out of your
head."


A little pig goes into a bar and orders ten drinks.
He finishes them and the
bartender says, "Don't you want to know where the
toilet is?" The pig says,
"No, thanks, I go wee-wee-wee all the way home."



René Descartes is in a bar at closing time. The
bartender asks him if he'd
like another drink. Descartes says, "I think not,"
and he disappears.


A bear walks into a bar and says, "I'd like a beer
and . . . . a packet of
peanuts. The barman says, why the big pause?"



A kangaroo walks into a bar and orders a beer. The
bartender says, "That'll
be $10. You know, we don't get many kangaroos coming
in here." The kangaroo
says, "At $10 a beer, it's not hard to understand."


A termite walks into a bar and asks, "Is the bar
tender here?"



A cheeseburger walks into a bar, and the bartender
says, "Sorry, we don't
serve food in here."


A dog with his foot wrapped in a bloody bandage
hobbles into a Western
saloon. He sidles up to the bar and announces: "I'm
lookin' fer the man that
shot my paw."


A baby seal walks into a bar. "What can I get you?"
asks the bartender.
"Anything but a Canadian Club," replies the seal.


A grasshopper hops into a bar. The bartender says,
"You're quite a celebrity
around here. We've even got a drink named after
you." The grasshopper says,
"You've got a drink named Steve?"


A goldfish flops into a bar and looks at the
bartender. The bartender asks,
"What can I get you?" The goldfish says, "Water."



A guy walks into a bar and sits down next to a lady
and a dog. The man asks,
"Does your dog bite?" The lady answers, "Never!" The
man reaches out to pet
the dog, and the dog bites his hand. The man says,
"I thought you said your
dog doesn't bite!" The woman replies, "He doesn't.
That's not my dog."


A guy walks into a bar. A horse behind the bar
serving drinks. The guy is
just staring at the horse, when the horse says,
"What are you staring at?
Haven't you ever seen a horse serving drinks
before?" The guy says,
"Honestly, no. I never thought the parrot would sell
the place."


A skeleton walks into a bar. The bartender asks,
"What'll you have?" The
skeleton says, "Give me a beer, and a mop."


A polar bear, a giraffe and a penguin walk into a
bar. The bartender says,
"What is this, some kind of joke?"


A guy walks into a bar in Cork, in Ireland, and asks
the barman: "What's the
quickest way to get to Dublin?" "Are you walking or
driving?" asks the
barman. "Driving," says a man. "That's the quickest
way," says the barman.


A fellow walks into a pub near Buckingham Palace in
London, sits down, and
says, "Give me a beer. I've had a rough day at
work." And the bartender
says, "Oh? What do you do?" The guy says, "I take
care of the corgis--you
know, the dogs the royal family owns." The bartender
asks, "Tough job, huh?
The guy says, "Yeah. All that inbreeding has led to
low intelligence and bad
temperaments. And the dogs aren't too smart,
either."



A man goes into a bar and says, "Give me a drink
before the trouble starts."
And the bartender pours him a drink. He drinks it
and says, "Give me another
drink before the trouble starts." He downs that one
and says quotation mark,
give me another drink before the trouble starts."
Finally, the bartender
asks, "Just when is this trouble going to start?"
The man says, "The trouble
starts just as soon as I tell you that I don't have
any money."



A tourist goes into a bar where a dog is sitting in
a chair playing poker.
He asks, "Is that dog there really playing poker?"
And the bartender says,
"Yeah, but he's not too smart. Whenever he has a
good hand, he starts
wagging his tail."



This cowboy walks into a bar and orders a beer. His
hat is made of brown
wrapping paper. And so are his shirt, vest, chaps,
pants, and boots. His
spurs are also made of paper. Pretty soon, the
sheriff arrives and arrests
him for rustling.


A guy goes into a bar, orders four shots of the most
expensive 30-year-old
single malt Scotch whisky and downs them one after
the other. The bartender
says, "You seem to be in a great hurry." The guy
says, "You would be too if
you had what I have." The bartender asks, "What have
you got? "Fifty cents,"
is the reply.



A Northerner walks into a bar in the Deep South
around Christmas time. A
small nativity scene is behind the bar, and the guy
says, "That's a nice
nativity scene. But how come the three wise men are
all wearing firemen's
hats?" And the bartender says, "Well, it says right
there in the Bible--the
three wise men came from afar."



A man walked into a bar, sat down, and ordered a
beer. As he sipped the
beer, he heard a voice say, "Nice tie." Looking
around, he saw that the bar
was empty except for him and the bartender. A few
sips later, another voice
said, "Beautiful shirt." At this, the man calls the
bartender over. "Say, I
must be losing my mind," he tells him. "I keep
hearing these voices say nice
things, and there is not a soul in here but us."
"It's the peanuts,"
explains the bartender, indicating a dish on the
bar. "The peanuts?" "That's
right, the peanuts--they' re complementary. "


A man walks into a bar with a giraffe. He says, "A
beer for me and one for
my giraffe." And they stand around drinking for
hours until the giraffe
passes out on the floor. The man pays the tab and
gets up to leave. The
bartender says, "Hey! You're not going to leave that
lyin' on the floor, are
you?" The man says, "That's not a lion, it's a
giraffe."



A guy walks into a bar with a German shepherd dog.
The bartender says, "Hey
buddy, can't you read that sign? It says no dogs
allowed! Get that mutt out
of here!" The man replies, "No, I can't read the
sign--I'm blind, and this
is my Seeing Eye dog." The bartender is embarrassed
and gives the man a beer
on the house. Later that day, the man tells his
friend about it: "I told him
I was blind, and I got a free beer!" The friend then
takes his dog into the
bar and sits down. The bartender says, "The sign
says no dogs allowed!
You'll have to leave!" The friend says, "Sorry, I
can't see the sign because
I'm blind, and this is my Seeing Eye dog." The
bartender replies, "Since
when do they give out Chihuahuas as Seeing Eye
dogs?" The man says, "They
gave me a Chihuahua?"



A blind man walks into a bar, grabs his dog by its
hind legs and swings him
around in a circle. The bartender says, "Hey, buddy,
what are you doing?"
And the blind man says, "Don't mind me. I'm just
looking around."



A man walks into a bar looking sad, and the
bartender asks him, "What's the
matter?" The man says, "My wife and I had a fight,
and she told me she
wasn't going to speak to me for a month. The month
is up today."



This guy walks into a bar and orders a drink. He
looks in his pocket and
orders another drink, looks in his pocket and orders
still another drink.
His curiosity aroused, the bartender asks, "What are
you doing? What's in
your pocket?" And the guy says, "It's a picture of
my wife. When she starts
looking good to me, I know it's time to go home."

Monday, September 03, 2007

Toilet Instructions


Instructions inside a toilet in a company in India. That should give you an indication that many folks in India are unaware of how to use western toilets :-).

Sunday, September 02, 2007

If the "Safely Remove Hardware" icon disappears in Windows ...

Don't panic. Run this command (Start --&gt; Run ):

RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll


Original Article: Safely Remove Hardware: ... Ask Leo!