Rex Ex Machina by Max, Frederic
 is a Project Gutenberg book, now on Github.