patkua@work

The intersection of technology and leadership

Page 51 of 53

Onboarding Strategy: Tech Huddles

Its Purpose?
Tech huddles give people an opportunity to reflect on their learnings, and helps to shift those lessons learned from one person to the rest of the group in a time-efficient manner.

Tech Huddle

Photo taken from Water Lemon’s photostream on Flickr under the Creative Commons license

How Did We Execute It?
Thanks to the idea initially proposed by Behaviour Driven Dan North, we spent about half an hour at the end of the day almost every other day where we would talk about the following topics:

  • Any learnings from the day to share with the wider group including IDE tricks, Environment tips, cool patterns, nice bits of the code, any patterns that have been particularly useful at solving something;
  • Warnings that may be useful for the other developers (such as watch out for this class – it’s particularly nasty); and
  • Any questions or puzzles people may have that they haven’t been had answered through out the day

Why Is It Important?
Learning is an essential part of coming on to a new project. Setting aside time to explicitly think about what people have learned gives them a bit of chance to reflect on their learnings and then by expressing it, helps reinforce those learnings. A beneficial side effect is that more knowledge is transferred within the team that would be very slow to do via other mechanisms such as just pair programming.

Tech Huddles also give a chance for people to gain more context about why something is strange, or doesn’t understand the way that something is done, or the way that something works.

Free Running Reflection: A Personal Retrospective Technique

Anyone who has worked with me knows how crazy I am about Retrospectives for the workplace. I apply similar techniques when it comes to organising my personal life so I thought I’d share one technique I use that I call “Free Running Reflection”.

I adapted this technique from a “free-writing” class that clieu took a while back. I’ve found it especially effective for getting all those niggling things out of my head and in a place that I can see them and focus on doing something about them. It’s also been very useful under extreme times of stress, showing me things that may be unconsciously influencing my thinking.

Free Running Reflection

I use four very simple things to run this exercise: 15 minutes of time, a timer (watch, stopwatch, clock, etc) a pen and access to plenty of paper to write on. I normally carry around a small notebook (previously a Moleskin, and currently a great little Ciak one).

Here’s how I run it:

  • Choose a time boxed period – I usually use 5 or 10 minutes depending on how much time I have.
  • Start the timer and write down everything in your head on to the paper until the time runs out. Put down absolutely anything and everything that crosses your mind. A word, a phrase, a full sentence, and especially all random thoughts. I generally avoid pictures though sometimes draw small diagrams if it’s faster than writing a sentence. If you do draw diagrams be careful to keep them as simple as possible as the goal is to get everything going through your head down as soon as possible during the time period.
  • With the remaining time, review what you’ve written down and see if there are common themes. Sometimes I draw lines between bits, or regroup items to help me discover patterns. Depending on how I’m feeling I will then decide if I want to do anything about the items on the list, and add the top three to my list of things to focus on and complete.

If you like this technique, or have any other recommendations, please leave a comment.

Onboarding Strategy: Tiny Tasks

Its Purpose?
Breaking down complex or larger blocks of work into very small, defined tasks helps people focus on learning one thing at a time. Each item should be as small as possible, with enough detail that the newbie either doesn’t need to ask someone how to complete it, or wouldn’t take them long to find out. Each task completed helps people celebrate small successes, and helps them make progress without being completely overwhelmed.

Tiny Tasks

Photo taken from Controvento’s photostream on Flickr under the Creative Commons license

How did we execute it?
Our story cards are written on index cards, and before starting development we would discuss the requirements with our Business Analyst and Quality Assurance person. For each block of work, an experienced person would write down each task that might be needed to complete that block of work. Each tiny task would be as granular as possible and we wrote each on to a separate sticky note. We strung them together and put them on top of the story card on our wall.

A tiny task must be as simple and as clear as possible such as “New DB column to table X”, “Property to domain object”, “Modify Hibernate Mapping File” or “Refactor XXX domain object” with certain assumptions already being clear (i.e. each code task would have a test).

Tiny task lists can and will change, with our developers adding and removing more tiny tasks as they discovered more detail. Small to-do tasks found during development also ended up being written out as tiny tasks to be addressed at a later point. We would encourage developers checking in for each tiny task as much as possible although in reality this ended up being a small handful of tiny tasks (i.e. 3 or 4).

As people became more accustomed to the patterns in the system, and the things that might be needed to implement a small group of functionality, developers wrote tiny tasks less and less.

Why Is It Important?
People need successes to learn, and a safety net when they fail. Clear and easily achievable tasks help people build their confidence, either giving them a feel for how quickly they are progressing, or giving them a basis to talk over where gaps in their knowledge may be. Tiny tasks also give a certain amount of independence as some people learn certain things only by doing them themselves and either succeeding or failing.

Onboarding Strategy: Transparent Technical Debt

Its Purpose?
To help people understand what parts of the system have excessive code-smells and need either refactoring or redesign.

