Wednesday, July 30, 2008

Improving Web Services Security Guide is Available

In an earlier post I wrote about the experience of working with Microsoft on a guide to help teams use Visual Studio Team System more effectively.

I'm happy to announce that we recently completed a new guide - Improving Web Services Security. The goal for this guide was to collect best practices and guidance to help architects and developers create more secure Windows Communication Foundation (WCF) applications. Much of the guidance is also generally applicable to any Web Service development project, so if you are focused in that area its worth checking out.

You can download the guide here:
http://www.codeplex.com/WCFSecurityGuide

Monday, July 28, 2008

The Change Frame

Do you ever find yourself in a situation you don't like? Most of us find ourselves in difficult situations in our professional or personal lives from time to time.

In a tough situation you can adapt yourself to the situation, adjust the situation, or avoid the situation entirely. This 'change' frame is a great way to think about how to handle difficult situations when they occur.

  • Adapt. Adapt yourself to the situation by changing your approach or your mindset. If you are in a situation you cannot change but don't want to leave then this is your best choice.


  • Adjust. Adjust the situation to better suit you. Many times an intractable situation can be adjusted to become more bearable. If you are in a tough situation which would require you intolerable adaptation to make right and you see that there is a possibility of adjustment then this is your best choice.


  • Avoid. Sometimes the best choice is to run away. If the situation is intolerable, you cannot adapt to it, and you see no possibility of adjustment then this is your best choice.


  • Here is an example to make it more real:

    Imagine a work situation in which your manager gives you incomplete or vague direction. When you follow this direction you often end up getting criticism that you completed the task incorrectly. As a result you end up repeating work in what feels like a wasteful cycle. You may feel that your manager is mistreating you and that you cannot succeed in the situation.

    Here is how you could apply the 'change' frame:

  • Adapt. Change your work habits to ask for feedback more often so you can correct your course quickly and have more confidence in your work. Change your mindset to see the situation as an opportunity to learn how to be more effective at working with uncertainty.


  • Adjust. Speak with your manager and explain your need for more specific direction. Provide positive feedback to your manager when he provides you with the specifics you are looking for.


  • Avoid. Look for another job.


  • I think most people have a tendency to fall into one of these strategies by default. Some people tend to avoid too often, depriving themselves of opportunity. Others tend to adapt too easily, bending themselves when the situation should be changed instead. Others tend toward rigidity and will work hard to adjust a situation when a small adaptation on their part would have accomplished more.

    I tend to adapt more often than I probably should. What do you do?

    Special thanks to JD for teaching me the 'change' frame and blogging about it first.

    Thursday, July 10, 2008

    What Makes an Achiever?

    J.D. Meier asked me:
    Do you see a pattern where some are “achievers” and some are not?
    Achievers tend to produce, but just need coaching.
    Some people (Non-achievers or whatever to call them), seem to need more than coaching -- it’s more like a bad fit for a job that produces results along the way.

    That got me to thinking:
    1. How can you tell when hiring someone that they will achieve the results you are looking for?
    2. How can you tell when someone on your team is worth investing in and when you need to look for a replacement?
    When interviewing I test for aptitude, attitude, knowledge and experience and I usually hire with pretty good results. There are times, however, when someone will slip through that interviewed very well but doesn't do well on the job. My conversation with JD reminded me of this problem and got me to thinking about what I could do to improve my interview 'hit' rate.

    I think the best indicator of an achiever is where they focus their energy. Do they focus on process? Do they focus on theory? Or do they focus on results. If they don't focus on results they will not ever get those results. You get what you focus on. A lot of it has to do with how you are wired - what makes you excited? Some people truly get excited over theory. They make good scientists. Others get excited about results. They make good engineers!

    What is Your Management Style?

    I recently conducted an interview for a highly capable developer. I was the last person in the interview loop and I already knew I wanted to hire him, so I opened the time up to allow him to ask me as many questions as he wanted. Normally this translates into a few easy to answer questions. In this case I was asked a bunch that really made me think.

    One of the more interesting questions was - "What is your management style?"

    There are so many ways to answer this that at first I was stumped. Does my style even have a name? Should I talk about examples of what I've done to manage my team or talk more abstractly? In the end this is what I said and I think it rings true as a good, though not necessarily complete, answer:

    1. I believe in treating people like professionals. From the start I believe in giving and expecting trust. You don’t have to earn trust when you join the team. You receive it automatically and keep it unless you do something to lose it.
    2. I believe in delegating responsibility and authority. I want to give each person the chance to grown and reach for the stars, not be hobbled by low expectations or some ceiling I’ve put into place.
    3. I believe in personal accountability. If you make a mistake, own up, learn and move on.
    4. I believe in making mistakes. No one should be afraid to make a mistake. If you are going to fail, then fail fast.
    5. I believe in results. I measure people on results not activity. Activity without impact is poison to me.
    6. I believe in building a team. Each member of the team should be clear on their role, know where they fit in and feel they can depend on and lean upon others in the team to achieve group goals.
    7. I believe in adapting my management style to the needs of the employee. Some people need a very directive approach, some just need goals and the freedom to achieve them.
    8. I believe in real-time feedback. If you do something wrong you should know it immediately. If you do something right, you should hear about it right away. The further removed feedback is in time, the less effective it is.
    9. I believe in continuous improvement. On a daily and weekly basis we look at what went right, what went wrong, what needs to be tuned to improve effectiveness.
    When I was done talking I realized that I was the wrong person to ask. The best way to understand my management style is to ask my team - not me!

    My Related Posts

    Friday, June 1, 2007

    How to Get Things Done - Colin Powell Version

    My brother recently sent me a paraphrased list of Colin Powell's 'rules'. This is a man that has experienced the highest echelons of power, has been thoroughly tested, and knows how to get things done. I found his list doubly interesting. First, I think the rules are useful and insightful. Second, I was surprised by the fact that they overlap with my How to Get Things Done post. I like that some of what I've learned in the technology industry matches to lessons Colin Powell has learned in the military and in politics.

    Colin Powell's Rules
    1. Being responsible sometimes means pissing people off.
    2. The day employees stop bringing you their problems is the day you have stopped leading them. They have either lost confidence that you can help them or concluded that you do not care. Either case is a failure of leadership.
    3. Don't be buffaloed by experts and elites.
    4. Don't be afraid to challenge the pros, even in their own backyard.
    5. Never neglect details.
    6. You don't know what you can get away with until you try.
    7. Keep looking below surface appearances. Don't shrink from doing so (just) because you might not like what you find.
    8. Organizations and plans don't really accomplish anything. Endeavors succeed or fail because of the people involved.
    9. Organization charts and fancy titles count for next to nothing.
    10. Never let your ego get so close to your position that when your position goes, your ego goes with it.
    11. The situation dictates which approach best accomplishes the team's mission
    12. Perpetual optimism is a force multiplier.
    13. Rules for Picking People: Look for intelligence and judgment, and most critically, a capacity to anticipate. Look for loyalty, integrity, a high energy drive, a balanced ego, and the drive to get things done.
    14. Great leaders are almost always great simplifiers, who can cut through argument, debate and doubt, to offer a solution everybody can understand.
    15. Use your gut:
      1. Part I: "Use the formula P=40 to 70, in which P stands for the probability of success and the numbers indicate the percentage of information acquired.
      2. Part II: "Once the information is in the 40 to 70 range, go with your gut.
    1. The man on the front line is always right and management is wrong, unless proved otherwise.
    2. Surround yourself with people who take their work seriously, but not themselves, those who work hard and play hard.
    3. Command is lonely.
    My Related Posts

    Wednesday, May 23, 2007

    Visual Studio Team Foundation Guide is Available

    For the past couple of months I've been working with Microsoft on a guide to help development teams use Visual Studio Team System more effectively. Today we released an early version of the guide, a 360 page book, in PDF form to the CodePlex site.

    This project has allowed me to combine two of my passions: team software development and personal effectiveness. I've learned a lot about how to write a book; how to avoid getting too lost in the details or too intimidated by the big picture. Writing many hundreds of pages can be daunting if its looked at all at once! I've always enjoyed writing, but remarkably this is only my second contribution to a real book. My first was a chapter in a rock climbing guide to Montana, which is still available here on Amazon.com. I imagine there will be many more to come.

    If you are interested in team development with Visual Studio, you can download the guide here: http://www.codeplex.com/TFSGuide.

    Lessons Learned
    I learned the following lessons on writing which I intend to apply to future projects:
    • Passion. Pick a topic that you are passionate about, something you can sustain energy and focus on for months at a time.
    • Outline. Create an outline of what the book should cover so you know how each day's work contributes to the larger picture.
    • Iteratively Render. Don't try to write each chapter from start to finish. Instead, start by writing rough drafts that cover each chapter of the book. This process helps you maintain cohesion through the book and keeps you from getting bogged down in any one place. Once you have the rough chapters in place you can iterate over time to improve and flesh them out. Its like building a skeleton first, then building up the layers of flesh over time.
    • Get Help. Its hard to write a high quality book on your own. At the very least you need people to review your work, bounce ideas off of, tell you when you are writing crap, and edit out your mistakes. Don't try to do it all yourself.
    • Consistency. Spend time writing every day until you are done, don't let up.
    • Quality. Don't get stuck on perfectionism, know when your writing is good enough. Sometimes I spend so much time revising my writing that it ends up worse than what I started with.

    Thursday, May 17, 2007

    Focus on the Solution Instead of the Goal – Effectiveness Anti-Pattern

    In my last post, I explained what effectiveness anti-patterns are and why they are useful. In this post I’ll give you an example of an anti-pattern that I’ve seen cause problems for a lot of people – including myself! If you are having trouble reaching your goals, perhaps you’ll recognize this anti-pattern in yourself and use the solution to become more effective.

    Focus on the Solution Instead of the Goal

    Problem

    The anti-pattern occurs when you are more committed to the solution that you think will achieve your goal than to the goal itself. Once the solution has been found unworkable you assume the goal is unachievable, or you ignore the evidence and keep using the unworkable solution.

    Context

    • You are working toward a clearly defined goal. For example you want to get promoted, buy a new car, move to a new town, get a date, or become financially independent.
    • You’ve identified a solution that you think will allow you to achieve your goal. For example, you think that if you work really hard you’ll get a promotion.
    • You are committed to the solution; you’ve put time and energy into it.
    • After time, evidence suggests that your solution is not working.

    Forces

    • You are having trouble letting go of the ‘sunk-cost’, all the time and energy you’ve already committed to the unworkable solution
    • You are focusing on the current strategy instead of the larger goal
    • You are having trouble thinking flexibly

    Solution

    • Define criteria for success. When you identify your goal, build a list of criteria that defines it. Instead of just saying you want a promotion, define the criteria you want to meet in order to feel the goal has been accomplished. Be precise so you know exactly what you are working for. For instance do you want more pay, a new title, more responsibilities and challenge, more recognition? Ask yourself lots of ‘why’ questions. Why do you want a new title? Why do you want more recognition? You may learn that a promotion isn’t the only way to achieve what you are looking for. This realization will give you more flexibility in meeting your goal.
    • Create multiple strategies. After you define your goal, brainstorm multiple strategies and solutions. These strategies can serve as backup to the preferred solution if it doesn’t work.
    • Measure progress. Measure your progress against the criteria you’ve defined. This will allow you to determine the effectiveness of the strategy you are using. By keeping the defined goal-criteria in the forefront of your mind you’ll stay focused on the goal and will be more willing to switch strategies as necessary.
    • Plan for failure. Hope for success, but plan for failure. Do your best to achieve your goal, but make sure you have a contingency plan in the case of failure. Don’t ever put yourself in the position that you must achieve your goal and have no fallback position.
    • Take risks. Encourage yourself to think creatively and don’t be afraid to take risks. If you punish yourself too severely for failure you'll tend to slip into a pattern of rigid thinking due to your increased fear. Unfortunately, this often results in additional failures and reduced effectiveness. If you can embrace your creativity and achieve a reasonable level of risk-taking you'll be more flexible and less likely to become stuck in this anti-pattern.
    My Related Posts