Permutations and combinations: What they are, and the formula to determine them

Permutations

A selection of objects in which the order of the objects matters.

nPk = n! / (n - k)!

Example: If we wanted to get the number of permutations in which 6 people could be seated into 4 chairs, we’d find that it would be 360 permutations in total:

6P4 = 6! / (6 - 4)! = 720 / 2 = 360

Combinations

The number of possible combination of r objects from a set on n objects.

nCk = n! / ( k! * (n - k)! )

Example: Let’s say instead we want to get the number of combinations in which 6 people could be seated into 4 chairs; we’d find that it would be 15 combinations in total:

6C4 = 6! / ( 4! * (6 - 4)! ) = 720 / ( 24 * 2 ) = 720 / 48 = 15

References

How to hold effective, creative meetings

As a people manager, I’ve always been aware of the tendency of subordinates to want to agree with you – or at least to avoid having to voice a conflicting opinion.  At my most clear-headed, I’m careful to keep my opinions to myself until later in a discussion. Below are some excellent suggestions for getting a good, creative discussion going before you start to narrow your options.

Inc.com – Your Meetings Are Killing Employees’ Best Ideas. It Isn’t Your Fault. Here’s How to Fix Them

So what happens when a group gets together to discuss an important issue? Members show their affinity to the group by restating and confirming what other group members, and especially group leaders, have already said. Even those with important and pertinent information to share tend to forget that information or dismiss it as not really relevant in their eagerness to show their solidarity with the group and its views. They also set aside their own insights and focus on how to assist in the group’s chosen course of action. This is such a profound human instinct that most of us do it without realizing it.

All of this is great for having harmonious meetings that seem highly efficient, but it’s not so great for finding innovative solutions to problems or recognizing new threats or opportunities. Fortunately, although you can’t eliminate shared information bias, there are things you can do to lessen its effects and increase the chances that employees will share more of the good ideas and relevant information they have. For your next team meeting, follow these simple rules:

Have people bring notes.

Make sure each team member arrives at the meeting with a list of a few important points he or she plans to share. That way, if shared information bias causes them to forget or dismiss whatever they planned to say, they can refer to their notes and be reminded that they consider these points important.

Specifically ask for dissenting opinions.

As a group consensus emerges, pause the proceedings and say something like this: “It sounds like a lot of us agree. But right now, I would like to hear from anyone who has a different view.” If team members have other viewpoints but have hesitated to voice them, this invitation may bring those other viewpoints forward.

Go around the table.

You can follow up your request for dissenting opinions by going around the room and asking each team member to say what he or she thinks. I learned the power of this approach years ago when I taught a class and made it a practice to ask each class participant in turn to speak. One man who was somewhat shy and would never have volunteered to say anything consistently offered some of the most insightful comments of the whole group. If you’re not hearing from every person at a team meeting, you are likely missing valuable information.

If you’re the leader, speak last.

The leader or leaders of the team should make sure to gather everyone else’s input before offering their own. In most groups, members are highly attuned to leaders’ opinions and are especially eager to go along with them. If you speak up too early–even making it clear that yours is just one view and you want to hear others–team members will tend to look for ways to agree with what you’ve said rather than take the conversation in a different direction with insights or opinions of their own. By keeping your thoughts to yourself at least through the early part of the meeting, you’ll give them a chance to shine. And you’ll gain the benefit of hearing their best ideas.

When is a good time to re-brand?

Saw an interesting post in my e-mail today (care of the generally excellent CB Kickstart newsletter): When indeed is a good time to execute a rebrand for your organization? What should the purpose of a rebrand be? What should you look out for to make sure you’re not executing one for the wrong reasons? It all depends on your organization’s particular situation, but the Johnson Banks piece below is a nice little writeup on the topic.

Johnson Banks – Why brands change

When is a good time to re-brand?

One of the most powerful and legitimate reasons to change is a fundamental change in business circumstances – a merger, or a takeover, for example. Recently two London based property companies, Development Securities and Cathedral Group merged, and rather than subsume one into the other they created a new brand, U+I (United and Industrious). When Singapore airlines sold their majority stake in Virgin Atlantic, there was a point at which the Delta board would have looked at the Virgin brand and had to decide – do we keep it, or do we ‘fold’ it into our brand? Thus far, they have established clear links between the brands without formally merging them.

Sometimes an organisation’s core market changes. This might mean that a brand that was created to ‘fit’ with one product or market no longer works. So Shelter’s previous symbol used a piece of typewritten, ‘angry’ type, which matched their original mission to concentrate on the homeless. But a gradual switch in focus to bad housing meant that needed to be reflected in their rebrand.

When is a bad time to rebrand?

When the original commissioning team moves on, branding’s biggest biggest problems arrive. The first issue is boredom. After about three years, an internal team, their agencies, their advisors – everyone – has had enough, and people start to tinker. Yet, paradoxically, about two-to-three years in is precisely when a new brand has just started to seep into the public consciousness, and arguably that’s exactly when a brand should become more consistent, not less.

The next big problem is ‘not invented here’ syndrome. New teams, often new directors arrive, and the human desire to ‘make a mark’ kicks in. Someone lets the internal team tinker, and slowly things unravel. Every new business manager for every major branding company in the world keeps an eye out for changes at the top of major organisations – because this is when existing branding schemes are at their most vulnerable, new brooms are brought in, and the sweeping starts.

