A universal sampling method for reconstructing signals with simple Fourier transforms (Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing)