Monday, June 22, 2009

Where the mind is with fear

Excerpts from two articles in hindustan times written by Manas Chakravarty and Indrajit Hazra.

We are a non-violent people. We hate it when people resort to violence. In Lalgarh, the tribals have all along been very peaceful. True, the primary health centres in their villages didn’t have any medicines and doctors from the towns rarely visited them. So what’s new? Many people saw their sick loved ones die as they made the long trek to the district hospital from their villages over the dirt tracks that pass for roads. But there was no violence.

Finding drinking water in the summer has always been a problem in the villages. Ponds have had to be used for both drinking water and for bathing. Children have often suffered from diseases as a result. But the tribals of Lalgarh are used to their children dying early. They never complained.

Most villagers in the region are caught in a vicious poverty trap. Malnutrition is rife. Doctors from Kolkata who recently visited the place said that what the people needed was not pills but food. Nobel Laureate Amartya Sen once said that hunger was “a quiet violence”. He meant that if a state can’t feed its people it’s guilty of violence towards them. But he was just twisting words to suit his theory.

Indians are malnourished not just in Lalgarh, but all over the country. A recent Unicef report said that 405 million people in South Asia suffered from chronic hunger. India’s rank in the Global Hunger Index of 88 countries is 66, below several African countries. So there’s nothing special about Lalgarh. Also, in spite of being hungry, the people were peaceful. Being peaceful is the most important thing.

Every election, the Lalgarh tribals voted the Left to power in the hope that these self-proclaimed friends of the poor would help them. But in spite of the promises, nothing happened. The money from the anti-poverty programmes never reached them, the police occupied the buildings that were supposed to be clinics and the irrigation canals dried up. They watched in silence as the local party bosses built mansions and businesses for themselves and their cronies.

For more than 60 years after independence, they patiently waited for better times. And it’s not that the country wasn’t doing well. Some of them went to the grand city of Kolkata and came back with wondrous tales of shining malls and air-conditioning and taps that never ran dry. They were right to wait. For as we all know, it’s just a matter of time. Once the Sensex goes up enough and CEOs start earning several crores a year and India becomes a world power, then money will trickle down and reach places like Lalgarh. True, generations may be destroyed before that happens. But that is not violence.

Some things do seem to suggest, at first glance, a hint of brutality. Take the routine manner in which the police pick up tribals for questioning and then torture them. But that’s required for the police to conduct their investigations. How else will they protect the people from the Maoists? True, tribals in Lalgarh lived in constant terror of the police and of the party thugs. But that is not terrorism.

Of late, though, the people of Lalgarh have been behaving very oddly. They drove the police and the party bigwigs out of the area and torched their houses. They have started digging wells, setting up schools and running health clinics, without any help from the state. They have formed a Committee against Police Atrocities which wants electricity in their villages and roads and bridges to be built. Worse, they even want the politicians to apologise! Very strangely, after all these decades, they seem to be running out of patience.

What on earth is going on? Outsiders must be inciting them to violence. We are a peace-loving people and must stop this violence at once. Don’t worry, our tribal brothers, our troops are on their way to save you.

--Manas Chakraborty

The conditions that have led people to fall for the seductive charms of violent revolt were being pressure-cooked for years. An administration had long forgotten to recognise, never mind keep, its part of the bargain with the very people who had given the CPI(M)-led front its generational power and the pelf that comes with it.

Take the case of Kuna Sabar, a resident of Darra village in West Midnapore’s Belpahari sub-district. On December 22, 2007 — when a million miles away in Calcutta, people were frantically speculating about the return of Sourav Ganguly in the Indian cricket squad — Sabar died of hunger. If his cause of death (confirmed by a doctor) wasn’t shameful enough for a government that took pride in prioritising the concerns of its rural masses, the subdivisional officer’s response to the death was horrific. He said that documents showed that Sabar had bought “8 kg rice, 2 kg wheat and 2.4 kg sugar” from the ration shop “between December 2 and December 16”. Effectively, he was telling Sabar’s widow that his death must have been her husband’s fault.
Sabar is just one statistic. During 2004-2005, a year before the Left Front won the 2006 assembly polls by a landslide, dozens of ‘hunger deaths’ across Bengal were recorded by the Asian Human Rights Commission. And these sordid deaths were overwhelmingly because of utter administrative failures. Till January 2008, only 34 people in West Midnapore, for instance, had received the minimum 100-day job and corresponding pay under the National Rural Employment Guarantee Scheme. The remaining earned wages for an average of 11.6 days.

In a universe where bureaucrats, academics,policemen, the cogs and wheels of administration and governance are deeply entrenched in ‘party affiliations’, accountability can only be a silly theological notion for bourgeois ‘management types’. It is this affliction of apathy — and of genuinely being stumped about why people might be enraged about pointless deaths, of living in life-defying poverty — that really makes for something rotten in the state of Bengal.

What applies to administrative ignorance (an evolutionary byproduct of administrative apathy) holds true for a police force that simply doesn’t know anything about crowd control or how to tackle a riotous mob. Either the police do nothing (as they did when the Maoist-goaded People’s Committee Against Police Atrocities in Lalgarh first marched to the CPI(M) zonal headquarters in Dharampur last week to destroy any signs of the CPI(M)/administration and attack party workers), or they shoot first and ask questions later (as they so memorably did in Nandigram on March 14, 2007).

Only in Left-ruled Bengal do you get armed partymen being regularly and openly sent to ‘capture and liberate’ towns and villages that have fallen in the ‘wrong hands’. The police arrive at the scene later, if the comrades and their local commissars have failed to do their job. As this is being written, the state government has finally let the police and security forces enter Lalgarh to ‘reclaim’ it from the Maoist ‘invaders’. It will remain unclear for a long while whether this reclamation is being conducted at the behest of the CPI(M) or the people of Lalgarh, considering that the concerns of the two are different and almost diametrically opposite.

--Indrajit Hazra

Wednesday, June 03, 2009

During Microsoft Teched at Hyderabad, there was a contest for the top architect which I contested.
The following images are of the slides I sent and the text is basically the audio I sent.

High Overview


UseCase




Microsoft Solutions Architecture





Deployment


