Technical Debt

July 15th, 2010

Technical Debt The concept of software complexity as debt was originally coined by Ward Cunningham in an experience report for OOPSLA ’92.

Technical Debt is described as the deviation between what we promise to deliver and what we delivered.

Why Debt?
When you listen or read this word your mind flashes the money, because it is more oriented towards finance.

What is Debt?
In Finance perspective, the amount of money you borrow from the borrower, pertaining to certain contract is termed as loan, and this is a Debt on you until you pay back.

What are key boiler plates in contract are principle amount, interest rate, time of repayment, interest repayment, and mode of transition.

Key regarding borrowing and as stated by Martin Fowler is that until you don’t pay the principle you continue on paying interest.

Narrowing Debt to Software world

Same contract happens between the client and organization.
Organization becomes the borrower.
Key boiler plates in contract are Quality, functionality, timeline, Cost, Technology in use, etc.

Technical Debt is not Isolated term, it’s a more ripened and can be segregated in following classifications
1. Design Debt
2. Testing Debt

How Organization incurs into Technical Debt vicious Circle.

Bidding for Project:
In this competitive world there are lots of organizations, on tips of client to service him and the one who win his assent is one who gives him all what he want at minimal cost and as early as possible.

Client never cares about the Technology you used, at start but later he may grow naïve, asking you to give him the latest or best technology.

Starting a Project:
Just keep in mind that no planning is perfect, when the project start’s, the organization leads to a projection, about the timeline in which to complete the project (often this is more decided at the time of bidding), covering all functionality.

1st

Figure 1: Expectations at the start of a project.

Product Development life Cycle:

So after all initial planning the product development started and there are actually very few teams which can excel, at starting only, i.e. yielding result before the timeline.

So projection at this stage looks like

2nd

Figure 2: Reality has a way of making its presence known!
Management becoming Active:

At this time leads, after being patient for too long, become active and put pressure to meet the projected timeline. Due to pressure on development gatherings, there focus changes from standards and quality management to fulfill the functionality. Result in cluttered and non-standardized code, bad quality product.

4th

Figure 4: Technical debt.
How Organization enters into loop of Vicious Circle of Technical Debt:

At any how organization delivers all the functionality (bad in coding standards and somehow poor in quality), client ask them to expand the application by adding some more features.

As a result what organization ended up with is a cruft on top of cruft that is a loop of Vicious Circle.

5th

Figure 5: Cruft on top of cruft.

360 angle to LIFE

January 19th, 2010

Let me start it with myself only, because I believe that everything should start from within and then flow outward.

What can I call that morning of 15th August, an auspicious one or an awful one. I am perplexed to determine, what adjective should I allot it, but one thing I am damn sure is that it was the same lethargic morning, where I wake up, and directly jump into my fixed daily schedule, without a single thought. After taking bathe, according to my schedule, I sit for a 1 hour meditation session. I don’t know how come that single thought, on that day came to my mind, which never evaporated for last 25 years.

I don’t have any scientific reasoning to that, but I do have some spiritual reasoning to that, which says that “all your actions are been timed in this space”.
What you have to do is that be patience and courageous to face them, and take action, being calculative depending upon situation.

That one day change my angle towards life, during my session I don’t know why my mind quote this question to me, and then started penetrating deep inside to find the answer. The Question was “Am I Slave Or Master of My LIFE”. It was an interesting Meditation session where i was just sitting and watching my two mind conscious and sub-conscious are arguing to each other. It started with sub-conscious which give explanation in favor of being a the Master of life.

Here is the narration which foreplay in my mind.

