Thursday, July 30, 2009

The pleasing paradox ...

I thought this article presented a balanced point of view. Very interesting read indeed!

Paraphrasing some of content:

The challenge is to be of service without becoming servile. We shouldn’t elevate any customer to the role of superior being, but treat each with human respect.

Human respect does not involve treating others as if they were superior or defining yourself through their expectations just because they're paying the bill. Human respect means being responsible, not overly responsible—a curious form of irresponsibility. Don’t cut others' meat for them.

Human respect demands that I respect myself so that I can respect others. Whenever I take that humbling step down and backwards, I can lose my own self-respect, and thereby forfeit my ability to really respect—or be of real service—to anyone else. When I can engage with my customer as a peer, we both seem more satisfied with the result.


I think it is important that you satisfy yourself by doing what you do.

Sunday, July 26, 2009

Code comments!

A friend forwarded these code comments recently. Some of them are hilarious!

The best code comment seen in source code ......

1. ///


/// Class used to work around Richard being a $#!%^&* idiot
///

///
/// The point of this is to work around his poor design so that paging will
/// work on a mobile control. The main problem is the BindCompany( ) method,
/// which he hoped would be able to do everything. I hope he dies.
///

2.

// I dedicate all this code, all my work, to my wife, Darlene, who will
// have to support me and our three children and the dog once it gets
// released into the public.

3.

// Magic. Do not touch.

4.

return 1; /* returns 1 */

5.

/* This is O(scary), but seems quick enough in practice. */

6.

/*
* You may think you know what the following code does.
* But you don’t….Trust me.
* Fiddle with it, and you’ll spend many a sleepless
* night cursing the moment you thought you’d be clever
* enough to "optimize" the code below.
* Now close this file and go play with something else.
*/

7.

//When I wrote this, only God and I understood what I was doing
//Now…God only knows

देवनागरी आणि इतर "इंडिक" लीप्यंकन ...

OK, many of my dreams are coming true. One of the dreams was to be able to type in देवनागरी just on the browser.

Several schemes have been attempted for this to happen. But nothing is as simple as using Google Transliteration API and Firefox and its extension for Indic Translation, written by Sridhar. There is room for improvement (of course) but this is a very good step forward.

For the impatient, here is the recipe:
  1. Dump Internet Explorer. Use Firefox as your web browser. Get it from http://getfirefox.com.
  2. Start the Firefox browser.
  3. Click on this link (https://addons.mozilla.org/en-US/firefox/addon/8731).
  4. Click the (green) button: "Add to Firefox".
  5. A Window will pop-up. After a few seconds, "Install Now" button will activate. Click it.
  6. Firefox would prompt you for "Restarting Firefox". Click that button.
  7. Firefox will restart.
  8. Let's say you log on to your mail client (e.g. Yahoo! Mail, GMail etc.) If you are using Yahoo!, please choose the Plain Text formatting.
  9. After clicking inside the Compose Window, you'll see a block like the one in adjacent image.
  10. Choose a language of your choice and check the check-box. This should get you going. At the end of a "Word" boundary, the transliteration would occur. For example typing "bharat" should show you "भारत".
Thanks to Sridhar and Google Transliteration API!

English: Tip #2

Consider using "the reason (something) (reason)" without an intervening because. This is often violated and the resulting sentence is rather funny to read.

In such sentence, "the reason (something) " should be simplified for it to make sense.




I was rather surprised that Seth ran into this trap!
Link

Tuesday, July 21, 2009

Beta or Not Beta -- That's the Question ...



GMail -- Are you Beta or Not? Since anyone can create an account now (which implies it is "out of Beta", I guess) do I need to send any invites to anyone?