Lurker News

Comments (89) 28 threads

Show all comments

Showing thread 2 of 28

szhu#
I had to switch back from Atom to Sublime to make this, because Atom is based on Chromium :(
haddr1 reply#
even hovering mouse over this link in the comment above crashes chrome
szhu1 reply#
That's exactly how the game works!
fotcorn1 reply#
Funnily enough, opening this url gives a GitHub Server Error.
r3bl#
Yup, opening this on my own website (hosted using GitHub's repositories) also gave me an error.
dshankar3 replies#
Explanation for why this is occurring:

Slack's desktop apps are HTML5 webapps wrapped inside native desktop wrappers. Specifically, Slack uses Github's Electron (formerly, Atom Shell) which is basically Chromium. The desktop app is a webpage inside Chromium.

JoeAltmaier6 replies#
Yeah, I strenuously object to the fad of calling wrapped web pages 'native apps'. They get zero benefits that would normally accrue to real native apps. They just launch 'as if' they were native.
szhu4 replies#
"They just launch 'as if' they were native." That's a pretty big benefit to most end-users.

Continue this thread — 4 replies

yathern#
Well, the benefits of Electron or NW.js compared to a Web App are things like filesystem access - as well as the entire Node JS ecosystem, which has many modules, some capable of performing native operations in a variety of different platforms.
escherize#
What do you mean by 'as if'?

Try hitting Cmd + , to change change some of your HN settings, or alt-tabbing to your HN tab (the one in your browser).

gue5t8 replies#
Thank you. People calling web-render wrappers "native applications" must not realize how great it is when applications are mere coördinators on top of an integrated platform full of services designed to improve user productivity.

I guess if that demographic did, there would be less "unix philosophy" cultism, as the efficacy of the unix shell is merely on par with that provided by other relatively coherent software toolsets. The shell is really pretty barebones compared to the rich semantics provided by many toolkits and object systems on which user interfaces have been built: GObject and NeXT are two modern examples.
[That said, where shell shines is by providing so few abstractions that virtually any garbage has the same semantic depth as things which were designed to be used in the shell. Bytes are universal on the common computing substrate.]
The web, on the other hand, is a platform "designed" by the erosive flow of eyeballs during the 1st-nth browser wars, without much of a direction beyond tacking on additional pretty features without breaking backwards compatibility too much.
Attributes like a11y, embeddability, composability, and effective resource sharing tend to simply fall out of well-designed platforms. The web has an effective answer for none of these desirable concerns. Look at how screen readers break on js-heavy and dynamic web pages, the ongoing security disasters of XSS and iframes (and the complexity of login services like Facebook's/oauth/openid), the disappearance of Google reader, and the half-assed way CDNs offer partial, ad-hoc offloading of some resources via surrender to centralization.

Continue this thread — 8 replies

sudo_bang_bang1 reply#
I think this should be the future of native apps. You do get all of the benefits of native apps -- there are plenty of modules to handle key bindings, notifications, file system IO, etc. By using web page rendering you also get the incredible ecosystem of front-end tooling and plugins (React, Bootstrap, the infinite jQuery plugin world). All of this beats Qt in my opinion, having designed both.

Continue this thread — 1 reply

EC1#
Don't think I've ever heard or read anyone claim this, just that they live in a native wrapper.
userbinator#
I wonder how many other apps will also have this bug due to being a webapp inside Chromium, and thus require updating when it's fixed. It's not Heartbleed-like criticality, but still seems rather unpleasant, not to mention the waste of keeping multiple copies of Chromium around (I'd guess the typical webapp is much smaller than the browser itself.)
eridius1 reply#
It's Chromium? Then why do the Slack folks keep saying the preferences UI bug is a Webkit bug? It can't be a Webkit bug if they're using Chromium.
wonkaWonka#
Depends on the platform. For Apple devices and workstations it's a wrapped Safari web view, which is not affected by the bug, and does not crash.
ps4fanboy#
If you paste the link in chrome and visit it, crashes the whole browser not just the tab.
cbd1984#
My little web client just prints this header with no body:

    HTTP/1.1 302 Found
    Connection: close
    Pragma: no-cache
    cache-control: no-cache
    Location: /%%30%30
Maybe the infinite loop is the real problem here.
0xCMP#
Hovering over this link also makes it crash like when you hover over the trees