Wednesday, 20 November 2013

War & Snorkels

'We are at war!'

This was the statement a well-known software company CEO recently made in a speech, to describe the everyday battle against business competitors. It was the first time I had thought of software development as war, and it made sense to me.  As this impassioned CEO went on to talk about the differences between leadership and management, I started to connect dots I had not previously seen. Software is war and to win the war you need a strong military leader, not a manager.

History disproves the Whitfield and Strong song War ('What is it good for? Absolutely nothing'). While wars cause terrible tragedy, they have led to some extremely important technological advancements. The American Civil War gave us the snorkel and the submarine; World War 1, air traffic control and sanitary napkins; and WWII gave us penicillin and the first computer used for decryption. War is great for innovation. As the old saying goes, 'necessity is the mother of invention'.

War has not only encouraged technological advancements but process and methodology advancements as well. A recent paper by McKenna and Whitty called 'Agile is Not the End-Game of Project Management Methodologies' contains a great chart depicting the explosion (pun intended) of methodologies that wars initiated (!).

Is innovation so hard in day to day life because we don't consider the 'enemy' encircling us whenever we write a line of code or attend a meeting? Is the level of 'necessity' not high enough? Is innovation lacking due to the pressures of daily trench warfare - for example, that the sales guy has sold something we don't yet have? Is it due to a lack of 'basic training' - does everyone in your team know how to use the tools they have been given, or not? So many of us have the weapons of mass instruction, but not the skills to implement them.

If software is war, the battles are the scrum sprints. Each battle defines your progress, each win encourages the troops, each defeat means a re-think of the battle plan, each loss, a reorganization. With any software development, but particularly within an Agile environment where innovation and communication are key, having the right leader at the helm inspiring the team to do their best every day, not just at release time, is so important. A great military leader is not the shy, retiring type; they are engaging, enthusiastic, have the weaponry knowledge of a foot soldier, the political know-how of a senator, the business sense of an entrepreneur, and the planning foresight of a soothsayer. Winston Churchill said 'we will fight them on the beaches' but it's how we are in the trenches, not just on the beaches, that makes the real difference. If each day you are doing your best, following processes, and learning and refining your art, then the day you are face to face with the enemy you will have the muscle memory to perform under pressure and win the final battle: the one that signifies the end of the war, and the great software release.

Wednesday, 21 August 2013

Changing Y

Finishing up a job and getting ready to start a new one is like the end of the year at school. I feel like taking my chair out to the yard an hosing it down - did you do that in primary school?

I can already hear my uncle-in-law saying, " you've got another new job?", as a reluctant member of gen-y, so I gots to thinking...why is it a big deal to change jobs?

If I look at a timeline of my younger days, now slowly disappearing into a memory (can you hear the tiny violins?)

How did I continually move to the next 'thing'? Because I got better at doing those things, I passed, I graduated.

So, why stop?

Now, whenever I get to that point of 'I can't learn anything more from being here - and I can't teach them anything more', then it's time for me to go.

Friday, 21 June 2013

Never confuse efficiency with a liver complaint

Having a 3 year old and a 10 month old means that I end up watching a lot of children's television. No not bad parenting (well not that bad), but we do live in the 21st century and the TV is a great baby sitter and central to the living room.

It does however have its advantages; one being the guise of "looking after the kids", being able to watch all your own childhood favourites. From Tron, Toy Story, the Goonies, Dumbo, and other Disney classics, to The Wizard of Oz, and Mary Poppins. Like most 3 year olds my daughter is obsessed with a movie for about a week, then on to the next one. Well a few weeks back, Mary Poppins was the flavour of the week (think it actually lasted two weeks!), and in that time I ended up watching it a few times - my attention span is much longer than hers so I watched it a lot more than she did! Within the movie there are a few great management and project managements dos and don'ts, here are some of my favs.

1. Never confuse efficiency with a liver complaint 

In this scene Mr Banks and his wife are talking about previous nannies and why they have left.

Mr. Banks: My dear, never confuse efficiency with a liver complaint.

This to me, says listen to what your team is saying, and what they are not saying. If your team is complaining about something - is it efficiency or liver spots? If they aren't complaining about something - who are they complaining too! Undoubtedly there is something to "have a little whinge" about - why aren't they telling you about it! What is this doing to your reputation and the rep of your team?

2. A spoon full of sugar

Bert, the chimney sweep, sings this:

Bert:  A spoon full of sugar, that is, all it takes,
        it changes bread and water into tea and cakes
        A spoon full of sugar goes a long long way,
        have yourself a healthy helping everyday

Bet you were thinking it was the other "spoon full of sugar" lyrics right! This shows us that what we are expecting is not always what we get, so open your eyes, your ears and mouth, cause sometimes its up to you to take the sugar and, more importantly, the medicine.

3. 6:02 pm

This is the scene when Mr Banks arrives home from work:

Mr Banks: I run my home precisely on schedule.
               At 6:01, I march through my door.
               My slippers, sherry, and pipe are due at 6:02.
               Consistent is the life I lead!

For me, this is two lessons wrapped in one. The first is about work life balance. If you have kids especially, getting home in time to spend some quality time with them before bed is important for their growth and your state of mind. But, even those without kids need balance and long hours at the office is not the way to achieve. In my experience long hours mean lots of unproductive time either its the reason for the long hours now, or worse.

The second is about consistency. Not many of us enjoy change, but unfortunately, it is inevitable. So be prepared for it, embrace it, and try your best to move on.

4.  Winifred, please don't be emotional.

In this scene Mr Banks is talking to his wife.

Mr. Banks: Winifred, please don't be emotional.

I'm not one for emotions.

