Better HN
topnewbestaskshowjobs
Log inSign up

30thElement

164 karma · joined Sep 10, 2010 (16y ago) · 67 submissions

Submissions

comment 13y ago · link · parent

The kicker is located in the middle,

> The median 401(k) balance for households headed by people aged 55 to 64 who had retirement accounts at work was $120,000 in 2011

The 77 year old highlighted is just an easy way to personalize the larger statistics.

comment 13y ago · link · parent

Ratings are done at a bond (tranche) level, not a collateral level. Rating them at the collateral level would be incredibly stupid as some bonds are specifically designed to take loses in order to bolster the ratings of the senior bonds.

Also, the entire point in creating these structures is to introduce the multiple and very different risks. You start with collateral that is exposed to a bunch of different risks, and you end up with bonds that have only 1 specific and unique risk (in theory). Then whoever buys the bond only has to worry about hedging that one specific risk (or using it as a hedge for that specific risk) instead of trying to balance 5 or more different hedges.

comment 13y ago · link · parent

If you want to be understood, you have to make sure your point is clear. Throwing in an unnecessary controversial point, especially about someone as divisive as Jobs, just muddles pg's main point.

comment 13y ago · link · parent

Lowering the interval makes the effect less pronounced, but it's still there. When you have fixed intervals the order book will keep increasing in size until the trades execute on the 1 second interval or whatever it is, and the book will be larger than for our current instantaneous ticks. Larger book means wider spread, as basic game theory says when you have more participants you need a stronger hand to have the same odds, so if you want that trade to execute you put it way outside the last price. HFT firms narrow the spread and take the difference as profit, as they don't really care if 1 particular order executes so they play closer to the last price.

Randomizing the execution order makes the spread even wider, because now you need to beat everyone instead of just tying if you want to guarantee execution. And again, the HFT firms don't care if any particular order executes. Although randomizing the order would probably reduce the incentive to co-locate, but I'm guessing the larger firms would still want quicker access to the last price, just in case.

Also, in all of this I'm assuming no one outside of the exchange can view the actual book, just the last price. If you let people see the full book, as they can now, this is all a wash anyway as they'll just "trade" by placing and cancelling orders right up until the next tick.

comment 13y ago · link · parent

Considering any low-latency firm worth talking about will be able to afford viewing the full order book (which apparently you can get for $750 a month http://www.nyxdata.com/arcabook) they don't need to create and withdraw trades constantly.

They will however do this on dark pools, as dark pools specifically don't publish the order book. But no common investor will be trading on a dark pool, so this professor wont be able to "cheat" (with as much scare quotes as possible, as AndrewBissel and others discussed) them out of $377k. I don't know the regulations for dark pools so I can't say if this behavior violates them or not, but I'd assume not as dark pools are typically set up to thwart HFT so they'd pounce on any opportunity to keep them out.

comment 13y ago · link · parent

How many times does someone need to explain that enforcing fixed-interval ticks is a bad idea for people to stop bringing it up on HN?

In the current environment, you own shares of MidCap Inc. They release a really bad earnings report, the company looks like it'll just keep sliding for the next few months and you want out. You see what the price as of 5 seconds ago is is (5 seconds since you're only human), put yours in at just below that and 10 milliseconds later you've sold your stock. You got a fair price and you aren't stuck holding a bad stock.

In your proposed 1 hour ticks, you still own MidCap and they still release a bad earnings report. You still want out, but since trades execute once an hour you have no idea what the price is after this earnings report. You put in an ask at a slight loss (you don't care about the loss, you just want out), wait 45 minutes and... Fuck, everyone put their asks lower than yours. Half the book clears and everyone who didn't get their ask thinks "I really don't want to be holding onto this crap stock". You re-list at a 25% loss, because you really just want out and the average trade was a 15% loss anyway, and so does everyone else. You better hope the book gets completely cleared this time, or that stock is gonna hit the floor.

That's all not mentioning the fact that 1 hour ticks wont eliminate HFT and the desire for low-latency (who get's priority when there are 2 $33.55 bids on the book? The first one placed?). And half of HN will be grumbling about how the exchanges take all this profit when the bid/ask spread is negative.

comment 13y ago · link · parent

