Life is all about searching and sorting

How i found God and religion in software.

Friday, June 11, 2004

Can code be poetry? There is a secret place where I sometimes find myself, its a magical place. A serene calm comes over me when I am there, the soft purring of my machine, the gentle tapping of my keyboard hardly distracts. There are brief and sublime moments when logic is no longer require conscious effort, it intuitive, and transparent, like breathing, where my instructions to move electrons from one gate to another are in harmony. I have often tried to capture these moments, so that I can set them down in words but perhaps rightly, they are like dreams you have just as you slip into slumber, try to hold on to them and you find yourself awake. I usually find these moments when I can abstract out arbitrary number of classes and substitute an interface, thereby achieving symmetry. I feel the poetry in code comes from some form of symmetry, where you have taken a number of seemingly unrelated concepts and constructs and compress them into a singe idea; like Einstein's mass energy conservation principle, in itself a supreme example of polymorphic or haiku poetry.

I think the point the poet-programmer is trying to make is that though the set of words are finite, the reality the poet seeks to describe is infinite and ever changing. If code is another way of expressing something about the world we live in, then surely even a lowly, lonely programmer is a poet for there will ever be newer ways of putting words together to create beauty.

Friday, May 14, 2004

Amsterdam

A Hundred Years of Despair

In reading the Jerusalem Post article The Worst Is Yet To Come, I could not but feel a deep sense of despair. A hundred years of war? Having observed the almost continual terrorist attacks on Israel over the years, my heart quakes at the prospect of such a sustained onslaught against my values and my ways of life and livelihood. After the initial panic, I started to calmly reason with what Prof. Alexander was telling me. I agree with his prognosis of the current and future state of the war. Nevertheless, I disagree with his original assumptions and his suggestions for how terrorist potential and threats may be mitigated.

The History of the State of Israel reveals something profound about where terrorists come from and where they might be headed. The Arabs in particular never have and probably never will accept the existence of Israel any day soon. One can simplify this relationship enormously by considering Israel's wars since its War of Independence. Her first war was arguably against the world's sole super power. In a sense, Israel was fighting a war front that covered the entire commonwealth since England could, if she chose to, bring the resources of the entire commonwealth to bear against Israel. For me this War of independence essentially came to an end in the Sinai-Suez campaign of 1956. The end of this campaign sees England and France on the same side as Israel. The war front has decreased dramatically. The Six Day war and The Yom Kippur wars, Israel had an active war front on its borders with Syria, Egypt and Jordan. What is key in these four wars is the fact that they were waged by nation states across internationally recognized borders. Each Israeli victory saw the abandonment of the field of battle by its enemies and the shrinking of the war front. Today, there is no war front in the traditional sense, for the front is potentially anywhere within Israel. One sees an inverse relationship between the size of the warfront and terrorism. What I have attempted to describe is not a war in traditional sense, but The War of Existence for Israel. This war is currently in its terminal stages where Israel is confronting the last remaining pockets of active resistance to its existence in the Arab world. If you can imagine Israel's history as a funnel looking down, you will see that there is an end at hand.

Every end is a beginning. Humankind today number some six billion souls. In another fifteen or less years, we will number close to ten billion. This poses a disturbing question. If all things are kept invariant, what is the probability that a minority of humankind will resort to terrorist violence to settle religious, economic. social or political friction ? Even half of one percent is a sizable population. So I agree with the professor about what history is heading towards. But only if things are kept invariant and that is impossible. The human condition is always changing. Most of the time the condition changes without the human realizing it. For instance, the internet is profoundly altering our condition and most of the time we don't even realize it. Unfortunately, not all changes are this peaceful. The Russian Revolution, The First World War and The Second World War were wars against change, a reactionary outrage committed by those who believed that they were instruments of change. They were wars against industrialization using the weapons made possible by industrialization. Changing a farmer's world view is more difficult than imagined by history. Two thousand years of western history ended in Nagasaki. If you can imagine western hemisphere's history as a funnel looking down, you will see that ground zero was Nagasaki.
Every end is a beginning.

I am a child of that new beginning. I live in a stable, peaceful and prosperous western democracy. I live in an environment where change is so furious and constant that its barely perceptible. I live in a country where I was not born in. I live in a society which believes that every woman and man is master of his or her own destiny. I live in a community shared by christian, jewish, muslim and hindu (and even a buddhist) neighbors. One would think that people would hardly have anything to complain about. Even a cursory glance at any newspaper however will tell you otherwise. Reactionary tendencies are on the rise. Anti Semetism and race crimes are on the rise. Immigrants and migrants are seen as a threat or at least a menace. These tendencies have existed before september eleventh and seem to have accelerated since.

The new funnel of history began sometime during the sixties. Its main property is the change of a society from one based on industrialization to one based on ideas. This shift would not have been possible without the ending of the last funnel of history. After the calm, the winds of change stared picking up momentum again during the sixties. Student protests, Vietnam, burning bras and flags and wars of ideology (can one have five year plans for ideas?). The redeeming aspect of this turbulent period is the fact that the civil society survived and the rule of law was upheld (President Nixon's impeachment is a illustrative example of this). Relative to other times in human history, the sixties was for all intents and purposes an extremely civilized discourse on how a society should change. Though complaints about government intervention, regulation and taxes are constant, the role of government in the economy as a proportion of a western democracy's economy is a lot less than what it used to be even twenty years ago.

Ideas will flow. It flows as goods and services. It flows as people. The Fortune Five Hundred companies have revenues greater than many poorer countries. The top ten Fortune Five Hundred have larger revenues than some larger developing countries. If you look at the Economist Big Mac Index, it basically lists the price of a Big Mac burger across the world. Movies, books and music are shared across the globe. Because of the internet, I have friends I don't even know where they are from. The storm may have begun during the sixties but its true nature was announced with a thunder clap on that fateful morning on the eleventh of september. Arab student's from half way across the world flew an airplane assembled with parts made by companies all across the globe. They slam their instrument of war into a building worked in by people from all across the world! If this isn't a war against change what is it then?

I call it the war against globalization, a war against the free flow of ideas. Most of the world is under going cataclysmic changes in culture and attitudes. A lot of people are frightened of this change because they don't know what tomorrow holds for them. This is a war against globalization made possible by globalization. There is a tendency to think that its a war which is us against them. Think again. Are you afraid for job, your pension? Are you nervous about that north african who moved in next door? Do you shun a TV channel or a newspaper because they give too much or too little coverage to issues or opinions close to your heart? Though you might dismiss them as prejudices, they are not. These are deeper currents shared by a lot of people across the world. The world is changing. No matter what lip service you pay to our affinity to change, deep down we want things to remain. Thankfully I believe ninety nine point five percent of humanity is going to sit this war out and write tedious monologues like I am doing right now. But that half of one percent means to stop this change at what ever cost.

I do not know how long its going to take this war to unfold. I doubt its going to last a hundred years. I do know that the Afghan front is closed. I do believe that al-Qaida is a spent force. But the reaction to change is still gathering strength. There is more to come, perhaps more terrible than september eleventh. I only pray that this funnel does not have to end like Nagasaki. Every end is a beginning and beginnings are good.

Friday, February 07, 2003

Amsterdam
Thoughts on Democracy posted in response to

"September eleventh was a seminal moment for me. I had gotten over the depression that I had suffered for about a week after, my life was getting back to what it was. I had seen on tv and read so much about the eleventh, it was becoming normal, a part of my psyche. That was till I read your oped. The feeling of loneliness returned to my heart reading you, that feeling of incomprehensiblity. Why do they hate us? I guess somewhere deep down perhaps the more important question that I fear to pose is, "do they hate me?".

Over the last couple of years I have felt that issues of democracy and human rights that we preach could be a smoke screen for a new stealthy form of imperialism. I mean we have not exactly covered ourselves in a shroud of righteousness with the way we and the russians behaved during the cold war. We are taught from childhood to walk the path of righteousness yet I was at pains to explain to some of my friends from where this righteousness springs from.

It springs from us. It is right because our laws are not dogma, our constitution can be subverted, perhaps even destroyed, it is not the word of God. My apprehension is that this abstraction will be incomprehensible to much of the rest of the world. I believe that our dialogue should be about democracy, I dont think there is anything shameful about democracy. If our policy in the middle east is a concequence of democracy, I have only one message for those who have complaints, engage our democracy, not war on it.

I think that is one of the things people in the middle east do not understand about the west, particularly, the U.S, our democracy. They dont understand that our presidents and prime ministers are not like the kings, emirs,mullahs or generals, they are fallible and occasionally corrupt. How we engange them in this dialogue of democracy will determine how well we have stamped out terrorism from our midst."

Amsterdam
Where is the beef? If you read my blogs, you propably wondering where in it is my thoughts on software or even better on God. Well I am working towards it. I am not old enough to have something profound to say about on these topics. Let it be known that I am still searching for God in software. Occasionally I get a glimpse nut then the vision vanishes into nothing. One of these day I will be able to hold the vision for greater lenghts of time and then may be I shall have more to say on God and algorithms.

Monday, October 15, 2001

Forward Positions in Afghanistan

I agree with the U.S defense secretary, I feel over the last couple of days, we have taken our eyes of the ball. To the world outside, it does not seem whether the U.S is going after the terrorists or the taliban, in trying to balance politics and the military objectives, i fear that we will not achieve neither. Given the sensitivity of pakistan having U.S forces on its soil, I think that the planners should actively cosider locating forward positions inside Afghanistan. This should be composed of about 1000 to 2000 soldiers. The forward positions should be easily capable of being defended from the air and the ground and supplied. From this base, the soldiers can lauch quick and quite search and destory operations. In trying to take path of least resistance we will only come to grief. Trying to scare the taliban or bin laden the way we did milosivic is not going to work. I am certain in my mind that the terrorists had planned to suck America into afghanistan on the ground. However they propably figured that the ground force would be conventional in nature. But two can play that game. Our goals must be to actively dislodge the taliban and destroy the terrorists. It seems the state department does not seem to realize that they are one and the same. There is no such thing as a moderate fundamentalist or a compassionate terrorist. The sooner we recognize this basic axiom, the quicker we can focus all our energies on meeting our objectives.