Forgot your password?
typodupeerror

Comment: Re:Browser Apps are NOT desktop apps (Score 1) 193

by narcc (#48187121) Attached to: JavaScript and the Netflix User Interface

Please don't forget that the whole point of my comment was that threads are broken in JS.

That's new. Here I thought it was this:

The real underlying reason these apps feel flimsy is probably that Javascript is a single-threaded language. [...]
This means that when processing one action of the user (especially if it is a complicated action), the user interface will temporarily freeze.

Which is, of course, total nonsense.

For example, a simple "for" loop turns into a monster of functions calling eachother, in order to break the inside of the for-loop into small chunks that can't lock the UI. Now imagine a doubly-nested for-loop. You'd need special compilers to keep your code clean.

Which is also total nonsense. I'm sorry, but your assumptions simply don't match reality. Where did you come up with this stuff?

Again, I recommend you go do some reading about asynchronous programming and event-driven programming.

Comment: Re:Browser Apps are NOT desktop apps (Score 1) 193

by narcc (#48181465) Attached to: JavaScript and the Netflix User Interface

The problem is that "threads" are supposed to be a solution to dividing work.

Yes, but it's one of many solutions, and certainly not the best in every case. Threads come with their own set of problems, after all. They're no panacea. It's your job to understand the benefits and drawbacks of threads, and alternative solutions, and pick the best approach for your project. As threads are not an option in JS, it's a great opportunity for you to explore various alternative approaches. Tossing up your hands and saying "I must lock the UI!" is silly, particularly when it's clear that other applications don't seem to share that problem.

Lets face it: If your code locks the UI, you have a serious problem with your code! Go do some reading about asynchronous programming and event-driven programming. You'll find it quite helpful. Your users will thank you as well.

Comment: Re:Just upgraded, lost cookies (Score 4, Interesting) 113

by narcc (#48142881) Attached to: Firefox 33 Arrives With OpenH264 Support

YMMV

My certainly did. It restarted and reloaded my tabs, including this one, without a hitch.

that grim sense of foreboding that I now get with Firefox upgrades ("what's going to stop working this time? how is the UI I've been using for many years changed now?")

Just curious, what has been breaking for you? What UI features have changed in some significant way since Australis? I only ask because I switched back to Firefox from Chrome when Australis hit and have seen nothing but positive improvements with each release.

Serving coffee on aircraft causes turbulence.

Working...