Friday, April 17, 2009

Stuff I Have Found to be Interesting Today

The Marshmellow Test - willpower via distraction, was interesting.

Jeff Atwood has a new entry: Exception-Driven Development. Great opening picture and some great advice. He does get TDD confused with unit testing everything. Nobody's perfect.

Esther Derby has a good post on Five Ways that Team Members Build Trust with Each Other. She led me to this good post on Feedback. This is an issue I struggle with. I have always loved the the perfection game in the Core by McCarthy.

Freakonomics shares some info that disturbed me. 70k$ to run for mayor of Rapid City, SD every two years and it only "pays" 90K$/year?!? Politics has become a strange/scary world. 

Thanks to the power of Twitter I found 10 Programming Proverbs. Great humor, wisdom and pictures to boot.

On the yahoo group for XP there is a thread that started as One project per person X One project per team and has evolved into "People vs Process". The real action begins with post 15015. Here are some posts I have read and enjoyed:
  • 150128:Talks about a good way of managing a difficult situation brought up
  • 150181: Has Ron trying to explain that the person isn't the problem
  • 150219: Has another trying to explain the same thing differently
  • 150232: more clarification of the problem...
  • 150272: Ron will not let this one go
It is still going on...and may never end :-)

Saturday, April 11, 2009

The Animal - a geek's tale about a vacuum cleaner

The last two vacuum cleaners we bought were the top rated by consumer reports. My wife's opinion of them, in a play on words, THEY SUCKED. She was using our latest one in an effort to clean the house when it billowed smoke and stunk up the whole house. Two positives came out of this. The first was a house full of fresh air. The other was that she picked the next vacuum cleaner, the dyson DC-17.

This vacuum looks like a geek designed it and belongs in the engine room of a space ship. It has what looks like in-take valves on top (in purple), leading into a clear bin with a metallic grey base. I don't do it justice in either words or photos.

When I opened the box I actually wanted to clean the house. Luckily, the feeling wore off before I could act. It took more time to get it out of it's tightly packed box than it did to assemble. My wife immediately gave it a test run on the foyer rug. Before she was done with the rug the fairly large bin was filled. Mind you we hire a cleaning service and they vacuum that rug every two weeks! 

One grey button poress and the bin is removeable by the clear handle on top. She walks over to the trash can and presses a bright red button and viola the bin is emptied. After replacing it and finishing the rug she the pulls out the wand. To do this all she has to do is pull the red handle up and the wand assembly detaches from the main unit. The suction on this wand is scary. Keep it away from small animals. We love it and we haven't even used the three impressive looking attachments.

If you can afford the high price I highly recommend it.

Saturday, April 4, 2009

The Geek's Role in Business

I'm a geek. I like understanding how things work and sometimes it just doesn't matter what that thing it. I think it's cool that Pete Brown is writing a C64 emulator in Silverlight. I was mesmerized by the inner working of CouchDB. I even find musings of a different way of organizing a company interesting. I have a reached an age in which I embrace what I am.

One thing I have witnessed over the years is that business people need geeks to make/support the things they sell. This is helpful as they pay pretty good. I have also witnessed that many geeks think they are smarter than the business people because they are more logical. I once believed this nonsense. I now know that each person has their role to play in the ugly game of making money. The geek's role is actually pretty well defined, but for some reason most geeks seem to overstep their bounds.

The geek's role is to provide options to the business person(s) and to clearly articulate the advantages and disadvantages of each. The geek's role is not to make that decision or even influence it. A good business person can actually understand the advantages and disadvantages and make a good business decision without your input.  They don't even owe you an explanation. They are responsible for making the money that makes it way to your bank account. The geek knows a lot, but is not all knowing (yes even you).

