He was raised in the San Francisco Bay Area by a single mother. Later on, he studied computer science at Stanford University while interning at Apple Inc., then embarked on a master's degree at Stanford, where he joined B. J. Fogg's Persuasive Technology Lab.