Half Life
Hal Clement, on SHe
Sci-fi, in which the happy ending is that the scientists in an off-world colony, dying of various environment-related diseases, realize that they will be able to get a bit more research done before they collapse. (Don't laugh, for a scientist that is a happy ending.)