Thursday, May 30, 2013

Do you have a “Calling” or a “Job”?

I am almost done reading “The Happiness Advantage” by Shawn Achor. In it he talks a little bit about how people view their jobs. Regardless of the job, whether it is a janitor or a CEO, if you view your job as your “calling” then you have a tendency to be more successful at it (success is based on your own criteria).

So I started thinking about what I do and why I feel I am successful at it. First, what is success to me? Well, success to me is a combination of things. It is me looking forward to getting up and going to work everyday (well almost everyday), it is displayed to me as my customers (those folks inside Burt’s Bees at the moment) thankfulness for me solving a real problem, as my work having a positive financial impact to my company, as me being able to spend quality time with my family and enjoy a life outside of my work.  These are my primary criteria and indicators of success.

So lets match my criteria for success with the last year here at Burt’s.

As an Agile Software Development Coach and a Software Engineer my job is to guide others through a methodology that I am passionate about and to demonstrate to them its effectiveness by participating in it as an engineer. I love what I do! And I love the group of people I do it with! We really enjoy our work day. We laugh a lot and swear too much, but we get work done and our customers are generally pleased with our work.

The last year has seen two clear victories for the Agile methodology here at Burt’s. Two projects where the business came away happy and the application development group came away proud of what it produced. I credit the business for being open to Agile and the team for working hard at making it work.

We believe our work has a positive financial impact on the company (we have also been told this by those who would know). We can see the time saved in not having to discern certain data points, in being able to add data points to the ERP without much effort and using those points to make strategic decisions. Great indicators to the application development team that our efforts are paying off.

We also are able to work from home when we need to. When my daughter has a gymnastics meet out of town, I don’t have to beg and plead to get the time to go.  When my son has a soccer tryout at 5:30pm 45 minutes away through Raleigh traffic, I can leave early to get him there. When my wife and I want to spend time helping a refugee family during the day in Durham with our church group, I am given time to do that. So my life outside of Burt’s is a blessing and I am happy to be able to have one.

Do I feel my job is my “calling” as Achor talks about in his book? You bet! Do I think I am more successful as a result of my attitude or does my attitude stem from my success? Well, I believe my attitude contributes to my success more than my success contributes to my attitude but each case is true.

In my previous “job”, I felt I was successful to a certain extent but I did not see it as my “calling”.  It did not hit all of the criteria I outlined above. Some things were missing. Which is one reason why I left to find my “calling”.

What is your “calling” and are you doing it?

Till next time…

Technorati Tags: ,,,,,,

Wednesday, January 09, 2013

Iteration 2012, a Retrospective

Will 2013 bring more of the same or will it be something completely unexpected? Well, it will probably be both. Every year we ask ourselves these types of questions. And every year we reflect on the past year. As humans, we have this need to substantiate our existence. The end of one year and the beginning of another offers us the opportunity to reflect and make changes. A retrospective. In the Agile software development world the past year could be equated to an iteration or a sprint. A very long one.

At the end of each iteration in Agile Software Development we have a retrospective.  Where we answer 3 basic questions: What did I do well? What do I need to improve on? and What will I do specifically to address the items I need to improve on? Well for Iteration 2012, my retrospective looks something like this.
What did I do well?
I have successfully introduced Agile to a willing group of talented software engineers and management
I have successfully run Agile projects at both Farm Bureau and Burt’s Bees
I have successfully increased my knowledge of manufacturing processes and systems
What do I need to improve on?
I need to be more aware of and keep more up with technology changes in my core competencies
I need to be better at making networking a priority
I need to be less dependent on the status quo
What will I do specifically to address the items I need to improve on?
I will write a functional program in at least 2 new languages and publish those programs
I will contact at least one person in my linked in contacts at least ever other week
I will discuss my opportunities within Burt’s with my boss and actively work on career objectives whether at Burt's or not.
Short and sweet. An Agile approach to the year.  Maybe next I will have a Sprint Planning Meeting for the next Iteration: Iteration 2013. 

So another year has come and gone. There have been many changes in the world and all around us locally. 2012 brought significant change in my personal and professional career.

In my professional life I have had setbacks and success, closure and new beginnings, disappointment and inspiration. I left Farm Bureau Insurance for Burt's Bees. And at Burt's I have had great success. I introduced Agile and have had a very successful Agile project complete and in the books. We shall see what Burt’s has to offer me in 2013.

Till next time…

Thursday, July 26, 2012

Auditing ExtendedProperties

So yesterday I was coding a User Story about reporting audit information for the project I am working on.  This project basically extends the ERP application called Macola (don’t get me started). What we are building is an extended properties application and we are auditing each change to an extended property for SOX compliance.

So we are using a class called (funny enough) ExtendedProperty. We have a collection of these objects to fill our grid using a List(of ExtendedProperty).  We were auditing each save in the Save method of each individual ExtendProperty.  This created a ton of audit entries in the database. We decided to combine these into a batch audit at the collection level to mitigate the number of entries and use the xml data type in SQL Server.

