The theory and applications of the unstable nonlinear Schrödinger equation