Monday, November 27, 2006
The Rajinder Sachar report, Part I
Saturday, November 25, 2006
Cricket crazy? No, power drunk.
Sunday, November 19, 2006
No one is irreplaceable
Saturday, November 18, 2006
Technology notes Vol 1, Ed 2, Nov 06
* Peopleware
At the recently held Bangalore Book Fair, I got the opportunity to finally buy a book I'd been hunting for a long time. This book, called "Peopleware", written by Tom DeMarco and Timothy Lister is a classic - something that can be compared with "The Mythical Man-month".
Now we've all heard about hardware, software, shareware, and even vapourware. So, what is peopleware? Well, it is about the only raw material that matters in the software world - people. It is all about how people must be managed, the kind of work environments that software companies must provide, and the kind of managers/senior leaders that you must have in the profession for a company to succeed.
A must read book for anyone, including those not in the profession. Nothing in the book is new - just uncommon, like common sense. Let me know (if you're in Bangalore), if you want to borrow the book.
* Pair programming
The first time I heard about pair programming, I laughed my heart out. My good friend Sathya who introduced the concept tried very hard, in his own inimitable way, to convince me about the worth of the concept. Nothing would make me budge...two programmers working on the same piece of code at the same time!? What crap! What about productivity? What about cost!? What about conflicts!? These were all questions I asked.
It is a different matter though, that later in my life, I actually wrote a paper on the benefits of pair programming! Even then, despite having officially pair-programmed more than a few times, I hadn't experienced the "Aha" moment - when I was convinced that pair programming helped me do a better job of something.
Around a month back, a manager at my workplace had a cool idea on some updates to a web-site that we host. Essentially, we were changing the rendering algorithm, and he asked if I would work with him on it. I agreed, and man, was it fun! The three hours we spent deciphering the existing code and tailoring his algorithm were probably the most productive hours I've spent in some time! And it was fun! We each complemented the other's skills, learnt from the others' approach to code, and finally came off with renewed respect for each other.
Now that is the "Aha" moment I was looking for. That is one of the biggest benefits of pair programming - building better teams.
Anyways, this is all for this edition. Keep visiting this space for more technical updates. Next time, I plan to write about user-interfaces and the general stagnation in the area.
See the previous edition of technology notes here:
Sunday, November 12, 2006
Linguistic Abuse
For example, take the word (phrase?) "high-tech". It stands for high-technology - which means technology of a certain calibre, a certain novelty, and a certain degree of precision, one that stretches the state-of-the-art in a field. How do our papers use the word? Well, simply, everything in the 'high-tech' (sic) city of Bangalore is high-tech. The bus-stand is hi-tech, even though it doesn't have proper water-proofing. The buses are hi-tech, even though they run on 80s technology. The government is hi-tech, even if it doesn't understand technology. Everything is hi-tech. Most vulnerable to this phenomenon is the New Indian Express - which is otherwise an excellent read.
Here is an other one. "Militant". Websters' defines "Militant" as someone who takes to arms for a selfless cause. A "terrorist", on the other hand, is one who "systematically uses terror as a means of coercion". So, are the terrorists in Kashmir working for a selfless cause? Or are they using terror to coerce the Indian government into accepting the two-nation theory? Well, if you go by the anchors, they are those fighting for a selfless, no doubt, secular, cause.
I'll add more as I remember them.
The biggest threat to India
Well, it is Communism. And communist control over premier educational institutions in the country. This in turn has led to their control over all of primary/secondary education, over most of the print and visual media, and over many influential institutions like the ICHR. As Ayn Rand, in her book, The Fountainhead, eloquently stated, this bunch of commies are not interested in 'physical' power. What they want is power over thought. Power over the minds of the people. They want to hold the levers to power, not power itself.
So, how do they accomplish this mind-control? By obfuscating facts. By telling lies. And by having acolytes back their lies. Here is an example: In today's "We the people", the debate was about "Health-care outsourcing". Barkha Dutt introduced a Bill-something from California who had come in to Fortis for treatment. He was obviously impressed with the world-class facilities and the low cost. Obviously. And two other truths are self-evident. Health-care outsourcing helps hospitals improve, it gets India more foriegn exchange, and it clearly benefits the patient. Now that the worthies cannot dispute these facts, the JNU-types on the show ask, "Who will do anything about the Indian Bills?". Point. But what does this have to do with the whole concept? Indian Bills cannot afford treatment because the government spends 1% of the GDP on healthcare, instead of 5-7% like the other countries, and even that 1% is not used effectively. It is not because the private hospitals treat foriegn patients. But the force with which these guys put it, the private hospitals are put in the dock, for no fault of theirs. And in this debate, you can be sure, there will be no mention of all the Pakistani kids who got treatments done here! BTW, if you treat a Pakistani, if you treat a Kashmiri terrorist, you are a national hero. If you treat an American, you are a blood-sucking vulture.
And this is typical. Praise a NarayanaMurthy for creating Infosys, and these worthies will say "Oh, it provides jobs to only 50,000 people." Praise the software industry for letting these worthies fly to other countries witout being treated as terrorists, and these will say "Oh, it is *just* a few million jobs." Praise the export sector for doing well, and these worthies will point to all those below the poverty line. But praise a Mao, praise a Stalin, praise a Caucescu - all butchers, and these a*holes will clap with you.
Disgusting. And if you haven't read these three books - Animal Farm, 1984 and The Fountainhead, I'll urge you to read them now. It is the duty of every citizen to see through the propaganda of these a*holes.
Saturday, November 11, 2006
Much more typecasting
Cell phone conversation
Receptionist (Opening a register of employee contact information): Sir, can I have your cellphone number...in case someone wants to contact you
Moi: No, sorry, I don't have a mobile phone
R (Incredulous look on his face): Sir, but we'll keep it confidential...won't give it to anyone
M: No, really, I don't have a mobile phone!
R: Sir, but we need it for our records...
(At this time a 'worker' walks in carrying a heavy case. He keeps it on a table nearby, fishes out a mobile from his pocket and dials...)
R: Sir, even *he* has a cell phone...
M (big smile on my face): Well, OK...what you mean by that!?
R: Sir, you *really* don't have a mobile?
M: No, *really*, I don't have a mobile...do you want to check my bags now to confirm it?
R: No...sir, sorry...
(Moi walks out of the door...the 'worker' suspiciously follows me out, staring at me most of the time...)
Sunday, October 22, 2006
The biggest obstacle to Time travel
Pseudo logic.
This is the kind of thinking that pervades most of Indian life today. I'm subscribed to an orkut community on Calvin and Hobbes, on which someone posted a question wondering what Calvin's star sign was. Here is what is possibly the 'best' answer:
[quote]
he has to be an Aries..my guys an Aries...n he is no less than Calvin....n he adores him a lot...so gotta be Aries
[/quote]
What astounding logic! Calvin has to be an Aries, because 'her guy' is an Aries and he is adores Calvin. Haven't these people heard of 'evidence'? Or 'scientific enquiry'? (The second question was for the Caesarian idiot.)
Sunday, October 15, 2006
Online literature
http://www.online-literature.com/
Also, visit the Distributed Proof readers page:
http://www.pgdp.net/c/
How to become an acclaimed Indian author
- Be of Indian origin. (Well, this one is a no-brainer.) At the least, fake it.
- Immigrate to the US, or to the UK. Or better still, have your parents immigrate when you are hardly speaking
- Write about one of the following topics:
* How your Grandmother was married off at 12
* How your mother (or yourself) was never allowed to date a guy
* How your grandparents arranged your parents' marriage
* How your grandfather always had the last word in everything
* How your grandmother, mother, aunts behaved
* How you never kissed a guy till you reached the US (or the UK)
- Now, praise the US and the UK for being the free societies they are, in which, thanks to the grace of the Lord merciful, you can actually kiss a guy! (Even if you are one!!!)
- Lambast western capitalism. Fly in business class to attend World Social (sic) Forum meetings to rant against the wealthy.
- Wait until the Guardian or the New York Post publishes a review of your work.
Lo and behold, in no time, you'll be one of the grand candidates for the Booker, the Nobel, or what have you.
Cosmos
Wednesday, October 04, 2006
I told you so
How did I do it!?
Sunday, October 01, 2006
Where is my post?
I also looked for a feedback link to give them a piece of my mind, but that doesn't seem to be present, either!!!
What is happening, Google!?
(For the skeptics, try this: Search for "Gandhi" in my blog. You'll see one result with the title "Nostalgia updated". Then, go to this link:
Saturday, September 30, 2006
Blow hot, Blow cool
Sunday, September 17, 2006
Christopher Alexander
Bangalore International Marathon 2006
Sunday, September 10, 2006
Technology notes - Vol I, Ed I, Sept 06
* Why hotmail sucks
I've been using hotmail since the time it was the only free, web-based, e-mail service provider, way back in the mid-1990s. Even when I got my Yahoo and Gmail accounts, I continued to use my hotmail account for some of my e-mail. Of late, Microsoft has paid more attention to Hotmail, and I now have like 2GB of free storage, and a whole new interface that looks just like Outlook. While the extra storage is welcome, and is a marked improvement over the 2MB I had earlier, the new interface, simply sucks.
First, it takes a long while to load. Then, I still need to click on "Inbox" to access my e-mail. Why can't Hotmail (and Yahoo) simply take me to my Inbox? Do I login to check my Junk e-mails, or do I login to check my Inbox!?
My next peeve is the usage of screen real-estate. The "Windows Live" banner takes away 25% of screen space, and there is a lot of additional white space surrounding it, which makes my e-mail pane really small and forces me to do a lot of scrolling. This is another illustration of forgetting user needs over self-aggrandization. It doesn't look like the product has seen a lot of usability testing.
Finally, there is the point about Junk e-mail filters. Hotmail's is probably the worst in the business. There is hardly any filtering done and all the junk simply lands up in my Inbox totally reducing my effectiveness in processing my e-mail.
Anyways...
* Unicks rocks
Heh heh. Did I just hear a "I told you so" from somewhere in Sahakaranagar, Kansas City, LA and Singapore? All I can say in response is that I believe in the "horses for courses" theory. There are things about Windows that are nice, and the same holds for Unix. But anyway, coming to the point of this post - the problem with WYSIWYG (What You See Is What You Get) is WYSIWAG (What You See Is All You Get). No designer can design a GUI for doing everything a user may want - but a group of well written tools that confirm to an interface can rock your world.
How did I realize this? Well, recently, I had to create a password file for a project I'm working on. The file stored a triple - username, password and a user directory for users enrolled in the system. For bootstrapping, I already had a directory tree with a lot of user directories listed, so I wanted to write a script that'll run through the tree, and dump each folder name into a text file in the format X,
Question was, how can I do it easily on Windows? Well, a small C program might do the trick, but then I need to check for file handles, and stuff like that which is clearly not an option. DOS shell scripting is too primitive - for example, the for loop can only execute one command! So, if you want to execute multiple commands, you need to put them into a separate batch file! And I don't know anything in VB, so there was no way I was going to write my 'program' in VB script.
I was in a quandary, cursing myself for not having a Unix shell somewhere, when cygwin came to my rescue. One install and two lines of shell script later, my password file was ready!
So there. While GUI's have played a very important role in making computers more accessible, a shell prompt is indispensable if you are doing serious programming, as I realised after this experience.
On an aside: Eric S Raymond has these fun Unix Koans, with the one about GUI's being the best. Read them here.