Archive

Archive for August, 2011

Draftning a first example

2011/08/30 2 comments

Yesterday, we worked on values, objectives and user stories in one of our projects. We were also given a short introduction to SBE by our coach Joakim Holm. SBE, for you who like me are new to to the concept stands for Specification By Example. I will not with my so not even basic whisp of knowledge about what this really means at this point even try to explain it, but we will formulate solid, important requirements and test cases in the form of specifications which can be executable. I will probably go into more details in later posts but if you want to readup on the subject, just google Specification By Example and you’ll find someone who can explain this much better than me.

So, back to my first encounter with these specifications. When I saw the way they were written, I first didn’t really understand how they relate to user stories – why do both? What is the difference between the notes on the flip side of a story card and a specification?

A bit skeptical, I during the first session started writing user stories. This is familiar grounds for me and we found a bunch of good stories. So I left the user story writing workshop with the intention to write a number of related specifications, exemplifying the user stories. No probs, hey. I know how to write this stuff, don’t I? I’ve written tons of user stories and as many test cases.

But this was no cup of tea. Writing these examples was so much harder than expected and I went home with a draft for one specification and more questions for our next session. Some of the questions are of course questions about formulating examples but most of them are domain questions and a large portion are directed to the developers and the architects. Which I guess is the purpose of this work. Keep you posted.

Categories: Agile, sbe

the story of a tunnel

When we talk about professions, we like to know if someone is good at the profession or if he’s bad. A good professional should probably be successful more than the bad one, or? So what about project managers? What is the definition of a good project manager. He should be successful at managing project, then. But what is successfully managing projects? Does this mean that the management should be successful or that the project should be success? But what does it mean to successfully manage a project and what is a successful project? This post focuses on the latter statement: the successful project. In many definitions, you take requirements, budget and time (and sometimes quality) and look before and after. If you can check as many of these groups as “as planned” then the project is a success. But then there is the sense of success. This should not be understated.

We in Sweden can be proud to be on the top three list of building projects. The problem is that it’s not the best but the worst building projects in the world. Just after the opera house in Sidney, we find the soon to be completed building of the tunnel of Hallandsåsen. So, why has this tunnel made it into a list just two places below the Panama canal?

For you who are not up to date with Swedish politics, it all started with the railroad and the heavy industry in Western Sweden. In order to ship all the heavy goods, they wanted the railroad to go through the hill created in the last ice age, instead of over it. This would not only cut time but also enable heavier train loads. It was a sure thing but also a political necessity. It was important to show that we spend money on trains and not just cars.

The problem is that the hill was not helping out here. When they started to drill, it also started to rain in ground water into the tunnel. Not little, but a lot. And the wells in the surroundings were drenched and the tunnel needed to become more water proofed. Then the cattle on the hills started to become sick and die. The water became contaminated by the material they used to seal the tunnels. Also, it was not as easy to drill as they had expected. It was slower and harder. I don’t think anyone disagrees with me when I say that during this time, everyone saw the project as a failure. So there were haltings of the project, companies were sued and there was also legal proceedings regarding the spoiled water.

The projected was halted and then restarted. In 2015, the tunnel is predicted to be opened, 23 years after they started on the tunnel. I mean, Apple started selling the IPod one year after he launched is idea to his team and here it takes 23 years to dig a tunnel which is 8,6 km long. The tunnel was originally thought to cost 1 BSEK but will probably cost at least 12 BSEK in the end. Cattle died, people had to get new water supplies and of course we had all the scared people when we had the poisoning scandal.

A couple of weeks ago, I saw a TV documentary about this project and it was interesting to listen to how people involved saw the project. The engineer who saw this as the most interesting thing he’d ever done. He loved the technical challenges and probably saw the project as a success since they’d been able to overcome all these technical problems. We had the farmer who’d found his dead cattle one morning, who definitely saw the project as a failure: all that wasted money and of course the sadness over his lost animals. Then there was the project manager, focusing on the target: getting the tunnel DONE. He was a bit disturbed about the failed time plans, missed budgets etc but his work (even if there were probably many project managers along the way) was to be completed. They had not given in. The politician then. He was the most interesting person to listen to, from my perspective anyway. He also saw they project as successful, since it would be completed. But here comes the interesting part; he felt that it had been mandatory to complete the tunnel, even if it meant spending all that money since otherwise the spent money would have been waste. Come again? If you’ve wasted 2 BSEK, this money will still be waste even if you spend 10 BSEK more. But if they would have cut the project, then they would have spent the money but would not have a tunnel. Now we spend 12 BSEK and we get a tunnel. That is of course true, but think of all things you can do for 10 BSEK…

