How to bake a black forest cake

August 3rd, 2010 § 0 comments § permalink

Step 1: Ask your wife to bake you one 😉
Step 2: There is no Step 2.

black forest cake
Black Forest Cake

Dosa for lunch … Yum :)

July 28th, 2010 § 5 comments § permalink

Dosa

Dosa

49 facts about Rajnikant

July 28th, 2010 § 0 comments § permalink

If you do not know who Rajinikanth is …

  1. Rajinikanth makes onions cry.
  2. Rajinikanth can delete the Recycle Bin.
  3. Ghosts are actually caused by Rajinikanth killing people faster than Death can process them.
  4. Rajinikanth can build a snowman….. out of rain.
  5. Rajinikanth can strangle you with a cordless phone.
  6. Rajinikanth can drown a fish.
  7. When Rajinikanth enters a room, he doesn’t turn the lights on,…………. he turns the dark off.
  8. When Rajinikanth looks in a mirror the mirror shatters, because even glass is not stupid enough to get in between Rajinikanth and Rajinikanth.
  9. Brett Favre can throw a football over 50 yards. Rajinikanth can throw Brett Favre even further.
  10. The last digit of pi is Rajinikanth. He is the end of all things.
  11. Rajinikanth does not know where you live, but he knows where you will die.
  12. Bullets dodge Rajinikanth.
  13. A Handicap parking sign does not signify that this spot is for handicapped people. It is actually in fact a warning, that the spot belongs to Rajinikanth and that you will be handicapped if you park there.
  14. Rajinikanth’s calendar goes straight from March 31st to April 2nd, no one fools Rajinikanth.
  15. If you spell Rajinikanth wrong on Google it doesn’t say, “Did you mean Rajinikanth? ” It simply replies, “Run while you still have the chance.”
  16. Rajinikanth can do a wheelie on a unicycle.
  17. Once a cobra bit Rajinikanth’s leg. After five days of excruciating pain, the cobra died.
  18. When Rajinikanth gives you the finger, he’s telling you how many seconds you have left to live.
  19. Rajinikanth can kill two stones with one bird.
  20. Rajinikanth was once on the Celebrity Wheel of Fortune and was the first to spin. The next 29 minutes of the show consisted of everyone standing around awkwardly, waiting for the wheel to stop.
  21. Leading hand sanitizers claim they can kill 99.9 percent of germs. Rajinikanth can kill 100 percent of whatever he wants.
  22. There is no such thing as global warming. Rajinikanth was cold, so he turned the sun up.
  23. Rajinikanth can set ants on fire with a magnifying glass. At night.
  24. Rajinikanth has a deep and abiding respect for human life? Unless it gets in his way.
  25. Rajinikanth once shot down a German fighter plane with his finger, by yelling, “Bang!”
  26. In an average living room there are 1,242 objects Rajinikanth could use to kill you, including the room itself.
  27. Behind every successful man, there is a woman. Behind every dead man, there is Rajinikanth.
  28. Rajinikanth destroyed the periodic table, because Rajinikanth only recognizes the element of surprise.
  29. Rajinikanth got his drivers license at the age of 16 Seconds.
  30. With the rising cost of gasoline, Rajinikanth is beginning to worry about his drinking habit.
  31. The square root of Rajinikanth is pain. Do not try to square Rajinikanth, the result is death.
  32. When you say “no one’s perfect”, Rajinikanth takes this as a personal insult.
  33. Outer space exists because it is afraid to be on the same planet with Rajinikanth
  34. Rajinikanth has counted to infinity – twice
  35. When Rajinikanth does a pushup, he isnt lifting himself up, he’s pushing the earth down
  36. Rajinikanth is so fast, he can run around the world and punch himself in the back of the head.
  37. Rajinikanth doesnt wear a watch. HE decides what time it is.
  38. Rajinikanth gave Mona Lisa that smile.
  39. Rajinikanth can slam a revolving door.
  40. Rajnikan’s house has no doors, only walls that he walks through.
  41. Rajinikanth grinds his coffee with his teeth and boils the water with his own rage.
  42. If you google search “Rajinikanth getting kicked” your search will generate 0 results. It just doesn’t happen.
  43. It takes Rajinikanth 20 mins to watch 60 minutes.
  44. The Bermuda Triangle used to be the Bermuda Square, until Rajinikanth kicked one of the corners off.
  45. There are no weapons of mass destruction in Iraq, Rajinikanth lives in Chennai.
  46. Rajinikanth once ate an entire bottle of sleeping pills. They made him blink.
  47. The only thing that runs faster and longer than Rajinikanth are his films.
  48. Rajinikanth’s every step creates a mini whirlwind. Hurricane Katrina was the result of a morning jog.
  49. Where there is a will, there is a way. Where there is Rajinikanth there is no other way.

