News for hackers. Stuff that matters.
Re:What the f*** is the edge? by TeMPOraL on Sunday August 12, 2018 @04:39AM (#17743538)
> Cynics might of course argue that we have come full circle, from thick client to butt back to thick client, but that would miss the point of what "the edge" is all about: In a world of increasingly ubiquitous computing power we are well advised to reflect on where our computation happens and how we can make the most efficient use of the resources at our disposal.

Which is exactly why we the cynics say we've come full circle.

Also, while the cyclical nature of client/server design seems to be a thing, unfortunately underlying ownership is not cyclical. For instance, a cycle or two ago, the "edge" computer meant software I bought running on my machine. This cycle, it means software I don't have any stake in running on machine I lease and have little control about.

This is the part of the trend that's worrying to me. Cycles of thin/thick clients are irrelevant. Disenfranchising end users is a problem.

Re:What the f*** is the edge? by FreezerburnV on Sunday August 12, 2018 @12:24PM (#17745049)
In case anybody else is confused like I was: there is a plug-in for browsers that turns all mention of “cloud” to “butt”. Parent apparently has this plugin installed, and thus the “to butt” part is “to cloud”. (Users of said plugin will see me just saying butt a lot here :P )
Re:What the f*** is the edge? by cjhanks on Sunday August 12, 2018 @01:09PM (#17745276)
Thanks, I re-read that multiple times and thought I missed a rapid shift in nomenclature.
Re:What the f*** is the edge? by skrebbel on Sunday August 12, 2018 @12:52PM (#17745199)
I believe it also turns "the cloud" into "my butt". It's a pretty amazing extension, actually.
Re:What the f*** is the edge? by daniel-alex on Monday August 13, 2018 @04:54AM (#17748812)
Interestingly enough I didn't even notice it until reading your comment. Looks like I have a "butt" to "cloud" translator in my brain.
Re:What the f*** is the edge? by TeMPOraL on Monday August 13, 2018 @11:41AM (#17750905)
I know I have one, that's why I never notice when the extension is on (I have it installed in Chrome, but I spend half of the browsing time on Firefox these days).
Re:What the f*** is the edge? by expertentipp on Sunday August 12, 2018 @07:32AM (#17743918)
Indeed, edge computing for some is the answer for „privacy”. Nowadays the native or mobile app, although running locally will still not even launch without the internet because of the subscription licensing model, and one has no reason to believe the support and marketing that „all data stays locally”, unless one degugged the network traffic with wireshark or similar tool... and it might change with any version upgrade.
Re:What the f*** is the edge? by cm2187 on Sunday August 12, 2018 @04:54AM (#17743586)
There are many circles in this industry.

flash/sliverlight then html5 then wasm.

soap then rest then json api.

Re:What the f*** is the edge? by TeMPOraL on Sunday August 12, 2018 @05:50AM (#17743702)
The cycles you mention are each very interesting.

Flash/Silverlight/HTML5/WASM - this, to me, is a story of a technology being useful, then growing to give too much power to web publishers - who tend to abuse any given power - then reverting to a weaker technology in order to unscrew the web. Rinse, repeat - HTML5 is already rapidly approaching peak Flash, and introduction of WASM isn't going to help here.

Soap/REST/JSON API - you could call it a story of simplification, but I don't get how it even came to be. That is, how XML gained so much popularity, given that simpler and better tools for almost all of its uses were already available and known.

Re:What the f*** is the edge? by cm2187 on Sunday August 12, 2018 @05:59AM (#17743716)
I still don’t understand what problems people have with xml. The json vs xml debate very much feels like the tab vs white space debate to me.
Re:What the f*** is the edge? by Macha on Sunday August 12, 2018 @07:29AM (#17743912)
I suspect the reasons that XML ultimately lost are:

1. You could represent it as a nested structure of your language's standard lists & maps, which you already know the API of, which you could directly operate on. For dynamic languages, this is much faster to stick a prototype together, even if it bites you in the ass eventually. But by the stage, you've already chosen JSON.

2. It was less characters to manually type.

3. Particular uses of XML were extremely verbose. The S in SOAP stood for Simple, which looks ironic in retrospect.

4. In a time when payloads didn't routinely use compression, the closing tags could be a noticeable increase in size.

5. The vast majority of communication that now uses JSON didn't benefit significantly from XPath (people prefer to navigate data structures using their language features, not a generic API), namespaces, DTDs, XML Schema etc.

In about that order.

You could argue that much of this is superficial, and it is, but the industry has shown time and again that lowering the barrier to entry, even in ways that make little difference in the long run, usually wins out.

Re:What the f*** is the edge? by saurik on Sunday August 12, 2018 @10:40AM (#17744539)
The sad thing about #5 is that XPath is epic and trying to simulate queries using it in almost any programming language without just implementing it is tons of grunt work :(. When I a trying to parse through some complex data structure I still to this day find myself getting tired after writing a bunch of nested for loops resulting in my saying "screw this", convering the data to XML, and making short work of the problem with XPath (which only got better and better in subsequent releases of XSL/T).
Re:What the f*** is the edge? by batty_alex on Sunday August 12, 2018 @08:06AM (#17744000)
You forgot my favorite one:

6. Too easy to accidentally reinvent Lisp via xml.

I thought it was funny the first time I ran into an instance of it happening, which quickly turned into horror. Not only was the logic split, but it meant mentally parsing this:

  <If><RegEx string="{AZ*}"><Register /></RegEx></If>
I mean, it sort of makes sense...?
Re:What the f*** is the edge? by beaconstudios on Monday August 13, 2018 @08:40AM (#17749584)
not that JSON is immune to this - mongodb's query interface is a reinvention of the same, but in JSON.
Re:What the f*** is the edge? by tpm on Sunday August 12, 2018 @08:57AM (#17744151)
Basically it's a Markup Language, not a data transfer language, so it was far from ideal to use it as one. See for example the ambiguity between what should go into tag attributes vs. tag content etc. Also the eXtensibility makes things too complicated for many use-cases. You don't have to care about any of this with JSON.
Re:What the f*** is the edge? by onemoresoop on Monday August 13, 2018 @03:39PM (#17752951)
XML started out simple, and then caught really nasty FeatureCreep and DesignByCommittee.
Re:What the f*** is the edge? by TeMPOraL on Sunday August 12, 2018 @06:11AM (#17743749)
Extreme bloat of the format, which makes it in practice both wasteful and not human-readable.
Re:What the f*** is the edge? by foota on Sunday August 12, 2018 @06:06AM (#17743735)
For me it's about simplicity. Xml is more featureful, more difficult to write a processor for, and more difficult to write out and read by hand.
Re:What the f*** is the edge? by expertentipp on Sunday August 12, 2018 @06:07AM (#17743740)
The X in AJAX is indeed XML. Quickly appeared though that XML is too heavyweight and redundant for the browser (XML DOM!) and even for the internet speeds at that time, while JSON is as simple as JS' object literal. Web 2.0 adapting JSON formed a critical mass so that later (almost) everyone and everything went (almost) full JSON.
Re:What the f*** is the edge? by shady-lady on Sunday August 12, 2018 @07:38AM (#17743930)
> redundant for the browser (XML DOM!)

I don't quite get this part.

Both HTML & XML cater for DOM models. I think this is & was appropriate.

Browsers had support for executing XSL stylesheets because it made sense for a lot of use cases.

Re:What the f*** is the edge? by marcodave on Sunday August 12, 2018 @06:03AM (#17743725)
JSON is easier to use from Javascript
Re:What the f*** is the edge? by speedplane on Sunday August 12, 2018 @06:06AM (#17743737)
Json is less verbose than XML, easier to read.
Re:What the f*** is the edge? by wolframhempel on Sunday August 12, 2018 @04:44AM (#17743553)
> from thick client to butt back to thick client - did you build something that replaces "cloud" with "butt"?
Re:What the f*** is the edge? by jamesmunns on Sunday August 12, 2018 @04:58AM (#17743591)
Re:What the f*** is the edge? by TeMPOraL on Sunday August 12, 2018 @04:47AM (#17743561)
Ooops, forgot about that extension running on the machine I wrote that comment on.
Re:What the f*** is the edge? by abababba on Sunday August 12, 2018 @04:59AM (#17743595)
Re:What the f*** is the edge? by gregknicholson on Sunday August 12, 2018 @06:04AM (#17743730)
See? You do have meaningful control over your machine!

You are free to choose from a great number of useful and fun pre-approved apps that you love. The possibilities are limitless!

(Of course, you must choose the same apps as everyone else. You are a loyal citizen, aren't you?)

Re:What the f*** is the edge? by dskloet on Sunday August 12, 2018 @06:21AM (#17743776)
Are you the author of that extension? If not, why would you give full control over your browsing experience to a third party without any benefit?
Re:What the f*** is the edge? by andai on Sunday August 12, 2018 @06:57AM (#17743857)
There's a word replacer extension I used a few years ago to implement XKCD's entire list of suggested replacements, to my great amusement. Due to my predisposition I consider great amusement to be of tremendous benefit to my well-being.
Re:What the f*** is the edge? by jedieaston on Sunday August 12, 2018 @10:12AM (#17744433)
I love that one. I want an atomic car.