She asked each student to look at a computer monitor. It was programmed to flash numbers on the screen, one at a time, for five hundred milliseconds apiece. The participants were asked to hit the space bar every time they saw a “6” followed by a “4.” This has become a standard way to measure willpower—paying attention to a boring sequence of flashing numbers requires a focus akin to working on an impossible puzzle.