Incredible India

July 28th, 2010 § 0 comments § permalink

I think these great ads for Incredible India promoting tourism  speak for themselves.  Thanks Papa for forwarding these great pictures.

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Incredible India

Querying the Global Address List (GAL) via Exchange Web Services (EWS)

July 17th, 2010 § 13 comments § permalink

If you are looking for a way to search the Global Address List (GAL) for a particular contact via Exchange Web Services, read on. Please note that this only works for Exchange 2007 and above.

  1. Grab the WSDL and generate stubs. The normal location for the WSDL is
    http://Your_exchange_server_name/EWS/Services.wsdl.

    Note that when you plug this URL into your browser, you might be directed to login. Once you login with your credentials, you will be redirected to your regular email page. Despair not. Enter the URL in your address bar again and you should have the WSDL.

  2. Use the code below to query for a user with a name “test”. The code below is in C#, but should translate quite easily to other languages. Also take note of the URL. In my case, I needed to use https. Also note that the username is not the email but just the prefix i.e. the @domain.com is not required.
    static void Main(string[] args)
    {
        ExchangeServiceBinding esb = new ExchangeServiceBinding();
        esb.Url = @"https://myserver/EWS/Exchange.asmx";
        esb.Credentials = new NetworkCredential(
            "username", 
            @"password", 
            @"domain");
    
        // Create the ResolveNamesType and set 
        // the unresolved entry.
        ResolveNamesType rnType = new ResolveNamesType();
        rnType.ReturnFullContactData = true;
        rnType.UnresolvedEntry = "test";
    
        // Resolve names.
        ResolveNamesResponseType resolveNamesResponse 
    		= esb.ResolveNames(rnType);
        ArrayOfResponseMessagesType responses 
    		= resolveNamesResponse.ResponseMessages;
    
        // Check the result.
        if (responses.Items.Length > 0 && 
    		responses.Items[0].ResponseClass 
    			!= ResponseClassType.Error)
        {
            ResolveNamesResponseMessageType responseMessage = 
    			responses.Items[0] as 
    			ResolveNamesResponseMessageType;
                    
            // Display the resolution information.
            ResolutionType[] resolutions = 
    			responseMessage.ResolutionSet.Resolution;
            foreach (ResolutionType resolution 
    			in resolutions)
            {
                Console.WriteLine(
    				"Name: " + 
    				resolution.Contact.DisplayName
    				);
                Console.WriteLine(
    				"EmailAddress: " + 
    				resolution.Mailbox.EmailAddress
    				);
    
                if (resolution.Contact.PhoneNumbers != null)
                {
                    foreach (
    					PhoneNumberDictionaryEntryType phone 
    					in resolution.Contact.PhoneNumbers)
                    {
                        Console.WriteLine(
    						phone.Key.ToString() + 
    						" : " + 
    						phone.Value
    						);
                    }
                }
                Console.WriteLine(
    				"Office location:" + 
    				resolution.Contact.OfficeLocation
    				);
                Console.WriteLine("\n");
            }
        }
    }
    

Gruber – the drama continues

July 13th, 2010 § 0 comments § permalink

Gruber again on Comsumer Reports

Seems nutty to me to give it a “don’t buy” for this single annoyance alone.

