Born Small… Now Huge… Winning… Bring it..!

March 01, 2011

Made a wallpaper in honor of my new favorite tweeter… Charlie Sheen. Hope you guys like it. Winning!

Continuous Deployment for Data, Not Just Services

February 22, 2011

Last week, I made a mistake which caused some pages of our website to be unavailable for several minutes. I was developing a new feature that allows our customers to see how the money managers of our platform have been sticking to their investing strategy in the past, which we consider a key ingredient in… Read more

Bulletproof Rails Asset Caching

February 18, 2011

We’ve been using Rails at Wealthfront for nearly two years and we love it, but there’s no denying that, out of the box, Rails asset caching is broken. Below we’ll identify the problems, define requirements for a successful strategy, and then describe how we meet those requirements at Wealthfront. Background For the uninitiated, the term… Read more

The Amazing FunctionMap!

January 24, 2011

FunctionMap is a handy class that allows a set of object transformations to be mapped at run time without having to define a bunch of extra interfaces and without having to evaluate the transformations at the time the mapping is created. Suppose we have an object: class NumberPair { double a; double b; } and… Read more

Ruby Modules

January 17, 2011

There are two common usages for modules in Ruby: namespacing and mixing in. An example of namespacing can be seen in the Math module: Math::PI # 3.14159…. Math.log10(100) # 2.0 Mixing in a module will extend that class with additional constants and methods. Here’s an example where we’ll create our own module and mix it… Read more

Don’t block our alleyway! But if you do…

January 12, 2011

Marty McFly: Doc, we better back up. We don’t have enough road to get up to 88. Dr. Emmett Brown: Roads? Where we’re going, we don’t need roads.