The first slide is a high level overview just for illustration purposes, so I won't delve into that. Let me speak of the Use cases which is in the 2nd slide.Here as I state a user or rather an authenticated user can vote, Mark Self as Candidate, sponsor someone else as candidate, view candidate info and so on. Ialso have another actor Candidate who extends from user and can upload content. I also have a external system who gets data and functionality from the system. To do so it pays to the system which I have assumed is done via a Payment Partner. The system also takes money when a user marks self as candidate and sponsoring another person.This is another assumption i have made.
Now to the solution Architecture, I have proposed a N tier application(in code) with complete seapration of UI, business logic, and data access logic. I follow the business facade pattern and will have a generated Data access layer where every method corresponds to one stored proc. Now one thing people might not like is the site having both a web client and a rich internet client. I like rich internet clients a lot and I think its usage could be a great plus in this site. I have suggested a web client to go with a rich internet app as well as it can then run on mobile browsers and on those browsers which do not have rich internet client framework.The rich internet client as well as the external services can connect directly to service layer to get the data.
Now if we go to the microsoft technology based architecture slide you will see that I have replaced all the technologies spoken earlier with the Microsoft technologies, Rich Internet Client has become Silverlight, the web client app has become ASP.NET MVC ( to mobile enable it , you just need to add the mobile browser definition files).I'm a great believer in software factories and so I have used the web service software factory with WCF in the service and business layer, the ADO.NET entity framework takes up the job of data layer along with data access application block which is heavily being used along with other application blocks in enterprise library cross cutting all layers for exception management, validation, logging, security, etc. I have proposed SQLserver as the dbas we are using .net and Microsoft's SQL client provider is super optimized for SQL Server.MS is supposed to come out with a rich internet client technology for mobile but as it is still in the pipeline( not even a beta release), I would like to first build the ria and even after it is ready if ms does not have the ria client for mobile browsers, I would create the web client, and my experience tells me that it will not require a heavy resource as the business logic has already been created.Finally security in WCF, to connect to silverlight u need to use basic http binding , so the security will have to happen at transport-level, HTTPS, IIS-based auth for the entire application and authentication outside of silverlight, but for b2b scenarios I suggest consider using messagebased brokered authentication with X.509 certificates with certificates the certificate issued by a commercial certificate authority.
Now for the deployment diagram, a little costly but I believe this is the best.
First there is the hardware firewall which will handle DDOS attacks, TCP flood, Malformed Packets efficiently as there is a dedicated processor in Hardware Firewall that handles all the filtering. If i use just Windows firewall and too many malformed requests come in, my Web servers CPU will be too busy saving me from those attacks then doing the real job like running my .NET code.My fire wall connects to a router or switch which has load balancing capability that evenly distributes traffic to my web servers. I had thought of firewalls with load balancing capabilities built in and with enough NIC to connect all my web servers but finally decided on the present architecture as i feel every device should do its own wotk and also this is perfect if the site is a hit and requires scaling up. I have seen many networks and web sites which have gone down for hours even a day because they did not have a backup, so I suggest each device should have a backup. So if the firewall goes down or has to be patched up, my backup can do its work.Note, the physical architecture is two-tier,the decision to have two tier architecture is due to speed. Since we don't store super critical information, we don't need to worry about Security as much as we would do if we were building a financial application.The servers should always run 64 bit windows as otherwise you cannot fully utilize the 4 GB RAM or more than that.The 64bit version of .NET framework is stable enough to run heavy duty applications. Some people have had bad experience running 64bit Windows on their personal computers, but 64bit servers are pretty solid nowadays. Web server layer contains three web servers in load balanced mode. Each web server hosts the exact the same copy of the code and other artifacts of the application that we have.Also our main users are coming from RIA and external systems which are any way going to be connected to the service layer but even if we only had a web client application, I would still do the same as a separate application layer has been proven to be a bad practice for high performance websites particularly the ones developed using ms technologies.even if you say that the webserver has no idea of the sql server,in modern applications, almost all operations are exposed via services. There's very little ad-hoc SQL query. So, this means, if someone can compromise the web tier, all the service methods are exposed to hacker and calling those service methods are not more complicated than calling SQL Server. IIS generates humoungous sizes of logs, and also we have the application logs been genrated by logging application block, my suggestion is to keep a large amount of space in the drive where the app is located as might need to store several weeks worth of IIS logs incase our internal systems to move those logs to somewhere else for reporting gets broken.
Now the webservers are also connected to the internal router. the db servers sit behind it. I know that some people would say that a firewall is required to keep the webservers in dmz but my exp is that this firewall becomes a bottleneck for all traffic between web and database servers. What I do is use a router and open only port 1433 to pass anything through the router from a web server to any DB server.I have been told by many security experts that if you can hack and get the web.config,everything else whether dmz or anything else is of no use.I have suggested windows clustering witha active /passive cluster but if the site scales up, we can make it 2 active /passive cluster. I have also suggested SAN for the main db data as windows clustering needs it(very costly i know, but if the site is big just worth it) but only local raids for backups and reporting data. Finally I have suggested MDFs and LDfs kept in spearate disks with RAID10 for storing MDFs where the read data is normally kept and RAID1 for LDFs which contain the high write scenarios.

Sunday, May 31, 2009

Ashokan Rock Edicts

There are Asokan edicts scattered over more than 30 places in India, Nepal, Pakistan and Afghanistan, in the Brahmi script. The languages they use are ancient Magadhi and Sanskrit, though one bilingual edict in Afghanistan is reportedly in Aramaic and Greek! There are 14 big rock edicts, seven big pillar edicts, minor pillar and rock edicts and the Kalinga rock edicts.
Rock Edict 2 says, ‘Everywhere within Devanam-piya Piyadassi’s realm and among the people beyond the borders, the Cholas, Pandyas, Satya-putras (Konkan), Kerala-putras, as far as Tamraparani (Lanka) and where the Greek king Antiochus rules, and among his neighbours too (Northwest Frontier), Piyadasi has arranged for two kinds of medical treatment: for humans and for animals. Wherever suitable herbs are not available, I have imported and grown them.’
Yes, better health, infrastructure and so on. But above all: law, order and justice. Asoka’s first rock edict says: Esahi vidhi ya iyam, Dhamma palana, Dhamma vidhane , Dhamma sukhiyana , Dhamma gotiti
‘For this is my rule: rule by the law, of the law; prosperity by the law, protection by the law.’

Sunday, May 24, 2009

Microsoft® Operations Framework (MOF) 4.0 delivers practical guidance for everyday IT practices and activities, helping users establish and implement reliable, cost-effective IT services.
Also check out Planning for Software-plus-Services: A MOF Companion Guide.
User Experience 2.0 : Any User, Any Time, Any Channel

Monday, May 11, 2009

"The other day I had this idea, what if I were to take all the concepts I write, speak, and consult about and turn them into a concept map. That might help me explain how things like messaging, unit of work, and exception management work together and why. It also shouldn’t be too much work. Or so I thought.
I started out with a blank piece of paper, and this is what happened:" -Udi Dahan

Source: http://www.udidahan.com/2008/08/04/distributed-systems-concept-map/

Tuesday, April 28, 2009

Gaming The System

I read an excellent article at wired in their security matters section by Bruce Schneier.

Uncle Milton Industries has been selling ant farms to children since 1956. Some years ago, I remember opening one up with a friend. There were no actual ants included in the box. Instead, there was a card that you filled in with your address, and the company would mail you some ants. My friend expressed surprise that you could get ants sent to you in the mail.
I replied: "What's really interesting is that these people will send a tube of live ants to anyone you tell them to."
Security requires a particular mindset. Security professionals -- at least the good ones -- see the world differently. They can't walk into a store without noticing how they might shoplift. They can't use a computer without wondering about the security vulnerabilities. They can't vote without trying to figure out how to vote twice. They just can't help it.
SmartWater is a liquid with a unique identifier linked to a particular owner. "The idea is for me to paint this stuff on my valuables as proof of ownership," I wrote when I first learned about the idea. "I think a better idea would be for me to paint it on your valuables, and then call the police."
Really, we can't help it.
This kind of thinking is not natural for most people. It's not natural for engineers. Good engineering involves thinking about how things can be made to work; the security mindset involves thinking about how things can be made to fail. It involves thinking like an attacker, an adversary or a criminal. You don't have to exploit the vulnerabilities you find, but if you don't see the world that way, you'll never notice most security problems.
I've often speculated about how much of this is innate, and how much is teachable. In general, I think it's a particular way of looking at the world, and that it's far easier to teach someone domain expertise -- cryptography or software security or safecracking or document forgery -- than it is to teach someone a security mindset.
Which is why CSE 484, an undergraduate computer-security course taught this quarter at the University of Washington, is so interesting to watch. Professor Tadayoshi Kohno is trying to teach a security mindset.
You can see the results in the blog the students are keeping. They're encouraged to post security reviews about random things: smart pill boxes, Quiet Care Elder Care monitors, Apple's Time Capsule, GM's OnStar, traffic lights, safe deposit boxes, and dorm -room security.
The most recent one is about an automobile dealership. The poster described how she was able to retrieve her car after service just by giving the attendant her last name. Now any normal car owner would be happy about how easy it was to get her car back, but someone with a security mindset immediately thinks: "Can I really get a car just by knowing the last name of someone whose car is being serviced?"
The rest of the blog post speculates on how someone could steal a car by exploiting this security vulnerability, and whether it makes sense for the dealership to have this lax security. You can quibble with the analysis -- I'm curious about the liability that the dealership has, and whether their insurance would cover any losses -- but that's all domain expertise. The important point is to notice, and then question, the security in the first place.
The lack of a security mindset explains a lot of bad security out there: voting machines, electronic payment cards, medical devices, ID cards, internet protocols. The designers are so busy making these systems work that they don't stop to notice how they might fail or be made to fail, and then how those failures might be exploited. Teaching designers a security mindset will go a long way toward making future technological systems more secure.
That part's obvious, but I think the security mindset is beneficial in many more ways. If people can learn how to think outside their narrow focus and see a bigger picture, whether in technology or politics or their everyday lives, they'll be more sophisticated consumers, more skeptical citizens, less gullible people.
If more people had a security mindset, services that compromise privacy wouldn't have such a sizable market share -- and Facebook would be totally different. Laptops wouldn't be lost with millions of unencrypted Social Security numbers on them, and we'd all learn a lot fewer security lessons the hard way. The power grid would be more secure. Identity theft would go way down. Medical records would be more private. If people had the security mindset, they wouldn't have tried to look at Britney Spears' medical records, since they would have realized that they would be caught.
There's nothing magical about this particular university class; anyone can exercise his security mindset simply by trying to look at the world from an attacker's perspective. If I wanted to evade this particular security device, how would I do it? Could I follow the letter of this law but get around the spirit? If the person who wrote this advertisement, essay, article or television documentary were unscrupulous, what could he have done? And then, how can I protect myself from these attacks?
The security mindset is a valuable skill that everyone can benefit from, regardless of career path.

