Category: Lean

Lean Code – Part 2

Our article on “Lean Code” strongly suggests that the principles of lean can also be applied to the realm of software development, applications, and more specifically, programming.

Python has evolved to become a very popular and powerful programming language.  However, as mentioned in “Lean Code“, the performance of your application or program is as dependent on the skills of the programmer as they are on the capabilities of the programming language itself.

An example of skill versus language can be found in “Python for Data Science – For Dummies – A Wiley Brand” by John Paul Mueller and Luca Massaron (ISBN:  978-1-118-84418-2).  Page 106 of the book states:

It’s essential to realize that developers built pandas on top of NumPy.  As a result, every task you perform using pandas also goes through NumPy.  To obtain the benefits of pandas, you pay a performance penalty that some testers say is 100 times slower than NumPy for a similar task.

The functionality offered by pandas makes writing code faster and easier for the programmer, however, the performance trade-off exists for the end user.  Knowing when to use one module over the other depends on the programmer’s understanding of the language as opposed to simply providing a specific functionality.

Python for Data Science provides sufficient information to decide the best fit case for either pandas or NumPy.  The relevance of sharing this is to stress the importance of continually reading, learning, and understanding as much as possible about your language of choice for a given application.

From the end user’s perspective, performance matters and everyone wants it “yesterday”.  So, the question is, “Do we code quickly and sacrifice performance or sacrifice delivery for quick code?  What would you do?

Until Next Time – STAY lean!

Versalytics - Logo (293x293)

Related Articles / Books:

 

Advertisements

Learning From Mistakes

always make new mistakes
Always make new mistakes (Photo credit: elycefeliz)

An event occurred this afternoon that required an immediate resolution. When asked whether we were going to pursue the root cause, I could only respond with this question:

What’s the point of making mistakes if we’re not going to learn from them?

This is likely the shortest post I ever published here, however, I think the simplicity of the message makes the point very clear.

If you do wish to delve deeper into the topic of mistakes, I encourage you to read some of the related articles featured below.

Until Next Time – STAY lean

Vergence Analytics

Goals Without Means Are Meaningless

English: Everything starts from needs or desir...

The new year is upon us and, as is typical for this time of year, resolutions are one of the primary topics of conversation. With just over a week into the new year, it is very likely that the discussions of resolutions and goals have already begun to subside.

Unfortunately, for the many who do make resolutions, very few ever manage to achieve them. The reasons for failure are many but, more often than not, we either set the wrong goals or we fail to identify intermediate performance goals for the range of activities required to reach the final goal.

Where do you stand?

Setting the Right Goals

The diagram suggests that goals are determined by reviewing our needs and desires. However, what we desire most is often what we need least. For business leaders, strategy, goals, and objectives stem from a vision statement that reflects our purpose for being, our WHY. We are, in essence, Driven by Dreams and Powered by Goals.

What do the “right goals” look like? The John Whitmore model offers the following three (3) acronyms to help us discern the value and sustainability of our goals:

  1. SMART: Specific, Measurable, Attainable, Realistic, and Time Phased.
  2. PURE: Positively Stated, Understood, Relevant, and Ethical.
  3. CLEAR: Challenging, Legal, Environmentally Sound, Agreed, and Recorded.

To be successful, resolutions, much like goals and objectives, require more than a simple statement of intent. We need a plan that describes how we’re actually going to achieve them. In other words, we need to define “the means to an end.” As suggested by the Whitmore model, the expression, “Fail to Plan – Plan to Fail”, is only partially true when we consider that our success also requires us to be sufficiently motivated and challenged to embark on, and endure, the journey.

What if …

Clearly, not everything goes as planned. There are risks and obstacles that must be considered and, where possible, addressed as part of the planning process. Contingency plans are as much a part of planning as the “master” plan itself.

While it seems impossible to “expect the unexpected”, black swan events do occur. How we respond to these events is often the “make or break” point of our journey. During this time, our commitment to our goals and perhaps even our vision will be tested. For this reason, our core purpose or “why” must be of sufficient value to sustain our efforts and give cause to overcome the distractions and setbacks that are sure to occur.

The Plan

Goals without dates are merely dreams and, likewise, goals without a means to achieve them are meaningless. Motivate your team by instilling a vested interest through the development of a detailed plan that will be sure to inspire the team to not only follow up but to follow through on their commitments.

The scope and scale of a plan is dependent on the goals we are striving to achieve. We tend to underestimate the resources and effort required to accomplish the tasks at hand. The ability to identify detailed actions or tasks, required resources, responsibilities, and realistic timing will help to create a plan that leads to a successful conclusion, avoiding much of the confusion and frustration that poor planning can bring.

Execution

