Sunday, November 14, 2010

Wedding Invitation generator

Bride:
Groom:
Style:
This blog post requires a HTML5 enabled browser like Internet Explorer 9, FireFox or Chrome.

Thursday, September 16, 2010

EEE Story

Barnabus 'Barny' Roy's world came crashing down at precisely 9:03 AM on a warm Saturday morning.

Barny was in good spirits that morning. It was an altogether pleasant morning in Herfordshire, the late spring Sun shining lazily down the main thoroughfare, a light breeze bringing in the sweet smell of daffodils from the fields. As was his routine, Barny tipped his hat to old Mr Weatherby, kept a crown on the counter, and took a copy of The Times. At precisely 9:03 AM, he looked at the newspaper.

The headlines screamed "HMS MANDRAKE LOST AT SEA!".

Barny couldn't believe his eyes. HMS Mandrake, a ship bringing exotic goods from the Orient, had been his ticket to a comfortable retirement. Urged by his friends, Barny had invested all his life savings on that ship. Now that dream was shattered, leaving Barny penniless and on the brink of bankruptcy.

Barny was dejected as he walked back home. His wife looked up as he came into the kitchen, her eyes picking up the despondency seen clearly on his face. With faltering words punctuated with sobs, Barny told her how he had lost all their savings.

After he finished, his wife stood up, went to her cupboard, took a box out and handed it to her husband. Puzzled, Barny opened the box ... and it was full of money! "Where did you get this?", he asked, to which she replied "Every day for twenty years, I stole 1 pound from your purse, no more, no less. I knew that it would come in handy some day. Now I'm giving it back to you". Barny was stumped, but when he realized that his wife's petty theft had saved him from bankruptcy, he embraced her with joy.

Moral of the story: B B Roy Of Great Britain had a Very Good Wife.

Friday, August 27, 2010

MIT vs MIT



Disclaimer: All images were derived from xkcd. I claim no ownership or originality.


Note: The RV-vs-PES story is similar, but without dinosaurs.

Wednesday, June 09, 2010

Science Fiction Story

2041 AD.

Tarek sighed as he gazed across the harsh terrain that was once California.

It was seventeen years since the end of the Great War. Seventeen years without the warmth and light of the sun had stripped the land bare of all vegetation. Even if there was light, nothing would grow in this soil polluted by the ashes of a thousand atomic bombs. Humanity was all but extinct, with a few thousand scattered around the globe. But without food, without knowledge, the end of the human race was inevitable.

Mankind's only hope was The Book.

The Book, prophecy told, contained all the knowledge of mankind. With it, mankind could start rebuilding what the War had torn apart. It would lead mankind once again to great heights of civilization.

Tarek was the leader of a small band of wanderers who had been searching for The Book. After months of hard marching, tempers were now at a tipping point in the group. Rations were also running low. Tarek knew that they had to find The Book soon.

As Tarek trudged along, he began to ask himself: How can one book contain all the knowledge of mankind? Maybe there never was such a book. Maybe they were on a wild goose chase.

"TAREK!". Ebonil's shout broke Tarek out of his revere. "Take a look at this!". Excitement bubbled in Tarek as Ebonil pointed towards a mark on the rock. "Isn't this the one mentioned in the prophecy?". Ebonil was right! It was. "There should be an entrance to a cave nearby". "There it is!".

Tarek rushed into the cave. As his eyes adjusted to the darkness, a sense of destiny washed over him. In front of him lay the salvation of all mankind. He started to vaguely make out ... a pedestal, on which there was a black slab. The Book.

As he took it in his hands, Tarek realized: The Book was not a book: It was magic. At his touch, The Book began to glow, a glow not seen on Earth for seventeen years. Tarek was overcome with wonder. He began to explore the hidden magic of The Book.

Tarek studied The Book for many hours. It began to dawn on him that it held no knowledge. The prophecy was a lie. There was no wisdom in The Book, it was merely a curiosity. Disappointment washed over him as the hopes and dreams of the human race crumbled before him.

Tarek closed his eyes. He wept.

2011 AD.

Steve Jobs bans the Wikipedia app from the iPad.

Tuesday, June 08, 2010

What really happened.

A Linux programmer, a Windows programmer and an Apple programmer walked into a bar. They were having a heated discussion about which operating system is the best.

"Look, we'll never settle it this way", said the Apple programmer after many arguments, "I have an idea. Look at that girl over there". He pointed towards a smoking hot girl sitting alone at the bar. "Whoever impresses that girl with their Pen Computer will win the argument." They all agreed.

