Monday, May 18, 2020

The Strangest Secret for the Perfect Team

The Office

Get your pen and paper ready. What do you think is the #1 ingredient for making the perfect team? Is it communication, technical expertise or a dash of something else. My slide deck with the answer to this golden question is available at bit.ly/the-perfect-team.

Is The Office a perfect team? The Office is classic TV series known for its slapstick comedy. However, it provides many anti-patterns of the perfect team. Let's start by discussing a few of those anti-pattern ingredients of the perfect team:

  • Fear - most of the employees in The Office went to work fearful if they made a mistake a co-worker would call them out and they may lose their job.
  • Bullying - Some employees took advantage of their power or intimidated the vulnerable characters in the office.
  • Name calling - Most employees were called names for their beliefs, habits or lifestyle.
  • Inappropriate jokes - These jokes made The Office a classic but are not meant for a "real" office.

Project Aristotle

Google's Project Aristotle was a research study to determine what makes a perfect team (see Figure 1). Project Aristotle analyzed data on inventive and productive teams. Their study spanned 2 years, 180 teams, 37,000 employees and they invested millions in the quest to find the answer to the golden question. With this much time and money invested my ears were wide open for the answer.


Figure 1. Google's Project Aristotle Study

Drum roll please... The answer is, psychological safety. Project Aristotle shows that the best teams at Google exhibit a range of soft skills: equality, generosity, curiosity toward the ideas of your teammates, empathy, and emotional intelligence. However, topping the list was emotional safety which has two key ingredients. 1) No bullying. And 2) to succeed, each and every team member must feel confident speaking up and making mistakes. They must know they are being heard. However, we desperately need the expertise of those who are educated to the human, cultural, and social as well as the computational.

Is your team perfect?

Take your team photo, place it in the picture frame in figure 2 and ask yourself, is this a perfect team? If not, share this study with your team, your department, or your company because the perfect ingredient is a handful of psychological safety.

Figure 2. Is your team perfect?

Sunday, December 15, 2019

Faster Websites in 60 Seconds with preload and prefetch

Are efficient developers lazy or are lazy developers efficient? Ask this open ended question at your next interview and you will have an interesting conversation. While the goal is to improve performance, if we can do it in a lazy fashion (60 seconds or less) it's a win-win! This performance tip is rarely applied in our industry and we're all missing out! According to the 2019 State of the Web Report, only 14% of desktop site are using preload and about 1% are using prefetch.

preload

Preloading assets tells the browser to load critical assets earlier in the page loading lifecycle and as a result improves page load performance. Critical assets are the resources (JavaScript, CSS, images, fonts, etc) that are required to render the initial page or the displayable screen above the fold. For examples of preloading assets refer to Listing 1. It's very important to include the as attribute when preloading assets because it sets the content-type header, accept header, loading priority, and helps cache the asset for future requests. A complete listing of the content types that can be preloaded are listed here.


// Without preloading
<link rel="stylesheet" href="fancybox.css">
<script src="fancybox.js"></script>

// With preloading
<link rel="preload" href="preloaded-image.jpg" as="image">
<link rel="preload" href="fancybox.css" as="style">
<link rel="preload" href="fancybox.js" as="script">
Listing 1. Preload critical assets

prefetch

Prefetching assets tells the browser to load these non-critical assets in the background after the page loading lifecycle has completed. As a result, these assets will be cached for future page navigations which greatly improves page load performance. For examples of prefetching assets refer to Listing 2.


// Without prefetching
<link rel="stylesheet" href="fancybox.css">
<script src="fancybox.js"></script>

// With prefetching
<link rel="prefetch" href="preloaded-image.jpg" as="image">
<link rel="prefetch" href="fancybox.css" as="style">
<link rel="prefetch" href="fancybox.js" as="script">
Listing 2. Prefetch non-critical assets

Auditing Performance

How much can your site gain by preloading and prefetching assets? Find out using Lighthouse in Chrome's Dev Tools (see Figure 2). Check the "Performance" option and run the audit. Then refer to your estimated savings report to see your performance improvement opportunity (see Figure 3). A faster site will also boost your SEO score so this lazy technique has an additional benefit of boosting revenue!