But, but .. didn’t you say that you whole-heartedly agree with whatever Consumer Reports has to say?

Consumer Reports does an about turn

July 12th, 2010 § 3 comments § permalink

On July 2nd, Consumer Reports said that the “iPhone 4’s Supposed Signal Woes Aren’t Unique, and May Not Be Serious”. This led to Gruber‘s statement

Who am I supposed to believe, the sensationalist hacks at Consumer Reports, or the straight-shooters at Gizmodo?

However, today CR just did an about turn, and said that they can no longer recommend the iPhone 4. Gruber, looks like the sensationalist hacks at CR said the same thing as the straight-shooters at Gizmodo. Time to eat some crow ;).

Run Vivek run …

July 11th, 2010 § 0 comments § permalink

Looks like I am getting better at this.

Aphorisms

February 6th, 2008 § 3 comments § permalink

An aphorism (literally distinction or definition, from Greek αφοριζειν “to define”) expresses a general truth in a pithy sentence. It is a short, pointed sentence expressing a wise, clever observation, a general truth or adage.

I got these in my email today and a they seemed to make a lot of sense (Thanks Papa). Enjoy

  • The nicest thing about the future is that it always starts tomorrow.

  • Money will buy a fine dog but only kindness will make him wag his tail.

  • If you don’t have a sense of humor, you probably don’t have any sense at all.

  • Seat belts are not as confining as wheelchairs.

  • A good time to keep your mouth shut is when you’re in deep water.

  • How come it takes so little time for a child who is afraid of the dark to become a teenager who wants to stay out all night?

  • Business conventions are important because they demonstrate how many people a company can operate without.

  • Why is it that at class reunions you feel younger than everyone else looks ?

  • Scratch a dog and you’ll find a permanent job.

  • No one has more driving ambition than the boy who wants to buy a car.

  • There are no new sins; the old ones just get more publicity.

  • There are worse things than getting a call for a wrong number at 4 AM. Like this: It could be a right number.

  • No one ever says “It’s only a game” when their team is winning.

  • I’ve reached the age where the happy hour is a nap.

  • Be careful reading the fine print. There’s no way you’re going to like it.

  • The trouble with bucket seats is that not everybody has the same size bucket.

  • Do you realize that in about 40 years we’ll have millions of old ladies running around with tattoos? (And rap music will be the Golden Oldies!)

  • Money can’t buy happiness – but somehow it’s more comfortable to cry in a Corvette than in a Yugo.

  • After 70 if you don’t wake up aching in every joint, you are probably dead.


Slingbox setup

February 6th, 2008 § 0 comments § permalink

What model of the slingbox should I buy?
Though Slingmedia does not advertise this, the Slingbox Pro supports both NTSC and PAL signals. So this means that you can buy a Slingbox Pro in the US and use it unmodified in India.

Wireless router
Another thing you will need is a wired or a wireless router. Since it is quite difficult to buy a wired router these days, I would recommend you buy a wireless router. Any router with multiple ethernet ports will do. This router will help you share your internet connection to multiple hosts.

Cable or satellite?
I assume that you plan to place shift a cable TV and not a satellite signal. The advantage of cable TV (cable over coax) over satellite (e.g. Tata Sky) is that the slingbox’s internal tuner can tune into the desired channel. This means that you could be watching a particular channel remotely while a completely different channel could be playing on your TV in India.

Connectors
In India the default connector used in TV’s seems to be the Belling-Lee connector. The slingbox however accepts input via an F-connector. You can easily find converters that go from PAL to F. However this is something you need to keep in mind.

Network setup
The slingbox itself is pretty easy to setup and the instructions provided by Slingmedia are excellent. Their tool does a great job of detecting network settings on routers (it supports almost all major routers) and modifying the firewall settings via UPnP to enable remote viewing. However in my case my ISP had installed a DSL modem which also had a firewall. This modem did not come with a user manual and it took me a couple of hours to configure its firewall.

More help
There seems to be a pretty big community setting up Slingbox’s in India. Go here for more information.