Forgot your password?
typodupeerror

Comment: Re:Why the hell... (Score 0) 193

by beelsebob (#48177759) Attached to: JavaScript and the Netflix User Interface

The JVM is very language specific. For example it has op codes for allocating java objects. A truly cross language virtual machine doesn't have anything anywhere near that high level or specific to a particular language.

Second, javascript can be the compile target of LLVM bytecode. You can compile your favourite C program to js

But in doing so will lose all of the ability of the compiler to see what you actually wanted to do, and to optimise your code.

asm.js can be set as target for emscripten. The browsers supporting asm.js simply JIT it to bytecode, and those which don't still can run asm.js, but way slower.

Alternatively, we could skip the added complexity of javascript, and just provide the byte code directly to the browser.

Comment: Why the hell... (Score 4, Insightful) 193

by beelsebob (#48177609) Attached to: JavaScript and the Netflix User Interface

Why the hell are we still stuck using Javascript for the web? Why have we not got some virtual machine (not a language specific one like the JVM), that we can compile any language we like to? Half the world is trying to hack around javascript's shortcomings. If even half that effort was directed at making PNaCl viable on all browsers, we would be so much further forward.

Comment: Re:No mention on capacity though (Score 2) 395

Sure it would –it just wouldn't last 20 years. With charging in a few minutes, I think he's perfectly capable of charging it while he's working. So that's 2 charges a day, or one every 12 hours. That means it'll last 13.7 years. To be honest, that's a pretty reasonable length of time for a car.

Comment: Re:That's not the reason you're being ignored. (Score 1) 405

by beelsebob (#48146907) Attached to: Flight Attendants Want Stricter Gadget Rules Reinstated

That's true in low speed impacts, especially ones where your head is otherwise protected. It's not at all true in accidents where a lot of energy is involved. When you're talking about 50g deceleration, the most important thing is to make sure that the head doesn't accelerate rapidly away from the spinal column. That's why Formula 1 drivers wear a HANS (Head And Neck Support) device - to stop the head pulling forward off the spine in a crash. The brace position does a similar thing.

Comment: Re:That's not the reason you're being ignored. (Score 1) 405

by beelsebob (#48146885) Attached to: Flight Attendants Want Stricter Gadget Rules Reinstated

Sadly, the typical crash involves the plane ripping itself apart and burning the passengers alive. Only a few rare accidents have the plane smash into a building.

Actually, no, surprisingly. Not only is your likelihood of being in a plane crash lower than that when driving, but... Even if you assume you're doing to be in a plane (or car) crash, your chance of surviving are actually higher in a plane. 75% of people involved in a plane crash survive. Meanwhile, only 50% of people involved in a car crash survive.

Comment: Re:That's not the reason you're being ignored. (Score 5, Interesting) 405

by beelsebob (#48141901) Attached to: Flight Attendants Want Stricter Gadget Rules Reinstated

and it takes me all of two seconds to remember where the exits are

Actually, this is the one important bit of the safety briefing. It's been shown multiple times that in an emergency situation we're surprisingly shit at figuring out where we should be going. Not only that, but one person trying to fight the flow and go to the wrong exit can fuck over many many other people. Just prompting people to look around and register in their brain "it's 3 rows behind me" is useful.

I cannot conceive that anybody will require multiplications at the rate of 40,000 or even 4,000 per hour ... -- F. H. Wales (1936)

Working...