So our Audit objects began to take shape and now look like this:

image

An AuditEntry has a one to many relationship to an AuditChange. And an AuditChange has a many to many relationship to AuditColumn as well as AuditKey. Each of the objects overrides the .ToString function to return xml to be stored in the database.

The metadata in AuditEntry is in separate columns in the database and AuditChange, AuditColumn and AuditKey are all stored in a single xml column.  This gives us great flexibility in what we can audit and how much space it takes up.

How this relates to an Extended Property is that each property is responsible for its own audit unless it is in a collection of changes.  So we had to change how we accessed the List(of ExtendedProperty) in the containing class. We could not have a List anymore because it became difficult to act on that list as a whole. This caused us to create an ExtendedProperties collection class that inherits from List(of ExtendedProperty). This class gives us the ability to act on the collection as a whole but still allows us the functionality of a List(of T).

The results of this audit can be returned flattened using xquery in SQL Server.  It can be a little complicated when trying to compare values (sql:parameter(“parametername”) is your friend in xquery). But it makes life easier when batching audit entries.

Cool Visual Studio 2010 feature

As an aside, while I was coding the audit classes above I discovered a GREAT feature in VS2010. First I created a file for the class, then I started coding the public properties of the class. I did not create the constructor of the class yet.  I went to a calling class and instantiated this new class and put the arguments in the call.  There appeared a blue squiggly line below the code with the little red block in the bottom right.

image

When I click on the little red block it tells me it can create the constructor in the class.

image

So I tell it to go ahead and do that by clicking on the link. Now keep in mind I had already created the public properties for this class that will expose the arguments in the constructor.  So what did Visual Studio do?  It knew which arguments to assign to the private class variables automatically and wrote the constructor for me and assigned the arguments to the variables.

Sub New(ByVal userName As String, ByVal propertyName As String, ByVal operation As String, ByVal originalValue As String, ByVal newValue As String, ByVal timeStamp As Date)

' TODO: Complete member initialization
_userName = userName
_propertyName = propertyName
_operation = operation
_originalValue = originalValue
_newValue = newValue
_timeStamp = timeStamp

End Sub



Cool!


till next time…


Technorati Tags: ,,

Monday, May 14, 2012

T-SQL Conditional WHERE Clause

I started the day today with great ambition. I am tasked with removing hard coded SQL and change to use stored procedures. I made it through several stored procedures and was fat, dumb, and happy. Until… I was stumped with a problem I was unprepared to solve. The problem occurred in converting a bunch of case statements in the hard coded SQL.  The code looked something like this (changed for brevity)

Dim strSQL As New StringBuilder
strSQL.Append("SELECT TOP 300 cus_no ,cus_name, search_name, slspsn_no")
strSQL.Append("FROM MyTable")
If myValue1 IsNot Nothing Then
strSQL.AppendFormat("WHERE value1 = '{0}' ", myValue1)
ElseIf myValue2 Nothing Then
strSQL.AppendFormat("WHERE value2 = '{0}' ", myValue2)
ElseIf myValue3 IsNot Nothing Then
strSQL.AppendFormat("WHERE value3 LIKE '{0}%' ", myValue2)
End If
If accountType > 0 Then
strSQL.AppendFormat("AND value1 {0} IN (SELECT thisValue FROM MySecondTable", IIf(accountType = 1, "", "NOT"))
End If
So I decided to tackle the first if block first. I googled the hell out of conditional where clauses in T-SQL. After a little bit of reading and experimenting I finally decided to go with the COALESCE solution.  this was tricky because if a field is NULL and the parameter is NULL then COALESCE will not equal each other so for the three conditions in the first if block I came up with the following:
WHERE COALESCE(value1,' ') = COALESCE(@myValue1, COALESCE(value1,' '))
AND COALESCE(value2,' ') = COALESCE(@myValue2, COALESCE(value2,' '))
AND COALESCE(value3,' ') LIKE COALESCE(@myValue3, COALESCE(value3,' '))
This had the desired affect. Notice the first and third COALESCE in each line has the space.  This is how you account for the NULL = NULL situation.
Now on to what I consider the harder of the two types of conditional where clauses represented here. If accountType is supplied and it is equal to one then check to see if it is IN the list returned from the SELECT. If accountType is supplied and is greater than one then it should not be IN the SELECT statement. if accountType is not supplied then don’t bother adding it to the where clause. I found some great examples of bit comparisons in the google search but they all used equals instead of IN and I couldn’t get IN to work with the case statements but I combined a couple of good items into this solution:
AND ((@AccountType=1 AND value1 IN (SELECT thisValue FROM mySecondTable))
OR (@AccountType>1 AND value1 NOT IN(SELECT thisValue FROM mySecondTable))
OR (@AccountType<1 AND value1 = value1))
This covers all possible scenarios. Let me know if you have another way to accomplish this.

