Cracking the mystery of cosmic explosions