sub-conscious:- yes, I am master, I control every thing, in My life.
conscious:- If you are master then why you started doing thing, without giving it a single thought. Why you do things without any purpose?
Why that you start day by brushing, and then going on with other daily activities?
sub-conscious:- Yes, I do this because I had my expertise over them? So, I don’t have to think again, I am confident that I can do it.
conscious: If, it is like that as you are saying then, Why you never change the order of activity?
sub-conscious: no answer it went dumb.(this silence was really awesome, its just like I am at Zero(neutralized))
conscious: Did you know, that what all you do is all because of Me? I delegate all the things to you.
sub-conscious: silence is deepening, as there is no answer from my sub-mind.
conscious: I agree that when we are expert, then we never think again for same type of Job to be done. We just execute.
sub-conscious: yes, that what I was saying priory.
conscious: My friend, Tell me if you are a Ticket collector in a Train from station A to B, what you will be expert in ? Will you be expert in boarding Train?
sub-conscious:  Yes off-course this should not be asked.
conscious: OK, then tell me will you board in any train or in the specific train?
sub-conscious: off-course in the train which will be via A-B, only.
conscious: Can I call this your goal to check the ticket of passengers between station A to B?
sub-conscious: yes, off-course.
conscious: Tell me then, why you go as per your goal in this, when you are expertise in boarding the trains. Why you are only boarding trains via A,B?
sub-conscious: silence.
conscious: My Friend, when there is no goal in front then you are not more then a machine which just execute?
conscious: We are not machine, are we?
conscious,sub-conscious: yes, They both agreed.

They both now get into one tone, and this is the time when I was feeling very relaxed, because there was no friction between the two.

I realize, that yes my conscious mind is right why I elude my Goal, even in my day to day activities. To be innovative, you should know what are you doing, why you are doing and when you will do it. Once you know this then only you can be innovative, creative and smart in doing these things.

This is when you will be never bored with your life. You will be always cheerful, and this is the Time when you will feel immense JOY in your life.

That’s What this proverb means “Mind is a good slave, but bad Master”

Revolutionary Dreams

January 19th, 2010

Isn’t the title seems contradictory to you! On one hand I am using a word “revolutionary” which resembles something active, in motion and on the contrary I used word “dream” which comes in conjuncture with sleep(symbolically represent inactive state of human body, not organs). Don’t you think that I committed a mistake while opting for this debatable title?

You must be thinking that when I sleep I dream, when I wake up I don’t remember what I had dreamed off, then how can dreams bring revolution?
Why is this article titled as Revolutionary Dreams?

Yes, my friends this happens, with many of us, only and only when you dream what your mind portrays. Believe me this will never happens, when you control and ordered your mind to portrays something you desire.

I chose this title deliberately to change the world notions about dreamers. World history, had always jibed over the dreamers. They always pointed out fingers to them. They even created a special class “day dreamers” out of them. World underestimated them, they think them as jobless, work-less and hopeless fellows.

Be naive and tell me with affirmation that you haven’t dreamed. If yes, then I must say that, you must not be reading this blog of mine and will be an entity of heaven. As I believe that anybody who is living on this earth, had dreamed of something it may be materialistic, vulnerable, non vulnerable, or of any form.

I want to bring world attention to the fact that, many epitome in fields of art, science, computers, philosophy etc are considered as dreamers and many belong to special category of them i.e. “day-dreamers”. It may be Einstein, Edison, Madam Mari Curie, Helen Keller, Wulmaha Rudolf and lot more, who brings new realities to world, who unexplored the hidden secretes!! They all are dreamers.

So as a word of caution never felt petty on somebody’s dream.

You must be now thinking that why is that “their dream take some tangible shape and ours doesn’t” ?

Friends, I truly believe that to know a solution to this, we should first divert our attention to feasible possible solutions available! and then find one elegant out of them.

So with Dream first we should accept the harsh reality that their(dreams) occurrence is not in our hand. So you must be wandering that why I had written something on it and you are reading when it is not in our hands?

Friends to know the reason for that first tell me what happens when we play or exercise?
.
.
.
Yes, our body get exhausted, we get tired! Can you control tiredness, or more specifically can we control the mechanism of when our body become tired?
!
!
!
No hmmm. So will you stop playing…..
!
!
!
No hmmmm. So what you will do!!!

Yes we will train our body and increase our stamina for more resistance for such physical labour.

So what you will get by doing so?

