Grinding coffee is a messy business. Static electricity builds up on the grounds, leaving a clingy mess stuck in the grinder. Now, a team of chemists and volcanologists at the University of Oregon have unraveled precisely how moisture affects the buildup of static — and they’ve come up with a simple solution.