Live data from Hacker News

uBlock Origin 1.20

github.com

221–230 of 338 posts

Re: uBlock Origin 1.20

#221
post #186
post #135

Earlier quoted context omitted.

We should also thank Firefox for having adblockers at the time when Chrome was released. Otherwise Google wouldn't have felt the need to add an adblocker extension API in the first place. Having adblocker extensions was one of the things that allowed Google to get Firefox users to switch at the time. Ever wonder why Mobile Chrome doesn't have extensions or adblockers? Because it didn't have to compete with Firefox to…

Firefox mobile on Android with uBlock origin is currently a vastly superior experience to Chrome.

Ad blocking on android really is Firefox's killer app. I'm surprised it isn't more popular just because of this.

Re: uBlock Origin 1.20

#222

Earlier quoted context omitted.

I'd argue that it's not exactly "better", but more that it just makes different tradeoffs. Using a full well-written* dependency for something not part of your "core competency" (even something seemingly trivial) is often a better choice in my opinion. That dependency will often know the "unknown unknowns" to you since their "whole purpose" is solving that one issue. In this case, and from what I can see from my VERY…

> I'd argue that it's not exactly "better", but more that it just makes different tradeoffs. Yes, it makes tradeoffs that are different, and those tradeoffs are different in that they're better . Often, not always. That's the statement in a nutshell. > Using a full well-written* dependency for something not part of your "core competency" (even something seemingly trivial) is often a better choice in my opinion. If it…

>If it's outside your core competency, you can't really judge if a dependency is well-written.

Of course you can. I can not understand the details of something like the webextensions surface area, but still can look at the polyfill and understand that it's well written, that the tests aren't useless, that the popularity isn't faked, and that the maintainer is worthy of trust.

Nothing is foolproof, but I'd be much more willing to put things that I don't fully understand into someone else's hands who claims to have a lot of experience and has a lot of support from people who do understand that thing. Especially when the alternative is to trust myself who verifiably doesn't understand the thing.

>How much time are you going to spend researching and vetting the code and the development "team" for that "seemingly trivial" dependency?

That's a really good question! For me it depends on the project. A core project which has access to a lot of PII or is an important part of our infrastructure, i'm going to spend quite a while vetting a dependency. I might see what else the author has written, I might see how they release, how long they've been in the game, how their tests look, past PRs and issues, release cadence, backwards compatibility, and more. For an extra utility that is not critical? I might spend like 15 minutes, or even less depending on what it is doing and how widespread it's usage is. Looking at the chances of me getting a malicious developer or a very broken update that I didn't test against or see is much smaller than the chances that I'll write a bug and not test it, or I'll not fully understand a domain and will add subtle bugs into it, and won't even know how to test it correctly.

>Other developers.

And that's a risk that many are willing to take quite often. You can't completely rid yourself of dependencies. You can't 100% vet all 3rd party code, and you can't run entirely on first party code. It's not possible. So you trust some things here and there, you lock down dependencies so they don't update unless you say to, you review things and limit the scope of permissions. All things you should be doing anyway. Yes, it's a tradeoff, but it's one that the vast majority of code I've written is more than safe to make, especially when the author of a library is also the author of the browser it will be running in...

>You start with one little dependency for one use-case, you end up with hundreds if not thousands of dependencies. You realistically have no capacity to deal with this in a diligent manner.

But we do! That's what dependency managers are for! I can seamlessly replace dependencies, even several layers deep. I can scan and get diffs on changes, I can easily audit the dependency tree to determine if known vulnerabilities are found and either remove the library or update it. Again, it won't work in 100% of cases, but you aren't going to write 100% correct code yourself either.

>One could argue that by using "modern Javascript" with its pathological reliance on micro-dependencies, one has already given up control to the hive of random developers anyway, so one more dependency wouldn't hurt. I probably would agree with that.

Using 3rd party dependencies is a far cry from "giving up control to the hive of random developers". Just like how you using a browser to post this comment which relies on a compiler which uses tools written in python which relies on a python interpreter which itself relies on another compiler which relies on OS libraries which rely on more and more and more isn't trusting the "hive of random developers" either. There are checks, there are audits, there are tools to manage that at just about every step. Javascript has them as well.