Till next time…
Technorati Tags: ,,,,

Friday, April 13, 2012

Back In Time: NUnit Again

So I have been tasked with implementing unit testing in some legacy code that uses Visual Studio 2005.  For various reasons this code base is not ready to be converted to the newest version of .Net.  That being said, it is a sizable chunk of code and really needs to be refactored and tested.

There are no unit tests for this codebase. So now is the time to add them.  Since we are past the Test Driven Development option we are now going to try Defect Driven Testing.  Every time a defect is found or reported, we will write a test that proves it is a defect and then green the test to fix the defect. We will also try to refactor areas around the code in which the defect was found. But before we refactor we will write tests so we are assured not to have changed what the code was doing.

Visual Studio 2005 does not have the MS Testing framework unless you have purchased the "Test" version of Visual Studio.  VS 2008 and forward included the testing framework by default.  So I downloaded Nunit.

Now I haven't used Nunit since 2008 so I wanted to make sure I had everything working.  I tried running the sample tests that were downloaded with the installer. I opened the samples solution and keyed ctrl-shft-b to build the solution. Fail.

I thought, what? This should work out of the box.  Well, it didn't.  The nunit.framework reference in the project had the little yellow warning triangle  because it couldn't find the assembly.  So I removed the reverence and added it again. Voila! It compiled.  Great, moving on.

Then I added Nunit as an external tool like I remembered I had to do to get a quick link in Visual Studio.  So I clicked Tools/External Tools menu and it brought up the External Tools form.  I clicked Add to add a new tool and added the path and the name of the tool.  Then I forgot what to put in the Arguments and Initial Directory fields so a quick Google search gave me the answer. Or so I thought. 

Several links on Google said to set Arguments to $(TargetPath) and Initial Directory to $(TargetDir).  This did not work.  So what does a guy do who can’t get a software package to work? Look at the documentation, of course!

Well right there in from of my eyes, the Nunit documentation says:

Running From Within Visual Studio

The most convenient way to do this is to set up a custom tool entry specifying the path to NUnit as the command. For a VS2003 C# project, you can use $(TargetPath) for the arguments and $(TargetDir) for the initial directory.

With Visual Studio VS2005 this becomes a bit harder, because that release changed the meaning of the 'Target' macros so they now point to the intermediate 'obj' directories rather than the final output in one of the 'bin' directories. Here are some alternatives that work in both versions:

  • $(ProjectDir)$(ProjectFileName) to open the VS Project rather than the assembly. If you use this approach, be sure to rename your config file accordingly and put it in the same directory as the VS project file.

So I did changed the Argument and Initial Directory settings to be $(ProjectDir)$(ProjectFileName) and it all worked!

Interesting how things get remembered.  Someone else must have figured this out at my place of employment back in 2008.

Till next time...

Technorati Tags: ,,,

Thursday, February 02, 2012

Strong Management in Agile Development Deflect and Prevent Distractions

I remember in High School listening to Bill Cosby when he did the bit on parenting.  How he compared parenting to being a hockey goalie, I think.  The parent needed to deflect one tantrum after another or something like that.  It has been a long time since I listened to a Bill Cosby tape.  That was funny stuff back in the 70’s and 80’s.

Little did I know then that what Cosby described would be applicable to leading and managing teams. A good leader can be like a hockey goalie with his team as the net and all the distractions as the puck. He does his best to prevent the distractions from causing in-efficiencies on his team.

What do I mean when I say distractions? This can be a very broad range of items but in the software development world it can generally include things like unnecessary meetings, office politics, feature and scope creep, pet projects that aren’t a priority to the business.  There are many more but these are a few I have observed over the last few years.

In an agile development shop teams are supposed to be communicating and interacting directly with each other and with stakeholders on a daily basis. This means someone from the business needs to actively participate in the process of developing the software and have the authority to make decisions regarding that software. In some instances the stakeholders are represented by a single person. This person should have the authority to make decisions and communicate with the team when ever they feel the need. It is management’s responsibility to give this person the tools and resources to be as efficient as possible in this communication.

Some may think this contradicts the deflection theory because “why on earth would a business person talk directly to a developer?” (Yeah – I heard that), but I disagree. The key to deflection is the unnecessary bit:  things that are not required to move the project forward.  In my view this communication is required. Not only is it not a distraction but it is, if done right, one of the single most important aspects of software development.

This is where management plays a key role in the agile world. Sure the teams should be self-directing and be made up of all that are required to push the product to the customer. But management is important here because they hold the bigger picture in hand. A good manager will work with the development team and the stakeholders to be sure there is proper direction and focus. He will prevent any distractions that may result in loss of velocity. He will give guidance when there is a conflict in the priority of stories. He will prevent the office politics from interfering with the movement of the team.  He does all these things so the team doesn’t have to; so the team can do what it does best: produce software that meets the customers prioritized requirements.