The Linux programmer went first: "Greetings, Female". "Hi", the girl responded. "You know, I just wrote this wicked Emacs macro in lisp to grawp mercurial and auto sync -". The girl tossed her drink at his face "Go away, you creep!". The Linux programmer went away dejectedly.

The Windows programmer was next: "Hi", he goes. "Hi", she replied. "Hey, check out this new game, you'll love it". He showed her a flash game with cute bunnies. "OMG! that's so cute". But just when she was about to give him her number: "Windows has performed an illegal operation and will shut down". "Whatever, loser". The Windows programmer also went away, head bowed in shame.

The Apple programmer kept his phone down on the table and straightened his collar. He went to the girl. "Hey baby, what do you think of this?". He shows her his MacBook Air. "Ooh! That's so cool. I wish I had one". She smiled coyly as she slipped a napkin into his hand "Call Me".

As he left the bar, he made sure that the Linux and Windows programmers saw his gloating face. He danced all the way to his home. He took out his key to unlock the door ....

That was when Gray Powell realized with horror that he had left his million-dollar iPhone prototype at the bar.

Sunday, May 23, 2010

Three-by-Three : Bollywood Cliches

Disclaimer: All images were derived from xkcd. I claim no ownership or originality.

Each row/column/diagonal depicts a cliche oft seen in Bollywood movies. Move your mouse over the row/column/diagonal captions to see the text.


Sweet
heart
Judwaa Police Balatkar Love
Triangle
B
h
a
i
B
h
a
i
L
o
v
e
L
o
v
e
J
a
n
a
m
J
a
n
a
m
Judwaa Police Balatkar

Tuesday, April 06, 2010

Greatest Hits: Volume II

A lot of people are visiting this blog right now (thanks to xkpj), so I'm going to shamelessly advertise my older blog posts. This is mainly to help people who don't want to crawl through all the crappy posts to find the few funny ones.

Slapstick/Parody/Silly

Kannada/Bengaluru

Geeky

Tales with a twist: These are stories which have a surprise ending.

Sunday, April 04, 2010

xkpj

Disclaimer: All images were derived from xkcd. I claim no ownership or originality.




Tuesday, March 30, 2010

Interactive story

Scene opens with a long shot. Location: Top secret Nuclear Missile Command. People are milling around. Suddenly the door opens and a harried looking man rushes inside. He is the NATIONAL SECURITY ADVISER. He is on the verge of panic.

NSA: Who's the lead programmer here? Where is he?

An intern points towards a lonely guy sitting in a cubicle on the far end. The guy JOE is fat, almost bald. He's wearing a faded t-shirt and drinking coffee from a paper cup. The NSA runs over to the cubicle.

NSA: Quick! We have no time to lose. We have to override the launch command!

JOE: Hey! calm down, man! What happened?

NSA: A janitor accidentally pressed the deploy button on our ICBM control! The missiles are pointed directly towards us! If you don't override the launch we'll all die! HURRY!


JOE is a programmer.

Monday, March 22, 2010

Unicode variable names in Java

Total I learned that you can have Unicode characters in your class/variable names.

public class Lang
{
 public static final int प्रियानंद  = 42;
 public static final int ಪ್ರಿಯಾನನ್ದ = 33;

 public static int ನನ್ನ(int x)
 {
  return x + 1;
 }
 public static int ಹೆಸರು(int x)
 {
  return x - 1;
 }
 public static void main(String [] args)
 {
  ನನ್ನ(ಹೆಸರು(ಪ್ರಿಯಾನನ್ದ));
 }
}

Note: You might have to specify -encoding Unicode when compiling.

Tuesday, February 23, 2010

Introducing Fair and Na'vi

Are you dissatisfied with your pale brown skin? Have you secretly fantasized about having pointy ears and a long tail? Then look no further. Hindustan Lever Limited in association with James Cameron is pleased to announce its latest beauty product: Fair And Na'vi.


Fair and Na'vi is specially prepared from extracts of Aloe Vera and Pandorum Unobtainium to give you that sleek blue look. Its fast acting formula enriches your skin to leave it smooth and shiny. Within four weeks you will see a visible improvement in your appearance or you'll get your money back.


That's not all! If you order a 12 pack before March 31, 2010, you'll be eligible for a chance to visit Pandora itself. Hurry! Offer valid till stocks last.



You may be wondering what to do with all the Fair And Lovely cream that you already have. Why would you want to be white when you can be blue! Fortunately you can use Fair and Lovely for many other things!


Five unexpected uses for Fair and Lovely


1. Converting black money to white money.
Just rub your illegal bribes/dowries/ill gotten jewelry with Fair and Lovely and within six weeks it'll be completely legal!


