News for hackers. Stuff that matters.
Re:Ceramic – Turn Lisp web applications into desktop apps by mariusmg on Monday July 13, 2015 @09:30AM (#9877939)
A "app" running in a webview on a desktop is NOT "native". A Swing app is not native nevermind these web apps running in chrome.
Re:Ceramic – Turn Lisp web applications into desktop apps by rpcope1 on Monday July 13, 2015 @12:09PM (#9878988)
I agree. Using Electron on all of these desktop application "frameworks" keeps seeming like throwing a supertanker at a job when someone asked for a tugboat. I feel like this will only continue to bloat so many applications further, and will make writing (and refactoring) GUI applications more difficult.
Re:Ceramic – Turn Lisp web applications into desktop apps by rubiquity on Monday July 13, 2015 @09:49AM (#9878025)
You'll be sad to known a ton of OS X and Windows applications these days are just running in web views. Heck, even a lot of iOS apps are partially/mostly UIWebViews.
Re:Ceramic – Turn Lisp web applications into desktop apps by Ramiuz on Monday July 13, 2015 @10:03AM (#9878094)
Can you give some examples?. (genuinely curious btw).
Re:Ceramic – Turn Lisp web applications into desktop apps by Glide on Monday July 13, 2015 @10:08AM (#9878129)
Slack's desktop app is a web view. The iOS app is native.

I think the wells fargo banking app on the phone is not native. The At&t one doesn't feel like it. Usually there's something different about the controls and interactions that make it not feel native. Sometimes there's a dead giveaway like being able to double tap and accidentally zoom in just like in mobile Safari.

Re:Ceramic – Turn Lisp web applications into desktop apps by rubiquity on Monday July 13, 2015 @10:13AM (#9878157)
Yep! A common pattern is for the navigation to be written in the native language to take advantage of faster/smoother animations and all dynamic content is inside of web views.
Re:Ceramic – Turn Lisp web applications into desktop apps by drew-y on Monday July 13, 2015 @10:12AM (#9878152)
Spotify and Steam are. Although Steam doesn't really pull it off all that well.
Re:Ceramic – Turn Lisp web applications into desktop apps by pavlov on Monday July 13, 2015 @10:40AM (#9878338)
Neither does Spotify. Visually it's out of place on every platform, and performance on computers older than few years has become unacceptable IMHO.
Re:Ceramic – Turn Lisp web applications into desktop apps by throwaway999666 on Monday July 13, 2015 @12:46PM (#9879252)
Spotify on Linux: clicking on things often feels slightly janky and laggy. How fitting!

And the spacebar will 80% of the time page down rather than pause the music, something which sounds minor but which makes the user experience 50% more annoying for me. Do most people even use spacebar to page down in normal webpages!?

Re:Ceramic – Turn Lisp web applications into desktop apps by Mister_Snuggles on Monday July 13, 2015 @10:04AM (#9878097)
Isn't the Atom text editor mainly a Chromium web view running on the desktop?
Re:Ceramic – Turn Lisp web applications into desktop apps by cosarara97 on Monday July 13, 2015 @11:00AM (#9878498)
Yes, and many people don't think of it as native for that reason.
Re:Ceramic – Turn Lisp web applications into desktop apps by MisterBastahrd on Monday July 13, 2015 @11:24AM (#9878679)
The colloquial definition of a native desktop application is an application that runs from a binary on your system. So yes, most people DO think of these as native applications.
Re:Ceramic – Turn Lisp web applications into desktop apps by FigBug on Monday July 13, 2015 @12:23PM (#9879099)
It's beyond that. I also uses the native APIs to create the user interface.
Re:Ceramic – Turn Lisp web applications into desktop apps by pdeuchler on Monday July 13, 2015 @01:44PM (#9879676)
iTunes to a large extent is a wrapped WebView
Re:Ceramic – Turn Lisp web applications into desktop apps by throwaway999666 on Monday July 13, 2015 @12:42PM (#9879223)
> You'll be sad to known

It wouldn't be so sad if it wasn't so noticeable.

Re:Ceramic – Turn Lisp web applications into desktop apps by tomjen3 on Monday July 13, 2015 @10:24AM (#9878216)
A native app is one you download and execute on your computer. In reality it doesn't matter much what gui toolkit you write it in, there is nearly always going to be some xml and styling involved - GTK is native on Ubuntu (I hope you will grant me that), but programs written in it typically uses glade files to design the gui and load and bind event handlers at runtime. Glade is XML.

.net uses the native win32 gui toolkit - but you typically build it WPF, which is XML, styled with XML.

On mac? plists - which is you guess it XML (I have no idea what, if anything, you style a mac app with).

So basically the three biggest platforms use XML to bind their guis with - and there isn't much difference between XML and HTML. Granted when you design XML for guis it tends to be nicer than if you wrangle HTML into that role but this is a programmer, not a user, issue.

Re:Ceramic – Turn Lisp web applications into desktop apps by pavlov on Monday July 13, 2015 @10:43AM (#9878359)
That's a nonsense argument. There's a world of difference between using the platform's native framework and controls (which may be instantiated from an XML file) versus a single WebView which contains the entire app.

Saying "HTML is nearly XML, therefore HTML is native" is akin to saying "Vietnamese is written using the Latin alphabet, hence it's basically the same as English".

Re:Ceramic – Turn Lisp web applications into desktop apps by jayvanguard on Monday July 13, 2015 @10:46AM (#9878401)
The "native" part of native app doesn't mean machine code. It means that it is native to, i.e. feels like it naturally came from, the host operating system. It uses its APIs, conventions, UI components, event queues, etc.
Re:Ceramic – Turn Lisp web applications into desktop apps by PuercoPop on Monday July 13, 2015 @05:34PM (#9881299)
as JayVanguard already pointed out native means another thing. but putting that aside.

You are confusing what HTML and XML are if you think they are similar. XML is a way to encode data, validate it conforms to a schema, query it, etc. HTML is more than the surface syntax. It includes an schema and semantics (the DOM, the CSS OM, the boxing model, etc). Using XML as a declarative layer on top of their UI, as android does, does not make it similar to writing HTML because of the completely different semantics associated with it.

Android takes all the xml layouts and compile them and expose them through the R(esource) class.

Re:Ceramic – Turn Lisp web applications into desktop apps by aidenn0 on Monday July 13, 2015 @08:29PM (#9882111)
I see more than one person on this thread who thinks native means "runs native machine code" and more than one person who thinks it means "looks like it was built with the native GUI library" so the term is ambiguous. Before iOS app store, I think it was more common to mean the former, so it may be related to that.
Re:Ceramic – Turn Lisp web applications into desktop apps by eudox on Monday July 13, 2015 @10:36AM (#9878304)
The browser is native code, the app is compiled to native machine code. There are no virtual machines involved, except the JS VM on the browser (and this doesn't need JS).

So it's native at least along those lines.

Re:Ceramic – Turn Lisp web applications into desktop apps by jayvanguard on Monday July 13, 2015 @10:43AM (#9878362)
That isn't what people mean when they say native.
Re:Ceramic – Turn Lisp web applications into desktop apps by nothrabannosir on Monday July 13, 2015 @11:19AM (#9878634)
Right, when people say native, they talk about connecting directly with the OS-specific UI fundamentals. An application is "native" not by virtue of its execution environment, but by virtue of the UI primitives. That's why people talk about "native look and feel".
Re:Ceramic – Turn Lisp web applications into desktop apps by jakub_h on Monday July 20, 2015 @10:54AM (#9916443)
What people mean when they say native depends on what people you're talking about.