Finally, the reported turned to the potential customers. The heavy industry guy. As we all know, they don’t sit down for 23 years and just wait. They’ve found other ways and he didn’t see any big use of the tunnel.

The funny thing is that different stakeholders in a project can have such different opinions on the successfulness of a project. But who’s opinion matter?

Categories: Agile, Business, Leadership

Time estimation at school

2011/08/22 1 comment

Today was the first day of school for my son, beginning first grade. And is it not symptomatic that on his first day of school, his teacher gave them an estimation task. Don’t get me wrong. She seems to be a wonderful teacher and the exercise felt thought through but it’s in any case interesting that developers learn to participate in estimation before they learn how to write code.

The teacher told the class that she had one piece of straw for every day until Christmas break and she asked the students if they knew or wanted to guess how many days there were before the end of term.

Some students said 10, others 100 and someone said 30 000. It did feel like estimation of stories in other words…

My son waved his hand eagerly and was then given the word upon he said “as many days as you have straws.”

I wonder if he’s a natural at planning poker or just a little joker. Or perhaps he’s been reading Hitchiker’s guide to the galaxy.

Categories: Agile

Hey! May I have your attention?

Many of us who have children suddenly experience a change in what grab their attention. Suddenly they see things they would never even noticed before. If you don’t have kids you might have experienced this when you grew a new interest in something. When I got hooked on cycling, I saw cyclists and bikes very differently and I also became another type of driver: since I know how quickly I can ride my bike, I pay more attention to potential bikes on a road than your average non cycling driver. Sometimes this can be derived from more troublesome events. A couple of years ago, I was attacked by a probably mentally instable man while running to work and since he attacked me from behind I’ve since then become much more aware of scruffy looking old guys with big black dogs while running. Not that I’m afraid, but I do take notice of them.

What we pay attention to is personal but there are, as John Medina points to in his Brain Rules, also some cultural differences. Urban Asians view visual scenes pay a lot attention to the context of the scene and the contrasts between foreground objects and background objects while North Americans pay attention to foreground objects before paying attention to background objects and context. This means that different groups presented to one visual presentation will probably see very different things.

When we present something or try to make a visualization of something, we take for granted that others notice the things we want them to notice. But then again, we all know that you yourself don’t direct your attention to what the presenter had in mind. How many things have you thought about the presenter’s weird accent and missed the context of the presentation? How many times did one of the items in the presentation grab all your attention, making you miss the rest of the content?

We cannot force people pay attention to what we had in mind but we can do what we can in order to help onviewers pay attention to the important things. And step one is probably to recognize that we all pay attention to different things.

Categories: Leadership

The word resource

2011/08/20 2 comments