There's 2 reasons on top of the generic problems with vertical integration, at least that I know of. First, once an independent dealership opens, they're gonna forever be afraid that the manufacturer is going to cut off their supply and then open an official dealership next door. It screws up the value equation for opening a dealership in that the small family owned business takes all the risk so the giant mega corp can swoop in and take all the profits once they finally show up (at least that's how you pitch it to the voters).

Second, dealerships make their money off of the maintenance as well as the sale. Allowing the manufacturer to dip into that maintenance revenue stream will create perverse incentives that hurt consumers.

The first one doesn't really apply, as Tesla has the capital to start all of the dealerships they need and that's basically what they want; they don't want 3rd party dealerships popping up at all. The second one applies to Tesla, but I don't think it really matters. They are The Experts in electric cars right now, so any significant maintenance will probably just get shipped back to their factory anyway.

comment 13y ago · link · parent

Turbulent flow would increase the overall drag in this situation. You're essentially taking energy from the free-flowing middle of the pipe and using it to drag more air along the wall. The reason why turbulence helps a golf ball is because it decreases flow separation http://en.wikipedia.org/wiki/Flow_separation. Separated flow makes a ridiculous amount of drag, and it's worth the extra skin drag to keep the flow attached.

comment 13y ago · link · parent

+ has problems as string concatenation, but that doesn't make & a good choice. We still use a lot of C-ism's because people are used to them, and any deviations from C-like behavior, which at this point could be called "common behavior" just increases the learning curve and the cost of a context switch.

Personally, I like Perl's period(.) for string concatenation, but I think it can too easily get lost in the line, especially for more complex stuff.

     $foobar = "foo" . $bar->{'bar'}

comment 13y ago · link · parent

No, it's not, that's the point. Unless you find some way to fly without creating pressure differentials, a plane with wings that are miles wide, or a usable description of airflow transitioning from subsonic to supersonic, you aren't flying at Mach 0.99.

comment 13y ago · link · parent

In general, you don't want to fly in the transsonic zone (Mach 0.8 to Mach 1). The flow over parts of the wing goes supersonic, and while aero engineers can deal with supersonic and subsonic flows separately, we can't really deal with them together, the approximations flip (things go from being proportional to speed to inversely proportional). Most jetliners cruise right below the transsonic zone specifically to avoid this. The 777 uses specially designed wings to let it go further into the transsonic zone, so it can cruise at 0.85. If you design a plane to go any quicker either you need really long wings to lower the pressure differentials or to just go supersonic.

comment 13y ago · link · parent

Unless you're telling me the text message, minutes, and data usage numbers on my bill are all made up, I'm pretty sure the carriers have a way to track whose phone belongs to who. Or, if they can't provide a working opt-out, it should be opt-in only (using the cookie).

comment 13y ago · link · parent

It's a holdover from Fortran (and probably from before that). Whereas modern day we would define functions as

    int foo(int i, int j) {...}
in Fortran you would do (! is comment)

    function foo(i, j)
        integer :: foo !return type
        integer :: i
        integer :: j
        !body goes here
Early C stuck to that style, so you would just put the names of the variables in the declaration, and then before the body give them types. The reason only argv is mentioned in that example is that C assumes a variable is an int if not declared otherwise, so there's no reason to put "int argc" like "int argv[]".

comment 13y ago · link · parent

Shadowing keywords is perfectly valid, although I believe you can't shadow keywords in standard headers so that compiler writers don't need to worry about it. It gives rise to some "useful" C/C++ features that should never be used, like if you want to access private members in foo.cpp, do

     #define private public 
     #include "foo.cpp"
     #undef private

comment 13y ago · link · parent

There are some hedge funds that invest in startups, along with the investment arm of other companies (Microsoft bought 1.6% of Facebook pre-IPO), but I don't know if it'll work for mutual funds. Hedge funds and companies can sit on a startup for years before getting any return, but mutual funds have to be much more liquid. It could work as a closed-end fund, but those are much less common than open-ended funds and you lose the ability to reinvest in the startups.

comment 13y ago · link · parent

As someone with a degree in applied math, the pure abstract is more interesting than the applied. Applied math is like building really amazing and intricate sand castles on the beach. Pure math is like building the same sand castle, but in the sky and it's kept aloft purely by how beautiful it is, freed from constraints like "touches the ground" and "can support itself under gravity".

A lot of my friends feel the same way, with some of them specifically avoiding having "real world" applications of their work, as if that makes it an even better sand castle.

As to why I have an applied degree instead of doing pure math, numerical analysis makes a weird intuitive sense to me, and I figured building decent sand castles on the beach was better than making terrible sand castles in the sky that could barely hold themselves up. It also gets the grant money.

comment 13y ago · link · parent

> The hands free display is the only advantage and it's not worth it. If there were a market for hands free displays, there's nothing stopping us from having one for our smartphones just like Bluetooth earpieces.

Right, because the only reason things don't exist is because there's no market for it. Google spent several years iterating and trying to get the Glass into a workable size (it was originally basically a smartphone strapped to a pair of glasses), and there was no way it could be in a small enough package until very recently.

> Yes, by a small fringe element of idiots.

Most people seem to either want one, or are relatively apathetic, so either most people don't think it looks stupid or they think the penalty of looking stupid is worth it for the benefits.

> Why do you think all of the Google hype videos for Glass show the same exact thing over and over again; somebody doing something exciting and videoing it with Glass? Because that's the ONLY use case for it. I would assert that it's a terrible use case too, but even if I don't argue that point, that single use case is not enough for Glass to see widespread adoption.

Except for the videos with people doing mundane things like biking, playing in the park, or trying to catch a train? If you ignore 1 or 2 sky diving videos, almost all of the videos with Glass I've seen were situations I'm in daily or frequently enough that they aren't exceptional situations.

comment 13y ago · link · parent

Assuming Mars and the comet are perfectly round and have the same density, this comet will change the speed of Mars by about 0.004 feet per year, or about a quadrillionth of it's current speed. A body large enough and fast enough to destabilize a planets orbit (in the short term) would have a pretty good chance of breaking the planet into pieces.

comment 13y ago · link · parent

Most likely that was a mental arithmetic error or he thought that 1 bp = 0.1%, but changing it from 0.5% back to 0.05% back really changes the utility. If your average CC transaction is $100, you're breaking even compared to picking up a nickel. I'd rather get on with my day then stand there waiting for the authorization or picking up a nickel.

comment 13y ago · link · parent

Did you continue with engineering after the freshman classes? I also went to VT, and my classes got harder every year, except for maybe senior year but then I was expected to do a senior design project on top of regular classes. But talking to my other engineering friends, it was very dependent on the major. For Civil engineering freshman year was the weed out year, for Aerospace senior year is the weed out year.

comment 13y ago · link · parent

If you click the little "i" in the top right you can get the full methodology. In there it explains why Bloomberg the person is missing

>Bloomberg News editorial policy is to not cover Bloomberg L.P. As a result Michael Bloomberg, the founder and majority owner of Bloomberg LP, isn’t considered for this ranking.

comment 13y ago · link · parent

There's a big difference between writing your own code just to learn how AES works and writing code and then saying "we will protect your privacy using this code". The reason experts discourage people from writing crypto code is because it's Hard; even the experts get it wrong. Even if you ignore all the weaknesses you can create by using bad keys, there are still simple mistakes that will ruin you system. For RSA you need to make sure your key generation isn't subject to Pollard's p-1, Pollard's rho, William's p+1, Fermat factorization, Wiener's attack, and others. And then once you do that, if you pad incorrectly the whole thing gets blown up anyway.

This isn't someones little toy app, this is a professionally done, "we will protect your privacy" service with the government already breathing down their neck. The sloppiness they are showing in their crypto (or at least in their presentation of the crypto) is just unacceptable.

comment 13y ago · link · parent

All software patents are patents on complicated math.

comment 13y ago · link · parent

Not necessarily. Only if you assume the people that go to movies are a good representation of people in general, which I doubt is true. Considering how important the teenage demographic is (why fewer movies are release with an R rating nowadays, with some movies getting re-edited to go from an R to PG-13 rating), I'd bet teenagers are over-represented from a few years ago. And you'd have to assume any time someone goes to the theaters they pick the best movie for their tastes, not just the "safe bet" on a sequel or the one they've seen the most advertising for.

Top 10 grossing was probably a bad pick, but I don't know a better way to measure the general output of movie studios without considering every movie released, even those shown in like 2 theaters worldwide.

comment 13y ago · link · parent

All due to piracy? If you look at the 10 top grossing films of 2012, we have: 3 comic book movies (The Avengers, The Dark Knight Rises, and The Amazing Spiderman) where the characters have already had several movies, 3 movies that are either the 3rd or 4th in an original series (Madagascar, Ice Age, and MiB), and 4 based on books (Twilight, Skyfall, The Hobbit, and Hunger Games). Maybe people are tired of rehashes of the same IP over and over again, especially when they spread one story over several movies, just to get more money out of you? (I'm looking at you, The Hobbit)

comment 13y ago · link · parent

Interesting tidbit: -40 Celsius is the exact same temperature as -40 Fahrenheit.

Nitpick: If you have a diesel, your car will not start at all if the engine is cold, but if you have a diesel and live anywhere where there's a risk of it being cold enough for hypothermia, you already know this. Also if you have a crappy battery, in cold enough weather it won't put out enough juice to turn over the starting motor (that's why there is a difference between cranking amps and cold cranking amps). But again, if you live in an area where this is an issue you should already know this, and your battery is probably rated to like -40.

comment 13y ago · link · parent

Assuming the exhaust pipe is clear isn't the best assumption when you're in a ditch in the middle of a blizzard. Even if the pipe is clear, rust from the all the salt on the road or damage from going into the ditch could easily put a hole in your exhaust.

comment 14y ago · link · parent

Only in specific circumstances. https://en.wikipedia.org/wiki/Sovereign_immunity_in_the_Unit...

comment 14y ago · link · parent

Not quite, the cost of RSA encryption is O(k^3), where k is the total number of bits, not the number of 1's. But it is cheaper to have less 1 bits, as (abusing big-O notation), the cost is more like O(3k^3-z^3), where z is the number of 0 bits. That's why some people are using 2^32+1 instead of 2^32-1.

In theory the size of e doesn't matter, but a larger e does make it harder to brute force the message text.

comment 14y ago · link · parent

Not anywhere near big enough to be cryptographically secure. RSA uses 2 numbers as the public key, e and n. n should be more than 1024 bits, and it really doesn't matter how big e is. The default for e for a while (and cryptographically secure in theory) was 3 because computing y=x^3 mod n (aka RSA encryption) was cheap. What matters in RSA though is n being large and hard to factor, not in e being large.

EDIT: my bad, I misread the "2^16+1 bits" as 2^16+1 every time I read it.

123