We didn’t control the Tiredness but we control its occurrence. We have increase the time line in which our body get tired.

Similarly we can’t control dreams, but we can control there patterns.We can control what we dream about!!

Believe me friends once we mastered the Art of controlling the Dreams, then you will see the power of them. You will find that these dreams don’t make you dormant but they prepare you for great Revolutions in life, and once you are revolutionize then the world surrounding you will also start becoming the same(remember the chain reaction).

Friends Dreams are the key to kingdom of Unexplored infinite energy lying within us!! that’s why I titled it as REVOLUTIONARY DREAMS

TURN ON THE PAGES OF HISTORY,
YOU WILL FIND LOTS OF DREAMERS WHO REVOLUTIONIZED THE WORLD WITH THEIR INNOVATION,
WHAT THEY MASTER IS ON WHAT TO DREAM & HOW TO PROTECT THEIR DREAMS….

REST ALL IS BACKED BY PERSISTENCE & SELF BELIEF.

Read the rest of this entry »

The Art of Articulating your thoughts/creativity

January 14th, 2010

From Saran:

The Art of Articulating your thoughts/creativity – there’s a plethora of channels to convey,reflect your thoughts…I’d like to crank up this topic with my friend Prakaz’s art of articulating his thoughts/creativity via his photography flair…here we goooooo…..

Check his photography, his brain-child software tools &  more -> http://www.flickr.com/photos/prakaz/

“The Greatest Gif’t of God to Me”

January 12th, 2010
My mother says

“Every mother had one, beautiful Child”

lets start the Journey of not only mine but of every mother,Journey begins here,

As A child: where she had been deprived of lot of things which males in her family are poured up with, like late nights, vehicles, and lot more. But she stood without complain, she enjoy, the moment of happiness with her siblings, and never regret for what she didn’t get.

A Bride: The moment where she had to leave all, with whom she spends her past 21-23 years of life. It’s a traumatic situation for anyone to change, all environments in which one had lived for past 20 years. A situation where the mind even repulse as it has to move out of comfort zone where it had adapted to and now challenge is to adapt to a new one. But there stand the tougher who flexibly adapts to these new changes without a thought.

“The research on animals even reflects that when they are moved to another environment from where they live in, the chances of there survival are very few.. “.

But see the beauty of Woman, she not only survives but, take over the new responsibilities. She is now Wife and had to take care of her husband, and every one in his family. She did that, very gracefully, respectfully, without complains and even without any anticipation.

A Mother: The third transformation most desired by any woman, it came when she became mother. According to me the most painful one, but she feel proud to be a mother. I only knew one thing that even a small muscular pain hurts a lot and I don’t know how women’s are so compassionate even while going through that painful labour pain. This isn’t the easiest one, but the most difficult one as for this she had to leave every thing her career, her taste, her illness, her comfort.

But still she merciful undergoes all these and enjoys the growth of her children’s. She also grows with them and enters to the last Transformation.

Old Age: the last transformation in every human being life “old age.”

She grew old, while serving to every body, she never took care of her, she never get time till now, to think about herself, in this world where every body is selfish and self-centered, she was an antonym.

Now she expect nothing else then love, love from the ones whom she had given all her life. But she never speaks and if situation came where she can still do something she will sacrifice to serve, with joy.

What my mother said is Right

“Every mother had one, beautiful child,”

But I truly believe that,

“God I remember you, in my mother’s absence,

Rest all the time in her, I feel your presence”

Yes, I can proudly state that god can not give me a better gift then this; yes my mother, my holly mother.

A poem to all moms from there kids.

“MOM I know you are their for me, every time,

I may be too far from your eyes but you can see me, every time.

Before tears come to my eye, I can see your moist eye.

So, I could get a better sleep, you couch on the land, my near by.

I feel like, in heaven, when you are with me,

You are my luck, the greatest gift!!  God had given to me.”

GRATITUDE

January 7th, 2010

G R A T I T U D E

I don’t remember the exact date, but yes from the time when I grown mature and meticulously adapted to world working language, I learned only one thing, run, run for every thing.

