I present two recent projects in theoretical ecology and point out the connections to math loved by physicists. The first concerns life in a variable environment: when should an organism buffer itself against environmental variation and when should it try to take advantage of environmental variation? The second concerns the viability of mussel populations in a marine reserve network when shifting ocean currents cause fluctuating dispersal between reserves.