@peter Yeah Brave should really change that UX. I'd hate to think how many Brave+Mastodon users will be freaked out that their instance could be running a cryptominer (which is apparently a thing that has already happened on one instance).
For anyone curious about how browser vendors think about this stuff, this talk by Mike Taylor of Mozilla is probably the best intro: https://www.youtube.com/watch?v=q2kK_wd1xzY
The fact that web developers ignored non-Chrome/non-Safari browsers and made their sites rely on webkit-prefixed APIs is precisely why Mozilla/MSFT had to reverse-engineer, implement, and then standardize those same APIs. It happened in the ActiveX era with stuff like XHR, and it's still happening today in a million tiny ways.
In Firefox it also gives a fairly annoying prompt to handle this protocol. But if you click "accept" then it's actually kind of nice, because you can click an embedded toot (e.g. on another site) and have it launch your instance. Looks like Brave isn't surfacing the actual protocol to the user, so yeah I think it's probably bad UX.
@nick Nah. JS is overused and abused, but it can still be used well. Going back to the web of the 90's would mean ceding the web's ground to proprietary native app platforms.
If you build a fast, responsive, standards-compliant website that supports all browsers and follows perf and a11y best practices, browser vendors will give you a spirited golf-clap and then go back to analyzing some horrible site that takes 30 seconds to load and uses vendor-specific API hacks
- Web perf anti-patterns are the stuff we routinely try to optimize for - Sites that break us by using proprietary/emerging APIs get priority for implementing those APIs - The worst websites in the world are often the ones we spend the most time analyzing
It seems the publishing industry has reached a point where they're so cash-strapped and so beleaguered by ad fraud, that they feel they have to run a ton of code to:
- fingerprint you - detect ad-stacking and other scams - detect how long or if the user has looked at the ad
… all of which leads to the familiar "I just loaded a news article, why is my fan spinning?"
If you're already chewing up the user's CPU to try to make money, cryptocurrency miners sorta feel like the logical conclusion.
So I checked in on an old IndexedDB benchmark of mine, and it appears that Chrome actually blocks the main thread even when you're calling IndexedDB from inside of a web worker? This is really mind-boggling behavior: https://bugs.chromium.org/p/chromium/issues/detail?id=536620#c27
Open-source software can be a huge mental burden on those who write it, but it also adds some incredible beauty and value to the world. It's a rare kind of software that tends to be an expression of someone's passion rather than the goals of some corporation or organization. Let's make sure there's more of it in the world.
To conclude this thread: please don't treat open-source maintainers as the goose who laid the golden egg. They don't owe you anything. If they tell you it's too much work to maintain some piece of functionality, either offer to maintain it yourself or support them in their decision.
After I wrote that post, I was contacted by dozens of open-source maintainers who told me I captured exactly how they felt. So hopefully it stands as a good insight for anyone trying to understand the mind of an open-source maintainer.
Being an open-source maintainer is really hard. A lot of people tend to act very entitled towards you, as if you "owe" them your time or your attention.
It's totally illogical: you put something out there for free, and now because of that, folks feel like they deserve more of it! And yet this is often the prevailing mood in OSS communities.
At the same time, you may start to believe this logic yourself, leading to "open-source guilt." This often ends in burnout.