Agile Software Development is the first process framework for software that I have seen that tried to make this distinction clear. I find that when Agile is practiced well the customer is forced to make decisions (something they aren't use to in traditional disfunctional processes) and the developer gets to provide options and make all purely technical decisions (I find there are really very few of these). If you are a geek or in the role of a geek remember to provide options and help the decider understand the advantages and disadvantages of each. There are ALWAYS options. You should provide them even if you don't like them. It's kind of like eating a vegetable you didn't like as a kid. Just smile and do it!

If you employ a geek, be patient they mean well.

Saturday, March 28, 2009

I have been assimliated!

I moved my blog last year because I had two Google accounts and I was two lazy to figure out how that impacted me editing my blog. In the mean time I have become fed up with Hotmail and Bloglines. Thus I have become a googlite. Gmail, reader, blogspot, docs, calendar are all now my tools of choice. Therefore I am back from mwpolen.wordpress.com.

Sunday, May 25, 2008

Moving to WordPress?

I have started an account at WordPress:
http://mwpolen.wordpress.com/

The editor here and the fact that when I logged into my google docs with a different email than I use for my blog I lost my saves made me mad :-)

I might come back, but for now look there for any new posts and here for old posts.

Saturday, May 24, 2008

Jim Shore on what seperates high performing agile teams from just good ones

I found a talk by Jim Shore at the Dallas chapter of the APLNtalk on what separates the great teams from the average agile teams (it is over an hour long):

http://jamesshore.com/Blog/Secrets-of-Agile-Success-Live-Recording.html

Since I had no good ideas this morning I just took notes.

1. High Bandwidth Communication

High performing teams sit together. People complain that it gets noisy. Pair programming can help with the noise because the adhoc communication is less chaotic (mostly between pairs and not cross the table all the time). They also are cross function and have an involved product owner. Get real-time feedback on features and priorities. Without one the questions take more time to get answered correctly.

Teasley study shows that sitting together doubles productivity and time to market is one third:
http://www.sciencedaily.com/releases/2000/12/001206144705.htm
If you separate a team because of convenience is it worth the cost.

2. Passion

Cult of quality: the believe they are special and are accomplishing something special.

Talks about teams forming: http://en.wikipedia.org/wiki/Forming-storming-norming-performing. In his opinion it takes months, up to and over 12, to get to performing. As teams really form they are inwardly focused and from the outside they look weird. He warns that you should use cross functional teams to prevent this teamness from harming the organization. Sometimes organization break up the team in the norming phase, before performing. The fifth stage is adjourning (breaking up) and the team members will go through some mourning. The team will be naturally self organizing (teams take ownership of work).

Someone asks if you lose one member does it take another year to incorporate a new team member. He says one of two things happen: assimilation or rejection. One person states that sitting together can speed up the time to get to the performing phase.

