Daniel's Internship at Uber – About Me – Starting at Uber



Daniel's Internship at Uber – About Me – Starting at Uber

0 0


uber-internship-presentation


On Github danielmichaelni / uber-internship-presentation

Daniel's Internship at Uber

June 15 - September 18

As told by Daniel Ni

About Me

Journey to the West

East

Born in Baltimore, MD

Live in Herndon, VA

Midwest

Study in Chicago, IL

University of Chicago

3rd year, Computer science major

West

Work in San Francisco, CA

Starting at Uber

Confusion

Applied as a backend engineer

Mentor is a mobile engineer

Team needs a front end engineer...

First Time Frontend Engineer

  • First time developing with JavaScript
  • First time using React/Flux
  • First time doing code reviews

My Project at Uber

Yangtze - Virtual Onboarding for Drivers in China

Problem

  • Slow (many server calls)
  • Many steps
  • Optimized for desktop web

Solution

  • Fast (single page application)
  • 3 simple steps
  • Optimized for mobile web

Demo

Results

  • Rolled out to 6 cities with many more to come
  • Users spend ~30% less time on the onboarding flow
  • Vault input rate improved ~100%

My Role

Coding

(6/22 - 8/13 1:00 PM)

while(new Date() < new Date(2015, 8, 13, 13)) {
  Daniel.code();
}

Create training page

Create activation page

Help with error handling of form

~30% of Yangtze codebase

Refactoring & Bug Fixing

(8/13 1:01PM - forever)

Hyper Growth of Memory Usage

Debugging the Memory Leak

  • Examine memory usage with top while curling the url
  • Comment out code
  • Discover memory leak in server side rendering
  • Look into client side code
  • Dispatcher singleton
  • Registering dispatch on server side
  • Move register from getInitialState() to componentDidMount()

Memory Leak Solved

Fun Memories

Testing Compatability Across Browsers and Devices

Watching First Yangtze User

Takeaways

  • Frontend is cool
  • JavaScript is interesting
  • React/Flux is awesome
  • Uber is great

Acknowledgements

Han Lee (Mentor)

Shaohua Zhou ("Mentor")

Yangtze Team

Jia Zhou, Rachel Lin, Jack Yang

Guangyu Dong, Yison Song, Weisi Duan

Yefei Peng, Wen Sun, Kai Wu, Yuan Lu

Wenjin Zhou, Yameng Li, Yi Hao, Matt Moore

Yunjing Zhang, Wenqi Shao

Han Qin (Manager)

China Growth Team

Thanks for the Great Summer!

Daniel's Internship at Uber June 15 - September 18 As told by Daniel Ni