2. In Chess.
You're playing white and losing? No fear! Just rub the opponent's pieces with Fair and Lovely, and presto! the piece is now yours.



3. Changing Test match to Twenty20 match.
Forced to play test cricket because you only have a red ball? Just use some Fair and Lovely, and the ball will turn white in no time.



4. Changing Rap music into Country music.
Has you son started saying words like f*** and m**********r? Rap music is to blame! But don't worry, just rub the CD with Fair and Lovely, you'll have him listening to John Mayer in no time.



5. Changing Horror movie into Romantic Drama.
Boyfriend got a horror movie to watch? Just use Fair and Lovely and the movie will turn into a sentimental romantic movie.

Credits: The na'vi-fication of Aish was done with the help of this.

Tuesday, February 16, 2010

My name is Rrrawwr

Thunderous applause greeted President Barack Hussien Obama as he stood up and approached the mike.  A huge crowd had gathered to hear the charismatic leader address the nation. "Good Evening, citizens of the United States of America, and welcome - aaah!".

Everyone craned their necks to see what had startled the President. There was a tiger on the stage! A real, live asian tiger in Washington DC!

Now, if  it had been a big ferocious tiger, the president's gaurds would have shot it immediately. But it was a tiny little cub! With its large, playful eyes and its tongue hanging out of its mouth, the tiger cub frolicked happily around the stage. "Awww, he's cho cute", remarked First Lady Michelle Obama, an opinion which many in the audience shared. Even the president forgot the serious talk he was supposed to give and started playing with the cub.

Staring into the president's eyes, the cub mewed in a surprisingly human way. "Did you hear that? What is he saying?", the president asked. The cub made the strange noise again. Everyone was silent. The consulate general of India spoke up, "S-Sir ...I think it's speaking Tamil, an Indian language". "Well, what is it saying?", the president asked. The consulate general translated:

"I am a Tamil Tiger and I am not a terrorist.".

Tuesday, February 09, 2010

Moral Science Story 2

Once upon a time in ancient India, there lived a great rishi(sage) called Shulyaka. In order to please Shiva, Shulyaka undertook a deep penance. For 27 years, the great sage never wavered from his mediation. At last, Lord Shiva appeared in front of him. "Shulyaka, your penance has pleased me. I will grant you a boon unlike any other: When you are about to die, you can choose to bring one dead soul to life. tathaastu".

Many years passed, and the sage grew old. By this time, Shulyaka's fame had grown, and many had heard of his boon. People thronged his ashrama in order to try and get their loved ones back. After much deliberation, the other sages chose two people to present their case to the sage.

The first was a young lady. "Kind sage, I had been married only for a day when my husband died of an accident. I am now a widow, a fate worse than death. Please, bring my husband back".

The second was a small boy. "Greetings to you, sir. I have no father. My mother was very sick, yet she took care of me. Yesterday she succumbed to her illness, leaving me an orphan. Show me some kindness and bring her back".

As the sage was pondering, there was a commotion outside. A man burst into the kuTeera, holding a lifeless form in his hand. He cried, "I beseech you, great sage. Please have mercy on me. My daughter was playing in the river when this rabid dog bit her". Behind him a servant entered, carrying a dead dog. "Before we could reach and kill the dog, it had bitten my daughter. She is my only loved one in this world. Please save her", he implored.

The sage thought for a moment, and then announced "It is time for me to die", and fell dead. The young woman, the boy and the father all stared at each other, trying to guess who was chosen.

Lord Shiva summoned Shulyaka's aatma to kailaasa. "Who among the three did you choose: the husband, the mother or the child?", he asked. "O Omnipotent Shiva, I didn't bring any of them to life.", he answered, "By not choosing any of them I have saved all of them. The boy needs parents, the man needs a child and the lady needs a husband. Their tragedies have brought them together. If I had chosen one of them, the others would have been unhappy". "Very well", the Lord said, "so you wasted my boon". "No sire, I used it on the most deserving being. It is in the nature of the dog to bite; it cannot distinguish good from bad, innocent from evil. The villagers killed the dog for no fault of its own. Therefore I chose to bring the dog back to life".

"You fool," the Lord said, "after you brought it to life, the dog bit the man, the lady and the boy. They all died".

Moral of the story: Dogs bite.

