Decouplings and applications: a journey from continuous to discrete