Tagged In wealthfront engineering :
select product(value) from mytable
A nice tip from Harold Fuchs to calculate the product in Mysql select exp(sum(log(coalesce(value,1))) from mytable The coalesce() function is there to guard against trying to calculate the logarithm of a null value and may be optional depending on your circumstances. Here’s an example +——+——-+ | id | value | +——+——-+ | 1 | 3… Read more
Roasted Butternut Squash Soup
Thanksgiving (or for some Frenchgiving) being upon us, it’s time for a different kind of recipe. You’ll need 2 Butternut squash 3 Scallions 1 Celery 3 Carrots Vegetable broth Olive oil, salt, pepper Optionally sour cream and pine nuts Peel and cut the butternut squash in pieces. Place them on a griddle and put them… Read more
The Crunchie award
Please nominate us:
Closure Compiler: Type Checking JavaScript, an overview
Type Checking JavaScript View more documents from Pascal-Louis Perez.
Magic with shell
Today was one of those days where you wear a big smile all day. I started with some Java for breakfast, continued with a bit of Python, and then got roped in on a red card. (Tonight I’ll get back to JavaScript experimentations.) We use Interactive Brokers for all of our execution, and love their… Read more
Closure Compiler: Checking Types
Last week, Google open sourced the Closure Compiler. Jared and I were working on this compiler during our time at on the Gmail team, and you can imagine how happy we were to see this fantastic tool out. My main contribution to the project was the design and implementation of the type system. To use… Read more