3 ms·
> I don't see those security features or anything like them in any other platform ... except the ones that were built exactly for the purpose of being sandbox
by toyg 10y ago
> I don't see those security features or anything like them in any other platform
... except the ones that were built exactly for the purpose of being sandboxed VMs: java applets, flash, mobile apps etc. The browser might have more prompts now simply because Microsoft showed everyone how not to do it with ActiveX, but it was not designed that way.
> just about all desktop platforms don't even have the concept of "access to webcam"
That's staggering ignorance, sorry. Why do you think you have groups like "cdrom" in Linux?
No, sorry, you can try with other arguments (standards, design in the open, whatever), but security really has nothing to do with why JS got where it got or why we use it today.
> That's not web development
No, that's exactly "web development" as you understand it (i.e. building "apps"), just on previous iterations. What you do today in JS was done yesterday with plugins; but nobody could agree on a single architecture (too many salespeople influencing the process), so the community took it upon itself to standardise on the minimum common denominator (JS) no matter how bad it was -- it was the only thing browser vendors could agree on (and even then, barely). JS managed to jump on the "standard" bandwagon that HTML+CSS spearheaded, and found itself as The Blessed VM. And here we are.
> That wonderful document-oriented system still works just fine.
No, it goddamn does not, hence the rant. loads of mainstream websites simply do not work without JS anymore, even when they are simply supposed to show me some text. I have to trust umpteen third-party spynalytics websites just to read a couple of football scores.
The document-oriented system is dead and buried. We are left with the JS frankenvm.
> I get that you don't like the web
Read my top comment again -- I love the web, and that's why this involution is hurting me.
> these evolutions aren't mistakes
No, in most cases they are simply accidents of history like XMLHttpRequest.
> the web is designed to be an application platform
No, the web has mutated in an application platform. Big difference.
In a way, it's another wonderful metaphor for human nature: the evolution of web technology has been as messy, inconsistent and accidental as most human history. There is no rising sun, there is no grand plan: evolution is random and all political or religious systems are equally broken... we simply agree on the minimum set of norms necessary to avoid stabbing each other in the face, and then we call it a masterpiece of divine design that we obviously wanted all along.
Screw this, it's 2AM and tomorrow I have to work to pay a mortgage. Have fun, you silly kids.
- Klathmon 10y ago>Screw this, it's 2AM and tomorrow I have to work to pay a mortgage. Have fun, you silly kids. Sorry, my comment ended up being more aggressive than i wanted, and i apologize. But I really do want to keep having a bit of a discussion without it dissolving to insults. Clearly we both think we are right, and i'm curious where the disconnect is. >... except the ones that were built exactly for the purpose of being sandboxed VMs: java applets, flash, mobile apps etc. But most of those are gone now (or at least gone from "popular" usage, and for good reason), and while mobile apps are still around and aren't going anywhere they aren't nearly as locked down as something like a web app is. When comparing mobile apps and web apps, i'm not saying one is better than the other, just that they are different. >The browser might have more prompts now simply because Microsoft showed everyone how not to do it with ActiveX, but it was not designed that way. Then current browsers were designed with more prompts... Maybe not from version 0, but their current versions are designed to have them. >That's staggering ignorance, sorry. Why do you think you have groups like "cdrom" in Linux? Now i'm not nearly as knowledgeable about linux as i should be, but I thought those groups all had to do with file access. I've installed applications and had them access GPS hardware, cameras, microphones, and more without a single prompt on multiple linux platforms (as well as windows). Is there something i'm missing there, or were my systems just not configured correctly? >No, that's exactly "web development" as you understand it (i.e. building "apps"), just on previous iterations. But again, that's like comparing current desktop/server application development with x86 real mode applications. Yeah, that was how it was done in the past, but it's not how it's done now. I agree with the rest of that statement though, JS was pretty awful, but it's grown significantly and I wouldn't call current day JS bad by any means. It definitely has it's warts (more than many other languages, but it is extremely capable and it's becoming a language i reach for more often than not. Once people successfully started writing non-trivial server side code in JS instead of alternatives that argument kind of goes out the window IMO. >No, in most cases they are simply accidents of history like XMLHttpRequest. I wouldn't call XMLHttpRequest an accident. It was designed to allow script access to Http Requests... And then it was adopted by other browser vendors because it was great functionality. There were mistakes in web development and javascript (like automatic semicolon insertion making it's way into the standard), but things like XMLHttpRequest wasn't one of them. >No, the web has mutated in an application platform. Big difference. Regardless of the terminology that you want to use, it is an application platform, and a very capable and secure one. It's far from perfect and it is still rapidly changing, but arguing about how awful it was in the past isn't going to make anyone's lives better. Like the linked article is saying, let's try to work on making sure that things get better in the future. Personally, I really like the direction everything is heading (with only a few exceptions).