Friday, April 10, 2009

I used to work on LAMP before moving to the microsoft platform. Sergey Solyanik did the same and his post on the subject is just... hum.. pragmatic! Here are my favorite parts of the post:
(...) "First, I love multiple aspects of the software development process. I like engineering, but I love the business aspects no less. I can't write code for the sake of the technology alone - I need to know that the code is useful for others, and the only way to measure the usefulness is by the amount of money that the people are willing to part with to have access to my work.
Sorry open source fanatics, your world is not for me! "(...)

Tuesday, April 07, 2009

Navigate the cloud computing labyrinth Make an educated decision about the best cloud computing platform for your application
Is there value in cloud computing? Cloud computing and its impact on the future of architecture
The role of Software as a Service in cloud computing
Connecting to the cloud, Part 1Leverage the cloud in applications :Take advantage of the hybrid model
Make dashboards with XQuery Present business data with a Web-based dashboard
EXIST Open Source Native XML Database
XQuery 1.0: An XML Query Language
XML Path Language (XPath) 2.0

Monday, March 30, 2009

The tale of two ladies


Two news items last week caught my eyes. One on a minister and another one on a sr manager in a software firm.

'Last time I checked my calculator-cum-clock, there was a biggish difference between ‘five minutes early’ and ‘90 minutes late’. I also know by instinct and experience that five minutes early gets me a different kind of look from my boss than the one in which I arrive 90 minutes late. It now seems that my being able to tell the difference between the two time durations is a gift. Last week I realised that there are some unfortunate people out there suffering from the debilitating side-effects of Ministerialitis — the crippling ailment that makes Ministers and
other VIPs believe that the world revolves around them. It is with this knowledge that I feel humbled by the fact that when I’m late, I know I’m late. Especially, when I’m late by a bloody hour and a half.

So my heart goes out to Women and Child Development Minister Renuka Chowdhury. Being a Minister makes most mortals — especially those whose Ministerial functions involve social development and much radiant smiling — extra-susceptible to believing that they are popular enough to be forgiven for any sort of transgression.'-Indranil Hazra

The second story is about getting duped by a tantrik.The woman, a computer engineer and employed as manager in a city-based software company is also daughter of a retired assistant commissioner of police.The tantrik operating his black magic business from multiple locations in the city had placed advertisements about his ‘powers’ in newspapers including a vernacular daily stating that performing a certain puja would solve all problems. After noticing the advertisement, the victim had approached him. However, he had convinced her into believing that he was capable of fulfilling all her wishes and duped her into believing that sacrificing a rhinoceros would remove all obstacles and help her find a match within a week and also promised the victim that he would go to Uttar Pradesh to catch a rhino.The lady is said to have paid Rs 2.95 lakh to perform the puja.

The victim paid another visit to Shah a week later but he was not traceable. She then lodged a complaint with the police and the police caught the scamster obviously because of her father's connections.But what of the woman? How could she believe that a rhino sacrifice would help her find a man?

What puzzles me with this case, as with any other case pertaining to tantriks and babas fooling innocent victims, is what exactly was the crime here ?
If it is sweet-talking a victim into parting with cash, then every advertisement, sales and marketing gimmick does exactly that.
If it was giving false promises without any logical reasoning, then every puja that is done has no guarantee anyway.
If it is the fact that she did not get married after doing this, then there would be more than billion cases against gods and goddesses in India; and a few millions against self-proclaimed godmen and sadhus.
If it is the fact that he killed a rhino, then it looks like he didn’t take the pains to go to UP and kill a rhino after all. So he comes clean on that account.
If the amount of Rs. 2.95 lakhs is the issue, then is Rs. 100 okay ? Rs. 1000 ? Rs. 100000 ? What is the cutoff before it is booked under IPC section 420 ?
All I feel is that the law shouldn’t be a cushion for human stupidity; and if this tantrik is a criminal under the law, so are all the above people.

Sunday, March 15, 2009

Hope you’re having a wholesome breakfast today, Mr Prime Minister.

I have been reading for some time the excesses of government in this country on common man. I intend to search for such articles and put them here. I read an article by Indrajit Hazra in Hindustan times on a true non violent struggle by Irom Sharmila Chanu who hails from Manipur.

"If you’re really serious about fasting, there can be no better motivator than the Government of India. Our good old national institution has worked wonders by pushing someone to forego a proper meal since November 2000.
Irom Sharmila Chanu is the kind of person who usually makes me deeply suspicious of human goodness. I mean, what kind of person would go on a hunger-strike for eight years, demanding the repeal of something as abstract-sounding as the Armed Forces Special Powers Act (AFSPA)?
Irom Sharmila’s story is as much about one Manipuri woman’s battle against the worst possible adversary — irrelevance — as it is about practising the lost and powerful art of satyagraha, non-violent protest, against the very people who make a huge reverential show of this invention by another Indian political activist. Irom wants the AFSPA to be repealed from her home state, Manipur.
So what is this thing that goes by the acronym-resisting name of AFSPA? It’s a law that was enacted in August 1958 that grants the military extraordinary powers to arrest without a warrant, give out shoot-to-kill orders and destroy property in ‘disturbed areas’. Most magically, it protects military personnel from prosecution against any crimes. Passed as a short-term measure to take on separatists, it became a protective cloak for extra-judicial killings, torture, rape and ‘disappearances’.
On November 2, 2000, ten people standing at a bus stand were shot dead at Malom, Manipur, by members of the Assam Rifles in retaliation to a bombing by insurgents. Irom Sharmila saw the pictures of the dead in the next day’s newspapers and lost her appetite. Since then, she has been trying to get the AFSPA scrapped in Manipur by the only way she thinks will get the attention of the powers-that-be in Never-Neverland Delhi: by going on a fast.
Well, she’s been dead wrong, hasn’t she?
Arrested and released and re-arrested over the last eight years on charges of attempted suicide, Irom has managed practically nothing, even as she has been force-fed a liquid diet through her nose all these years.
In 2004, after the custodial killing of Manorama Devi (remember those naked Manipuri women with the banner carrying those ‘inviting’ words, ‘Indian Army Rape Us’, outside the Assam Rifles headquarters in Imphal?), the tremendously decent Prime Minister Manmohan Singh set up the Justice B.P. Jeevan Reddy Committee to look into the act. The committee presented its report to the PM a year later in which it stated that the AFSPA “should be repealed... The Act, for whatever reason, has become a symbol of oppression, an object of hate and an instrument of discrimination and high-handedness.”
Apart from lifting the Act from municipal areas in Manipur, the AFSPA firmly remains in place in the state (even as Jammu and Kashmir Chief Minister Omar Abdullah stated last month in the state assembly that he would repeal the AFSPA in J&K “if the situation continued to improve”).
Irom Sharmila was released last Saturday, the day before International Women’s Day. She was re-arrested for attempted suicide on Monday, the day Jayalalithaa didn’t eat a morsel. Yesterday, Irom Sharmila turned 37 in prison.
Hope you’re having a wholesome breakfast today, Mr Prime Minister."

Saturday, March 14, 2009

Politicians and horse trade is passe, politics and horse races are in


