Tuesday, February 9, 2016

An Instance of a Logical Fallacy

I collaborate with different individuals on multiple disciplines. Often, I propose my collaborators to venture into areas which I have got only cursory familiarity. We work with things which are fundamental in nature.  Direct "monetization" of things which I am interested in collaborating is difficult. and it is by choice. It often servers a mechanism for food for thought. Of course, It does posses some "intrinsic" value.


Couple of weeks back, while travelling to Bangalore, I happen to buy a book titled, "Rookie Smart", written by Liz Wiseman. The central thesis of this book is, most often, Experts are at a disadvantage against "Rookies", in modern day work place. She has clustered  Rookies with similar traits to "BackPacker","Hunter-Gather", "FireWalker" and "Pioneer" etc.

After doing some reading, I loaned this book to a collaborator of mine. After a day, he phoned me and asked a question which went as  follows, "If Rookies can beat an expert in most areas, what is the point of learning deep topics?". I was bit taken aback, after getting this response. . After a while, I did understand that, he has fallen victim to the logical fallacy monikered as "Affirming the consequent".


The fallacy goes as follows

A => B. B has happened, therefore A. ( If A, then B. B , Therefore A)

The book is about how a rookie can upstage an expert,in some areas. It is not about, experts are upstaged by rookies, everywhere. So, book never implies that there is no point in become an expert at something. A naive analysis will lead to some kind of "Nihilistic" view that, It is futile to gain deep expertise in anything.


Sunday, February 7, 2016

Do you posses the temperament of a "Software Architect"?

Being a person who has got exposure to "mundane" Business Application development to Computer Aided Design (CAD) applications, I have considered myself to be  "lucky" to have got such kind of exposure. Good Technical exposure coupled with propensity to understand the business and people issues pertinent to the context, has given me success of some kind.

As I progressed in the Software Industry, people began to confer titles like Technical architect, Software Architect, Solutions Architect, Principal Consultant etc. I had considered these things only as a title given by the employers to reflect the compensation package I was offered. In the last few years, I have noticed that, these titles really does matter in the organization "pecking" order. The question which are often tossed across to me is, "How can one become an architect?" or "What it takes to be a Software architect?". I have not been able to give an answer to them, which have satisfied me. A definitive answer is also out of question.

A recent operational definition given me in a presentation slide went as follows.

Architect (n) –Any person who has “fooled” around in the Software Industry for sizeable time (ever shrinking span) who is past his prime,as a Programmer Or Engineer,Systematically moved up in the hierarchy to obey “Peter Principle”.

Sarcasm aside, I will try to give some case based reasoning. The following paragraphs has got certain bias towards enterprise application architecture.

For most of the evolved domains, there are standard idioms and practices which drive the whole state of affairs there. As a result of this, most people fall into the mundane and time tested work habits and end-up doing the same thing, multiple times over. Enterprise Application development is an area where time tested patterns are well known among it's practitioners and well documented as well. Standard terms like N-tier architecture, Separation of Concerns, View/Biz/Persistence Layer,Stateless Programming model, Asynchronous messaging, Resource tier integration, Horizontal scaling, distributed architecture, SOA, Model View Contoler  Architecture, MVP, MVVM etc. are tossed in most discussions about Enterprise Application architecture.

Most of the architects have "devoured" books written around Enterprise Application concerns. Some of the most studed are POEAA (Martin Fowler), POSA (Douglas Schmidt et al), EIP (Greg/Boby), GOF(Erich Gamma), DDD (Evans),PPP(Robert Martin) etc. Even though, the above books from the Industry thought leaders have helped us to have a "de-facto" lingo to communicate, often, trying to stick with the generic advice has led to lot of accidental complexity getting induced into the systems designed to blindly follow these thought leaders. A kind of "Cargo cult" Architecture.

IMHO, any Software Architecture/Design problem should understand the context and goals of the Solution. The Most important one are

  • The Solution should be Simple, to the extent possible
  • The Solution  should incorporate Functional requirements
  • The Solution  should meet Non-Functional requirements
  • The Solution should be able to incorporate change
  • The Solution should follow well known practices and idioms 