Thanks to Bill Cosby I enjoyed some summer nights with friends around the tape deck in my youth. I didn’t know, at the time, that my career would have some basis in his comedy.

Till next time…

Technorati Tags: ,

Tuesday, January 17, 2012

I am addicted to Woot!

last week I discovered something that I am not proud to say has me addicted. www.woot.com! It is amazing! Woot offers one item a day for sale at some great % off the price you would pay at some other online retailer. The sale ends when they run out of merchandise or they reach the end of the day. (Midnight)

I haven’t bought anything yet because this is the reason Dave Ramsey stays in business. But one day Woot will offer something that I am actually in need of and I will buy it! I check it everyday. I have signed up for the daily email and I have the RSS feed setup on my reader.

Today was something special at woot that happens every once in a while; a Woot Off! This basically means they offer one item at a time until it runs out then offer another and another and another.  So far my count is 12 items today. Only one tempted me, but I remembered Dave Ramsey. I also could hear my wife’s voice in the back of my head saying “That is not on the Ramsey Plan!”

So my addiction can only go so far. I can look but cannot touch. But… I want one!

Till next time…

Technorati Tags: ,,

Wednesday, January 11, 2012

New Buzzword in Software Development–Craftsmanship

9PAUXZYJ7299

There is a new buzzword in the Software development industry.  This buzzword is “Craftsmanship”  There is a Manifesto. There is a conference SCNA. There is a website.  There is a new Academy. And there are many followers, one of whom I had the pleasure to be trained by back in 2006, Uncle Bob Martin, and one I have lunch with every now and then, Jared Richardson.

This is a new buzzword but it is not a new word to the industry. From everything I can gather it originated in Steve McConnell’s Book Code Complete: A Practical Handbook of Software Construction.  In this book, (which every software developer in the world should read) Steve talks about the construction metaphor as it relates to software development. This linking of craftsman in construction to craftsman in software development is not a new thing.

What is new? Well, what is new is the pervasiveness of the word as it applies to software development.  Software engineers are beginning to call themselves craftsman. The connotation of good craftsmanship is something that we all can strive for.  It is a belief that we need to take some pride in our work and always do it to the best of our ability and if we discover that we made a mistake then we own it and fix it.  This notion is spreading amongst our community at a rapid rate. 

The community also champions many extreme programming practices like pair programming and test driven development. These are practices that enhance our craftsmanship while developing solutions to problems. I am very pleased that this word is becoming a part of our nomenclature. I have not always considered my work as full of craftsmanship, but you better believe I strive to fill it to the brim now.

Till next time…

Friday, November 11, 2011

Veterans’ Day

Every year I like to thank those Veterans close to my family and me:

Retired:

  • Roland F. Chapman (Grandfather -b1910-d1987 - Navy)
  • Robert D. Boss (Dad - Navy)
  • Michael J. Boss-Hill (Brother – Air Force)
  • Stephan J. Hill (Step Dad – Navy)
  • Fredrick R. Chapman (Uncle – Army)
  • Mark Hanson (Uncle – Navy)
  • David Bishop (Navy)
  • Charles W. Hobbs (Navy)
  • Dawn Meiers (Navy)
  • Chuck Norris (Navy)
  • Arthur Pignataro (b1944-d2011 - Army)
  • Dodd Schock (Navy)
  • Ronald Steele (Navy)
  • Rick Kolde (Navy)

Active Duty:

  • Kevin P. Boss-Hill (Brother – Marines)

There are many more in all of our lives.  Thanks to you all.

Till next time…

Monday, November 07, 2011

Software Environments: Separation and Configuration is Key

I just left a meeting with several folks from the server group, the web services group, and my applications group.  The discussion was around environments and promotion of software through these environments. Let me tell you, there are some very different ideas out there regarding this process.

I thought I would let you know how I prefer to make this work so that there is the best opportunity for a successful installation. Now these concepts are not specific to internal software development where the customer is part of the same organization as the group developing the software. These concepts are the same for shrink wrap or cloud based software.  I have worked with all of these types of software development projects and have been successful utilizing these concepts.

The first, and arguably one of the hardest to implement, is the concept of a separation of environments. The separation of environments from step to step should encompass all pieces of a software system wherever possible. This means that each environment should have, where applicable, a web services server, an application server, a database instance (server if possible) to name a few. 

At a minimum a team should have three such environments; a development environment, a test environment, and a production environment. Each containing a distinct and atomic system that requires gates to be passed in order to achieve entry.

These gates should include automated unit tests and code analysis. The code deployed in each environment should have been proven in the previous environment. The automated code that does the actual deployment to each environment should be exactly the same in each environment so you are always executing the same thing from environment to environment and not creating unnecessary variables.  This allows you to have the experience of many deployments prior to the one crucial deployment to production, thus mitigating and alleviating most risks of deployment.

