News for hackers. Stuff that matters.
Re:Chrome browser for businesses by FLUX-YOU on Thursday December 29, 2016 @06:17AM (#13276741)
>I miss proper custom desktop apps with horrible looking cluttered interfaces. Soo productive compared to any web based interface for almost all tasks.

You mean where everything runs on the UI thread? Gotta pass on that. :)

Re:Chrome browser for businesses by alkonaut on Thursday December 29, 2016 @06:52AM (#13276833)
Not necessarily - although that's usually fine. I prefer a non responsive UI when waiting for io/db, to a poorly implemented background execution where you aren't sure anything is actually happening.
Re:Chrome browser for businesses by FLUX-YOU on Thursday December 29, 2016 @07:25AM (#13276920)
> I prefer a non responsive UI when waiting for io/db, to a poorly implemented background execution where you aren't sure anything is actually happening.

You can't be sure anything is happening on a locked desktop app either though, so at least you can close it gracefully if it's doing that on another thread

IME customers close stuff if Windows shows "Not Responding" but not if you just have a fake progress bar.

Re:Chrome browser for businesses by wcummings on Thursday December 29, 2016 @06:30AM (#13276782)
But (most) browser apps are single threaded and you can block the UI if you do anything intensive on the client-side.
Re:Chrome browser for businesses by fbender on Thursday December 29, 2016 @07:33AM (#13276942)
There quite a few ways around that with async APIs and WebWorkers, even ServiceWorkers now. A lot of devs just don't use them properly.

Edit: Did you mean the browser itself could freeze? That's a thing of the past with Firefox being the last browser to separate the content and chrome process. So the web page may freeze, the browser window itself shouldn't.

Re:Chrome browser for businesses by wcummings on Thursday December 29, 2016 @08:38AM (#13277159)
Those are relatively new features, and aren't used a whole lot.
Re:Chrome browser for businesses by fbender on Friday December 30, 2016 @01:19AM (#13282895)
WebWorkers are not a new "feature". The last browser to support it was (on desktop) IE in v10 (4 years ago) and on mobile Android 4.4 (3 years ago). Though that doesn't really matter since you can polyfill it, which obviously does not give you multithreading in those older browsers but it still forces you to think async.

Regarding other APIs, a great number has been available since many years, and any newly introduced API since at least 5 years is either non-blocking or async.

Re:Chrome browser for businesses by donatj on Thursday December 29, 2016 @07:16AM (#13276896)
In my experiences being forced to use various SPAs from various venders, more often than not async just means I need to behave single threaded rather than the app lest I wish to trigger race conditions that desync the local model and I end up having to hard refresh.
Re:Chrome browser for businesses by 0xfeba on Thursday December 29, 2016 @10:20AM (#13277701)
Heh, the MS Windows file/folder permissions tab comes to mind when you mention that. Been single-threaded for 20+ years now. Clicking on the Add... button always freezes the UI while it communicates with the domain controller or whatever it does.

http://imgur.com/a/YbGbU

Re:Chrome browser for businesses by compuguy on Thursday December 29, 2016 @11:51AM (#13278330)
True, that's why I enable running explorer as a secondary process, so the desktop doesn't completely freeze.