As, like my others friends in this world, I also started living my life on the protocols set by world to survive. I also became the part of crowd who are calculative, weirdo, manipulative and selfish.

My Life was going fine. I am getting every thing, what I had expected, whether by hook or crook, in this world what matters are end results and I am getting them, so I never bothered.

One day I visit one temple, suggested by one of my friend. I got an opportunity to visit the old age home run by the temple committee. I don’t know what happened to me at that place , my mind paused and blinked up with heart piercing question, I groaned in petty on myself, I was helpless, I was feeling all alone.

That Question is hollowing me from inside, and I was speechless and dumb.

I am looking all inside me, searching all my knowledge to answer that, but an emotional question cannot be answered by mind logic’s and book knowledge. The answer to such question should come from within, from your heart.

Oh I haven’t told you the question till now! sorry!! The question was

See these people! They are also part of your cruel world! Why then, they are here! Why are they not with their family! Why their family for whom they run all there life discarded them! Why they are all alone! Why no one whom they know is with them! Why! Why!

Is this the result of your rat-race! Is this the result you desired!

Yes, these “Why’s” are killing me. So I sit in a quite place, and put my heart to it.

My heart replied once and my thrust satisfied.

It said, stop! Stop this mad rat race. You, want to come up curbing your dear ones for what!

Money, Name and Fame

You are running from them for something which will never last long.

You are running from them whom you need at end!! Where! Where to land!
One day will come when nobody will be there when you die!!

Because it is you, who detour from them!!

And it’s all because you are so rude and ruthless to weigh all your relation in terms of profits and losses…

I know I would have never thanked anyone, for what good they did to me. I know I flowed away in this brutal world like sheep in herd, but now I am awake and I wish to do one thing which I should have done long back.
“To bow my head, and pay them Gratitude”

I hope this is read by all of them who had given me courage, and helped me, to be what I am today.. Friends I did mine you do yours before it’s too late to turn back….

Secret & Cigarette – In & Out respectively

January 7th, 2010

My writers’ team(Saurabh,Ashutosh et al)  is gonna pen down their thoughts on the seminal book “Secret” .  I can quote one difference between Cigarette & Secret other their phonetics similarity …that is.. Secret is what goes in (and should not come out) but Cigarette is the one which should not go in but should come out. Confusedianism, is it?!  let’s continue…

————————————————————————————————————————

Human is a social animal. You roam around the history, turn the pages, and you will find that humans had always welcome the changes. Either the change is in culture, surroundings, Environment, We humans had always adopted them. These chnages not only bring the reflective changes in ourself but also brought lot of revolutions.

Now, Let’s turn the pages off all the philosphy epitomes you will see that what is keeping a Human away from Success and Joy is, the Attitude.
Attitude is nothing but an outlook of Human towards life, people and surroundings.

Its very difficult to Compare, the two dissimilar, thing and where one is tangible and other is not, it grows more worse.The seminal book Secret, is a book about nothing, because what all it preaches about can never be accessed, can never bee felt by all human senses.

But still, I took my chance, and ride on horse of my creativity to bring in some similarilty among these two things. Eureka!! I found, I know that it may be my idiosyncrasy, but to agree or not is your will.

What i found is that whether you adopt Secret or Cigarette in your life it will bring a definite change and what change you welcome is your wit.

Life Will change for Sure, now which one you opt is your Wit.

Life Will change for Sure, now which one you opt is your Wit.

Death Goal

January 7th, 2010

It’s all happens accidently, yes as our mind never sleep, and when it read something, which had a deep inspiration and a underlying truth it went restless.
Yes, such a thing happened to me too.
The accident, I encountered is a coincidence or not I can’t say, but it impute my mind restless, mesmerized and perplexed.
Whole night after reading the book “Do Gaz Zameen”, by Abdus Samad I found that I am sleeping (physically) but my mind is struggling radically to occult the truth depicted in it. I try to portray the truth in line below.

