James Robinson

The Perils of Accidental Global Includes in Ruby

We deploy our front-end code to production multiple times per day. Our ability to do this is closely tied to our confidence in our test suite and deployment infrastructure. Tens of thousands of tests are run against our code whenever we click the deploy button. Given that this is the case, when something happens that […]

October 14, 2016
Eli White
Eli White

How we use Mocha and jsdom with CoderPad for Frontend interviews

At Wealthfront, our goal for interviews is simply to assess whether the candidate would be successful as an employee. The most important thing for us is to learn how they think and if they will excel at the job we are hiring them for. When interviewing frontend engineering candidates, we want them to write real […]

September 27, 2016

Tao Qian

Enforce REST API Standard with Swagger

At Wealthfront, we have an API server which exposes a REST API that’s consumed by our iOS and Android apps. Recently we decided to migrate our web frontend to use the REST API because we believe it would be beneficial to have all of our frontends sharing a single data source. We identified a few […]

August 31, 2016
Eli White
Eli White

Consistent Test Setup Across Multiple Packages

At Wealthfront, we believe that all code should look like it was written by the same person. In practice, that means that across our frontend stack we enforce consistent patterns, follow code style guidelines, and use the same technologies. This enables engineers to easily contribute to projects they have never worked on before by reducing […]

August 23, 2016
Sophia Zhu
Sophia Zhu

Intelligent Metrics Monitoring

Here at Wealthfront we have many offline computations running in Spark. In some cases, small changes have caused a job to slow down dramatically, and other times, the size of the input may be growing and causing the job runtime to quickly increase. We normally check pipeline runtimes manually to make sure jobs are running […]

August 12, 2016

Emilio Lopez

Tips for Unit Testing D3

Note: D3 4.0 has been released, but we haven’t upgraded to it yet, so the syntax in the code examples below is written for D3 3.x. However, the same ideas should hold for the newer version. If you’ve ever attempted to write unit tests for D3.js code, you’ve undoubtedly noticed some pain points. Many are due […]

July 27, 2016