With some recent rebrands there’s also a sense of if in doubt blame the brand. At launch in 2007, the previous Southbank design scheme seemed like a powerful and flexible idea that could flex and modulate across the institution’s communications, but within five years had been relegated to just the ‘logo at the bottom of the poster’.

Google’s comprehensive, up-to-date list of mobile phone and device resolutions

The fine folks at Google have a page up on their Material Design site that lists popular device resolutions, including exactly what values you’d want to input into Google Chrome to accurately emulate that device’s screen:

Why do so many websites offer 3 levels / plans for their SaaS product?

A random conversation I had this week at the Canadian Football League reminded me of a question I was asked and looked up the answer to nearly a decade ago: Why do so many websites offer three levels or plans to choose from when it comes time to purchase their product? And really, what is the optimal amount of choices to make available to a potential client?

The answer is multifaceted, but as you’d expect, the prevailing wisdom is that 3 choices – and elevating one as the best or most popular – works best. Here’s a quick rundown as to why.

The Centre Stage Effect. Formal psychological studies have been done on the positioning of products on a page, and it appears that consumers infer that the middle option is placed there because of its popularity (a self-fulfilling prophecy if there ever was one).

The Compromise Effect. UXmatters has a great paper on shortcut decision making; it mentions a research study that had one set of study participants be offered two microwaves at a $110 and $180 price point; participants chose fairly evenly, with a small majority preferring the cheaper option. But when a second set of study participants was offered three options, a clear winner emerged: The middle price point. The conclusion? When a consumer can’t decide whether to go high or low, a compromise option that sits in the middle is what our mostly logical minds push us towards.

Also: The Bandwagon Effect. Further, studies have illustrated that when consumers are pointed towards a choice and given the information that it is the most popular choice amongst their peers, the middle choice becomes even more compelling. Basically, consumers who may have little information at the time of their purchase as to what “level” fits them best will use whatever information is at hand – like the popularity of a choice – to finalize their decision.

Controlling the PHP error reporting level of WordPress

One of the annoyances of working with WordPress I’ve had for ages is trying to use the error_reporting() function to do something like temporarily turn off deprecation warnings; WordPress ignores these settings entirely.

Turns out the cause of this is the wp_debug_mode() function, which gets called by wp-settings.php and sets error_reporting(E_ALL). As a result, putting your own call to the error_reporting() function in wp-config.php won’t have any effect; you need to place your call after wp_debug_mode() runs. One smart solution is to create a very simple mu-plugin for this purpose.

Of course, it goes without saying that ignoring errors and warnings is done at your own risk.

Making scheduled posts in WordPress public so they can be scheduled / scraped on social media

The basics of scheduling in WordPress are quite simple: If you give a WordPress post a published date set in the future, it’ll remain “hidden” on your website until that date and time arrives. It’ll then appear, right on time, at the top of your list of public posts.

But here’s an interesting problem: Social media is now a major driver (maybe the driver) of traffic to digital media websites. When you schedule your post in WordPress, you’ll also naturally want to schedule that post to appear on Facebook and Twitter – but that would require the WordPress post to be public, which in its “future” post status isn’t yet.

The code snippet below can be placed in your theme’s functions.php file, and allows non-logged-in website visitors to view posts in the “future” post status as well as merely “publish”ed posts.

// Allow site visitors (people not logged in to WordPress) to view posts in the "future" post status.
function show_future_posts_pre_get_posts($query) {
    if ( is_single() && !is_admin() && $query->is_main_query() ) { 
        if ( !is_user_logged_in() ) {
            $query->set("post_status", array("publish", "future")); 
        }
    } 
}
add_filter('pre_get_posts', 'show_future_posts_pre_get_posts');

Reference:

What makes a great product manager?

There’s a terrific post by Brandon Chu on Medium titled MVPM: Minimum Viable Product Manager that does a great job at explaining that while it’s impossible to have in-depth knowledge of the technical, business and user experience legs of the product tripod, knowing key elements in each area makes you so much more able to handle the decision making that you’ll be doing every minute of the day.

How to drop a MS SQL Server database

Dropping a database in MS SQL Server is not a one-step process; you’ll need to do the following:

USE master;
ALTER DATABASE [databasename] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
DROP DATABASE [databasename];

Reference:

How are Canadians using their mobile devices? What kind of devices do they own?

The folks at Yahoo! / Flurry Analytics regularly post Flurry Insights, gleaned from data accumulated from their analytics SDK that’s embedded in hundreds of thousands of mobile devices. Back in 2015, they posted data they’d accumulated about mobile device usage in the Canadian market:

time-spent-canada

Some quick notes from the above:

  • 86% of time on a mobile device is spent in an app; only 14% of the time are users in a web browser
  • Social media apps (Facebook, Twitter and various others) gobble up 37% of time – roughly a third of the time someone is using their phone/tablet – all on their own
  • Playing music, reading an e-book or watching a video is how 9% of time is spent by Canadians on their mobile device

Of course, that’s not to say that you can’t create an app that takes up 50% of someone’s time on their devices, even over the long haul. But it’s clear that for the average Canadian, there’s only a small slice of time that they’re likely to spend using the new app you’ve created for them.

Next up: What kind of devices are in use out there? Flurry Analytics has a second post (from 2016 this time) with a global form factor breakdown:

mobile-device-form-factors-2016

References: