416-479-0074

Customer service and queing theory for grocery stores

Customer service and queing theory for grocery stores

Last week a less pleasant aspect of rural living was shared with you dear readers, however, this week in concert with the article below, I’ve experienced a pleasant surprise in just ordinary shopping: customer service. Folks, customer service is still alive and well outside of the GTA (Greater Toronto Area). The most notable example was when we were shopping at Canadian Tire on Saturday…a store clerk startled me by asking if there was something she could help me with! First of all you have to understand, in a GTA Canadian Tire you must find someone to help you and then when you find them, you have to move quickly to speak to them before they see you first and run away! Another thing I noticed here, away from the city, was that the store clerks will leave “their department” and walk with you across the store to another area to help you with what you need (like unlocking the Roundup) and carrying on a pleasant conversation all the while! Customer service and queing theory for grocery stores
Don’t get me wrong, good customer service does exist in the GTA, it is just harder to find. Also in the GTA it doesn’t matter what time you go for a bite to eat — places are always open. Here, bass fishing season opened so all bets are off!
Math and Groceries: Using Queuing Theory to Navigate the Checkout
Every time I go to the grocery store, and finally round the corner to the checkout lanes, cart full, I play the same game. It’s the “Which Lane is Moving Fastest?” game – and I am always the loser.

Though the speed with which a checkout line is moving seems randomly determined (at least until I get into it, when the universe makes it slow to a crawl), there is actually a branch of mathematics dedicated to understanding the phenomenon. It’s called queuing theory, and it helps mathematicians predict what’s going on in those lines.

Queuing theory got its start with Agner Krarup Erlang, an engineer who was charged with determining the perfect number of telephone lines needed by the city of Copenhagen as it rolled out phone service at the beginning of the 20th century. The theory can be applied to any sort of situation where things or people are waiting in a sequence for something to happen to them. A model is created, which can then be studied to determine wait times and queue length, and to maximize efficiency.

Queuing theorists have determined that there is one kind of line, which in my unfortunate experience is rarely seen at supermarkets, that boasts the shortest wait times. From BoingBoing:

“[T]heorists have found that if customers form one long winding line, called a serpentine line, and then are sent to the next available register, wait times can be drastically reduced. (Serpentine lines can be found at banks, where people wait for the next available teller, or at some grocery stores.) Serpentine lines ensure that wait times are minimized because, instead of the traditional-line method, in which one slow person or teller can delay an entire line, a slow person can tie up a register but meanwhile the other customers can be shunted to other open registers. The delay remains, but its impact is much lower that it would be otherwise.”

I am glad to know that my trip to the bank, at least, isn’t as soul destroying as it could be. As far as grocery shopping goes — I think it’s high time I consider hiring an intern… (Kidding!)

Waking up to prickly realities

We are transitioning…from urban to rural living. In leaving behind the grind, hustle & bustle of city life, there are a lot of new things to learn: wells, septic systems, wood stoves, etc. One thing we found out about our new area is that skunks are not very Waking up to prickly realitiesprevalent – but porcupines are! The first night in our new home was marked by Jill and Samson denying my husband his new large screen tv – they both had a run in with a porcupine! The dogs must have done more than sniff it, because they had quills around and in their mouths. We (dogs and humans) met the good doctors at the Princess Animal Hospital. Because Jill is so dark and this dark extends into her mouth in ways of dark pigment the vet was able to take this picture (with our permission) to illustrate the results of congress between dogs and porcupine. For those of you in an area like ours, that has a prevalence of these rodents, this article written by a vet in New England is highly entertaining and informative.

The Best Part of Waking Up — Science in your Cup
If you’re like me, you’re a fairly indiscriminate coffee drinker — If it’s good and hot, then who cares what time it is? Cheers!

But if you’re not like me, and you utilize coffee’s invigorating effects in a systematic way, ASAP Science may have some game-changing news for you. It turns out there are a few best times of the day for you to indulge in a cup of joe, when you can maximize your body’s natural wake-up chemistry — but none of them are immediately after you get out of bed.