(Thanks to RajeshV for the dog idea. He's written a sequel)

Wednesday, February 03, 2010

Ball Biting incident a viral ad campaign for Dabur Laal Dant Manjan

In a press conference sponsored by Dabur India Pvt Lmtd., Pakistani all-rounder Shahid Afridi made the stunning revelation that the infamous ball biting incident was actually a viral campaign for Dabur Laal Dant Manjan. Laal Dant Manjan is India's leading red-color-tooth-powder brand.


Speaking to the press, Dabur spokesman Mr Chaban Prash announced that the ball biting incident was only the first part of the cricket-themed marketing campaign. "We're negotiating with cricket commentator Madan Laal to get him to change his name to Madan Laal Dant Manjan".

Mr Prash also mentioned that Afridi will be replacing Mike Tyson as the Brand Ambassador for Laal Dant Manjan. "We're disappointed with Mr Tyson. He hasn't bitten anything in many years. Afridi on the other hand is an role model to kids. If he bites a cricket ball, millions of kids will start gnawing at random things".

Over the years many illustrious celebrities have endorsed Dabur Laal Dant Manjan. Here is a list of previous brand ambassadors.

During the freedon struggle, this ferocious "Dabur-man" bit 1754 British Army Officers before being brutally murdered. Inspired by its bravery, Manjan Laal Dabur made it the official mascot of the red colored tooth powder he invented. This is also the reason Laal Dant Manjan is banned in England even today.








With his hectic blood-drinking schedule, Count Dracula needs his fangs to be in great shape. What better powder than the Laal Manjan to keep his teeth sharp and ready? But since the demise of Dracula, Dabur has had a falling out with vampires; younger vampires like Twilight's Edward prefer Colgate.









Mike Tyson was more than an amazing boxer; he was also an exceptionally good biter. His moment of glory came when he bit off his opponent's ear in a boxing match. Subsequent scandals, rape convictions and prison stay has done nothing to diminish that one great moment when Evander Holyfield lay writhing on the ground, blood gushing from where his ear used to be.

Thursday, January 28, 2010

A True Brahmin

Radhesh Venkatesan (not at all related to this fellow) was a true Brahmin. Not one of those "maneli windows 95, beedili chicken 65"-type person. "praaN bhi jaaye, mutton na khaaye" was his motto, along with "I'll beg, but not eat egg". He regarded eating beef as the worst of all crimes. For many years his friends tried to tempt him with tandoori, seduce him with szechwan and bribe him with biriyani, but he didn't budge.

One day, the plane he was traveling in crashed. For two months people thought he was dead. But miraculously, after two months, news came that he was alive. He had been stranded in a remote Pacific island where he had somehow survived for two months. He was the only one alive from the crash.

I went to meet him when he finally returned. After enquiring about his health, I asked him about the question which was in my mind ever since the news had come. "On that island you were stranded in, there were no plants or animals"? "No". "The only food available was a crate of beef which somehow survived the crash?". "Yes, there was a crate". "So!", I exclaimed, "you finally broke your code. You ate beef.". "No, never! I never ate beef". "Then how did you survive for two months? You are lying!".

Radhesh was smiling as he answered "I wasn't the only one who survived the crash".

Monday, January 04, 2010

Mayan civilization sued after nothing happens on December 21, 2012

December 22, 2012.

The Apocalypse Association, a non-profit organization promoting calamities and disasters, has filed a lawsuit against the Mayan civilization, after the disasters predicted by the ancient South American people failed to occur.

"I'm disappointed that millions of people didn't die.", said Michelle Neifer, spokesperson for the AA, "Someone must be held responsible".

Indeed, December 21 turned out to be the most uneventful day in decades. The climate worldwide was pleasant, no assasinations or high-profile murders took place, and only 7000 people died in Iraq, which is way below the average.





Not the first failed prediction

This is not the first time a disaster prediction has fallen flat. Nostradamus predicted that the world would end in 1999, but nothing much happened. Computers were predicted to kill everyone due to the Y2K bug, but that turned out to be a hoax perpetrated by COBOL programmers.

"I'm sick of these lies", says Jody Killdred. Jody killed his dog to spare him an agonizing death during the Y2K scare, which turned out to be nothing. "But this time, I didn't even send my daughter to bed.", he added.

2102 not 2012

Dr Brian Juntilope, of the Canadian Mayan Institute, claims that we have had it wrong all this while. "You see, the Mayans write their years from right-to-left. So the disasters will happen, but in 2102".

While Dr Juntilope may be right, few people from the AA are willing to wait that long. "What's the point if it happens in 2102? I'll be dead by then", exclaimed Michelle.

Sequel to 2012

Unfazed by the lack of catastrophes, Roland Emmerlich, the director of the successful movie 2012, is already planning a sequel to the movie. Titled 2038, the movie is about how the world is destroyed by UNIX computers suffering from the Year 2038 Problem. The movie is set to hit theatres in 2014.