After all is said and written – it must be done. Execution of the plan – putting words into action – is how our goals become a reality. A variety of tools are at our disposal to manage our activities and progress ranging from simple white boards to professional project management software. However these activities are managed, we must ensure that we don’t get caught up in the management “process” itself and focus on the immediate tasks or actions at hand.

Additional learning occurs with every change or transformation process. As such, I prefer to use an “agile” approach that offers flexibility to change or evolve our “means” or “methods” without compromising the goal we originally set out to achieve.

Practice proves theory every time and the real proof of wisdom is in the results. We wish you all the best of successes to achieve the goals that you may have set for yourself and your team in 2013.

Until Next Time – STAY lean

Vergence Analytics

Transition Versus Change – 2013

Change Management
Change Management (Photo credit: larry_odebrecht)

The time between Christmas and New Year’s eve is one of transition as we consider the events that occurred over the past year and prepare for the new year ahead. Experts are sure to present their annual summaries and will also attempt to “predict” what may be in store for us in the year to come. As lean leaders we also recognize the necessity to make and take the time for introspection and hansei (reflection).

Lean is by definition a perpetual transition from the current state to an ideal future state as we understand it. As our culture and technologies evolve, we continue to open doors to more opportunities and perhaps an even greater potential than first imagined. As such, we seek to advance our understanding as we pursue our vision of lean and it’s scope of application.

Lean is often described as a journey. While the vision is clearly defined, the means for achieving it continue to evolve and, as we’ve stated many times before, “There’s always a better way and more than one solution.” From a lean perspective, the Plan-Do-Check-Act (PDCA) cycle challenges us to consider every change as a temporary state where each subsequent iteration ultimately brings us closer to realizing our vision.

Recognizing that we are in a continual state of transition should give us cause to embrace the ideology that the nature of change can only be viewed as a temporary condition. True resistance to change should only occur when the vision itself is compromised. Similarly, the absence of a clear vision is also cause for resistance. We contend that where the purpose or vision remains constant, the means or the methods of achieving it – incremental or disruptive – are more readily adopted.

The “Change Curve” presented in the diagram above clearly suggests that the commitment to change progresses from Leadership to Change Agents and finally to the End Users with each “group” requiring an increasing span of time to absorb and embrace the change accordingly. A potential for frustration and resistance to change occurs when the next iteration is introduced before the change that precedes it has been adopted and “experienced”. For this same reason and as suggested in our post, “Apple’s Best Kept Secrets … May Be Their Worst Enemy“, companies (including Apple) must be careful to manage the frequency at which change occurs to avoid frustrating employees and potential customers in the process.

The absence of change or lack of evidence that change is coming is and should be cause for concern. Research In Motion’s (RIM) continued delays in releasing the BlackBerry 10 (BB10) resulted in lost confidence from investors and share prices dropped sharply in return. RIM’s attempts to “talk” through the company’s strategy and the future of the BlackBerry could not sustain their one time dominance of the smart phone market. Thankfully for RIM, the BlackBerry, slated to launch on January 30, 2013, is receiving raving reviews as a high quality next generation smart phone. Only time will tell if too much time has passed to win people over.

Lean leaders recognize that real change begins in the hearts and minds of every stakeholder and is a pre-requisite before any physical changes can occur. A learning organization embraces the concept of “transitional” thinking where each change represents the current level of knowledge and understanding. Where perpetual learning occurs, transitional thinking ensues, and subsequent changes mark our progress along the journey.

As we look forward to 2013, we thank you for your continued support and wish you the best of successes in the New Year ahead.

Until Next Time – STAY lean

Vergence Analytics

Decisions: From Crisis and Chaos to Calm

English: Decisions, decisions. The road on the...

How is it that some leaders have a way to bring calm to crisis, chaos, and conflict, weeding out fact from fiction, and somehow setting the path straight for others to follow? The answer is quite simple, they have the tools and ability to make effective decisions efficiently.

I recognize that very few, if any, problems can truly be solved by searching for answers in a book. “The Decision Book” by Mikael Krogerus and Roman Tschappeler presents 50 models for strategic thinking where the objective is not to necessarily find the answers but to understand various models or methods that can be used to help discover them.

The models presented may be used to simplify problems or opportunities enabling you to make the best decisions possible. Deciding which model to use is simply a matter of reviewing the matrix presented on the inside covers of the book itself. The scope of application of each model is specifically targeted to one of four “How To” categories:

  • How to improve yourself
  • How to understand yourself better
  • How to understand others better
  • How to improve others

Concisely written, the models are presented in a manner that makes them immediately practical. Each model is typically presented with a single written page followed by an illustration to demonstrate how the model may be applied.

