When Foster's novels are good, they're very good. When they're bad, they're horrid. Codgerspace is beyond bad. Foster tries to be funny in the vein of Douglas Adams, but humorous science fiction is among the most difficult arts, and here, he really muffs it up