Read an excellent article by Manas Roy in hindustan times.
With the polls around the corner, questions about the unholy nexus among money, criminals and elections are once again being raised. One way to clean up the process could be the State funding of elections. But while that may level the playing field and help a few deserving candidates, the problem is where will the state get the money? Nobody wants to raise taxes. We like clean elections, but we don’t want to pay for them.
Thankfully, I have a simple scheme that will not only solve the whole problem of election funding but will also ensure that we have a 100 per cent voter turnout.
How can the public be persuaded to part with money to set up a fund for fighting elections? Obviously they will only cough up the cash if they can get something in return. Why, for instance, do hordes of people turn up at the race course every weekend and part with large sums of money? Because they believe they have a sporting chance of getting a return on their investment.
And in the process, they also contribute to the upkeep of the race course. I know, because I used to donate a substantial part of my salary to the Royal Calcutta Turf Club in my heydays. So all that we have to do is to replicate the race course business model for elections and voila, the election funding issue is solved.
One of the ways you can bet at the races is on the tote — short for totalisator. Here’s how it works. Suppose there are five horses in a race. Let’s say you bet Rs 100 on Horse Number 3, because you know its owner has come to the races wearing a three-piece suit, which means he wants to be photographed with the winning horse and the trophy. The horse is also running in the third lane, which, combined with the fact that it is running in the third race, makes winning almost a sure thing.
But I digress. Let’s get back to the math. Say 99 other savvy punters also bet Rs 100 each on Horse Number 3. Let’s assume that the total money bet is Rs 1 lakh. If Horse Number 3 wins, this total amount could be divided as follows: 30 per cent or Rs 30,000 to the government for taxes, 10 per cent or Rs 10,000 to the race course authorities and 60 per cent or Rs 60,000 to the 100 winning tickets. So you get Rs 600 for your Rs 100 bet.
Now extend this model to the elections. Every constituency could put up a list of candidates and ask the voters to bet on them. The Election Commission can then set aside a small percentage, say 10 per cent of the total kitty for an election fund, while the remaining 90 per cent will be paid out to those who bet on the winning candidate. Betting tickets could be sold from every post office and bank in the country. The amount of bets on each candidate could be broadcast daily on TV, allowing voters to judge the odds.
Apart from bets on the winning horse… er… candidate, we could also have bets on the runner-up. We could even have a jackpot, where voters correctly predict the winners in five contests. Bets could be for the largest party, the winning alliance, the choice of prime minister — the possibilities are endless. Forget election funding, the money could easily cover the entire fiscal deficit.
That’s not all. People will start taking a keen interest in the political process, attending every political meeting zealously, weighing the chances of the rival candidates, studying their form and attempting to sway others to vote for the candidate of their choice.
On election day, there will be long queues of voters, all of them eager to put their votes where their money is. Indian democracy will not only be truly participatory, it will also be great fun. In fact, it’s likely to be such a big hit we’ll be clamouring for elections every quarter.

Thursday, March 12, 2009

Functional testing for Web applications Using Selenium, Windmill, and twill to test Google App Engine applications
Use XQuery for the presentation layer Separate concerns without being tied to a particular language

Tuesday, February 10, 2009

Quotable Qoutes

Men make their own history,but they do not make it just as they please; they do not make it under circumstances chosen by themselves, but under circumstances directly encountered, given and transmitted from the past. The tradition of all the dead generations weighs like a nightmare on the brain of the living.
-Karl Marx

I have not failed 10,000 times, I've successfully found 10,000 ways that will not work.
-Thomas Edison, inventor of over 1,000 devices including the phonograph

Whether India is to be yours or mine, whether it is to belong more to the Hindu,or the Moslem, or whether some other race is to assert a greater supremacy than either- that is not the problem with which Providence is exercised. It is not as if, at the bar of the judgement seat of the Almighty, different advocates are engaged in pleading the rival causes of Hindu, Moslem or Westerner, and that the party that wins the decree shall finally plant the standard of permanent possession. It is our vanity that makes us think that it is a battle between contending rights- the only battle is the eternal one between Truth and untruth.
-Rabindranath Thakur, 1908

The political civilisation which has sprung up from the soil of Europe and is overrunning the whole world, like some prolific weed, is based on exclusiveness.It is always watchful to keep at bay the aliens or exterminate them. It is carnivorous and cannibalistic in its tendencies, it feeds upon the resources of other peoples and tries to swallow their whole future.It is always afraid of other races achieving eminence, naming it as a peril, and tries to thwart all symptoms of greatness outside its own boundaries, forcing down races of men who are weaker, to be eternally fixed in their weakness.There is one safety for us upon which we may count, and that is, that we claim Europe herself as our ally, in our resistance to her temptations and to her violent encroachments; for she has ever carried her own standards of perfection,by which we can measure her falls and gauge her degrees of failure, by which we can call her before her own tribunal and put her to shame.
-Rabindranath Thakur, 1916

Sometimes I think the surest sign that inteligent life exists elsewhere in the universe is that none of it has tried to contact us.
-Calvin and Hobbes

Did you know:- Roman author Pliny had complained of the drain of gold to India in ancient times.

Any man who can drive safely while kissing a girl is simply not giving the kiss the attention it deserves.
-Albert Einstein

Consciousness is a being, the nature of which is to be conscious of the nothingness of its being
-Sartre

Saturday, January 31, 2009

What is required to be called a professional?



Recently I read an excellent article written by Subroto Bagchi on what it will take to be a great professional in the days to come. This is a question that I have had as well. As he rightly says these days almost everyone has a digital SLR. Since everyone can take great pictures these days, photo-shop them, and freely upload on the Internet, what is the difference between them and professionals such as Dewitt Jones or Raghu Rai? This is a question equally relevant for doctors, architects, software engineers, lawyers and dress designers.
He states that according to Howard Gardner (“The Harvard professor who has written 20 books and received 21 honorary doctorates; the same man who questioned the role of IQ in determining intelligence. In fact, it was he who had propagated the idea of multiple intelligence.”): "whatever may be your profession, to succeed in the world ahead, you need to master the five minds of the future…"

"The first is the mind of the discipline. You may be a trained photographer or a qualified surgeon. It does not matter. Your professional qualification is not what will make you a professional. You need to devote yourself to your profession of choice for at least 10 years before you can understand its nuances.
Empirical studies indicate that, across disciplines, amount of time is a minimum requirement. You have to give yourself to the profession as against looking at it just as a means to a livelihood, a career or a job. You need to build affection for your profession and a long view of time.
The second is the mind of synthesis. The future requires the capacity to build abstractions. In other words, you need the mind of synthesis. It is about developing an understanding of ideas, concepts and problems in an interdisciplinary manner while building depth in one's own discipline. A great shot on the outskirts of Delhi requires an understanding of where Delhi comes from historically.
The third mind is the creative mind. Clients do not like the tried-and-the tested solutions any more because those solutions are simply not innovative enough. Precisely because they are tried and tested, they have become the past.
Competitive advantage is about creativity, and creativity is about taking risks. The creative mind is about building the capacity to answer what is new and what is different about the solution you are suggesting every time.
The fourth mind is the respectful mind. In the future, all problems will require interdisciplinary solutions. Whether it is about negotiating a nuclear treaty or removing a cancerous cell from the pancreas, if anything qualifies to be called a problem, then chances are high, the solution would have to be interdisciplinary.
That means experts from different fields will have to listen to each other, learn from each other, collaborate while they compete, disagree without being disagreeable and then put multiple minds together, build consensus and emerge with the strength of the respectful mind.
Why do you think one CEO fails and another succeeds in taking a militant trade union along? Why do you think one educationist prevails over others while settling the contents of a high school textbook on national history? Why one physicist is able to get agreement on making a certain standard universally acceptable in a transnational negotiation involving competing interests? Those who succeed have the respectful mind
Finally, great professionals of tomorrow will need to understand and master what Howard Gardner calls the ethical mind. This ethical mind is about the capacity to certify the completion of one's own work. That rules out most people who need someone else to supervise them. Whatever may be your profession, to be called a professional, you must master all the five minds of the future and only then can you be globally accepted.
But why should we worry about being globally relevant? Because the benchmark no longer remains local. The benchmark is now Dewitt Jones."