Their charming video (found here) lays out the argument. Basically, your circadian rhythm (the body’s sleep/wake cycle which is affected by exposure to light) controls your production of cortisol, the “fight or flight” hormone that also determines your alertness level. On it’s own, your cortisol level peaks between 8 and 9am, giving your body a natural impulse to wake up. But consuming coffee during this time doesn’t amplify the cortisol’s effect like you’d think it would. The caffeine’s effect is dulled, which means you need more of it to get an immediate boost — and it also increases your brain’s dependency on larger amounts of caffeine in the long term.

If you can, ASAP Science recommends having your cuppa during cortisol non-peak times. Also, your cortisol levels increase by about 50% after waking generally, regardless of the time of day — so the next morning Jill and Samson get me up at 5am, I’ll try hacking my morning routine and waiting an hour before indulging. We’ll see what happens!

The Hidden World of Bacteriophages

Like me, you may not be aware that 2015 is the official “Year of the Phage”; indeed (also like me), it’s possible you aren’t entirely sure what phages are. Don’t let that stop you: learning about phages — bacteriophages, that is — is fascinating. And, since not many laypeople know about them, you’ll find yourself right on the cutting edge of what we currently know about genetics, bacteria, and virus behaviours!

Very generally, bacteriophages are viruses that infect bacteria. As such, they are incredibly tiny (measured in nanometers), and scientists are unsure of how many different kinds there are. They are found everywhere, and their actions are full-on survival-of-the fittest:

“They float about, awaiting a microbial encounter, then attach themselves to their preferred targets using a remarkable array of equipment—arms like grappling hooks, tails like hypodermic needles, fibres like teeth—each of which is perfectly adapted to bind to, and then sneak genetic material through, the bacterial membrane. Once inside the cell, some phages replicate at speed, destroying the host by bursting out of it, like a fungus dispersing its spores. Others are parasitic, integrating their DNA with that of their host. Sometimes they even provide it a benefit of some kind.”

Bacteriophages lurk on the level below bacteria; indeed, as The New Yorker’s Nicola Twilley writes, they can be considered the “puppet masters,” controlling how bacteria operate from behind a curtain.

We’re only just starting to learn how bacteria affect our microbiome and our world; it’s consequently easy to see how little we know about bacteriophages. Forest Rohwer, a San Diego University professor and marine microbial ecologist, has sought to remedy this by publishing “Life in Our Phage World,” a “field guide” of sorts covering the bacteriophages now known to science. His aim is increased general knowledge of the fascinating entities that underpin nearly all known biological processes on earth: “I would like just at least some kids,” he says, “when they see a picture of the phage, to know what it is.”

A PDF of Rohwer’s book can be downloaded for free here. I know what I’ll be reading on the dock with a glass of iced tea this summer — How about you?

Tools = Technology?

Last week I attended a workshop, “The Digital Marketing Journey” at IBM and was pleasantly surprised that it wasn’t the usual yawn fest of corporate self adulation! In fact, it was very useful in that it shared information as to the history of Digital Marketing and insights on Marketing Automation. One of the many tools that I came out with is that I should be utilizing this newsletter on DFC’s website. For those of you longtime readers, we used to do that and with the advent of our new website, that for some reason ceased. Going forward, if you wish to reference any information that you have seen in the DFC Newsletters, they will be reposted as blogs on our website: http://www.dfc.com/blog/ (it’s also in the footer of the website).

The Oldest Stone Tools Show that Technology Predates Humans
The use of tools is generally considered to be an indication of a species’ level of cognition. For a while, it was thought that only humans knew how to use tools, but soon chimpanzees and New Caledonian crows  joined the list. Now, tool use can be found in a variety of different species.

The newest addition to the list not only is not human, but also actively predates the Homo genus by 700,000 years. The oldest known stone tools have been found in Kenya, and are hypothesized to possibly have been used by Kenyanthropus platyops, a homonin who lived in the area 3.3 million years ago. This is the earliest use of technology discovered on earth yet (!), and is documented by the discovering team from Rutgers University in the current Nature.

Paleoanthropologist Jason Lewis, co-author of the study, described the discovery to Smithsonian.com:

