Surviving a famine nearly doubles the risk of diabetes in the next generation.