5,648 karma · joined Oct 26, 2012 (14y ago) · 2,109 submissions
comment 7y ago · link · parent
That's the average?!?! What's the 90th percentile like, cause I've been sitting on a big fat zero since before I was a legal adult. And I know I'm not alone. These numbers are blowing my mind right now.
comment 7y ago · link · parent
What am I missing?
comment 7y ago · link · parent
comment 7y ago · link · parent
Fortran chose 1-based indexing for a very obvious reason...it was the best translation from the mathematics literature that they were trying to implement. Because matrix notation uses 1-based indexing! MatLab, a language designed specifically as a high level language for matrix mathematics, chose it for the same reason. R, a language for statistics, chose 1-based indexing because it is a statistical language, and counting is one of the most fundamental operations in statistics, and 1-based indexing is the form used for counting.
Mathematicians obviously have no problem switching back and forth between 0-based and 1-based indexing for different domains, so it boggles my mind that computer scientists have turned it into such a huge holy war, and even more mind-boggling that 0-based zealots claim to have mathematics on their side.
comment 7y ago · link · parent
comment 7y ago · link · parent
Is this for real? I've never felt like google's products have prioritized latency. Android latency has been atrocious from the very beginning. And gmail and google docs are easily some of the slowest webapps out there.
comment 7y ago · link · parent
There are some quality uses for NN, but price or volatility prediction is not one of them.
comment 7y ago · link · parent
But HFT is inherently low capacity. You can't put a billion dollars on an order book and expect to make the same returns as you would with a thousand. That's the reason HFT firms are almost always proprietary trading firms...they don't need or want more capital.
A hedge fund, like Rentech, is typically on much higher timeframes because their size necessitates higher capacity strategies. This could mean holding periods of minutes for the million dollar funds to days for the billion dollar funds. As you get to higher and higher timeframes, your mathematics are going to need to be dramatically more sophisticated in order to beat the market. The math you are looking at in that quora link is about pairs trading which is where pairs of instruments mean revert over time. I would expect Rentech to be doing this type of trading over long timeframes and holding a trade for days to weeks.
comment 7y ago · link · parent
Is there any authoritative literature on the execution aspect of algotrading? I'm talking specifically about the things that are hard, if not possible, to analyze via backtesting. As I've moved to shorter and shorter timeframes, I feel like there's a huge execution gap that I'm suffering from. I've got good strategies that work but can definitely be improved with better execution. For example:
How to optimize limit pricing to get better fill rates or better entries or exits
Market microstructure analysis and modeling. How to analyze book depth and order flow to predict short term (shorter than 5-10s) behavior
Applications for and optimizations of various order types like IOC, MIT, LIT, FOK, Iceberg, Basket, etc.
How to handle the million ways that algotrading can do unexpected things: market gaps, trading halts, network outages or latency spikes, news events and volume explosions, etc.
Metastrategies: creating strategies that "trade" strategies to turn them off or swap them out based on market conditions.
Statistical process control, or other ways to detect when an algorithm is no longer working as expected.
Use of metainformation to dynamically inform strategies, such as implied volatility or any of the option greeks.
Do you know of any resources to point me to?comment 7y ago · link · parent
What has actually happened is that hubs became more numerous and smaller. A major airline might have 6 hubs instead of 2. And most long distance trips are done with 2 legs instead of 3.
comment 7y ago · link · parent
And it was dumb for Amazon to seek out subsidies anyway. Amazon only needed one criteria to have a successful HQ2: A willingness to accommodate new housing demand. $3B in subsidies would be dwarfed by the increase in salaries from higher costs of living. If a city can allow housing to be built, and keep up with Amazon's hiring demand to keep housing prices flat, that alone would be worth far more than any city or state could ever hand over to Amazon in subsidies.
comment 7y ago · link · parent
There's a saying in aviation that goes something like "it takes a lot of fuel to fly a lot of fuel". Even over the course of a single flight, the fuel consumption rate goes down significantly as that fuel gets consumed. You can fit more stuff in a bigger plane, but it takes more fuel to fly the 100,000th pound than it does to fly the 100th pound, so you only want the larger capacities if you know that you are going to consistently utilize them.
comment 7y ago · link · parent
comment 7y ago · link · parent
When these aircraft were conceived, all industry momentum was pointed toward superhubs, and all of the superhubs were capacity constrained. Landing and takeoff slots were constrained and airports were moving to auction models to sell the slots. Terminal space was becoming more and more expensive. These planes weren't more efficient because they could move more people, they were more efficient because they didn't cost as much to land and take off and load and unload. The reality of the matter is that Boeing and Airbus didn't incorrectly forecast the decline of hub and spoke models, they incorrectly forecasted the decline of superhubs.
comment 7y ago · link · parent
http://geekfeminism.wikia.com/wiki/MikeeUSA
EDIT: lol, the trolls are definitely out in force today.
comment 7y ago · link · parent
Of course that point is spurious at best. Clojure devs can use java libraries about as well as java devs can use C libraries: it's an unidiomatic nightmare with tons of unsafe sharp edges. And java devs can even use clojure libraries, but they don't and probably never will. Using java libs from scala is a hell of a lot easier than using them from java, but I still avoid them like the plague. If we're comparing the relative merits of ecosystems for different languages, it makes sense to compare the ecosystems developed natively in that language, not lumping in the thousands of other ecosystems that technically can interop with it.
My point is that the clojure ecosystem is weak in comparison to other more popular languages because experience in absolute quantities matter far more than percentages. The Arc ecosystem basically consists of a single 20+ year veteran, Paul Graham. That's 100% veteran composition. According to your line of argument, they surely must have the world's greatest programming language ecosystem. Does it?
At best, the clojure ecosystem can claim to be good enough for most uses. That's certainly a lot better than the vast majority of languages. I'd be overjoyed if SML, Pony, MiniZinc, or Mercury had the ecosystem that clojure enjoys. But compared to Javascript, Java, Python, C++, C, Javascript, Swift, Ruby, etc., it's not even close.
comment 7y ago · link · parent
The whole reason we have a corporate tax is because we feel rich people need to be taxed more, but the association between corporation and rich person is fuzzy at best. More nefariously, you are taxing pools of organizational and financial capital as opposed to individuals...which means that their ability to fight the tax code is amplified with pooled resources. It's regulatory capture waiting to happen.
The better option would be to dump the corporate tax entirely, and have all capital gains and dividends taxed as income. I know it can't be that simple because they're not the same as income, but working out those details would be a hell of a lot easier than trying to figure out how to get corporations to repatriate income after their international tax arbitrage schemes.
comment 7y ago · link · parent
I'd always consider language power to be an amplifier of experience...a 20+ year veteran that knows clojure like the back of his hand is going to be more productive than a java dev of similar experience. But the community size gap is huge. I deal with this as a scala programmer quite a bit. The ecosystem is pretty great for how small it is, but it's never going to be as good as java devs have it.
comment 7y ago · link · parent
Or maybe buy QNX off of Blackberry and make it open source again. That would also be nice.
comment 7y ago · link · parent
I agree though, nobody gets massively rich on passive investment. You get massively rich on active schemes (whether that is via entrepreneurship or investing), and then you passively collect when the scale of your wealth grows to the point where the liquidity of passive schemes is more important.
comment 7y ago · link · parent
In the context of schools, literally everybody benefits from population wide literacy and education. The benefits are diffuse enough that it is worth subsidizing...although we're probably hitting diminishing returns on the amount that we do spend. And the idea that we need to learn russian if we don't have a military 10x bigger than the rest of the world is a cold war rhetorical relic. Of course we could do with less military funding.
Cars though, are mostly a benefit to the occupant, and either a detriment to everybody around them, or entirely capable of being priced into the benefit of the goods they buy. Yes, I can afford paying $0.0025 more for a pound of apples if it means the trucking company pays their true costs. And why should we subsidize your drive in a BMW to your office when you can easily pay for the whole cost yourself, or take transit? Why should we be subsidizing cars over the much more efficient alternatives?
Cars and transit are competing forms of transportation...a vehicle mile not traveled is very often a fare paid. Car costs scale linearly with the number of people-miles driven, until congestion and space constraints hit and then costs scale exponentially. Transit costs are step fixed costs, and therefore the more riders the less they cost per person. When we subsidize car travel, it forces us to subsidize transit travel even more, because taking away riders makes transit less efficient. It should be remembered that before we started price capping transit companies and subsidizing roads, transit was one of the most profitable industries in the world. That's the power of the cost efficiency of transit.
So yes, mobility is important and roads shouldn't just go away, but the amount of roads and car infrastructure that we fund through general taxes is absolutely obscene and should be scaled back dramatically. Mobility can be much more efficiently provisioned to the public with transit.