Yesterday I blogged about resource planning and not long after publication, Dave Rooney (http://practicalagility.blogspot.com/2011/08/im-not-resource.html) posted a comment about the word resource.

I have some memory of this discussion, but I’ve not paid it any attention until now. I viewed the film and I can see some point to making a distinction between the words “person” and “resources”. But what words should we be using? When I use the word “resource planning” I cannot simply switch this to “people planning”. I don’t plan people and let plan their own work. I will gladly switch to other terms if the suggested terms are better and makes sense not only to the software development community but also to the customers and the developers themselves. When we create terms like scrum master and product backlog, we force our customers to use terms which they don’t understand and which does not make sense to them and for what good? It can also lead to so many misunderstandings. I’ve heard so many times how the word “sprint” has been interprated as what it means in sports. You exhaust yourself, which is not what I hope we want for our teams.

But I must take it upon myself to be less slack when I use the word resource and I can admit that that I’ve sometimes used that word when I should have said person or people. Not that I don’t like those words but rather due to corporate vocabulary. But here I’ll try to do better.

What do you think? Are you offended about the word Resource and if so: why? What should we use instead of the word resourc planning?

Thanks Dave for putting the spotlight on this.

Categories: Agile, planning

Calculating the need for resources

2011/08/19 2 comments

Most of us need to calculate the need for resources but the question is what you calculate.

One thing you can calculate is how much resources you need to complete a task. The first question is of course what do you mean by completing a task. If you’re working with software development, is it the coding, or does it include all the things you need before and after the coding (branching, getting to know the code, writing tests, merging, validating test environment) and does it include stuff that other people do. Another question is if you say something takes 10 days, do you mean 10 days of actual work or do you mean days between you start with a task and when you end the task, the latter concept is what we call Duration in Microsoft project.

In other words you need to know
* The definition of done
* Decide if you calculate Duration or Work

The next thing is that you need to start thinking about the difference between cost of delivery and cost of creating. Lets say you have a task which takes 40 hours of hard labor to complete. Lets say your resource actually completed the task in 40 hours. But chances are great that he will bill you more than 40 hours. People take breaks, the help other resources with their tasks, they do other stuff. Do they report these side things on your project? You bet! Imagine the opposite! Two resources are working on different tasks but on the same project. First one of the resources want a second opinion from his team mate. So he strolls over and they talk things over for 15 minutes. Would you want all resources keeping track on stuff like that. This is one of the reasons we want team rooms but it also gives us a situation when tasks cost more than the cost of their delivery.

As we are budgeting our projects, I must surely keep this in mind. In my budget, I must take into consideration that this happens so even if I use the scenario that 60% of time is spent on tasks, I need to calculate that they work 100% anyway. So I need to take into consideration:
* The number of hours tasks take
* The number of hours tasks bill the project

In other cases, thing become more complicated. Take the product owner role. That person should sit 100% of his time with the team but he doesn’t have to work 100% on project tasks. He can do other stuff in the team room (as long as he can be pulled from these tasks whenever someone needs help and that the other stuff doesn’t bother the other team members). If you do have a product owner who works 100% in the project that is perhaps more of a warning sign: you might have a product owner proxy or someone who’s not involved in everyday business work.

Our magical memory

When we say that we recall, I guess that we take for granted that memories are like goods in our warehouse, and when we recall a memory, it’s like our brains go and grab those memories in the warehouse. But as we can see from research (again, see the book Brainrules for some references) every time we access a memory, we change it. Sometimes slightly and sometimes very much. And when you think more about it, it do make sense.

My husband and I met 20 years ago and some of the memories one of us tell someone, they get to hear over and over again when we meet new people. What has is some instances happened is that the memory has been shared so many times that the main caracter change. Just this summer I heard my husband share an old memory not once but twice with some new friends. The problem was that it was not his memory but mine. Over the years, the story has become as much part of his history as mine. It is almost like our memory works like a whispering game where the story changes for each person who’s ears the story goes through.

It is also so strange what sticks to our memories. I’ve a good memory for odd details (pestering my friends with weird facts all the time) and numbers. I can still recall my grand mothers phone number even if she’s been dead for many years. My husband and my son share the habit of not remembering names of people but it’s so strange. My son can have known someone for years and still don’t recall their names but he knows all the names of all the Bayblades and he can even recognize a recognize and know the name of a Bayblade in the store. Some things are probably more interesting to remember than other.

Categories: Agile

Brain rules – are active people smarter?

No, some of you couch potatoes say, thinking about some football freaks in highschool and you are probably right. Active people are probably not smarter. But what if you would just slightly change that question like John Medina does in his Brain Rules, which I read and re-read this summer (yes, I guess I’m stupid even if I exercise regularly but I needed to think about it and time is one of th wonderful gifts of holidays.) He instead asks the question: would you be smarter if you would exercise?

John Medina, a molecular biologist with a speciality in how our brains work, is humble enough to state that we don’t have a sure answer to this question but research point to the very likely posibility that if you stay physcially active, your brain stays mor fit as well. Most of the research has been done to the elderly, where there is a proven correlation between being active and mental health, where we can see clear effects in people starting and quitting exercise as a part of the research programs in question. Yes, it’s probably so that people who are mentally fit have a stronger possibility to exercise but in these studies they also tested to change the programs for the participants and the effects were clear.

There are also physical reasons why this might also be true, the brain is so dependent on oxygene and aerobic exercise affects the body’s capability to use oxygene. Also, there could be a evolutionary reason as well. We’ve been hunters and hunted in our near evolutionary history and when did we need our wits the most then? When we were slacking in a cage or in a tree or when were hunted by that big ugly hairy beast?

For myself, exercise has not only become a habit, it has become a necessity. I feel not 100% if I don’t get my three-times-a-week runs. I love taking the bike to work. I started every morning on our Cyprus vacation with a wonderful run along the beach when the guys were still sleeping. When I have something really tricky to think about at work, I fit in a lunch run or just hang around on the spinning bike because that seems to add another gear to my brain. The few studies made on kids in school also point at the strong possibility that students who are physically active during classes (no, not running around the class room while everyone is seated but when active movement is part of the class, such as walks in a forest) learn better than still classes for hours and hours.

So what do you have to loose? If you’re already exercising: now you have just one more reason to stick to your habit. You have probably a lower risk of age related mental disorders and could possibly become less intelligent would you give up your habits. And for you couch lovers: think about all these hidden qualities which you might harvest! Loose the bad excuses and use your full potential.

Categories: Agile

A short but good week

2011/08/17 1 comment

Since my son’s daycare is closed Thursday and Friday, this happened to become a very short working week but we’ve done some really good progress these few days. I started working for TUI Nordic with my main objective to work with the introduction of agile practices but I soon found other targets and the work with agile principles have not been on my list for some time now but suddenly, this week, things just started to happen. From many different initiatives the call for agile practices has been heard and I’ve worked with some key agile factors during this week. And what I really enjoy is that there is no rush toward agile in itself but some of the challenges which agile practices target. Hence I feel that we’ve taken many small steps this week. And that is wonderful news, not that we introduce a model or a framework, but that we’re working on important issues.

My company is an enterprise organization, which brings challenges in itself. I’ve read so many books and blogs on “scaling” scrum, agile, etc, but I’ve not really seen any which takes into consideration that 1+1 can sometimes become 100. There are so many cultural and practical challenges when you work for an international organization and these challenges cannot be met using post-its.

But I’m hopeful. I can see that the initiators of these agile practices which I’ve seen this week are not shy of enterprise challenges. Nor are they unaware of the differences between books on small agile teams in new companies and our situation. It is my opinion that we share a pragmatic and realistic approach here. And this is just one reason for looking forward to the next, longer work week. Having fun and working with such interesting products are of course also key factors, not to forget the people in our organization.

But for now, I’m heading back to a short finale on my summer vacation. Tomorrow it will be Lego, Star Wars and all possible combinations there are of these two.

Categories: Agile

The probability of thing(s)

It is so easy to think we grasp probability and on a logical class room level we might but in real life situation, in comes our illogical brain and messes with us. This example is taken From The Drunkard’s walk (http://www.amazon.com/Drunkards-Walk-Randomness-Rules-Lives/dp/0375424040).

Imagine Linda, 31 years old, single, outspoken and very bright. In college she majored in philosophy. while a student, she was deeply concerned with discrimination and social justice and participated in anti-nuclear demonstrations.

Now rank the probability of the following statements on a scale 1-8 based on their probability where 1 is the most probable and 8 is the least probable.

Linda works in a bookstore and takes yoga classes
Linda is an ensurance sales person
Linda is active in the feminist movement
Linda is a bank teller and is active in the feminist movement
Linda is a phyciatrical social worker
Linda is a teacher in an elementary school
Linda is a member of the league of feminine voters
Linda is a bank teller

Now look at your list before scrolling down.

If you are like the average person you would rank the scenario

Linda is a bank teller and is active in the feminist movement

as more probable than this scenario:

Linda is a bank teller

Look again.

If you were at a math class these scenarios would read

Linda is a bank teller = A

Linda is active in the feminist movement = B

This would lead to statement “Linda is a bank teller and is active in the feminist movement” = A +B

So, how could A+B be more probable than A alone? It’s not but our minds are playing with us. Giving that personal description, we get an image of a feminist activist and that seems so probable that we forget about maths and logic. And if we look again, even if Linda was a feminist in her youth, this might not be true anymore.

You might not have fallen for the little trick here, but most people do. They search for patterns and a pattern is often more appealing to our brains than the logical rules of probability. I cannot help thinking about estimation poker when I see this example. Also, we humans love story telling and by just adding another statement to the description of Linda. By describing her using two words she become more probable than if described using one word.

What do you think?

Categories: planning