There's being careful, and there's being paranoid. Sometimes paranoid is needed, and I do actually agree with a lot of your arguments if they apply (For the love of god don't use one-line dependencies, don't use dependencies written by an author with an agenda who has shown themselves willing to delete/maliciously-break packages, don't just add dependencies without any review or oversight or testing), AND I do agree that the JS ecosystem takes it a bit far (although I'm not fully on-board with if it's a bad thing entirely yet), but don't just throw out statements like "a little copying is better than a little dependency". That's how you get dogmatism which just swings the pendulum in the other direction and we end up with unmaintainable statically-compiled messes with vulnerabilities that can't be found and patched on any realistic timeframes.

Re: uBlock Origin 1.20

#223
post #186

Earlier quoted context omitted.

Firefox mobile on Android with uBlock origin is currently a vastly superior experience to Chrome.

Ad blocking on android really is Firefox's killer app. I'm surprised it isn't more popular just because of this.

I think a lot of people don't realise it's there. Isn't Chrome installed by default on most devices?

Re: uBlock Origin 1.20

#224

Earlier quoted context omitted.

You can always do a direct ad deal if it's the right niche. Better privacy for your users and it's impossible to block.

> [...] and it's impossible to block. That's not entirely true. Troy Hunt had (and still has) that[1], and his banner got added to EasyList none the less. [1]: https://www.troyhunt.com/ad-blockers-are-part-of-the-problem...

He keeps calling this a false positive. It's not. Easylist is a list of ads. That is an ad. The ad is listed on the list of ads. He seems baffled by the idea that someone could be against the concept of advertising in general.

Re: uBlock Origin 1.20

#225

It's crazy how good uBlock is and everything it blocks. What happens if more of the Internet learns about this extension? Subscriptions for all sites? Some other business model?

It already happened in a way. uBlock Origin is the the version maintained by its founder that stays in line with the original vision.

https://news.ycombinator.com/item?id=14335190

Re: uBlock Origin 1.20

#226
post #186
post #135

Earlier quoted context omitted.

We should also thank Firefox for having adblockers at the time when Chrome was released. Otherwise Google wouldn't have felt the need to add an adblocker extension API in the first place. Having adblocker extensions was one of the things that allowed Google to get Firefox users to switch at the time. Ever wonder why Mobile Chrome doesn't have extensions or adblockers? Because it didn't have to compete with Firefox to…

Firefox mobile on Android with uBlock origin is currently a vastly superior experience to Chrome.

I really want to switch for this reason, but I've naively come to rely on Chrome's saved passwords feature. What I really need is a tool to migrate my saved passwords from Google to Firefox or some other service.

Re: uBlock Origin 1.20

#227
post #186

Earlier quoted context omitted.

Firefox mobile on Android with uBlock origin is currently a vastly superior experience to Chrome.

Ad blocking on android really is Firefox's killer app. I'm surprised it isn't more popular just because of this.

Average Joe users don't know about it. Mozilla never advertised the 'no ads on mobile' feature at all.

Re: uBlock Origin 1.20

#228
post #155

Earlier quoted context omitted.

I always thought a good answer to this was "well I'd think about copying a car if I could..." How sweet would that be? Friend gets a car, I make a copy of it at zero cost! I guess the standard answer to that would be "but you're depriving the manufacturer of money to cover the costs of providing the car in the first place" Which is reasonable, but I'd have to question their business model if their manufacturing costs…

Nah, the standard answer isn't reasonable. They're depriving themselves of that money by choosing a business model that matches neither the customer needs nor physical reality. In hopes it'll one day turn into a catchphrase: no one is entitled to have a particular business model working for them forever.

In fairness I'd give them that much. There is a quid pro quo between me having a need, and a business providing that need. If it's not commercially viable for a business to then perhaps my need may go unfulfilled.

What irks me is that such a gracious outlook leaves me open to being gouged by profiteers.

So copying it is!

Re: uBlock Origin 1.20

#229
post #186

Earlier quoted context omitted.

Firefox mobile on Android with uBlock origin is currently a vastly superior experience to Chrome.

I really want to switch for this reason, but I've naively come to rely on Chrome's saved passwords feature. What I really need is a tool to migrate my saved passwords from Google to Firefox or some other service.

https://www.mozilla.org/en-US/firefox/switch/

Re: uBlock Origin 1.20

#230
post #186

Earlier quoted context omitted.

Firefox mobile on Android with uBlock origin is currently a vastly superior experience to Chrome.

I really want to switch for this reason, but I've naively come to rely on Chrome's saved passwords feature. What I really need is a tool to migrate my saved passwords from Google to Firefox or some other service.

You can easily migrate to any of the browser independent password managers: 1Password, BitWarden, LastPass, etc.
Post reply on HN