“Just after teatime, a radio call came in: Someone had spotted a series of strange stones sticking out of the sediment. Scars cut into the stones set them apart from run-of-the-mill rocks. ‘You can tell these scars are organized,’ says [co-author Sonia] Harmand. The rocks had been hit against one another to detach flakes, a process called knapping. Based on geological records for the area, the artifacts had to be at least 2.7 million years old. ‘We had no champagne that evening, but we were very happy,’ Harmand recalls.

As it turned out, the 149 artifacts eventually excavated from the site were even older. Analyses of magnetic minerals and volcanic ash tufts imbedded in the local rocks put the age of the stones at 3.3 million years.”

This discovery pushes the boundaries of what we know of tool use. For me, it emphasizes that humans are really not that special — we have achieved “mastery” of the earth through sheer luck, and, to paraphrase a certain comic book character, with great tool use comes great responsibility. As for the tools themselves, their exact origins and method of construction are still a tantalizing mystery. Here’s hoping more excavation in that unusual dried riverbed in Kenya reveals more gems!

This is older news, but timeless (Week 218)

theboys

This weekend was my treat of the week — I got to visit my grandsons and help the eldest celebrate his third birthday. His younger brother is only five weeks old, so he’s pretty clueless about what’s going on around him other than the immediate needs that his still developing nervous system tells him about, which is mostly digestive in nature. However, as I’m not around my grandsons on a daily basis, I can really see the changes that take place between the times that I see them. And since today we are speaking about chins, I thought I’d make a collage of the two grandsons and their grandfather and compare their chins. I was tempted to add in the faces of my two dogs, but then where does a dog’s chin start…and end?!

The Evolution of the Human Chin
Have you ever thought — like really thought, hard — about why we have chins? Neither have I. But a lot of scientists out of there have. (Also, the friend who recently sent me a Smithsonian.com article on that exact subject, and who tried to engage me in a spirited debate about the origin of eyebrows too.) It turns out, the longer you think about chins, the cooler they become! And there are two leading theories as to why they even exist.

First, the mechanical: the chin may be the face’s way of protecting itself from the stresses of speech and chewing. A study out of the University of York in England compared the jaws of Neanderthals and modern humans and their different chewing-load capacities — the results suggested that the chin evolved as a sort of muscle fulcrum, to maintain resistance as our jaw components grew smaller.

Second is the sexual selection theory, which proposes that chins evolved as a way of attracting mates; with wider chins indicating good genes in males, and narrower ones testifying to the estrogen levels of females. From Smithsonian.com:

“Zaneta Thayer, a graduate student at Northwestern University, and Seth Dobson, a biological anthropologist at Dartmouth, examined the sexual selection hypothesis by measuring the chin shape of nearly 200 skulls in a museum collection, representing people from all over the world. The pair discovered that there is a small but distinct difference in chin shape between the sexes, with men having a taller, more pronounced chin. They argued in the American Journal of Physical Anthropology in 2010 that this difference is evidence against explanations that the chin evolved to resist mechanical stress. If chins evolved in response to eating or talking, then there should be no difference in chin shape between the sexes because, presumably, men and women eat and talk the same way.”

Though there may be no hard-and-fast answer, we certainly have a lot to chew on (!) when it comes to chins. The eyes may be the windows to the soul, but the chin is the windowsill. It’s extraordinary to think that our bodies are such highly tuned machines that even a humble part like the chin has a magnificent purpose!

News from DFC – Week 221

Uncovering Bias in Internet Memes

Like the “real” world,  there are definitely locales on the Internet where bias is rampant and obvious (hello, 4chan!) — but there are also places where it operates in a far more hidden fashion. Take the sphere of memes, for example: while there may not seem to be any overt bias in the line drawing of Neil deGrasse Tyson you printed up and taped to the staff fridge to passive-aggressively shame whoever keeps stealing your Greek yogurt, researchers are only just starting to study memes, to see what their use can show us about our hidden privilege and prejudice.

The Washington Post reports on an interesting study coming out of Tel Aviv University. Researcher Elad Segev and his team were not only interested in the meaning of the content of the memes, but also how they moved through Internet culture and evolved on the way.

“[They] analyze[d] what they call the 50 most popular English-language meme ‘families,’ which include the original meme (think: the very first illustration of David Silverman, captioned ‘are you serious?’) and its most widely circulated derivatives (all the ‘Seriously Guys’ that came after). […]