As an architect, or being part of the group, the goal of architecture seems to be finding the sweet spot between these competing necessities. The context is the single biggest factor in the success of an architectural initiative. An Architect has to balance the priorities of Stakeholders, Peers, Team members, Technology SMEs , while designing the solution. An effective leadership style is also necessary to successfully come up with systems which can withstand the test of the time.

To be a good architect, one requires

  • Good Technical skills ( Exposure to varied systems)
  • Good Business acumen
  • Reasonably good inter personal skills
  • Knowledge of Good Architecture Stlyes and Idioms
  • Domain Knowledge
  • A "Rookie" mindset
Moreover, he needs to have an excellent team to back his effort!



Saturday, January 30, 2016

Prime Obsession of the World?

Over a period of time , I have observed a curious phenomena, which I have also been a victim. It is search for an alternate career, most often, with things which are not connected to your professed area of competence. In the quest to make a living, we all choose something which Is feasible and the most visible things which are in vogue, around early twenties. The tyranny of beginners luck will take us towards some kind of "Joy" ride in our chosen area. Soon, some tag or moniker will be attached to you, as a Software Guy,Accountant,Artist, Carpenter, Lawyer etc.

Like any other things in life, monotony of job, creeps in to our life. Then, a quest to come out or escape from the misery of boredom triggers in, as a natural reaction. Then, series of actions which are close to rituals will be undertaken by the subject. Software Engineer will try to become a Musician, Lawyer will try to become a Singer, Carpenter will try to become a Philosopher etc. At least, everyone will indulge in things which are disconnected from their prime area of focus. Like every Indian who used to dream about Playing for India in Cricket, the day he got a cricket bat or ball, they show unusual enthusiasm towards their "alternate" career option. Here also, beginners luck will be them. Because of reality show and self "publishing" through Social media, some progress will be made. Soon the "boredom" due to the lack of immediate success, creeps in here as well.

Like the quintessential dream of "I will retire around fourty", it is seldom achieved. The Sunk cost fallacy creeps in here and soon the quest for alternate career, turns into some kind of Ritual. Of course,most often Rituals are as important as the functional side of our Acts.

Watching Dubbed Movies

One of my favorite pastimes now a days is to watch South Indian movies which are dubbed to Hindi. The other day, I happen to watch the movie "Kanchana" starring Raghav Lawrence and Sarath Kumar. I have seen the movie(in Tamil) at least five times while travelling to Bangalore,. I can understand Hindi better than Tamil and some of the dialogues made more sense, when I heard it in Hindi.

The movies which star Balakrishna (aka Balayya) is a fascinating treat to watch. My elder son too likes Balayya movies where train will stop or chair will move, if he points finger at it. Even though superficial, it is fun to watch. My son even  says that, among his class mates. Balayya is the most rated!

I did see Mommootty's Pramani and Mohan lal's Chitram, as well. Translation quality is excellent. In the year 2012, a colleague of mine told that, when people in his town are bored, they say, "Chalo, Jakke South ke ek movie dekhenge" (चलो  जाक्के एक साउथ के मूवी देखेंगे ). These Movies has got power to unite India.



Friday, January 29, 2016

Why meditation works?

I am a skeptic when it comes to mediation. There is no causal relationship between mediation and it's supposedly good side effects. But, it works for most people. I have always been perplexed about this.

Taking time off to meditate means you have got time to spare. When u meditate, you are focused on doing it. In the process, we take some time off from the triviality of everyday-ness. It slows down the pace of our life. It has got a serendipitous effect of taking a step back to view options.

In effect, mediation can be considered as a form of self deception. Self deception is a tool which helps us to be sane, in times of adversity. Take a look at our life. All the synchronicity we see are some kind of delusion. It is just series of random events happening asynchronously.

In Life, at a human scale, everything we do, even sitting idle, has got a positive consequence to narrate, at some point in life. If you feel or think that something is the cause of your well being, you can deceive yourself by thinking that it is useful. It is all about internal consistency.

Even terrorists think that, they are doing good to the world, by killing all evil atheists, dis-believers, corrupt people etc. It is also another way to look at the world. Meditation has got a soothing effect and it seems to be an effective way to ward off pressure for some. I am sure that, it is some kind of self deception. Does it work for you? Perhaps yes!


Monday, July 27, 2015

A Lecture, Reductionism vs Holism and a Systems book!