How did we execute it?

  1. Maintain a list of the technical debt – We have a list of all the technical debt in the system on our wiki. As a team, we identify parts of the system we want to address as a whole and discussed different strategies for implementing it. Some of the debt stays on there until we all agree on a common approach, although we try to remove as much of it as we can, especially if they are small things
  2. Walkthrough the list with new people – We sat down and expressed our concerns by walking through the list and explaining perhaps how it came about and what effects each item on the list have.
Broken Windows

Photo taken from Jekemp’s photostream on Flickr under the Creative Commons license

Why Is It Important?
All big projects have some part of the system that doesn’t seem particularly right. Given commercial time constraints, you never have the time to address all the issues to make every single bit of the code perfect. It’s better to keep people aware of these compromises so you address them when you have time.

From experience, I’ve also found it’s very easy for new people to projects to criticise parts of the code that obviously aren’t ideal. It’s a very healthy process having new eyes on the material to bring a different point of view and offer different approaches, although there are better ways they can express their concern without making incumbent developers feel criticised.

Providing the opportunity to openly discuss all areas of the system the team would like to collectively improve each of them has been an effective way at meeting all of these goals.

Onboarding Strategy: Visible Architecture

Inside Out Building in Victoria

Photo taken from Radiospike’s photostream under Creative Commons.

Its Purpose?
Visible Architecture helps new team members form a common understanding about how the patterns and constructs in the system interact. It helps them to identify clearer boundaries of responsibility that should not be crossed. It may describe external or internal systems or devices the application may interact with and how they relate to the system. It may also help them understand how the application is deployed and configured.

How Did We Execute It?
We actually ran two sessions to complete this – one ended up describing the physical architecture and how it gets deployed. The other ended up describing the software architecture and focused on the patterns in the system.

For the physical architecture diagram, we drew on sheets of flip chart paper a box for each machine in one colour, then each executing application in another colour on the machines. We also drew circles around the boxes grouping them and gave them a physical name since the servers are grouped together but each group is distributed around the world. Each unique executable was given a code to which we drew a legend on the side to give them a name. We ended up with nine unique executables (it’s the most minimal set for our application requirements), though with many instances of these based on the redundancy needs and distributed nature of this application.

For the software architecture one we first drew onion ring layers of the systems, added labels to each of them and talked about which how the parts should interact and their dependencies. We applied this to the testing layers as well to demonstrate their dependencies on the onion rings that we just drew and their own set of onion rings. We also talked about the patterns in the system and in which layers you would find them.

Techniques Found Useful For Running It

  • Flip chart or whiteboard – It was useful to be able to draw relationships between individual executables to show what parts really communicate with each other, and other ones that communicate or depend on a database.
  • Colour codes – Given how busy our diagram got in the end, the colours helped people to easily identify what was what.
  • Executable code names –Writing each executable name on every box would have taken a long time and made the diagram more confusing. It was more useful to give them a shorthand code such as XX01 or XX02 and to describe it on the side.
  • Onion ring layers – Helped people solidify the boundaries to the system in their own heads.

Why Is It Important?
Architecture diagrams are popular for a big reason in many systems as they help people visualise the larger parts of the system. It forces people to take a broader look at the system and provides a better context for the smaller programming tasks. It helps them raise suspicions when one part of the system starts getting too tightly coupled to another as they can understand where the responsibilities lie.

I’ve found that ad-hoc and lo-fidelity diagrams are much more useful than using one built specifically in a single tool as anyone can adapt them there and then in front of everyone and it helps someone show questions they may not be able to ask.

Next Time I Might Try:

  • Team Participation First – Getting team members to first draw up what they see as the patterns might help demonstrate where misunderstandings or gaps in knowledge lie and to have better idea of where to focus the discussions.

Quick Post-XP2007 Notes

Topics or books I need to look into after attending the XP2007 conference:

  • The Five Dysfunctions of a Team: A Leadership Fable
  • Satir Change Model
  • DSDM Practices
  • New Peoplemaking
  • The Psychology of Computer Programming

Asking for Feedback Today

At Thoughtworks we run regular rounds of reviews (at least twice a year). We also try to collect project roll off reviews although collecting feedback at these points sometimes proves difficult as people move on to other projects. The last few rounds, I’ve used the list that Jason Yip wrote a while back here. It’s served me well on the most part, and thought it’s about time to review them to be slightly more relevant. Here’s the latest one I’m using for my current project.

  • How do you feel about how I’ve listened to you? Tried to understand you?
  • Did I provide you with enough guidance and support? Did I give you enough freedom? How would you describe my approach?
  • What things made it easy for you to work/pair program with me? What things made it hard to work/pair program with me? How do you think we could collaborate better?
  • In the role of a technical lead, do you think I was effective or ineffective? How could I become more effective in my role? What do you see as my greatest strengths? What do you see as my greatest weaknesses?
  • Describe how my style differs from other technical leads that you’ve worked with? What would you change? What would you keep?
  • What things have I done that have had a significant impact (positive and negative) on the project?
  • What areas do you think I can improve or grow in and why?