Wednesday, January 28, 2009

We and POLITICS

I read two excellent articles on politics and our role in them written by Siddharth D. Sanghvi and Swati Ramanathan.
Siddharth wrote “In India, politicians have come down with politics as if it's a sexually transmitted disease; an affliction, a bane. Under the guise of governance, genocide, rape, torture have become institutionalised in India, all instruments in our War against Terror.
Image associations with politicians scare me. Say Narendra Modi and Jagdish Tytler and I see flames. Say Raj Thackeray and I see broken glasses. Say Lalu Prasad and I see cowsheds of cash.
While all countries have corruption in their system, only India has a system within the corruption; our system is officially a sleaze ecology. For when our politicians are not whorishly auctioning their votes on nuke deals, they're brokering development contracts with builders' lobbies.”
Aristotle was right when he wrote that "to live an ethical life it is impossible to not engage in politics".
But as Swati says “ mere 9 per cent of the urban youth vote. This political abstinence by our youth, in a country with 47 per cent of our population under the age of 20, does not bode well for the future health of our young democracy. We are in danger of creating a permanent and large constituency of non-voters.
Engaging in the politics of our city, state and country, is engaging in nation building. Yet most Indians, young and old, prefer to stay away from politics, viewing it as a vehicle of corrupt power and crime. Engaging with government is anathema to most Indians.
Faced with a choice, we prefer to go over, under and around government, anything rather than engage with it. While we do volunteer for causes, the average Indian feels that he or she has little political or social impact beyond the occasional power trip to the ballot box."

British sociologist Herbert Spencer who coined the concept of social Darwinism argued that the same forces of natural selection guiding evolution should apply to human society too.I read a column by Indrajit Hazra where he wrote “You, model citizen with the well meaning furrowed brows, may well ask why there is no similar natural selection for our political leaders. Why aren’t the incapable, power’n’pelfwallahs simply kept out of the system? Isn’t evolution all about filtering out the bad and keeping the good, until we get the super-duper, long grained variety of political leadership.No, evolution- or in Darwin’s words, ‘descent with modification’- isn’t about constant betterment. There’s nothing qualitative about who stays on and who goes. One survives by doing whatever it takes to survive- and that’s determined by whatever we allow as survival tactics.So will being a performing politician become a necessary requisite for politicians? Well that’s purely up to us who’ll be doing the ‘selecting’ in the April elections. Ultimately, we’ll get the political leadership we’ll be allowing to survive down the years.”
Going back to what Swati wrote, “Looking towards the US again, volunteering is considered a bedrock of community building, inculcated through schools and colleges. In his campaign speech, Barack Obama promises a $4,000 tuition credit for students who commit time to community service.
More than 60 million average Americans commit volunteer time. Youth volunteering in the US is estimated to be 36 per cent between the ages of 15 and 25 and more than half of those volunteering firmly believe that they can make some difference to the community they live in.
The youth that volunteer in political organisations—13 per cent-believe they can make a difference on various social or political issues. Studies in the US indicate that youth are twice as likely to volunteer, engage in politics or vote, when they grow up in a household where someone volunteers.
The good news is that volunteerism as a concept is not new in our society and is deeply embedded in social structures, building a stronger sense of community and trust. We continue our social networks and support structures in our cities, but these networks are not concerned with politics.
The reality is that we cannot do away with politics if we are to solve our overwhelming social issues-poverty and crime, for example.
In India, we have long been used to a relationship of patronage, ruled by feudal lords, maharajas, and the Raj. We have yet to embrace the power of the citizen in a democracy. We are a billion voices with the power of a billion votes at our command.
Our right to vote is the privilege of our democracy and a civic duty. Yet, we have reduced our role to that of a complainant and critic of our governments. Most of us do not invest in our political identity or political beliefs.
In striking contrast to what we are currently witnessing in the US, average citizens and students in India do not campaign for political candidates, or attend public meetings, or concern ourselves with public policies. We see our role of "citizen" through a limited lens-paying taxes and obeying laws. Our political identity of "voter" is supremely undervalued.
We are comfortable forming networks to engage in music, religion, business, rotary, social service, but are uncomfortable about engaging in politics. We shun politics with an unusual righteousness and starve our youth of civic role models.
The protestation that corrupt candidates turn us off voting has become something of a convenient copout. Perhaps, we do not have good enough candidates because there are not enough good voters who care enough to cast their votes.
Clearly, our change is not going to be led by individual messiahs. But do we believe that one billion voices are powerless? Let's not get trapped into a nirvana fallacy, waiting for perfect conditions before we are willing to play our rightful role in India's political journey.
Our youthful demographic dividend has been hailed as an economic positive. Let's also consider it a democratic positive.
Turning 18 can become a milestone not just because it allows you a driver's licence, but also because it allows you the licence to vote. Will the youth lead our one billion voices out of political indifference?
We live in a country that demands so little from our citizens. Over 20 countries, including Australia, have introduced compulsory voting for its citizens. Singapore enrols all male citizens upon reaching 18 years, to a mandatory two years in national service under the Singapore Armed Forces.
Jury duty is mandatory in the US and can be deferred only twice. During times of war, all able young men have to register for the draft. We demand absolutely nothing of our citizens, of our youth, for the privilege of citizenship.
The spirit of service is what drives tall leaders around the world to do great things and average citizens to commit to causes of common good. It inspires individuals to look beyond themselves and empower others.
But in order to empower others we must be empowered ourselves. Let's begin with the simple act of voting.”

Sunday, January 25, 2009

Unleashing the Indian Entrepreneur



Over the past 200 years, these resources of the country have served the rest of the world. It is now time to serve the nation. Unlocking the potential of the nation is not rocket science. It can be achieved and fast, but only if the nation has the determination and the discipline to do so.
According to Jagdish. N. Sheth “one idea to unlock the country's potential is to ignite the Indian entrepreneurship from the bottom-up. Entrepreneurship is one of the most egalitarian and non-discriminatory traits. It transcends literacy, age, gender, caste and religion. It is possible to organize entrepreneurship at grassroots level. But, entrepreneurship cannot flourish unless the nation respects it, promotes it and makes good entrepreneurs its heroes, no matter what religion, caste they belong to. It will also require giving up orthodoxy or respect anchored to history.”

"Misers mistake gold for good, whereas it is only a means of obtaining it," said François de la Rochefoucauld 350 years ago. According to Dipak. C. jain it is the entrepreneur who most seems the antithesis of the skinflint. Rather than hoarding wealth, entrepreneurs try to generate more of it by using ingenuity, taking risks and going beyond conventional notions to offer solutions that improve life, influencing others to do the same. “The best go beyond themselves to focus on solving problems that make a difference for others. They aim to transcend traditional boundaries of business and geography to take a global perspective on the world, thereby improving their own and society's fortunes.”
However, Rohit Agarwal, CEO, Techtribe says “When we look at comparisons between the Silicon Valley and India, the latter is moving in the right direction although not completely there yet. The gaps exist in attitudes rather than infrastructure and availability of money.
For example, a majority of the best IT students from foreign universities would be driven to solve a major problem rather than make money. Their passions drive what they do professionally whereas here, entrepreneurs are more interested in making money rather than solving the problem.
The other pitfall is the reluctance, if not the inability, to take risks. Venture capitalists notwithstanding, this tendency prevents Indian entrepreneurs from stepping out on their own and changing the environment in the most fundamental way.”
Dipak speaks of wider media emphasis on entrepreneurship.” Newspapers and magazines should get more engaged and feature stories about entrepreneurs and business leaders who are making a difference. Articles that reveal how these people have achieved their success are especially helpful, as are pieces that discuss business strategy, since readers can then gain the inspiration and understanding to start their own ventures.
After all, the outcome is the sight, but the process to reach that outcome provides the insight.
Indians have entrepreneurship in their DNA. Unleashing that power requires dream, drive and a diploma. The Indian middle class will continue to grow so long as proper training and education is available to those seeking to better themselves.
With commitment from the Indian government to provide the foundations for economic growth, and in partnership with the nation's educational system and media leaders, the road to entrepreneurship has never been so open as it is today.”

