Pre and Post hooks for npm scripting

npm is at the core of developing in Node. Most of us use it to get packages, set up the package.json etc.

But when you put it together with the vast possibilities in package.json you get another gear. Then npm can actually become a build tool - driving every aspect of your development. Without getting unwieldy and out of control.

In this post I wanted to examine one of the lesser known features of scripting with npm and package.json; pre- and post hooks. In doing so I will most likely brush on a lot of other subjects too. We’ll see how it goes.

[UPDATED] This, and other posts on npm scripting, has drawn a lot of attention. I wanted you to know that I have created a PluralSight course on this topic, published in late October 2015. You can find...

Read More

Progress indicators, estimates and plans

Here in Indonesia Internet is often very slow. No, you don’t understand. VERY slow. Downloading big files, like movies on iTunes, can be a project from 4 hours to days.

The other night we wanted to watch a movie (Bamse i Tjuvstaden, it’s actually pretty good) that our kids love. We have already bought it but iTunes still downloads part of it.

The normal thing happened; the progress indicator lied. My kids were angry and I had to explain to them:

That is an estimate, a guess. They simply don’t know when it’s done.

As I said that I was reminded about many times I’ve been required to give estimates in other settings. In this post I wanted to examine the similarities I felt was present.

Read More

ca 10 minutes on effective meetings

I don’t like meetings. Because most meetings I’ve attended has not been great. And I’m guilty of organizing some of those meetings too.

In this presentation I talk about how to make effective meetings. There will be a lot of small advices that I’ve found useful during my consultancy. I will also briefly describe the Lean Coffee meeting format.

Here’s all the post in the series (the links will work as I post them):

Please read the reason and ideas behind the entire series in the first post.

Read More

Creating a 'Movie credits' animation in Keynote

I’m a big fan of Keynote and use that to create all of my presentations. Although I try to keep the number of animations down to a minimum, since I think they take a lot of focus from the content, I find that a few, well placed, animations can be very effective.

In one of my recent presentations, I found the “need” to do a movie credits animation. You know like the thing that rolls in the end credits after a movie or TV-show. First, I thought that I’d seen that exact animation, but it turned out to be in iMovie.

A search on the intertubes didn’t give me much useful either. But it turned out to be pretty simple to do. In this post, I’ll show you how.

TL;DR

Basically, we will just use the “Move” Action for our block of text, move it over the...

Read More

ca 10 minutes on Root Cause Analysis

Throughout all the things I’ve talked about in this series; mission, vision, strategic plans and kanban there’s a underlying concept. We want to improve. We want to be better in achieving our vision.

If you want to improve you will have to be great in fixing problems. Not only fixing the problems but the actual underlying reason for the problem to occurred in the first place.

Root cause analysis is a powerful tool for doing that. This is what I talk about in this presentation.

Here’s all the post in the series (the links will work as I post them):

Read More

QA: How big is a work item?

Sometimes people email questions to me, directly. I love that (although I sometime need to postpone the answering for awhile) because it gives me such nice insight into how other teams work and function. Basically: I learn more and as you can see from the tag line of this blog… I’m into learning stuff.

The other day I got a question that I’ve heard before in variants. It’s also very reasonable and a bit complicated to answer: “How big is a work item really?”

I also got permission to publish the whole question and my answer here.

Read More

Only help those that want help

I tweeted this the other day:

I continued to think a bit about that, especially after a little bit depressing response I got.

What would the opposite to that be? Help those that doesn’t want help. How stupid doesn’t sound? Or “Don’t help those that want help.”

I don’t know how much time and effort I’ve spent on the opposite. Trying to convince people that they need to change, when they don’t want too. Or forcing (yes, sorry … they told me to) a new process or methodology on team who were quite content with their ways and procedure.

Read More

ca 15 minutes on Kanban

In this presentation I break it down to the day-to-day management of a project or team. How can we keep our focus? How can we improve? How do we even know what we are doing right now?

As no surprise to to readers of this blog this will be accomplished with kanban.

Here’s all the post in the series (the links will work as I post them):

Please read the reason and ideas behind the entire series in the first post.

Read More

ca 15 minutes on Impact mapping

Having your mission, vision and strategy in place are essential but result in nothing, if you can’t make sure that you execute them. Can’t make sure that you take steps in your strategic plan to get closer to the vision. One of the best tools I’ve seen around this, on the strategic level, is called Impact Mapping. This presentation is devoted to this tool

Here’s all the post in the series (the links will work as I post them):

Please read the reason and ideas behind the entire series in the first post.

Read More