Our hero, a thirty-something mathematician with a theory to prove , lives in New York and is an avid Star Trek fan . One day the mathematician with a theory to prove meets a pretentious spy . Together they attempt to make their fortune by starting a dot-com . Along the way they survive DIY disasters and in the end they begin new lives in a commune .