Thursday, January 22, 2009

Tuesday, January 20, 2009

R&D


I recently read two excellent articles on investing in R&D by educational institutions as well as IT firms written by Dipankar Gupta and Shruti Maheshwari.
Dipankar believes that “If there is one big idea that India should pursue then that is of making this country a knowledge powerhouse. We set up several IITs, we have over 270 universities and famous institute of sciences, but we have forgotten to energise them with funds and enthuse them to do research.
All our ideas about modern knowledge come primarily from the West, and often do not suit our demands. We have millions who are sick and ailing, but we are yet to conduct appropriate research that could help them.
India may have more than 270 universities but by the most charitable ranking of the Times Higher Education Supplement, our IITs rank 50th in the world, the IIMs 84th, and the much talked-about Jawaharlal Nehru University a lowly 192nd.
We all know, or should know, by now that endogenous growth takes place when R&Dis locally produced and applied. If we take a look at Scopius or the Citation Index, Indian scientists and scholars have put up an unimpressive show. India figures badly in citations in Nature, the most acclaimed science journal. The country was not always this way. Indian intellectuals were prominent and, in many cases, at the cutting edge of knowledge well before Independence.
This was possible because people like Sir Ashutosh Mookerjee were at the helm of affairs on the educational front. In the 1907 convocation of Calcutta University, Mookerjee had this to say: “From now on the (Calcutta) University is not just an institution issuing certificates, nor is it even a conglomeration of colleges… It will be a centre of learning and the expansion of the frontiers of knowledge.”
Accordingly, he encouraged high science in Calcutta University. He never argued that since India is a poor country, it is not capable of sophisticated sciences. We are often fed such arguments today, particularly by a few UN agencies.
Mookerjee brought in people like C.V. Raman, Satyendranath Bose, Sisir Mitra and Meghnad Saha. All these scholars were recognized not just in India but internationally as well. Calcutta University became a knowledge hub since it encouraged research.
In the course of time, Nehru’s many temples of knowledge have become clearing houses for the mediocre and the standards were set so low that almost anybody could get a college degree.
Even in the much-vaunted information technology, we are adept at doing pretty primitive operations that the West has ceased to take interest in” such as product and process development.
Shruti writes “to quote some numbers, an institution like Massachusetts Institute of Technology (MIT) produces 200 PhDs in computer science every year whereas India awards 34 PhDs in the subject annually.
Most of the IT sector in India is still not into innovation full throttle. Companies are more often than not looking to replicate success stories of the West.”
According to Rajdeep Sahrawat, VP Nasscom, most of the Indian IT firms don’t do major research in computer science technology. After all, how many patents have the top IT firms produced in the recent years? They are building applications on existing technologies. Top five to six software enterprises are all moving towards becoming solution providers.
So finally as Dipankar says” if there is one big idea we can pursue, and pursue realistically, then that is to put our might, mouth and money where R&D is. Let us concentrate on doing high science. It is this endeavor that would alone stand guarantee for sustained economic growth for the future.”

Saturday, January 10, 2009

The past is a foreign country, they do things differently there



This proverbial L.P. Hartley's famous opening line, if heeded, could also augur a central shift in our perceptions of the past, believes Nayanjot Lahiri.
She further says,”the sword these days is frequently summoned to silence the pen. Authors, university departments, and institutes that write and research about matters that don't fit hagiographic versions of history, have been physically attacked.
It is realistic to expect that such unseemly spectacles will continue to unfold for the simple reason that our past is imprisoned in our present day ideas of what it supposedly was. This proclivity, in fact, reminds me of the dismay displayed by the Afghan, Ahmad Shah Abdali, in the battle of Panipat in 1761.
Apparently, Abdali had never been confronted with unclothed troopers. When he realised that as the main ally of Shuja ud-Daulah, he had such Hindu gosains or warrior ascetics indirectly fighting for him, he prudishly lectured Shuja on the "impropriety of unrestrained kafirs, naked in front and behind…parading and lounging in front of Muslims, and ordered them removed to a distance from his camp."
The gosains did comply with Abdali's request, moved away from his line of vision, and, notwithstanding the Afghan affront, acquitted themselves well in the battlefield.
If we accept that people and cultures in ancient and medieval India were different from us, we would feel no sense of retrospective shock about what they ate or drank or wore, or for that matter, what they didn't wear.
I am thinking here of ancient India's most powerful emperor whose first portrait shows his queen without clothes. The royal in question is the Mauryan emperor, Ashoka, and this earliest labelled portraiture of Ashoka comes from a sculpted stupa at Kanganhalli in Karnataka. Surely, the frontal nudity of Ashoka's consort suggests a world that is very different from our own present-day 'civilised' notions of royalty?
Or take the case of cattle which, by a long shot, was a very popular animal food for many millennia in ancient India. This is evident, among other things, from the fact that practically every Harappan civilisation site where animal bones are found, has inevitably yielded cattle bones. And yet, this fondness for beef is something that some Indians find difficult to digest. The major reason must be because they tend to think of themselves as the direct descendants of Harappans.
Shouldn't we admire and appreciate such people, even if they enjoyed food and carnal lives that were different from ours? Until we stop searching for 'our' ways of doing things in antiquity, we cannot freely and meaningfully engage with the enchantment of history.
Apart from unleashing intolerance, present sensibilities of this kind can also promote dishonest research. It is, for instance, unfortunate that despite thousands of metres of soil being excavated from Buddhist religious complexes, faunal records from very few sites are actually mentioned in publications. In Sri Lanka, faunal remains from two sites, the Sigiriya Vihara and Anuradhapura, have been recorded, but these bones have apparently never been identified.
Good historians are supposed to use historical evidence to tell true stories, stories in which 'what' and 'how' explanations are provided. But if the integrity of the evidence itself is compromised, the history written out of it will be a distorted one.
History cannot flourish in an atmosphere which privileges what is congenial and proscribes what is inconvenient.”

Friday, January 09, 2009

Monday, January 05, 2009

Poor do not need charity but the opportunity of enterpreneurship


The excerpts from an article written by C.K.Prahlad( He is the writer of “The Fortune at the Bottom of the Pyramid: Eradicating Poverty through Profits”) I recently read.
Societies have always searched for an ideology and an institutional framework to balance collective and private interests. In the last century, this struggle played out as a confrontation between two clearly defined ideologies—communism and capitalism.
Capitalism may have won, but capitalists themselves have started re-examining how to adapt themselves to the 21st Century. The question of how to create prosperity and social justice is at the heart of this debate.
This time, the debate is not across the aisle but within the party. Capitalism is re-examining its focus towards creating solutions for larger social problems.
Capitalism is built on a few key principles:
Entrepreneurship, innovation, investment and organisation are at the heart of capitalism.
Investors, who finance the ideas of entrepreneurs to create businesses, deserve to benefit with returns commensurate with risks.
Private property and the rule of law are paramount in such a system.
Private enterprise, in a system of transparent transactions, can benefit consumers and provide incentives for business.
Capitalism is usually associated with participative democracy.
No one really questions these basic premises any longer. The practice of capitalism, however, has not been without problems, and must adapt itself to address these issues. Does capitalism shortchange consumers, employees, suppliers, and communities?
Does it care about the poor and the disadvantaged? These are legitimate questions.
Recently, Bill Gates suggested that we should focus on creative capitalism that explicitly recognises the four billion poor and develops market-based solutions to help them.
This has led to attacks from two sides—those who believe that this is not the private sector’s job and those who believe that this is one more attempt on the part of capitalists to impose their will on the poor.
The debate must focus on solutions, not ideology.
If we stop thinking of the poor as victims and start recognising them as resilient and creative entrepreneurs and value-conscious consumers, a whole world of opportunities will open up. This is a call for the private sector to use its creativity and resources to deal with rampant social inequities.
The focus should be on dealing with social inequities as a business and not through charity. Profitable businesses usually grow and sustain themselves. On the contrary, many governmental initiatives are subject to change with changes in government.
We know that the alternatives have not worked very well. Worldwide, aid and subsidies have proven to be mostly ineffective. Most importantly, subsidies create dependence and rob people of dignity. The direction of philanthropy changes often and results are not documented and measured.
Without a long-term, self-sustaining solution that reduces poverty, we are likely to create higher levels of inequality. If neglected, these concerns will undermine the very social legitimacy of the corporation.
In India, it is a call for inclusive growth(As Sanjay Subrahmanyam writes in another article” The protagonists of liberalisation in India need to remember that the market cannot exist in a social vacuum.”). The demand on the private sector, the institutional embodiment of the principles of capitalism, to recognise and respond to these concerns is urgent.
India represents aunique opportunity for developing the practice of capitalism for the 21st century.It has a vibrant private sector and a participatory democracy. It also has inequalities, not just in incomes but also in terms of opportunities.
If the country can find a way to make capitalism work by addressing problems of poverty, illiteracy and subsistence agriculture while creating new opportunities for the poor and vibrant businesses at the same time, the consequences are tremendous. There is no better place to develop the “next practice of capitalism” than India.
The growth of self-help groups (SHG) and the role of civil society in microfinance is well-documented. Several large firms now recognize that they have to seek partnerships with village entrepreneurs. STD phones started the trend towards creating micro-entrepreneurs.

