5 ms·
Too much magic if you ask me. There are often two ways you can do something. In this case: - Explicit clean markup and a deterministic GUI or - Tons of heuri
by captainmuon 5y ago
Too much magic if you ask me.
There are often two ways you can do something. In this case:
- Explicit clean markup and a deterministic GUI or
- Tons of heuristics and a magic GUI that works great most of the time but fails in ways that are hard to understand.
I feel you get this tradeoff a lot in "clever" systems. Whether it is just finding the main text on a page, blocking ads, doing search, or even self-driving cars: I often prefer the "pedestrian" approach over the "magic" approach. Even if it is a bit less powerful, it is also less surprizing.
- knorthfield 5y agoIn my opinion Safari is way too aggressive with filling usernames and passwords. Anything in any way similarly named like these it forces an autofill. And of course it overrides autocomplete="off". We definitely need an attribute that implies, "I actually know what I'm doing Safari! Please really don't autofill this."
- lloeki 5y agoConversely, there are way too many websites that (intentionally or not) prevent password managers to function, which results in these kind of heuristics being implemented by password managers in order to be generally useful.
- zwily 5y agoIf that attribute existed, security audits would again force big enterprises to enable it to break auto fill on their password fields, taking us back to square one.
- alisonkisk 5y agoSafari doesn't write the HTML, and web page authors don't write explicit clean markup, so the pedestrian approach doesn't work in the real world.
- fvold 5y agoI wonder what would happen if compilers/interpreters/lexers of various programming/scripting languages had this attitude. Why do web page authors get a pass? I mean, most web page authors today at least also do JavaScript, where a single out-of-place character can cause the whole thing to simply break. Yeah yeah, legacy and all that, but that's why we have doctypes.
- madeofpalk 5y ago> Why do web page authors get a pass? It's not that web developers get a pass, but that browsers want to add complete features that help its users. They're dealing with the reality of the long tail of websites that exist and trying to make their users happy.
- pwinnski 5y agoThe entire history of web browsers, from just about day two, demonstrates the folly of this approach. The strictest, most standards-compliant browser in the world dies a quick death, every time. The most widely-used and popular browser play fast and loose with everything. If they're powerful enough, they retroactively get their fast-and-loose playing recognized as a standard.
- lucb1e 5y agoWhat is the "pedestrian" approach to self-driving cars? You mean walking rather than driving?
- musingsole 5y agoRail or line following might be a more "pedestrian" approach to self-driving cars.
- lucb1e 5y agoAh I see, yeah, to be honest I don't get why we aren't simply doing that already. Adaptive cruise control we already have, draw one more line in the center of highway lanes, and have some warning system for 'accident up ahead, drive manually', and we could drive autonomously for any large distance without magic and without needing to have constant attention to take control when needed. This could easily have been implemented decades ago, but we didn't/don't and now we're still not at that level. So yeah, agree with the person I was replying to about the preference of non-magic there.
- captainmuon 5y agoHaha pun not intended. Yeah I mean something like cruise control + lane keeping which has a limited scope but is predictable and doesn't tempt people to move to the back seat and get killed. Or maybe virtual "rails".