इन खाव्हिशो का खात्मा न हुआ,
आज मैं ही ख़तम होने को आ गया |
ज़िन्दगी की इस दौड़ में जो करना चाहता था,
उसकी आरजू मन में लेके जाने का वक़्त आ गया |
ज़िन्दगी तेरा मौत से फ़साना तो तय था,
इस सच से जब रूबरू हुआ तो मेरा अंत समय आ गया |

The End result, is this blog and the unusual title “DEATH GOAL”
Might be, it sound you idiosyncratic, but I felt every truth is always like this one.
So before jumping directly into the facets, let me pose you a question what is GOAL!!!
And what’s your life GOAL?
Goal in general meaning defined as what you want at the End of your activity i.e. what you want to achieve, it is more casually defined as purpose driving your action.
What about the answer to the second Question!!
You all will be having list of different things!!! Hmmm.
Let me depict second question in different manner! What you will get at end of your life!!!
Now here we all have only one answer!!, only one, the piercing truth. Yes, it is nothing but trembling, “DEATH”. No body on this earth can ever avert that!!!
So my question is!! When we all have something non-avertable, then why are we creating a mirage around us? Why we don’t accept the truth?
Is it not, because of our ignorance, that we neither enjoy our LIFE and neither our DEATH.
See the mystery, god decided our life fortune, and nobody can deny it!!
But he didn’t decide our “DEATH FATE”
So, I realize this truth and then I jumped into preparing a list of all the things what I want to do, if this is my last day.
I just jotted down; my mind and heart automatically are in sync. My hands are not stopping.
When I stopped, I was surprised, looking at the list.
I asked only one question! What the hell I was doing for last 25 years, of my life?,
As the list contains all the antonyms of what I had done and what I am doing daily.
And I was surprised to see that these 3 words, NAME, FAME and MONEY was no where.
You want to know some of my list items. Even I think I should disclose some because I know it will match to some of yours when you do the same.
1: To be Remembered as a Naïve person.
2: I want to spend some JOY full moments with “My family”.
3: I want to help, who are in Needs, I want to be humane.
4: I want to live for those, who may be not my kin, but on humanitarian ground need
someone.
5: I want to go to Himalaya Ranges.
.
.
.
.
There are lots, and lots of thing, but when I segregate them into categories, I was surprised that they all lie into 3 categories. Maximum of my wishes fall under FAMILY, and SOCIAL categories. The left few which are full of adventures is something under category PERSONAL.
Then I asked a list of hard questions for which I have no answers.
Why, am I running from what I want to do really in my life!!
Why am I doing, what I didn’t like?
Why am I leaving JOY for SUCCESS?
Why!!
Then, I decided that I will take control of my DEATH. I don’t want to die, in dumb.
I want to DIE, with a smile of satisfaction and compassion. I want to DIE as HUMAN, and not merely as a MAN!! (It has a deep sense just think).
I was surprised my days, after that night are JOYFULL, and with proud I can say that, I am heading towards my

“MY FATED DESTINY DEATH”.

.NET SOA

December 17th, 2009

Recently I have been tasked with developing interoperable WCF services. My services are to be consumed by .net stack as well as by Tibco. As of this writing Tibco is not very supportive to WCF. Some issues are caused by WCF and some are due to laziness of Tibco. Following are the problems that I faced while developing this service:

  1. I was not able to get wsHttpBinding working with Tibco. Tibco has announced Support for WCF but I still to see that support in any of their product. I tried coordinating with our Tibco team but they were not able to get wsHttpBinding working. So we decided to live with basicHttpBinding. basicHttpBinding is very close to ASMX and having this binding means that you won’t have any funky thing possible with WCF. But it enables me to move to better binding once my clients are able to understand that.
  2. WCF does not include schema in one WSDL document. Rather WCF puts those schema into the network location and refer to those external locations in main WSDL document like this:
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
<xsd:import schemaLocation="http://localhost:1282/Service.svc?xsd=xsd0" namespace="http://tempuri.org/"/>
<xsd:import schemaLocation="http://localhost:1282/Service.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System"/>
<xsd:import schemaLocation="http://localhost:1282/Service.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
<xsd:import schemaLocation="http://localhost:1282/Service.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/Entities"/>
</xsd:schema>
</wsdl:types>