One of the single most important aspects of achieving separation of environments is Configuration Management. Configuration Management is the management of all pieces of a software product’s lifecycle from initial coding through deployment. Configuration Management as a discipline in software development is getting more and more respect these days, for which I am very happy. This is a very challenging aspect to any software development project.  A properly maintained and automated configuration management system is a must for any organization that puts any product into production ands wants to do it as efficiently as possible.

It is the details of each system where a configuration management engineer earns his money. Each will be different based on the product, but the concepts are the same.  One of my favorite books Software Configuration Management Patterns deals with some of these concepts and how source control management is an integral part of the process.

No matter what system you are working on, try to keep your environments separated and remember: automate, automate, automate.

Till next time…

Friday, October 28, 2011

ASP.Net – Code Behind and the Times

In 2001 Microsoft gave us ASP.Net.  The successor to what we now call “Classic ASP”. This brought the full power of the Visual Studio IDE to web development. Allowing us to write “Code Behind” in our favorite language, either Visual Basic or C#, for WebForms development inside Visual Studio.

This was a significant improvement to Classic ASP and to the developers ability to quickly produce web applications based on Microsoft Technology.  Up till then we had to use Visual Interdev. And was that a mess or what?

While I was an engineer at FM Global back in 2001, I was on the team that adopted .Net while it was still in beta.  (I know, pretty progressive for an insurance company, huh.) We had Microsoft consultants on site what seemed to be 24/7. We were learning a completely new way to code in a completely new IDE. Visual Studio .Net was simply amazing to all of us.  We were all Visual Basic developers then and being able to code using VB in this new environment was fantastic.

A couple of years later we were building an extranet application for our clients to be able to access their insurance information on the web.  We had been programming in .Net for a while but we were still VB programmers.  We were writing procedural code in an Object Oriented world.  There were some Code Behind methods that were several hundred lines of code long and full of spaghetti.

This is when we started learning about how VB can be a fully object oriented language and about utilizing Agile development techniques to help with the quality of our code.  It all started to come together. Our designs improved because we started to design our code to be testable. Our time to build and release methods were being revamped so we could be more efficient.  We were using code generation tools. It was a time of great learning.  We made our share of mistakes but all-in-all it was good.

Why do I reflect on such times?  I was reminded about these times because I am currently working with a group that is in a very similar situation.  Folks who are mostly COBOL programmers learning ASP.Net for the first time or are early in their object oriented programming learning and none of them have any Agile exposure at all.  I am sharing my experiences with them to help them grasp some of these concepts.

While doing a code review, one finds an asp button with an OnClick event that has 300+ lines of code in it, one is reminded of these times.  I am coaching my team in the craftsmanship of Agile Software Development, Object Oriented Programming and ASP.Net. So it behooves me to try to remember where I was and remind myself that there was a time when I wrote 300+ lines of code in a single method.  Well, maybe not that much but still…

Till next time…

Monday, October 24, 2011

When you can’t get where you want to be.

Many times in my life I have wanted to be somewhere in my career or in my family life that may have been just out of reach. It is during those times that I have had a significant amount of growth and have met some of the long lasting fiends in my life.

Back in 1995 when I was a theater electrician working in the Fox Theater at Foxwoods Resort and Casino, I knew I wanted to be a computer programmer. Don’t get me wrong, I loved working in the theater. In fact, I continue to work in the theater till this day. But what I wanted was just out of reach. I had no formal computer training and I couldn’t stop working to get it.  This is a situation a lot of folks are in today, I’m sure.

So I was fortunate enough to hook up with someone else in the theater department who was doing a little computer work. He and I became fast friends and still are very good friends to this day.  (His wife and kid came up from Florida to visit us last spring and we truly enjoy each others company.) Pete and I did little things in the theater department with computers to help our bosses.  He started a daily log for the technicians and I started a scheduling program for the lighting group.  We were learning more and more as we went along. We stretched ourselves because we new where we wanted to be.

Our bosses started to notice, and fortunately for us, they were progressive enough at the time to see where this could lead the theater department.  Soon, Pete and I had our own office with the best computers you could buy in 1996 and a copy of Visual Basic version 3 or 4. We went to a couple of training courses and the next thing you know we are, well sort of, real programmers. 

This paid off for both of us when Foxwoods decided to centralize all the folks working in IT. Pete and I went on to work in MIS. We are both now far into our IT careers and I am very thankful to him, Bill and Brian for helping me get to where I wanted to be.

So the point I am trying to make here is that sometimes when you cant get to where you want to be, maybe the best place you should be is where you are.  Look around you. Take in what is happening.  See where you might be able to utilize a skill or technology that will help promote you to where you want to be. And notice the people around you.  Who has influence? Who can you help that may be in a position to help you out someday.