Figure 2. Chrome's Performance Audit via Lighthouse

Figure 3. Performance savings report by preloading and prefetching

Wednesday, December 4, 2019

SEO Tips to Boost Revenue

Profit loss

How much can your company lose if your Search Engine Optimization (SEO) strategy is poorly designed? 87% in profit loss! That's right, Asos learned this lesson the hard way. Their root cause was attributed to a poor site redesign. Asos released 200 locale-specific versions of their site which negatively affected their search engine rankings and ultimately their profitability. How can we build an effective SEO strategy? Let's review a few basic and advanced techniques to keep our SEO and profits in the right direction.

SEO Fundamentals

  • Title tag - The most important SEO element is the <title>My page title</title> tag. The title's description becomes the pages title as shown in the search engine response page (SERP). The title tag may be up to 50 characters in length.
  • Meta description - The 2nd most important SEO element is the <meta name="description" content="My description text up to 155 characters..." > The meta content becomes your pages description as shown in the search engine response page (SERP).

Advanced SEO

We can now add structured data (JSON-LD) to our content which has multiple benefits: 1) It is an opportunity to show additional search engine response data. 2) It provides rich and meaningful information about our sites. For example, the new Software app component allows us to list our native mobile apps within our search results (see Figure 1).

software app structured data
Figure 1. Structured data for Software app listing (New)

The following are just a few of the structured data elements available today:

Need help authoring and validating your structured data? Google has a Structured Data Markup Helper and Structured Data Testing Tool to help assert your data is correct.

Auditing SEO

Will your site pass an SEO audit? Let's find out using Lighthouse in Chrome's Dev Tools (see Figure 2). Check the "SEO" audit option, run the audit, fix any errors, and your profits will soar!

Chrome SEO audit
Figure 2. Chrome's SEO Audit via Lighthouse

Sunday, June 23, 2019

10 Tips for Growing Healthy Team Relationships

How to win friends and influence people

How to Win Friends and Influence People by Dale Carnegie is one of the best-selling books of all time. I read this book in 2014 and since then I find myself referring to the notes from this book more than any book I own. The principles discussed within this book are timeless and apply equally well for teams as they do individuals. Why is this book so important for team health and team success? Dale Carnegie answers this question in his introduction when he explains why he wrote this book. He explains the #1 trait for success is human engineering or how well we work with people (see Figure 1).

Success factors
Figure 1. Most valuable traits for success

Principles for Improving Team Health

The listing below contains all the principles Dale Carnegie discusses in his book. While each principle is very important I'm highlighting a few key points that also help grow healthier team relationships.

Part I - Fundamental techniques in handling people
  • Principle #1: Don’t criticize, condemn or complain.
  • Principle #2: Give honest, sincere appreciation.
  • Principle #3: Arouse in the other person an eager want.
Part II - Six ways to make people like you
  • Principle #1: Become genuinely interested in other people.
  • Principle #2: Smile
  • Principle #3: Remember that a persons name to them is the sweetest and most important sound in any language.
  • Principle #4: Be a good listener and encourage people to talk about themselves.
  • Principle #5: Talk in terms of the other persons interests.
  • Principle #6: Make the other person feel important and do it sincerely.
Part III - How to win people to your way of thinking
  • Principle #1: The only way to get the best of an argument is to avoid it.
  • Principle #2: Show respect for the other persons opinions. Never say you are wrong.
  • Principle #3: If you’re wrong admit it quickly and emphatically.
  • Principle #4: Begin in a friendly way.
  • Principle #5: Get the other person saying “yes, yes” immediately.
  • Principle #6: Let the other person do a great deal of the talking.
  • Principle #7: Let the other person feel that the idea is theirs.
  • Principle #8: Try honestly to see things from the other persons point of view. (Dale Carnegie said this was the most important thing to remember from the book!)
  • Principle #9: By sympathetic with other persons ideas and desires.
  • Principle #10: Appeal to the nobler motives.
  • Principle #11: Dramatize your ideas.
  • Principle #12: Throw down a challenge.
