An Optimist's Guide to the End of the World