Skip to main content
  1. Home
  2. Emerging Tech
  3. Computing
  4. Health & Fitness
  5. News

U.S. Army algorithm tells you how much coffee to drink to remain alert

Add as a preferred source on Google

From selecting the news we read online to helping us find true love on dating websites, algorithms are capable of all kinds of amazing things. But now they might be poised to answer an age-old question that has long plagued humanity: Just how much coffee should you drink in a day in order to operate with maximum alertness? That’s the goal of a new automated optimization algorithm created by researchers working for the U.S. Army. Its purpose is to figure out how much coffee is needed keep people alert when suffering the effects of sleep loss.

“Eighty percent of the U.S. population consumes about two cups of coffee a day, and often more when we feel fatigued and desire an alertness jolt,” Dr. Jaques Reifman, lead researcher on the project, told Digital Trends. “The U.S. Army has developed algorithms that allows service members and the public at large to determine when and how much caffeine to consume so to optimize alertness at the desired times and duration. When we compared the optimization algorithm results against experimental studies, we found that the algorithm improved alertness and decreased caffeine use by as much as 65 percent.”

Recommended Videos

As noted, the algorithm was able to cut caffeine intake by up to 65 percent, while at the same time increasing alertness by up to 64 percent.

“While this is a dual-use technology, our focus is on improving alertness of our warfighters, who are often challenged with considerable sleep debt,” Reifman said. “Forty percent of [these servicemen and women] sleep less than five hours per night on a consistent basis. In the civilian side, the algorithm has wide applicability for shift workers in the transportation industry, medical caregivers, firefighters, students, [and others.]”

At present, there’s no word on when or if this algorithm will be incorporated into a consumer-facing caffeine strategy app. As major coffee lovers, we’d love to see it, though. After all, our Apple Watches tell us when to stand up and get some exercise. Who wouldn’t also want to be reminded by their wearable device or smartphone that they need to get up and fetch themselves a cup of joe to remain at peak performance?

A paper describing the work was recently published in the Journal of Sleep Research.

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Amazon is full of copycats and shady brands. This Chrome extension lets you avoid them.
Advertisement, Poster, Text

Shopping on Amazon used to be simple. You searched for a product, compared a few familiar brands, and checked out. These days, it often feels like you're scrolling through an endless parade of names that look like someone leaned on a keyboard before hitting publish. That's exactly the problem Knockoff is trying to solve.

Created by developer Josh Pigford, the Chrome extension doesn't promise to expose counterfeit products or magically tell you what's good. Instead, it tackles something arguably more annoying: the flood of unfamiliar, mass-produced brands that dominate Amazon search results.

Read more
AI agent reportedly carried out an entire ransomware attack on its own
AI didn't just write malware. It apparently clocked in for work.
Cybersecurity

Cybersecurity researchers say they have documented what could be the first ransomware attack carried out almost entirely by an autonomous AI agent, marking a significant shift in how cyberattacks could be conducted in the future. According to cloud security firm Sysdig, they have uncovered a ransomware operation dubbed JadePuffer that appears to have relied on a large language model (LLM) agent to perform nearly every stage of the attack without continuous human intervention.

If confirmed, the incident suggests AI is moving beyond writing malicious code and into actively planning, adapting, and executing cyberattacks in real time.

Read more
The Washington Post predicted how tech will advance 50 years ago and the success rate is humbling
The Washington Post predicted 2026 tech in 1976. It got a lot right.
Representative Image

Fifty years ago, when floppy disks were cutting-edge and the personal computer revolution had barely begun, The Washington Post attempted a remarkably ambitious exercise: predict what life in 2026 would look like. Some of those predictions now read like science fiction. Others feel surprisingly ordinary because they have become part of everyday life.

In a retrospective published for America's 250th anniversary, the newspaper revisited science editor Thomas O'Toole's 1976 article Inventing the Future, comparing its forecasts with today's technological reality. The results reveal that while predicting exact timelines is nearly impossible, identifying long-term scientific trends can be remarkably accurate.

Read more