Sunday, March 17, 2013

St Patrick's Day or Leadership & Power

Where I live, in West Michigan, St. Patrick's Day has become a big deal.  In 1984, it was nothing like it is now.  It was much more laid back then - now there is a massive street festival and loads of people dressed... well, oddly.  As St Patrick's Day is on a Sunday this year, it seems a full-blown all-out party is called for, starting Friday and going until late on Sunday.

The thing is, people are having a lot of fun. That works for me.

When I played in a band in 1984 (and later) people looked at us blankly because we did not play "When Irish Eyes are Smiling" or "Danny Boy" or "McNamara's Band" or... other stuff.  Instead we played a mix of traditional tunes, songs we learned, picked up or collected when a bunch of us were students in the West of Ireland.

We had an absolute blast.

We have gone our separate ways and life has had us move on.  We run into people playing songs we had played 20 years (or more) ago in this area for the first time - as in, no one had played them live in this area.  If you looked really really hard, you might find a cassette tape of some band playing them.  A couple of times yesterday, I ran into bands playing music we played.  I smiled.

During one break, an excited musician, beer in hand, came up to me and said "You're Pete, right?  I used to listen to your CD's when I was a kid. You guys were great!  If it wasn't for you guys we would not be playing!"  It dawned on me that this excited (and fairly accomplished) played was not born when we played our first public gig.

I was musing on this as I walked home form the local yesterday evening, surrendering the night's revelries to others who were also not yet born the first time Whiskey In The Jar was played in this town.

An office building with large windows and a cubicle farm to be ween within was along my route.  One of the cubicles had a sign proclaiming "All Power Corrupts."  That made me totally change my thoughts until I walked in the front door of my house.

What is Power?

What is it about Power that Corrupts?

As I am to be speaking shortly in San Diego on Leadership, this has filled much of my thoughts since I saw that sign.

The odd thing is, Power is not a physical, tangible thing.  There may be reactions to Power, but like the wind, power itself can not be seen.  We see reactions to wind, trees moving, sometimes being up rooted, but not the wind itself.

Power describes a relationship between entities - people or groups of people or, well, you get the idea.

What is of far greater interest to me, and bears directly on leadership ideas and why some people seek leadership roles, is: Why do people seek power? 

This, perhaps, lies at the root of the idea that power corrupts.  One person sees another behaving in ways they did not expect - perhaps rather like a despot or tyrant, perhaps more of a martinet, possibly they display a criminal sense of entitlement.  To some, they appear to have changed.  Probably for the worse.

I might suggest that the evidence was there all along as to how they would behave and it is to the "exceptions" that the evidence lies.  Those who seek power for its own sake are rare.  Rather, they seek power for what they can do with that power.

What can they do with the relationship is the question.

What will they do as they achieve the amount of power they seek? 

I suspect, for most active seekers of power, the answer is to look for more power, or different power.  You see, most people with a deep thirst find they want more.  I suspect that Power as it is normally understood, is a bit like cocaine.  The first taste is amazing!

And then that rush fades and you seek more. So more cocaine, or power, is needed to fill the void and get the same feeling back.  Except it becomes almost impossible to get the same level back.  So you seek more to exercise more.  And you spiral into... something.

The problem I have, perhaps an indicator of potential problems, is what do people mean when they say they want to move into "leadership" positions?  Why do they want to be a leader?  Do they look for power in some form?  Are the looking for something else?  A larger paycheck?  More ornament on their uniform or business card?

Matt Heusser makes the observation that you are a leader if people are following what you do.  If you are not, then you are some guy going for a walk.

The interesting thing is that most people I know who are leaders, and have attained a certain amount of power in the testing community, are leaders precisely because they did, and continue to do, what was right for them.  No consultant or anyone else gave them a template on how to be a leader.  In fact, I believe the closest thing there is to a guide for being a leader is Jerry Weinberg's Becoming a Technical Leader - Read it if you have not already done so.

If you wish to be a leader, then know why you do.  If you seek power, then know why you do.

Be honest with yourself about doing so.

If you are not, then you stand to become another example of how "power corrupts."

As for me, some young kids I once knew are going to be playing music shortly at a pub where their dad and I played the first Irish music played at that bar,  We played in the band that convinced them to drop the sports bar direction they were going and embrace the "Irish" theme, before it became so common and plastic.

I've heard the do nice arrangements of songs I wrote.  I'd like to hear them.

Monday, March 4, 2013

US Grant on Software Testing

