Optimization Is Easy and Learning Is Hard In the Typical Function