798 karma · joined May 19, 2010
something like.
temp = a* std_dev
var = np.dot(np.dot(temp.T, cor), temp)
If you don't have that much data, MR on redis is fine
If you want excel as the front end (I understand why you would want that) you could use pandas to process the data, and use excel as the frontend, instead of writing all that code.
I'm looking for someone to contrast either a classical inheritance system built on top of JS prototypes vs using JS prototypes in another way, OR just show me something cool you can do in JS prototypes, that you can't do with python or ruby classes. Contrasting js prototypes with classes in another language is fine for this exercise, I'm trying to understand conceptually why prototypal inheritance is good. Otherwise, I don't see how prototypal inheritance adds value over python/ruby inheritance schemes.
I also believe it's completely feasible and logical to critique language features, and still use them at the same time out of necessity. I still use prototypal inheritance, just through coffeescript classes
For me the problem is that people tend to use prototypal inheritance to implement class inheritance patterns, but there are so many ways to do that, so whenever you read code, it takes a while to figure out what people are doing.
If there was a large gain to prototypal inheritance, I might be willing to accept it, but I havent' seen (does anyone have examples?) of really cool/useful things you can do with prototypes that you cannot do with class based inheritance? Because the increased flexibility leads to confusion without added benefit, I don't see the point.
Contrast that with dynamic typing, where I think there are huge benefits which offset the added cost.
also - from reading that article, it seems that JS's prototypal system has a large number of gotchas, and thats bad regardless of what kind of inheritance system your language implements.
but the main one for me, was that python does non-math things much better than matlab. Since python is a general purpose language you can go from analysis to production application much faster, whereas with matlab it usually involved getting a software developer to rewrite it in java.
We used to take our python analysis code, wrap it up in a web app, and then use that to server risk information to traders, and it was quite easy to do so.
The ad market is well suited towards auctions because you have one seller for many buyers, but in finance you have a symmetric relationship between buyers and sellers.
http://www.nanex.net/FlashCrash/FlashCrashAnalysis_NBBO.html
I don't really understand how you could abuse an exchange through quote stuffing - I've heard(and it seems reasonable to me) that they would use round robin queues to protect from exactly this sort of thing.
The benefit though, is that in zeromq you get to (and are forced to) choose exactly how your messaging patterns are reliable (or not)
If you do something that helps many people, people will notice.
How does require.js make coffeescript debugging easier?