The world's smallest computer reveals how one species survived a nasty predator.