Adapting to Uncertainty