Most of the legacy client tools won’t be able to recognize this. At least Tibco is waste and can’t understand it. My Tibco team has to manually download these schemas and then change the WSDL document to refer to those local schemas. This is a pain.

There is a way to put all your WSDL in one document. There are tools such as FlatWSDL and WCFExtras which can pull all your schemas and put them together in one single WSDL document. But in this world everything comes with a price ;) . Once you convert your WSDL to a single document schema, your WSDL loses some information in such a way that all collections become arrays. This is not good when you have .net stack also consuming your service along with non .net stack. Non .net stack anyway will get arrays but it would be good if .net stack can still see collections. More on this here….

  1. Designing exception handling approach. While starting to work on this service we had two options a) throw exception when we have exceptions b) never throw exceptions, instead respond to request and in response you let the client know that request was not processed successfully.
    Initially we went with first approach where we throw exceptions because Tibco didn’t want to introspect each message. This is good also because a broker should not inspect a message. This is basicHttpBinding so they are able to inspect; what if it was secure message? Brokers would anyway be not able to inspect message. But in this approach Tibco was not able to bind FaultCode and FaultString. This is because .net exception itself does not have FaultCode and FaultString as part of their data field. At runtime framework will populate these two fields. I tried working with FaultException as well but somehow that also didn’t help. Tibco team was not able to see FaultCode and FaultString in the schema of FaultException. I am not sure if I was missing something or my Tibco team.
    But due to this then fell back to plan B and now we are using response object to let client know that request failed. Now my response object have FailureCode and FailureReason that Tibco team can bind to FaultCode and FaultString.

This was my exposure interoperability and I consider this as a tip of iceberg. There is so much more to explore if you have more clients of different nature and you are planning to expose more bindings but all that for some other day.

My arts for your eyes…

December 9th, 2009

Here is the poetical email which I recently penned down for the event – “Shakespeare Unleashed” . Hope you’d love reading as I did while writing. Thanks for your time.. here we go…..

Below is the global warning message sent by my Pen friend – Ms.Penguin from Southern Hemisphere (photo attached).

Kindly feel free to let others also know about this message. Thanks.

Direct from my Web(bed)  Pen friend’s pen below…

Where the heaven am I ? –   Straight from the gut of a Penguin

Conduit                            :  Penguin’s Pen

Publisher                         :   Penguin

Editor/Ghost Writer       :  Saran , a Pen(guin) friend

Where the heaven am I ?

Where the heaven am I with the reflections of the water body

in the deep blue sky

kindling the sparks of the mistiness

amidst the misty white iced-mountain cubes

encased in a holistic tranquility !!!

Where the heaven am I ?

Thou would ask me where my waddle is

Thou would question me where the rookery is

Thou would search where my raft is

Thou should discern,…. that the genuine semantics of…  the real world meaning of  the so-called “Serenity” (builders excuse) ,

experience my experience of  Serenity in the attached picture!!!!

framing in a political correct way, this is my Serenity, my friend, sluiced in the juice of Serendipity!!!

But forget-this-not,

A day may rise

When thou

will be in a place like this

which hath all states of matter

liquid water, solid ice with a gaseous mist

surrounding thou in an improper state

the root cause of that would be “GLOBAL WARMING”, forget-this-not  the inconvenient truth thus hath spake

Let the musings begin, my friend! Let the musings begin!

Control-S your planet before it goes out of ControlS !

How to control…don’t ask me…This is my Global Warning!

From cycling to recycling @office & @way from Office (no escape characters allowed)

Control-S your planet before it goes out of ControlS !

Time has come for me now, my friend,  to close my pen & lose my heart back in my serene heaven… Where the heaven am I

Cold Regards,

Your Penguin@southern_hemisphere.CALM

http://sonar.codehaus.org/screencasts/installation-of-sonar/