At 173 pages, “The Decision Book” is a quick read from cover to cover, however, it also makes for a perfect handbook as each model is unique unto itself. Where correlations between models exist, they are also indicated in the text.

The Decision Book is not all inclusive though it does present many of the best known models for strategic thinking and is certainly one to add to your library. Just remember that making a decision is only the first step. Execution is the key to making it a reality.

Until Next Time – STAY lean

Vergence Analytics

Are You Suffering from Fragmentation?

This image shows the life cycle of a task by u...
Task Life Cycle - Image via Wikipedia.

When Toyota arrived on the North American manufacturing scene, automakers were introduced to many of Toyota’s best practices including the Toyota Production System (TPS) and the well-known “Toyota Way”.  Since that time, Toyota’s best practices have been introduced to numerous other industries and service providers with varying degrees of success.

In simple terms, Toyota’s elusive goal of single piece flow implicitly demands that parts be processed one piece at a time and only as required by the customer.  The practice of batch processing was successfully challenged and proven to be inefficient as the practice inherently implies a certain degree of fragmentation of processes, higher inventories, longer lead times, and higher costs.

To the contrary, over specialization can lead to excessive process fragmentation and is evidenced by decreased efficiency, higher labour costs, and increased lead times.  In other words, we must concern ourselves with assuring that we have optimized process tasks to the extent that maximum flow is achieved in the shortest amount of time.

An example of excessive specialization can be found in the healthcare system here in Ontario, Canada.  Patients visit their family doctor only to be sent to a specialist who in turn prescribes a series of tests to be completed by yet another layer of “specialists”.  To complicate matters even more, each of  these specialized services are inconveniently separated geographically as well.

Excessive fragmentation can be found by conducting a thorough review of the entire process.  The review must consider the time required to perform “real value added” tasks versus non-value added tasks as well as the time-lapse that may be incurred between tasks.  Although individual “steps” may be performed efficiently and within seconds, minutes, or hours, having to wait several days, weeks, or even months between tasks clearly undermines the efficiency of the process as a whole.

In the case of healthcare, the time lapse between visits or “tasks” is borne by the patient and since the facilities are managed independently, wait times are inherently extended.  Manufacturers suffer a similar fate where outside services are concerned.  Localization of services is certainly worthy of consideration when attempting to reduce lead times and ultimately cost.

Computers use de-fragmentation software to “relocate” data in a manner that facilitates improved file storage and retrieval.  If only we could “defrag” our processes in a similar way to improve our manufacturing and service industries.  “Made In China” labels continue to appear on far too many items that could be manufactured here at home!

Until Next Time – Stay LEAN!

Vergence Analytics

Sustainability or Meltdown?

Created in Photoshop, based on "Sustainab...
Image via Wikipedia

For as many years as I have been blogging here on Lean Execution, I have been increasingly concerned with the sustainability of our economy, business, and government at all levels – locally, nationally, and globally. To this day, these same interests are all struggling to define and establish models that will allow them to recover, sustain, and flourish in the foreseeable future.

The word “meltdown” entered my mind as the summer heat continued to beat down on us over this past week. As we have witnessed over the past few months and years, many governments and businesses alike have collapsed and there are many questions that have yet to be answered.  How did it happen? Was prevention even possible? As I listen to the radio and read the newspapers, I find it interesting that “cuts” are the resounding theme to reduce costs.

I would argue that the real opportunity to reduce costs is to review and identify what is truly essential and then examine whether these products and services are being delivered in the most efficient and effective manner.  I have always contended that there is always a better way and more than one solution with the premise that anything’s possible.

Sustainability requires us to continually and rapidly adapt to an ever-changing environment.  In this context I again find myself turning to the wisdom of Toyota.  “The Toyota Way to Continuous Improvement – Linking Strategy and Operational Excellence To Achieve Superior Performance” by Jeffrey K. Liker and James K. Franz is one such resource that is the most recent addition to my library of recommended lean reading and learning.

The economy is extremely dynamic and infinitely variable.  Our ability to sustain and succeed depends on our ability to stay ahead of the curve and set market trends rather than follow them. Apple is one such company that continually raises the bar by defining new market niches and creating the products required to fulfill them.

We also have a social responsibility to ensure that people are gainfully employed to afford the very products and services we provide.  As we consider current employment levels here in Ontario, Canada, and other countries around the world, it is becoming increasingly clear that cutting “jobs” is not a solution that will propel our economy forward.  We must be accountable to create affordable products and services that can be provided and sustained by our own “home based” resources.

Accountability for a sustainable business model requires us to forego future growth projections and deal with our present reality.  Expanding markets are not to be ignored, however, we can no longer use the “lack of growth” as an excuse for failing to meet our current obligations and stakeholder expectations.

Until Next Time – STAY lean!

Vergence Analytics