Anthony Trollope worked at the post office, Andy Weir was a programmer until he hit it big with The Martian.