Menu

Reactive.js: Functional Reactive Programming in Javascript

April 09, 2013

Reactive.js is a pure Javascript library inspired by Functional Reactive Programming. If you’ve ever used Excel or another spreadsheet program, you’ve already done something like FRP. Reactive.js aims to bring FRP to Javascript by augmenting Javascript functions, allowing you to declare data flows in your code by representing your values as reactive functions that depend on… Read more

My First Day

January 08, 2013

Today was my first day at Wealthfront. It was awesome. Let me explain a little about myself, so you understand my full meaning. I’m a product guy (Wealthfront’s first), and product guys are supposed to understand the user and the business. Strictly speaking, we aren’t supposed to write code. Even if we’re totally uncloseted geeks…. 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

Using Cumulative Sums to Analyze Financial Data

December 21, 2010

The goal of modeling is to be able to describe and predict the behavior of a system. When modeling systems where the general form of the model is unknown, one must usually begin by looking at data to get a sense for the relationship between model performance and potentially explanatory variables. Analyzing financial data is… Read more

When Garbage Collection is Failure

September 14, 2010

For systems that absolutely require a constant responsiveness Java is generally not an option because of the pauses associated with the garbage collector. Even the alternative collectors, such as parallel and concurrent-mark-sweep, have a pause associated with them for major and minor collections. This problem can be avoided, though, by making sure the garbage collector… Read more