I’d be interested to see if you have any more that you ask yourself? If so, please leave a comment.

When it comes to teams, I only offer advice, not answers

Yes No. Taken from Squants photostream on Flickr - http://flickr.com/photos/squant/

Last week I attended the XP2007 conference (I hope to write more on that later), and found myself asked on several occasions by “newbies” to agile about “what they should do in xxx situation”. Happy to offer an ear, I found it nice being able to share my own experiences, and offer some guidance and a number suggestions they might take. Their responses varied and seemed to fall into two camps.

Some people gave my words some thought, and thanked me for my suggestions. They asked a few more questions about the suggestions and at least I felt they might try a few of them.

Others had a very different response, claiming that in their situation none of my suggestions would work. They went on to explain their situation in greater detail, asking many leading questions so much that I almost felt being cornered into giving a yes or no answer. Wary of the consequence of a definitive answer, I persisted in only giving them suggestions and the positive and negative impacts they might or might not have given my experience.

Unfortunately I didn’t feel like the latter camp took many of my suggestions on board, and I am sure will be eventually disappointed to find the elusive silver bullet does not exist. Although agile methods, their practices and values offer a lot, like many things in the real world, takes both effort and courage to make them really work.

Reface Your Team Space

I ran this session at the XP2007 conference as a workshop. The presentation that I used for some of the session can be downloaded here. We ran through two exercises, the first to stimulate the creative juices and get people talking together. The second activity intended to give people a better chance of sharing their experiences with each other and being able to put together a list of space and team practices they’ve found useful for improving team environments and interactions.

Whiteboard Exercise

This exercise involved splitting the participants into two groups whose task was to create the “ideal” whiteboard for showing the state of your project to outside people. Some of the tools in their box at their disposal included sticky notes (colours, arrows), blu-tack, and varied white board markers. Each group then presented their results to each other, and we ran a second iteration, this time focusing on the “ideal” whiteboard for a team-focused whiteboard.

Group 1 Whiteboard Results Round 1
Group 1 Whiteboard Results Round 1

Group 1 Whiteboard Results Round 2
Group 1 Whiteboard Results Round 2

Group 2 Whiteboard Results Round 1
Group 2 Whiteboard Results Round 1

Group 2 Whiteboard Results Round 2
Group 2 Whiteboard Results Round 2

Effective Space Techniques
After sharing some examples of space techniques I have seen used on projects, we turned the room into an open round table discussion with the focus being on effective space techniques people have either used or seen on projects. People took turns, telling their story and we distilled them onto index cards and tried categorising them into several categories. The following lists show the output from the session, with pictures linked in the main bullet point.

Please leave a comment if you can add any more. Thanks!

  • Thoughts around Effective Team Practices
    • Planning
    • Blame “Ola”
    • “Make it work” Default Action
    • Split Day Availability
  • Thoughts around Effective Rituals Practices
    • Red Nose (if you broke the build)
    • Speaking Tokens – Soft toys
    • Stand Up Fish
    • I’m-working-on-the-build-hat/flag
    • Stand up meeting with the entire team
    • Non-interruption token
    • Walk during lunch time
    • Retro meetings to go over lessons learned
    • Retrospectives in another room helps especially when having trouble with communicating
    • Invite everyone to celebrations (i.e. people outside of project)
    • Do things outside the workspace
    • Birthday cake
  • Thoughts around Effective Space Practices
    • Quiet rooms (phone conversations, meetings, focus such as reading an article)
    • 2 teams layout (see card in picture)
    • Offset desks/pair stations so you can see each other
    • Personal/team area (see card in picture)
    • Retrospective in an outside environment
    • Face to face table
    • Interleave tester and BAs amongst developers
    • Have a room with sofas (maybe a cafe if you have space)
    • You can’t have too many power sockets and network ports
  • Thoughts around Effective Communication Practices
    • Burn down graph
    • Burn up graph
    • “I need Person x notice”
    • Task breakdowns on sticky notes
    • Audio Feedback from the CI Machine
    • Police Light, Singing Fish, Glitter Light
    • Visitor’s Chair
    • Whiteboard to communicate high level info = Things I want the team to see throughout the iteration.
    • Story Bell
    • Tomato – La Tecnica del Pomodoro (Il Pomodoro)

Test Driving Your Swing

I devloped the following resources for a running a Test Driving S-Wing code for the XP2006 conference to be held in Oulu, Finland as well as Javazone 2006 held in Oslo, Norway. I enjoy writing Test Driven Developed code as it helps keep the focus on faster developer feedback loops and more decoupled systems.

Please feel free to contact me if you would like more information on emailpat (at this domain).

  • The presentation I will be giving is available here.
  • The mindmap I will be using for running the presentation is available here.
  • The simplest scenario that I will use during the presentation is available here. This is the code (with the Abbot helpers) and test ready to go.
  • A cheat sheet handed out at Javazone is available here.
« Older posts Newer posts »

© 2024 patkua@work

Theme by Anders NorenUp ↑