The question of "What makes a good tester?" is one that I have been considering for some time.  The thing  is that most folks, even those involved in testing, look at a broad mix of stuff that seems partly personality traits and partly technical stuff.

The thing is, you can have technical skills till the cows come home, as it were, except for the minor issue that without the personality to make use if them, no amount of skills will make you more than an "almost adequate" tester.

Are technical skills needed?  Absolutely.  Which ones will vary by the types of projects you are working on.  After all, some things will be useful in one circumstance and in others may be of less value.  Change the context and the value of the skills may well shift, no?

If that is the case, what set of non-technical skills are of value?

Excellent question - at least I rather think so because it is one I have been considering.

In considering the answer, I thought about my last blog post.  I suspect, well, rather believe, that this is part of the answer.  The thing is, that Hiram, or rather Ulysses, had traits that, I think, testers would benefit from.  A fair number of people I know, astoundingly good testers whom I hope to become close to in abilities, have some, well, most of these in some measure.

First I want to consider the rumors and, stuff, around Grant.

I suspect you heard what a hard drinking, cigar chewing (when not smoking) man he was.  Fact is, he did drink, but not after he came to prominence and wide attention in 1862.  The stories about him drinking in camp and on campaign.  The fact is, the stories of him drinking to excess were tracked back to a couple of officers, one in particular, who were jealous of his success. 

Defining Yourself

Earlier in life he drank.  When he was stationed in California, he was lonely, far from his wife and family and on the extreme end of the continent in an environment that was potentially dangerous.  Officers could have their family with them if they paid for their travel.  California was recently Mexican territory and was at times, dangerous.  His family stayed behind at her father's home.  Like many young officers, he began drinking.  When he resigned his commission and returned to civilian life, many officers wrote him off.  Frankly, they underestimated him.

That is one thing about testers I find.  They tend to be underestimated by people who consider themselves better for some reason.  Some struggle to find their way.  Sometimes, alas, far too often, testers actually believe the rubbish that is sometimes said about them.  Instead of being what they are, and defining themselves, they allow others to define them.  Define yourself by what you do and the quality of what you do.

Those who would speak poorly, if not out-and-out ill of you are likely those who do not know what it is that you do or why.  In Grant's memoirs, he wrote "the most confident critics are generally those who know the least about the matter criticized."

Learn What is Expected, then Think and Act for Yourself

Grant ran against more than one convention.  He had this nasty habit of getting information then doing what he saw fit, not what other people expected him to do.

Consider simply, how else could a supply clerk (after all, that is what the Quartermaster Corps of which Grant was an officer in the Mexican War) gain recognition in combat not once, not twice, but three times (that I am aware of.)  Yes, there were plenty of examples in later wars, but in the US Army, in the 1840s, one simply did not do that.  He stepped out of the mold and saw something that needed doing, then did it.

The thing is, if we stick to what is "expected" of us we run two risks - well, several actually but I want to look at only two right now.  

First, there is the question of predictability.  If a military officer becomes predictable in thought and action, they may be a help to that officer's colleagues.  Of course, it is certainly a help to that same officer's opponents.

For testers, what is the correlation?  How about this?  The simple version.  We become predictableOur thinking becomes rigid.  The way we do things has little or no variation.  Instead of true thinking, our test effort becomes little more than a template we follow.  This sets up the minefield problem.  When all the tests become the same, they, like the repeatable tests around minefields, only find a limited number of potential problems.  We test a single path and no more.

Related to predictability, is the question of common practice.  Now, I try and avoid "Best Practice" with something like this for a variety of reasons.  In this case, Grant demonstrated that the recognized "Best Practices" were actually, pretty lousy.

 The conventional wisdom told military thinkers that after a heavy engagement (ummm, battle) a secure location would be needed to resupply the army, rest troops and bring in reinforcements.  If an army lost the battle, they tended to withdraw, sometimes a fairly long distance.  In the early part of the Civil War, that is, until Grant was promoted to Lieutenant General and took over command of the Army, Union armies tended to pull back some distance - like 100 miles - to do just that.

The problem was, that to move back to where the last battle was, they'd have to start over.  General Lee's Army of Northern Virginia did not have these problems, at least not after defeats.  Simply put, they did not lose very often.  Of course, after victories they had a similar problem.  They needed supplies, they had wounded to be cared for and needed some amount of rest.

Grant refused to follow this practice unless absolutely necessary.

Retreating Forward

Instead of withdrawing many miles, he might withdraw a mile or two to where the components of the army could reform.  Other times, he did not retreat at all.  Even when bested in the field, Grant looked at what he had done, what his commanders had done, and what situations led to the defeat.