Part IV - Be a leader: How to change people without giving offense or arousing resentment
  • Principle #1: Beginning with praise and honest appreciation if you must find fault.
  • Principle #2: Call attention to peoples mistakes indirectly.
  • Principle #3: Talk about your own mistakes before criticizing the other person.
  • Principle #4: Ask questions instead of giving direct orders.
  • Principle #5: Let the other person save face.
  • Principle #6: Praise the slightest improvement and praise every improvement be hearty in your praise.
  • Principle #7: Give the other person a fine reputation to live up to.
  • Principle #8: Use encouragement and make the fault seem easy to correct.
  • Principle #9: Make the other person happy about doing the thing you suggest.





Favorite quotes for each highlighted principle

Don’t criticize, condemn or complain
  • When dealing with people we aren’t dealing with people of logic we are dealing with people of emotion.
  • Rewarding for good behavior is more productive than criticizing. Criticizing is futile.
  • Never insult or ridicule anyone. -Abraham Lincoln
  • Criticisms are like homing pigeons they always return home. Those you condemn will likely condemn you back.
  • If you want to gather honey, don’t kick over the beehive.
  • Don’t worry about the snow on your neighbors roof when your doorstep is unclean.
Give honest, sincere appreciation
  • There is only one way of getting someone to do something, make them want to do it.
  • Everyone likes a compliment. -Abraham Lincoln
  • The way to develop the best that is in a person is by appreciation and encouragement. Criticism from superiors kills ambition. -Charles Schwab
  • Lack of appreciation is why most people leave.
  • Appreciation is sincere. Flattery is telling people what they want to hear. Forget flattery, always use sincere appreciation.
Arouse in the other person an eager want
  • The only way to influence other people is to talk about what they want and show them how to get it.
  • Before you try to influence someone try to ask yourself, "How can I get them to want to do it".
  • The secret to success is to view things from the other person’s point of view as well as your own -William Ford
  • Arouse in the other person and eager want. Let them know how what I want will benefit them.
Smile
  • The expression you wear on your face is more valuable than the cloths you wear.
  • A smile says I like you or glad to see you. A babies smile has the same effect.
  • People rarely succeed at anything unless they have fun doing it. He said, one employee chose a small company because their voice on the phone was energetic and friendly.
  • Most people are as happy as they make their mind up to be. -Abraham Lincoln
Remember that a persons name to them is the sweetest and most important sound in any language

Personal story:

  • When I was an independent training consultant the first thing I did at the beginning of each class was write down the names of each student. Then, I'd refer to everyone by name via my hidden "name" cheatsheet. It was amazing how many positive comments I received in my evaluations in regards to this simple principle!
The only way to get the best of an argument is to avoid it
  • If you argue and win you'll never get your opponents good will. -Abraham Lincoln
  • If you win the argument you lose it. If you lose the argument you lose it. Always avoid an argument.
  • When two people always agree one of them is not necessary.
  • When we disagree we are communicating with someone that has similar interests.
Show respect for the other persons opinions. Never say you are wrong
  • If you can be right 55% of the time you can make a million dollars a day on Wall street. If you are only right 55% of the time how can you tell me I am wrong.
  • Be wiser than other people if you can but do not tell them so. -Lord Chesterfield
  • Never tell anyone they are wrong even if you know they are.
If you’re wrong admit it quickly and emphatically
  • Better to be told you’re wrong by yourself than from someone else.
Try honestly to see things from the other persons point of view
  • Try to honestly put yourself in the other persons shoes.
  • Ask why he or she would want to do it - this is thinking from their point of view.
  • For example, instead of yelling at boys for building an illegal campfire start by telling stories of your enjoyable campfire stories and then talk about how important it is to put the fire out afterwards. This approach is less threatening and is thinking from the others point of view.
Ask questions instead of giving direct orders
  • Say "You might consider this", or "What do you think of that"? Gives people a sense of pride.
  • People are more likely to accept an order if they have a say in the decision.
Give the other person a fine reputation to live up to
  • Give people a reputation to live up to and they will want to live up to that reputation.
  • For example, if you tell someone to keep up the great work they'll work hard to maintain that reputation.