Private sector must participate in confronting social ills like illiteracy, malnutrition, poor healthcare in an efficient business-oriented manner.
Public sector must recognise that flexible and adaptive systems are needed to cope with these problems. Both must recognise the critical role of the civil society. The new social compact will enlarge the scope of private sector.
It must focus on innovations that dramatically alter the economics of products and services so that markets become inclusive. But that cannot be done without the active support of the public sector and the civil society.
For these sectors to collaborate, they must all agree on their common interests—reducing inequalities and building a just society. The systems will work only if we focus on transparent transactions, the application of advanced technologies, innovative solutions and a deep belief that what is at stake is the very social legitimacy of private and the public sectors as institutions.

Wednesday, December 31, 2008

Philanthropy - Social Responsibility


Excerpts from an article written by Sanjay Subrahmanyam on philanthropy and its role in social responsibility
“European visitors to India in the 16th and 17th centuries usually found precious little to admire here. The climate they deemed too warm and languorous; they rarely liked the food and drink; the gods struck them as frightful and monstrous.
Once in a while, however, something did catch their fancy. Amongst these was the Indian habit of giving often and generously, such as when a merchant at the end of his worldly career decided publicly to part with all his material goods.
Even the Jesuits, behind their general attitude of superiority and condescension, occasionally praised the mass feeding of the poor that was practised both in temples and by princes and magnates. Usually they saw all this as a form of ritual or religious practice rather than an affirmation of social bonds.
The Dutch and the English merchants in their outposts in places such as Surat and Bharuch were less certain of what these acts of giving meant, and noted in puzzlement that they extended beyond generosity to humans to setting up infirmaries for animals and even birds.
Something happened to this tradition over two centuries of colonial rule. It did not disappear but it was transformed in a variety of ways, some subtle and others less so. To be sure, when the great famines of the late 19th century ravaged western and southern India, some acts of generous giving were noted.
The celebrated bird and animal hospitals of Jains in western India did not disappear. But philanthropy was initially not taken very seriously by those who made great fortunes on the back of the colonial trades, whether opium export to China or jute-making in Kolkata.
Trading communities looked after their own up to a point, with richer traders bankrolling their poorer cousins. By the time of the Five-Year Plans of the 1950s, it was the state that was looked up to as the ultimate mai-baap, giver and arbiter of redistribution.
Socialism may have been a nice buzzword in the '50s and '60s, but beneath its surface, it was a dog-eat-dog world. If one did not inherit wealth, it was all a question really of who could get access to the state and its mechanisms for redistribution, rent-seeking and social climbing.
So, some social change did happen, and some new groups emerged to the fore. A handful of robber barons also made great fortunes by dint of their strategic dealings with this or that party and leader.
It was a far-from-ideal world, but one where the state was meant to keep a lid on things when social tensions came to the boil by a mix of populism, coercion and handouts.
Many Indians today, especially among the middle class and elite, want to repudiate that past and its licence-permit-quota raj. One can see why. But it may also be useful to see what the alternative, which has been touted for a decade-and-a-half as something called liberalisation, really means.
Fundamentally, what liberalisation as a process entails is the reduction of the role of the government in economic and social terms.
But what of other tasks the state undertook, and which do not bring with them ready short-term profits as rewards for risk-taking? These include the provision of a whole host of public goods.”
Let’s first take the case of education.

“Some parts of education are well-paying, as anyone who has visited the great public school chains in the metropolitan cities knows. Even teaching shops and cramped spaces where students cram desperately for the IITJEE have been doing a roaring business for some decades now.
But,the market, left to its own, will not educate many of those who do not have the ability to pay and pay amply.
This is where only two alternatives exist: the state or philanthropy. This is undoubtedly true for the primary education of a poor farmer's five-year-old child in Belgaum, but the logic of this runs all the way up and down the system.
One can see how engineering schools, medical schools and management institutes can work in a free market. The same is true for the production of software programmers and others who serve global industries of various sorts.
But what about the social sciences, the arts, the humanities? Why would the market want a social anthropologist or a poet? Should we then imagine an India with crores of software writers and not a single great sarod player or political theorist?”
Sam Pitroda wrote in another article that content needs to be changed.” Our graduates specialize too early. There is no focus on liberal arts. Everyone wants to be an engineer. That's why we can't have good leaders.”
“It is usually imagined that for the reproduction of artists, musicians and the like, we can somehow depend on traditional family-based institutions to do the job. This may be true to an extent of music, but is it true of the visual arts? Is it true of literature?
It seems to me that the only answer here in view of the gradual (and perhaps even justifiable) withdrawal of the state is the growth of Indian philanthropy and private patronage of the arts and education. But how is this to happen, the reader will ask?
There is obviously no simple solution. But one can help to create the conditions for it. First, it should be understood that philanthropy is not altruism or some sort of Gandhian nishkama karma.
It is enlightened self-interest and also carries some bragging rights; no one should think that Warren Buffet got his ideas from the Gita. There are many people in India who have more money than they know how to spend.
So it is a question of making philanthropy something that is valued. Second, the matter requires some fiscal forethought. Almost all those who give large sums in the US-which is perhaps the single most successful philanthropic economy in the world-do so in careful consultation with their tax-planners.
Even in their generosity, they are careful and calculating. So the state has to motivate such activity through its tax policy, and even provide some delicately constructed loopholes for those seeking to transform their wealth from a darker into a lighter shade.
In a society like India, where an affluent class has emerged in the past two decades riding the crest of liberalization, it is a question of whether a new social contract is now not a pressing necessity.
This would not be a contract based on the tricks of the state, but rather on some notion that went beyond mere taxation and redistribution. American conservatives such as Richard Posner have argued that growing income inequality is necessary and even desirable as a condition for a meritocracy.
That they can even dare to make such an argument is because they are confident in the existence of other institutions that will counterbalance such inequality. Chief among such institutions is philanthropy.”

Thursday, December 18, 2008

Demystifying Cloud Computing

Cloud computing is not fluff — it's the future of IT. Take a closer look at what's in the clouds and what it might mean for your organization.

It became a buzzword even before it was defined. But if you're under the illusion that cloud computing is all fluff, maybe it's time to take a closer look.

Cloud computing is all about efficiency. It provides a way to deploy and access everything from single systems up to massive amounts of IT resources, on demand, in real time, at an affordable cost. Because the best cloud strategies build on concepts and tools that developers already know, clouds have the potential to redefine the relationship between IT and the developers and business units who depend on it. IT gains new efficiency and points of control while their customers gain access to services with a new level of simplicity and control.

What cloud computing is — and isn't