In short, he learned from his errors and from the errors of others.  He learned to recover and think quickly and clearly.

Grant had made many mistakes before - he was not a good farmer, nor a good farrier nor even clerk in his father's livery.  But he learned.  Through failure and heartbreak he learned.  He learned to persevere and to be humble.

He learned that a person who rose quickly could also fall quickly, and in the falling it may be a long time, if ever, that the same person might wise back up.  He learned that if one did not try, then that "long time" would become "never."

I can't prove it, but I strongly suspect this this was the root of Grant's "retreating forward" approach.  If he withdrew 10 miles to resupply and regroup, that would be another 10 miles he'd need to advance next time.  And next time, how many lives would be lost to retake the territory they held?

The result?  He stood where he was as often as he could.  His supplies were moved to his position and the army reformed and moved forward.  He did not follow conventional wisdom.  He ignored the best practices that had resulted in years of brutal war.  The result of that?

Lee's Army of Northern Virginia could not rest or resupply either.  Partly because they simply had less supplies to draw on.  In past campaigns, Lee could actually make use of abandoned equipment left behind by retreating Union forces.  This no longer happened.  Additionally, as the war progressed, Lee could get fewer and fewer reinforcements.  The Confederacy simply had too few men to support a protracted war.

How does this relate to testers?  Much should be obvious - Learn from mistakes.  Learn to search out what you may have done wrong.  Learn to search out what presumptions were made, what bias you had that influenced your thinking and then learn to recognize such things in the future.  Finally, do not abandon work you have done if it will need to be repeated and if there is some value in what has been done thus far.

Simplicity

Grant was plain and humble.  He had this knack of ignoring showy, flash recognition.  He was, however, impressed by people who knew what they were about, knew how to deal with the task at hand and supported them.  He did not care about who might have some "right" to a job or task because of seniority or special training or whatever.  If someone could do the job, he put them into it.

Then, when they did the action, when the thing that wanted doing was done - if it succeeded, he made a point of making sure they got the credit in its entirety.  If it failed, he shouldered the responsibility completely. 

Yeah, I know, both sound like leadership/manager-ish things.  But how many times are testers approached on something that may not be strictly "their job" but they have the skills to do it?  This is a chance to shine and possibly gain some recognition personally and build the reputation of the craft - as long as you do the job well.

Correspondingly, how many times are more experienced or senior testers called on to set up tests or environments and have others actually carry them forward?  Do we give credit to the people who did the work?  Do we make a point of supporting people in a way that they learn from both successes and mistakes?  Do we shoulder the burden of shielding them from criticism of those who may try and place blame for those mistakes?

Focus

An interesting thing about Grant was his troops knew this about him.  More than once he drove his troops to greater accomplishments than they believed they could do themselves.  When all seemed lost, by the previous measures they had known - and what all their previous generals had used, Grant rejected the "expert" advice, and the corresponding dilly-dally and running about hither and thither and continued on even though there seemed to be nothing to gain.  He refused to admit there was "nothing else" to be done.  Simply put, there is always one more thing to try.

Grant knew what his objective was, and what some of the obstacles in the way were.  He believed he could counter the known obstacles in turn, and trust that the unknown obstacles would be revealed and likewise dealt with in turn.

When we, as testers, are working on something, how closely do we stick to the task we are about?  How often do we remember what the main purpose of our work is?  Do we know what our main purpose is?

Grant knew what his main purpose was.  Maybe that is where we need to start.  What is our objective?  Why are we doing this?


Addendum

Phil's Comment and some emails I received make it clear that a "summary" might be in order.  Here it is...

Lessons:
1. Define yourself by what you are, what you do, how you do it, then be true to yourself.
2. Learn the Rules, Best Practices, whatever, then think and use what is appropriate for your situation, recognizing it may not be in the list of Rules.
3. Don't be predictable, except in being unpredictable - think and act.  Don't follow the script someone else handed you.
4.  Know when there may be value, or not, in repeating actions.  In some circumstances it may make sense to back up and do something again.  Other times, it may not. 
5. Help others succeed,then make sure that the success is theirs and not yours.
6. Learn from mistakes an help others learn as well.
7.  Know what the real point of what you are doing is, then do it. 

Oh. One more thing. 

Grant actually preferred to smoke a pipe.  However, when a newspaper story mentioned he liked tobacco, admirers sent him cases of cigars.  Rather than let them go to waste, he switched to cigars.