I was going to leave it there but, as with change, emotions are inevitable also. And especially as a man, I must make an effort to understand emotions and realize that peoples feelings (yuck) are important - especially within a team environment.

5. Go fly a kite

When Mr Banks realizes that there is more to life than work and money, he goes to fly a kite with his kids.

Mr Banks:  With tuppence for paper and string
                you can have your own set of wings,
                with your feet on the ground
                you're a bird in flight,
                with your fist holding tight
                to the string of your kite.

Go fly a kite - could be seen as an insult, so be careful how you pitch this one :)

Personally, I see it as a call for innovation. Firstly, the kids have to "invent", and "create", their kites. Then they "imagine" they are like a bird. All sounds pretty much like innovation to me. The key part here is to remember to be grounded (with your first holding tight) - that is remember that innovation within a business must reflect the goals of the business (See my previous post on FedEx day)

6. I never explain anything.

This is a scene between Mark and Mr Banks.

Mr. Banks: Just a moment, Mary Poppins. What is the meaning of this outrage?
Mary Poppins: I beg your pardon?
Mr. Banks: Will you be good enough to explain all this?
Mary Poppins: First of all, I would like to make one thing quite clear.
Mr. Banks: Yes?
Mary Poppins: I never explain anything.

This is one is a don't rather than a do. If you have magical powers and can jump in to chalk drawings and fly using your umbrella, good for you, the rest of us probably have to explain ourselves once in a while. So be careful. Take notes. Record. Don't be the FBI, but make sure that when a decision that needs to be made is made by the right person and it is recorded that they did so.

So that is it. Watch Mary Poppins again, it's a classic. Let me know other movies that you think have a hidden PM undertone and I'll review them too!

Monday, 6 May 2013

The Magic Bass Player

I recently attended the inaugural PMI Australia conference in Sydney. I had a great time, learnt lots, and made some new friends and contacts. I had a few new ideas for posts and you will hear about them over the coming months.

One of the keynote speakers was Cassandra Wilkinson, co-founder of Sydney's FBi radio and a heap of other diverse things ( Her talk was extremely fascinating and one story struck a chord with me (pardon the pun), so I will attempt to do it justice here...

The Magic Bass Player.

The lead guitarist has his solos and his great riffs - he could be in another band tomorrow.

The singer has his songs and his great voice - he could get a gig in any band.

But the bass player, all he has is the band, so he puts all his effort into making sure that the band continues and is successful. He is the guy who, when the drummer sleeps with the singers girlfriend, gets them back in the room together. When the guitarist is shipped off to rehab, he is the one who sneaks the guy out and hits the pub for a drink.

Why is the magic bass player important? Cause without him there is no band, without him the band falls apart.

It could be said that the same is true for the project manager and the project. He wouldn't be without the project. He keeps the project running. He makes sure that the project sponsor and the tech lead maintain a healthy relationship, etc.

Cass also talked about the difference between dreams and plans. Imagine if Martin Luther King had not said "I have a dream", but instead, "I have a plan". What would the response have been? When will it be completed? How much will it cost? What are the steps in this plan? Who is involved in the plan?

This resonated with me as I have felt this way coming out of strategy sessions where a plan was proposed but no details of the plan. At the time I was annoyed that there was a plan with no details, and I annoyed my managers by asking the same questions as above. But perhaps it was just wording or even worse my comprehension the wording that made me annoyed. Instead of me believing in the dream, I was left asking specific questions about a plan. I think this is a good lesson for Project Managers and Managers alike: We need to create something to believe in not just something to follow.

Well, hopefully you get the gist of the Magic Bass Player story, and if you get to hear Cass speak I highly recommend it.

Thursday, 4 April 2013

SharePoint Ajax Loading Dialog

Just a quickie - and for my own reference later on :)

This morning I really wanted to improve the user experience of my SharePoint site by showing a "Loading" screen when I was busy doing some Ajax calls to either enable/disable menu buttons or once a menu is clicked.

So basic requirements were:

1. Allow user to see Loading screen when ajax call is taking a long time
2. Only show the Loading screen after a certain amount of time, i.e. dont show it everytime there is a ajax call - this stops the flicker.
3. Only show it for as long as is needed, i.e. no faking of time to stop the flicker.
4. Must wire up to MS Ajax, JQuery Ajax, and SP Ajax calls

After some research and lots of debugging I came up with the following javascript:

var Loading = {

    WaitTimeBeforeShowingDialog: 1000,

    _waitDialog: null,
    _requestCount: 0,
    _firstRequest: null,

    RequestEnded: function (sender, args) {

        var now = new Date().getTime();

        console.log("Requests: " + Loading._requestCount);

        if (Loading._requestCount <= 0) {
            var delay = (now - _firstRequest);
            console.log("Total Request Time: " + delay);

        if (Loading._requestCount <= 0 && Loading._waitDialog) {
            Loading._waitDialog = null;

    RequestStarted: function (sender, args) {


        console.log("Requests: " + Loading._requestCount);

        if (Loading._requestCount == 1) {
            _firstRequest = new Date().getTime();

            setTimeout(function () {

                var now = new Date().getTime();
                var delay = (now - _firstRequest);

                if (delay > Loading.WaitTimeBeforeShowingDialog && Loading._requestCount > 0 && !Loading._waitDialog) {
                    Loading._waitDialog = SP.UI.ModalDialog.showWaitScreenWithNoClose('Processing...', 'Please wait while request is in progress...', 76, 330);

            }, Loading.WaitTimeBeforeShowingDialog);

    Init: function () {

if (typeof (console) === 'undefined') {
    console = function () { };
    console.log = function (msg) {
        // do nothing 

ExecuteOrDelayUntilScriptLoaded(function () {

$(document).ready(function () {

}, 'sp.js');

I promise there is a agile/management post coming soon :)