The Happy Unfortunate by Silverberg, Robert
 is a Project Gutenberg book, now on Github.