Once they’d analyzed some 1000+ memes that way, the researchers were able to calculate their most common features and map them according to similarities. […]
To wit: Of memes that show people, versus dinosaurs or cartoons or cats, men appear twice as often. And nearly 45 percent of all the people in memes are Caucasian; Hispanic subjects make up a fifth of one percent, by comparison.

‘These findings corroborate many of the observations made in [past] qualitative studies,’ the researchers sum up, ‘in which the memetic sphere was described as dominated by young, white men.’”

Lots of folks right now are receiving a wake-up call that the Internet is not the faceless, consequence-free place they thought it was. If the language of memes isn’t “safe” from bias, I hope we can all realize nothing is — and live better and more responsibly as a result.

News from DFC Week 220

DFC-logo.new

I am just giddy. Here in Canada it’s the long weekend that marks the unofficial start of the summer season: gasoline prices jump, garden centers open up (in the midst of frost warnings), the trees now have fresh, Jillverdant green leaves (finally after the long winter), and local produce is starting to appear in our stores. And oh yes, the birds are up early with their pre-dawn songs and my girl dog Jill, acts the part of a rooster and literally crows about a half an hour before dawn. It is impossible to ignore her because she comes to my side of the bed puts her face as close as possible to mine and crows! Imagine this in your face, howling – there’s nothing to do, but get up. Can anyone think of a more effective alarm clock?!

Smartphone Lenses Make Mini-Microscopes Possible
Smartphones are rapidly becoming the tricorders of our modern age. We reported on one of the first indications of this last July, when news broke of low-cost, low-infrastructure stress hormone tests being made smartphone compatible. Now, researchers from the University of Houston have created a lens attachment for the average smartphone, that turns the dang thing into a microscope too! From ScienceDaily’s report:

“The lens is made of polydimethylsiloxane (PDMS), a polymer with the consistency of honey, dropped precisely on a preheated surface to cure. […] For the study, researchers captured images of a human skin-hair follicle histological slide with both the smartphone-PDMS system and an Olympus IX-70 microscope. At a magnification of 120, the smartphone lens was comparable to the Olympus microscope at a magnification of 100, they said, and software-based digital magnification could enhance it further.”

The news also represents a fascinating development in lens manufacturing technology: it starts as a liquid, allowing for precision; but since it is cured, it doesn’t require a protective housing. It sticks to and augments a smartphone’s camera lens, much like a contact lens does a human eye.

The cost of manufacturing these lenses in bulk? Three measly cents. Contrast that with the $10,000 microscope that the researchers have determined does materially the same thing, and that low cost will put a lot of science into the hands of a lot  of people — including students, and clinicians in isolated areas —which can’t be anything but awesome!

New Coffee News: Caffeine Can Boost Memory!

url

If your workplace is anything like mine, it runs on coffee like a Hummer runs on dead dinosaurs: relentlessly and without mercy. We at DFC love a good cuppa, and frequently look with amusement upon the study-du-jour on the effects of coffee on human life. It prevents cancer! It might cause heart disease! It can cause health problems! It attracts hipsters!

Seems like everyone loves researching coffee—almost as much as drinking it—and that includes researchers at Johns Hopkins. Just published in the journal Nature Neuroscience is a behavioural study on the effects of caffeine on long-term memory. And now there’s 23+ Health Benefits and Disadvantages of Coffee and 57 Health Benefits of Coffee.

In short, subjects were given either a dose of caffeine or a placebo after viewing pictures of everyday objects. When subjects came back in a day later, they were more inclined to recall not only what they saw, but detect differences between the original image and a slightly modified new one. (Check out the study leader giving an excellent, accessible explanation in this YouTube video)

Giving subjects caffeine after studying the pictures was a new tactic, and led to results that indicate that caffeine intake boosts memory consolidation, rather than, say, improving focus.

200 mg is apparently the ideal dose, which equals the caffeine in a strong cup of joe. I love that this is an experiment that can be easily replicated at home (or at the office!). Now, if anyone dares criticize my intake, I’ll tell them I’m doing it for science.