In my case, at the moment, patience is my greatest ally. Where I want to be may take some time. And some of the folks I am meeting on my journey are absolutely the best. So, Jane, JD, Marc, (to name a few) I thank you!

Till next time…

Monday, October 17, 2011

Estimation: why can’t we get it?

In software development shops across the world there is absolutely nothing more frightening to software developers than estimating a task. The fear stems from the unknown. The phrase “I don’t know what I don’t know” comes to mind.

The pressure of giving an estimate for a task in terms of amount of effort can be very heavy. Somehow telling someone how long it will take to get this task “done” has turned into a self defense mechanism. So-much-so that sometimes engineers “pad” their estimate to almost twice what they believe it will actually take.

And then, the project managers get ahold of the estimate and they pad another 50%. This brings the estimate to 3 times what the engineer actually thought the task was going to take. And you know what happens? It takes that long or longer, but rarely does it take shorter.

Why? Why do we always end up taking longer than we originally thought? In my experience there are a few reasons for this phenomena. Each of which has played out in development shops that I have been a part of.

The first is the self-fulfilling prophesy syndrome. This is when a developer fills the estimation time because he has the time to fill.  In this scenario, if you give an engineer 8 hours to do the work, he will take 8 hours to do the work. In my estimation this is the worst kind of situation a development shop can be in. Because this is a good indication that your engineers are bored and do not have a vested interest in the shipping of the product.

A second reason estimations are off the mark is because engineers don’t learn from what they have previously estimated. Even green engineers right out of college have some experience estimating. They do it every day of there live in college. How long will it take to get this homework done so I can head out with the guys and play Gears of War? When an engineer is able to take into consideration previous work/estimate relationships and contrast with the complexity of his current task, that engineer is already more accurate.

Another reason is because the task is to great to estimate accurately.  This is the one thing I see more often than anything else.  An engineer has not taken the time to break down the task into manageable chunks. I like to pose this question to my team: Which estimate is going to be more accurate? 1. How long will it take to drive from downtown Raleigh to downtown Durham given moderate traffic conditions? or 2. How long will it take to drive from downtown Raleigh to Times Square in New York City? Of course we all know the answer. Because when we estimate small chunks we are more accurate.

There are more reasons than these but these make up a great percent assuming it is the engineer giving the estimate.  If it is not then there is a bigger issue that needs to be addressed in the organization.  So when an engineer thinks a task is going to take 4 hours he should estimate 4 hours and not pad anything.  He should then take into account how long it did take and what happened during that time. He should use this knowledge the next time he needs to give an estimate. He should also learn to be breaking down his tasks into realistic estimate-able chunks. Some say if it takes longer than a day then it is more than one task. I am not going to be that stringent but I think that is a good target.

Estimating is a skill that gets better with practice.  In the Agile development world we give estimates every iteration and every day. It is the only way to get better.  Keep at it and don’t get discouraged.

Till next time…

Technorati Tags: ,

Friday, October 07, 2011

Visionary and TV Commercial Genius

Steve Jobs passed Wednesday night and he left a void in technology that will not be soon matched. On the web, on twitter, on Facebook and even at Disney tributes are still being posted. He was an amazing man with an amazing story.  How did he affect me and my life?

in 1984 I watched the super bowl. I was 17 years old. I watched a commercial with a big head speaking to a zombie like crowd and a woman in red shorts with a hammer being thrown and marching men chasing after her.  It was amazing!  My seventeen year old brain wanted what ever it was advertising.  The affect was not on me alone. Millions of people wanted one too. But, alas, my family could not afford one.

I took a Fortran class in High School that spring but what I really wanted was a Macintosh. I had a Commodore 64 attached to my TV and I could make the TV change colors and play a few games but to have a Mac would have been something entirely different. I knew I wanted to work with computers and this TV ad had a lot to do with that. I went another way initially but never lost that urge. It was powerful enough to bring me back in the early 90s when I got into the technology industry. But I became a PC guy.

Fast forward many years and I found myself in many a PC v. Mac discussion. One of my good friends, Mike Pereira, and I had many of these discussions.  Me being the PC guy and him being the Mac guy. They were always friendly arguments and we had a good time touting the benefits of each.  I am sure Steve Jobs encouraged these types of discussions across the globe.  So much so that he produced the now famous PC Guy v. Mac Guy commercials.

There were many other ways that Mr. Jobs affected all of us. I will leave those to all the tributes around. I just wanted to add that I liked his commercials a lot. I know there were marketing teams involved but without the product to back it up, the commercials would never have been made.

Thanks Steve!

Till next time…

Technorati Tags: ,

Tuesday, October 04, 2011

Retrospective: Does it help?

In the world of Agile Development there is this practice known as a Retrospective. A Retrospective is when teams get together to reflect on what happened during the iteration that just completed.  it is a time for the team to answer a few questions about their process, the result, the engineering, anything that may need to be reviewed by the team for approval or improvement.

If the team is serious about its commitment to self organize/govern then the Retrospective is crucial to the teams success. Being able to discuss openly what you may need to improve on is a great tool to improve efficiency. It has been my experience that this takes a couple of iterations before the team really can see the results of their efforts.

On the other hand, I worked with a team late last year that got it almost right away.  The QA team member was not on the same page as the other team members and that came out in the first iteration’s retrospective. suggestions were made for improvement and some strategies discussed. An action plan was implemented.
At the next iteration’s retrospective the team was openly thankful to the QA team member for his role during the iteration.  They also were all encouraged by what open communication and review can do to help the team be more efficient. It was demonstrable for them. It was tangible.

There are many ways teams implement retrospectives. I like to answer three questions:

1. What did we do well?
2. What do we need to improve on?
3. What will we actively work on and how?

I find these three questions as a starting point to move teams closer to efficiency. What are some of the ways retrospectives are utilized in your Agile team?

Till next time…
Technorati Tags: ,

Tuesday, September 27, 2011

I am officially a twit

So, I have now joined the world of twitter.  Yes, I know that I should have done it a while ago, but I didn’t.  There is no real reason for me to not have done it sooner. I just didn’t.  What are some of your excuses for not doing things you know you should do?

So, Follow me on twitter. @rdbossjr  Now all I have to do is figure out how to create a follow me button on BlogSpot.

Till next time…

Technorati Tags:

Thursday, September 22, 2011

Can Agile work from the bottom up?

Many organizations have tried to implement “Agile” in their development process. Some have been extremely successful.  Others have failed miserably.

I have worked with 4 organizations in the last 10 years that have implemented some form of agile development. They vary in their success and they vary in their implementation.  Each company having its own values and culture affecting the outcome. They also have implemented some of the agile techniques but have not come to emulate the Agile Manifesto to it’s fullest.

I have written about what agile means before. And mentioned the need for support from upper management. I still believe that in order to truly embrace the Agile Manifesto and be successful, an organization requires support from upper management and as far up as the CIO and CEO.

But where does that leave some folks who are learning about Agile and what it means but don’t have the support from above? Well there are some steps you can take as an individual to begin. First of all, don’t try to do everything at once. look at your organization, consider the culture, consider the current process, consider the resources.

A good friend of mine, Jason, brought Agile to the for-front at FM Global, where I used to work and where I first learned about Agile. He slowly brought it in our organization by adapting his team.  He had a few people on his team look at new tools like cruise-control and nunit.  That’s where I started.

Jason assigned me to look at this new tool called cruisecontrol.net back in 2004 and 2005  It is a tool for continuous integration. And another team member looked at nunit which is an automated unit testing framework.  These tools are still around and supported by the community.  But a funny thing happened.  Microsoft took notice and now Visual Studio and TFS have fully functioning Unit testing frameworks and Continuous Integration build systems.

Jason managed to get his team utilizing Agile techniques and upper management noticed. So much so that the company paid for all of us to take an Agile, Test Driven Development, and pair programming course with “Uncle” Bob Martin.  So we trained with the best. If you ask Jason I am sure he will tell you it was a slow process.  He is now a professional Agile Coach so I guess he knows what he is talking about.

My experience has been the same. Since I left that company in 2008 I have worked with 3 organizations all at various stages in their Agile process.  One had daily standups (SCRUM) meetings but nothing else. One had nothing but Continuous Integration but not for all projects. And one had “iterative development” for some projects.  I managed to work with all of them to enhance what they had.  I am still working on the last one.

So can you make Agile work from the bottom up? It isn’t easy and it takes a long time but, you can have an affect.  You may not implement all the agile principles. But some of the common practices can go along way to making your group a bit more Agile.  Keep it up.

Till next time…

Tuesday, September 20, 2011

Math in Middle School and High School. How important is it?

Microsoft did a survey of College Students and parents about Science, Technology, Engineering, and Math (STEM). STEM, over the course of the next decade or 2, will be where most of the worldwide higher paying jobs will come from.  Are your Middle Schools and High Schools preparing your college bound child well enough for them to succeed in STEM?

According to the survey, the answer to the question is a big NO.  Most of the parents and college students surveyed believe they were not prepared enough in their respective secondary education institutions for what they needed in college.

Why do I think this is an important subject?  Because I believe it is true.  I am very fortunate to have a son in the 8th grade who is an honor student (He gets that from his mom.) My son, Brendan, is not a good student. He is a GREAT student. He has consistently scored the highest or one of the top 3 highest scores on his EOG (End of Grade) tests. North Carolina’s answer to “No child left behind”.  And he is consistently one of the best students in his grade.

Now, I am not one to brag. But I will now.  Brendan was invited to participate in Duke’s TIP program for seventh graders last year.  Through this program he was able to take the SATs with college bound 11th graders this past January.  He did extremely well. And now has all kinds of opportunities world wide that are available for him to participate in.

