Replica symmetry breaking in cold atoms and spin glasses