In the month of June 2015, I had attended an Event sponsored by my erstwhile employer, Envestnet Inc. The event was hosted by Nasscom and the Keynote speech was given by futurist, Gerd Leonhard. His presentation was really good and I could walk away with lot of new ideas. The most important takeaway for me is the idea of Reductionism vs Holism. Mechanistic view of the world formulated by Rene Descartes is challenged by holistic (Systems Thinking) school of thought for building Intelligent software systems.

I  have got great respect for the Western Intellectual tradition rooted in the Cartesian Reduction-ism. It has given us Modern Science, which has helped in our understanding of the Natural world. The fruits of this model of investigation are tremendous progress made in all of Science and Engineering.

Thus, Modern Physics with it's one leg on Logico/Mathematical tradition and other on Induction/Deduction/Analytical  framework of sixteenth century became the envy of all sciences. If Mathematics is the Queen of Sciences, Physics became the King.

Carteisan Reductionism percolated even into the Social sciences, where it has not been much effective as people expected. In the early part of twentieth century, Einstien with his Relativity (General/Specific) did imply that when the object approaches the speed of Light, mechanical laws formulated by Newton is his Principia does not explain what is happening. Equally startling was the discovery of Quantum principles, at the sub atomic level. According to quantum theory, we can hope only to have partial determinism. Even Einstein has to say the following, "God does not Play dice with the Universe"!

Physical laws hold good for Natural things. In the case of living beings and the social institutions, there is something called "Consciousness" ( which can be felt only, no one has satisfactorily defined it) and Physical laws break down. It has to do with the limitation of our investigation tools rather than the indeterminacy of the nature. May be, we require a new methodology to tackle this issue.

A Physicist like Roger Penrose, wrote two books advocating the inclusion of Consciousness in the subject matter of Physics. His "Emperor's new mind" and it's sequel, "Shadows of the mind" outlines his school of thought. He attacks the hard AI camp in the process.

To broaden our Scientific horizon, we need to look into our methods of investigation, while trying to solve issues of importance to the human race. That is precisely, Fritjof Capra and Pier Luigi Luisi sets out to do in a wonderful book,titled,"The Systems view of Life". Had I did not attend Gerd's lecture, I would not have been able to understand the significance of this book. 

In a way, this book has been a long journey for Fritjof Capra, from "Tao of Physics" (was criticized by Physics fraternity, but seems to have succeeded in a holistic approach towards human problem) to a system which is entirely based on Scientific precision. I am enjoying every page of this book.

Tuesday, July 21, 2015

A Set of Videos which might help you to become well grounded in Mathematics

On the Youtube, there is a set of nineteen videos posted by Bill Shilito. The topics ranges from Proof techniques, Propositional Calculus, Set Theory, Predicate Calculus, Relations/Functions, Elementary Number Theory, Modular Arithmetic, Infinity/reals, Groups/Ring/Field etc.

A team of four comprising me (Peter, Sarath and Vysakh are the other members) have decided to study those videos thoroughly. We are planning to use some kind of "Brute Force" approach to study it. The estimate is that one needs to see the videos at least five times and work with his Proofs/Techniques to gain competence in the subject matter.

After I have started watching the videos, I am able to read even Graduate (Masters in Indian parlance)  level texts in Pure Mathematics. Usually, I can understand most of the undergraduate texts,if the topics are from Mutli-Variable Calculus, Linear Algebra , Probability/Statistics. To understand Graduate Level mathematics, your foundation should be strong in lot of Abstract topics. This is what Bill Shillito is providing you.

The Videos can be retrieved from

https://www.youtube.com/watch?v=CMWFmjlB8v0&list=PLZzHxk_TPOStgPtqRZ6KzmkUQBQ8TSWVX


Since Learning Mathematics is  difficult in a Serial manner, I have devised a "attack plan" for our team. The videos can be divided into Five Sections


Logic/Set Theory/Proof  - First Seven Videos
Relations/Functions       -  Eighth and Ninth one
Number Theory/Modular Arithmetic - Tenth and Eleventh
Reals/Infinity/Topology/Sequences - Twelve through Fifteen
Groups/Rings/Fields - Sixteen,Seventeen, Eighteen

You can see videos concurrently, without the lose of continuity, especially, if you are Math enthusiast.