Cloud computing is a style of computing or massively-scalable IT-related capabilities that are provided as a service across the Internet to multiple external customers. "Customers," in this case, could be defined as employees, contractors, partners as well as traditionally defined customers. From there, the cloud can be divided into two contexts: the private or enterprise-computing cloud and the public computing cloud.
While public cloud computing may not yet offer all of the services you want, as an enterprise you don't want to miss out on the benefits provided through virtualization. This gives rise to the creation of a private cloud environment. Within Sun IT, we are creating a private cloud to take advantage of the properties of cloud computing by deploying our private services into it.
A private cloud is set up by your IT organization and is owned by the enterprise. Services are consumed by employees and/or authorized partners/suppliers directly from the Internet. From an IT perspective, it's important to rapidly deploy services into the cloud and have these services be nonstop operating services, trusted and secure, and be scalable both horizontally and vertically. Private clouds are typically created when public clouds don't offer the service needed, shared tenancy won't work, or the public offerings can't provide the scalability, security, reach, touch, or reliability that an enterprise requires.
The public computing cloud however, derives its efficiency from the shared tenant model because multiple customers share the same computing resources to maximize delivery of their computing platform. Security controls are a consideration, but as time moves forward and the public clouds become more available, more secure, more geographic, and more enterprise-ready companies will move away from personal private clouds and toward public, shared clouds.

Here's a quick overview of what cloud computing is (and isn't), how you can take advantage, and how Sun can help.

All cloud computing deployments have a few things in common. At the highest level, they are a means of delivering IT resources as a set of well-defined services. Just as electric utilities gain efficiency by limiting your options for voltage and frequency, clouds gain efficiency by doing a small number of services very well. Of course this means that some applications won't fit a particular cloud, but that's the important tradeoff.

Other key elements of cloud computing lead to additional efficiencies. Self provisioning and programmatic APIs dramatically reduce the role of humans. Aggressive use of virtualization optimizes physical resources. And the ability to scale up and down dynamically, combined with "pay-as-you-go" pricing, incents cloud users to be efficient with their usage.

There are also many important differences among clouds. "Sun's view is that there are three dimensions to cloud computing, each with unique possibilities and opportunities," said Sun's David Douglas, Senior Vice President of Network.com, Sun's cloud computing initiative.


Dimension 1: Layers of abstraction

In the same way that different types of meteorological clouds form at different altitudes, different types of IT clouds can form depending on the layer of abstraction. There are three predominant cloud types:

  • Infrastructure as a Service (IaaS) is at the lowest layer, and is a means of delivering basic storage and compute capabilities as standardized services over the network. The best-known commercial example is Amazon Web Services (AWS) whose EC2 and S3 services offer bare-bones compute and storage services (respectively).
  • Platform as a Service (PaaS) is in the middle, consisting of higher-layer capabilities that developers can knit into applications. Commercial examples include Google App Engine and Salesforce.com's Force.com platform.
  • Software as a Service (SaaS) is at the highest layer and features a complete application offered as a service, on-demand, via multi-tenancy — meaning a single instance of the software runs on the provider's infrastructure and serves multiple client organizations. Examples include Salesforce.com and the iTunes store.

It is important to note is that IaaS and PaaS clouds introduce new interfaces and APIs. These new interfaces can make life simpler for developers in the short term, but they also carry the potential to lock developers into a specific vendor or cloud — as is the case with traditional platforms.



Dimension 2: Types of deployment

Just as there are multiple types of clouds, there are multiple ways to deploy them, depending on who's sharing with whom. For example:

  • Public clouds are run by third parties, and jobs from many different customers may be mixed together on the servers, storage systems, and other infrastructure within the cloud. End users don't know who is on the same server, network, or disk their jobs are running on.
  • Private clouds are owned by a single customer who controls which applications are run where. They own the server, network and disk and can decide which users are allowed to use the infrastructure.
  • Hybrid clouds combine these two models. You own parts and share other parts, though in a controlled way.


Dimension 3: Application domain

Since applications have different characteristics and user requirements and place varying demands on infrastructure, why not tune clouds for specific types of workloads? In fact this is already happening. Some clouds are optimized for high-performance computing (HPC) applications, others for maximum Web throughput, and still others for transactions. Sun sees the trend toward application domain specialization expanding into many other areas such as payment, security, backup, and communications.

Why cloud computing changes everything

Even while IT is being asked to contain or reduce costs, demands from the business continue to rise. Streaming content. High-performance computing (HPC) applications. Rich customer Web experiences. Many of these workloads require massive compute and storage resources and also experience sudden surges and spikes in demand — they simply operate at a scale that is beyond the capacity of traditional IT infrastructure.

Cloud computing offers a solution. The core enabling technologies for cloud computing can deliver IT resources and capacities on an absolutely unprecedented scale:

  • Virtualization technology for servers, storage systems, operating systems, and other resources dramatically improves utilization rates while permitting consolidation of physical systems.
  • Sophisticated filesystems such as ZFS support virtually unlimited storage capacities, integration of the file system and volume management, snapshots and copy-on-write clones, on-line integrity checking and repair, etc.
  • "Patterns" in architecture allow for accelerated development of super-scale cloud architectures by providing repeatable solutions to common problems.
  • New techniques for handling structured, unstructured, and "semi-structured" data allow for massive scale-out of data-driven services.

Equally important, cloud computing is enabling new software architectures. It is also accelerating the adoption of lightweight, agile tools such as Hadoop, the free Java software framework that supports data-intensive distributed applications; memcached, a highly scalable "data accelerator"; and MogileFS, a file system that enables horizontal scaling of storage across any number of machines.

Cloud computing also offers the economies of scale of the utility model. Most organizations don't build their own power generators and water treatment plants — so why should every IT organization need to acquire and maintain all of the hardware, software, and development resources it uses?

"A hallmark of cloud services is standardized services for all users," said Douglas. "You don't call up the electric company and ask for 83V power to your house; they do one thing and do it very efficiently."

For end users, cloud computing means there are no hardware acquisition costs, no software licenses or upgrades to manage, no new employees or consultants to hire, no facilities to lease, no capital costs of any kind — and no hidden costs. Just a metered, per-use rate or subscription fee.

The silver lining for IT

Cloud computing creates compelling new economic models for IT service delivery. Here are the three options for taking advantage of the cloud computing model:

Use the cloud.
The number and quality of public, commercially available cloud-based service offerings are growing fast. Using the cloud is a great option for start-ups, research projects, Web 2.0 developers, or niche players who want to "load and go." You can use the cloud for:

  • Offloading overburdened IT infrastructure (temporarily or permanently). For example, why purchase separate systems for software development and testing when those tasks could be accomplished using cloud services?
  • Accommodating peak load, batch processing jobs, or spikes in demand for services
  • Experimenting with new software tools without having to purchase them

Build the cloud.
Options include building a private cloud for internal use, building a public cloud that can become a new source of revenue, or building a hybrid cloud that combines the two.

Sun expects to see huge growth in the deployment of private clouds. Many large enterprises understand the economic benefits of cloud computing but want to ensure strict enforcement of security policies, compliance with regulations, or other constraints that make public clouds impractical at this point in time.

The momentum behind public and hybrid cloud construction is also growing as enterprises and service providers gain experience with the cloud model. The high growth rates of public cloud offerings available today will no doubt accelerate that momentum.

Be the cloud.
Your organization can become a cloud computing service provider or "cloud aggregator," offering multiple types of cloud services. After all, the list of services enabled by cloud computing doesn't begin and end with SaaS, PaaS, and IaaS. Specialized cloud forms include payment as a service, security as a service, backup as a service, collaboration as a service, the list goes on.






Thursday, October 16, 2008

Create a Yahoo! SearchMonkey application : Enhance your search result listings using RDF, XSLT and PHP
Blog dedicated to the engineering of Microsoft Windows 7
Windows Speech Recognition Macros extends the speech recognition capabilities in Windows Vista. Users can create powerful macros that are triggered by voice command to interact with applications.
RESTful Web Services and Comet
Securing a multitenant SaaS application : TheIBM way
Offline Ajax with Apache Derby
Creating modular interactive user interfaces with JavaScript

Develop PHP applications with Picasa Web Albums: Integrate data from Picasa Web Albums into a custom PHP application