Seol mar théacs é seo: From stochastic environments to life histories and back.