How did he get there? He was very fortunate to have math teachers who realized the simple truth that is stated in the results of Microsoft’s survey.  Math is important! In fact, in the Orange County School System, advanced math is emphasized and encouraged in the Middle Schools.  Brendan started with Algebra in 7th grade and is now taking Geometry.  (He is also taking English 1 so he will get High School credit for it.)

What does Brendan want to be when he grows up? An engineer!  He has already showed a preference for his mom’s alma-mater Purdue.  He also realizes that math is what is going to help him succeed.  (He also dreams of being a professional Goalie in the Premier League as well, oh well, so much for math.)

We as parents need to be a part of the equation (pun intended) as well. We need to encourage our kids at an early age to look at math as something fun and interesting. I remember driving Brendan to and from pre school singing our numbers to 1000 by tens. We had lots of fun.  So yeah, math is important, and fun too!

till next time…

Technorati Tags: ,,,

Friday, September 16, 2011

Windows 8 – How does it fit?

I have had a few emails from friends who have installed Windows 8 and are skeptical to say the least. With all due respect to them, I believe that Microsoft is working two angles with one OS here.

Some have said that the corporate world will not accept Windows 8 with the Metro UI. I think Microsoft knows that.  They have, after all, been the dominate OS in the business setting.  This is where they have their roots. Windows NT through Windows XP and now Windows 7.  I believe Windows 7 will be the workhorse corporate OS for many years to come just like XP was before it.  It will live as long as XP, if not longer. In fact, as I write this, my office still has users on XP.

The separation of Windows Desktop and Metro UI in Windows 8, I believe, was done on purpose.  Microsoft needed to enter the tablet world and the world of touch with a bang.  The only way into the tablet/touch world is to support ARM processors which are so prevalent in the mobile and tablet market.  They couldn’t do that with Windows 7.

Metro is their answer for the ARM processors. (Qualcomm and Texas Instruments are happy about that.) Microsoft has made it clear that they will only port a limited number of x86 apps to Metro. Though Ballmer did hint today that Office may be ported. So this indicates ARM will be Metro only.

The reason for this is simple. All those apps are power hungry. ARM processors wont give them that power while still protecting battery life.  Metro apps will be asynchronous and the apps processes will be shut down by the OS just 5 seconds or so after they are no longer in the forefront.  This does not allow for any long running process to work in the background.

But IE has both a Desktop version and a Metro version.  Or do they?  The engine is the same according to Microsoft but the UI is different.  The Desktop version supports plugins and can persist and all that client side stuff can happen.  But in the Metro version? Not so fast. No plugins. No Flash, No LastPass. This is Microsoft saying we need to move on. Many pages optimized for the mobile experience are already plugin free.

So what Microsoft is kind of doing here is the opposite of what Apple has done.  Apple supports 2 OSs. One for the iPAD/iPhone and one for their hardware like AIR.  The iPAD is the touch experience to beat. Microsoft feels they can. In NASCAR in order to succeed, teams try to always do the opposite of what their nearest completion does.  This may or may not work out for Microsoft.  This isn’t a NASCAR race.

On a side note:
Interesting that all around the web some people are praising and some people are condemning Windows 8.  What is interesting to me is that people are condemning it because it doesn’t support this, it doesn’t have that,  some comments on blogs I have been reading are like:
“I don’t see InPrivate viewing on IE10 Metro.  What’s up with that. I am throwing this in the trash! No one is going to use it.”
You have read these comments or comments with the same implication all over the web. It is comments like these that make me wonder what people are thinking.  This is a pre Alpha developer preview.  Of course it isn’t going to have all of your little favorite features yet.

Microsoft spent a lot of money this week to show us all what it has planned.  this is not even close to what will be delivered.  Have you seen the slide regarding what Microsoft didn’t show us? Here is a big picture of it.

Till next time…

Thursday, September 15, 2011

Windows Server 8 – feel the love

For those of you looking at Windows 8 as I am, there is a lot of excitement I think. There is some excitement in the background as well.  Something that could affect us all as much, if not more than Windows 8.

Windows Server 8 is here too.  No we do not have a Developer preview to download, nor any bits to play with.  [Update: Some folks got it today] But some folks were invited up to Redmond last week for some exciting demos and presentations.  Here is a description of the event by one of the attendees.

Sounds like there are some really significant enhancements and feature sets. Hyper-V seems to be one area that got a lot of love from Microsoft. A new Server Manager. But what I am most excited about is that deduplication will become part of the OS.  As some of you know I love Windows Home Server 2011.  One of the things I love about it is that it uses deduplication in its client backup process.  This saves a significant amount of space.

Well, System Admins, in the cloud, feel the love.  Microsoft seems to have put a lot of effort here.

Till next time…