Google funds a lot of intriguing research. It’s latest punt is putting cash into a team at Tel Aviv University which is working on an algorithm to teach computers to gain “hindsight” and experience “virtual regret” by documenting negative events like sudden spikes in traffic or increased attention to an online product and learning from them.