There is a focus on continuous improvement (much like Lean's perfection principle). They have pragmatic idealism: you don't stop doing something just because it is uncomfortable or hard. (e.g. TDD - it can be hard in certain situations, high performing teams don't give in to the desire to short cut the hard parts - reminds me of a recent Tim Ottinger post). The ideals or principles are pragmatic because they directly relate to a goal (e.g. TDD is there for the goal of high quality or in Lean terms low Muda.) Regular retrospectives are the one thing he would recommend to any agile team that isn't - not just going through the motions but selecting an area to improve each time. He conducts them for an hour.

Marick's missing motivators: Marick states that the agile manifesto (that he signed) is missing four values:

  • skill - good at your job

  • discipline - don't cut corners

  • ease at work - don't make it hard to do the job (remove obstacles)

  • joy - enjoy your work


He states Scrum is good because it focuses on ease, but not good enough to get work done (I agree of course :-). Talks about distributed teams. He recommends Pubs & Planes :-) He references some research by Monica Yap (might be this: http://ieeexplore.ieee.org/Xplore/login.jsp?url=/iel5/10705/33795/01609825.pdf?arnumber=1609825) that shows how hard distributed teams are.

3. Lash of Jeffries

Running tested features on a schedule every iteration. Ship like clockwork. Requires that done means done (or as he says "Done-Done"). He means that even though all the work is done it isn't done until it is a running tested feature. IMO: There are often gaps in a feature if it is split among people. He says the velocity is rock solid and the features are nearly defect free. They prevent defects from entering into the product. Flickr deploys software every day!

Asks the audience if anyone has gotten to this point and the room was quiet for a while. One guy says they are just now able to deliver every iteration on a Monday (with Tuesday as a back-up in case of any defects found with the push on Monday). If the user isn't ready for a feature have the ability to turn off the GUI (but deliver the feature anyway) You don't want long lived branches in your code. Sometimes the team will overwhelm the business team. Isn't that a cool place to be! He states that the business will adapt.

He tells a story from his book about a team working on an embedded application. They had 60k LOC, 51 defects (over 3 years of development) never had more than 2 open defects at a time. Delivered software after 6 months and supported engineering as well as new features. They delivered 21 defects. Capers Jones statistics said a best in class team working on this size project would have had 461 defects, found 95% and delivered 23. The team above found only 59%. They prevented defects!

4. Agile Engineering

Great teams use agile engineering. He busts on Scrum again because it lacks AE. AE Practices are TDD, continuous design, rigor & mindfulness. Software engineering practices taught in school come from large and long DoD projects doing some version of waterfall or spiral. These practices can't support weekly or even bi-weekly deliveries. Great teams avoid technical stories (taking time off to refactor). AE doesn't require an A-team. He works with ordinary people in great teams.

He does think every team needs someone who is passionate about quality and pays attention. This person doesn't need to be senior but needs courage to speak up when things are going wrong.

He didn't plug his book, but I was impressed so I will. He publishes added stuff to his book every Wednesday here: http://jamesshore.com/Agile-Book/

Saturday, May 3, 2008

Threes Dog and Pony

I found this buried in my email folders:
Threes Dog and Pony
Rev. 1.1 By Duane Elms and Leslie Fish
Nitpicks 1.2 by Rich McCabe

Deep in engineering, where mortals seldom go
A manager and customer come looking for a show
They pass, amused, among us and they sign in on the log
They've come to see our pony and they've come to see our dog
Three things to be wary of: A new kid in his prime,
A man who knows the answers, and code that runs first time
Summoned from our cubicles, to conference room we go
We bring our dog and pony, 'cause we know they'll want a show
Watching while we enter, with a shifty, restless eye
The customer sits waiting in his pinstriped suit and tie
Three things to never trust in: the vendor's final bill,
The promises your boss makes, and the customer's good will

The pony kicks his heels up as the doggie does his trick
And hams it up with vigor as we lay it on real thick
The customer just watches as we do this song and dance
Then reaches for his briefcase, only giving us a glance
Three things that see no end: A loop with exit code done wrong,
Requirements unspecified, and the change that comes along
From briefcase then there comes a list of things we must revise
And all but four within the room are taken by surprise
And all but four are thinking of their last job with remorse
(The customer, the manager, the doggie, and the horse)
Three things hold no secrets: Files that somehow hit the net,
The boss' secretary, and what makes the customer upset
First, twenty-one new features that we somehow must add in
Then, thirty-seven changes show up, much to our chagrin
And this thing's just inadequate, and that thing's just plain wrong
And, by the way, your schedule's about three months too long
Three things it is far better that only you should know:
How much you're paid, the schedule pad, and what is just for show

The customer proceeds to go through each change, line by line
Excruciating detail which no logic can divine
And when it ends, there's only four not sitting there agog
The customer, the manager, the pony, and the dog

Three things never anger: First, the one who runs your deck
The one who does the backup, and the one who signs your check

Now we are contract software types who spend our days and nights
Embedded in the system, down with all the bits and bytes
And none but us can tell full well the damage done today
It's what they do not know for which they're gonna have to pay!

Three things are most perilous: Connectors that corrode
Unproven algorithms, and self-modifying code

The manager and customer are quick to leave this bunch
They take the dog and pony, and they all go out to lunch.
Now how will we avenge ourselves on those who raise our ire?
Write code that self-destructs the day the warranties expire!

Three things trust above all else: Your knowledge of your craft
That someone turns a profit, and that you will get the shaft