Live data from Hacker News

UBlock Origin 1.17.4 released

github.com

121–130 of 158 posts

Re: UBlock Origin 1.17.4 released

#121
post #25

What is a good ad blocker like this for Safari?

Safari now has excellent privacy features, so I just don’t block ads, allowing the people creating the content I consume to, you know, eat .

Oh god. Think of the advertisers everyone. If it weren’t for us accepting ads into our lives, they would look like those Yemini’s in the New York Times.[0]

Don’t use hyperbole if you want to be taken seriously.

[0] https://www.nytimes.com/interactive/2018/10/26/world/middlee...

Re: UBlock Origin 1.17.4 released

#122

Earlier quoted context omitted.

Results on mine: Benchmarking, the higher ops/sec the better. Firefox 63.0 on Windows 10 64-bit. Test 100 needles against 16 dictionaries of hostnames - Set-based x 1,443 ops/sec ±3.46% (54 runs sampled) - Regex-based x 4,093 ops/sec ±1.18% (25 runs sampled) - Trie-based (1st-gen) x 8,993 ops/sec ±1.92% (59 runs sampled) - Trie-based JS (2nd-gen) x 7,923 ops/sec ±2.81% (44 runs sampled) - Trie-based WASM (2nd-gen) x…

Benchmarking, the higher ops/sec the better. Safari 11.1.2 on OS X 10.12.6. Create dictionaries -Set-based x 1,393 ops/sec ±0.85% (60 runs sampled) -Regex-based x 1,798 ops/sec ±0.75% (61 runs sampled) -Trie-based (1st-gen) x 419 ops/sec ±1.35% (61 runs sampled) -Trie-based (2nd-gen) x 986 ops/sec ±0.77% (63 runs sampled) Done.

[deleted]

Re: UBlock Origin 1.17.4 released

#123

> The original prototype was to develop an idea I had about using jump indices in a TypedArray for quickly matching hostnames (or more generally strings)[1]. Once I had a working, un-optimized prototype, I realized I had ended up with something formally named a "trie": " rel="nofollow">https://en.wikipedia.org/wiki/Trie> , hence the name. I have no idea whether the implementation here or one resembling it has been do…

> So I heavily experimented with squeezing performance out of a JS-based trie-implementation for LZString.

Incidentally, I did write a JS/WASM version of LZ4 block encoding[1] (also used in uBO). I do wonder if it could be of interest for the LZString project.

My understanding is that the output of LZ4 compression would need to be further processed to make it JS string-friendly (for localStorage purpose).

Maybe worth exploring if even with that extra step[2], the performance gain if any is worth it?

[1] https://github.com/gorhill/lz4-wasm

[2] Encode 7 bytes into 8 valid ASCII characters?

Re: UBlock Origin 1.17.4 released

#124

UBlock Origin is more than an ad-blocker. Some usecases other than being ad-blocker 1. Hide Quora notification icon 2. Hide YouTube notification icon 3. Hide stackoverflow questions you might be interested section(right bottom section) How do you use other than ad-blocker?

Hide YouTube suggested / recommended sections both on the front page and to the right of the player. It's disturbing to see how much this changes my consumption patterns.

I'm beginning to realize that instead of using YouTube: explicitly search for video -> watch video -> read a comment or two -> close tab

YouTube has been using me: open main page -> get distracted by a video that an algorithm knows I'll be interested in -> click a couple more recommended videos -> fall down the auto-play ad revenue rabbit hole -> hour later: 'oh yeah, why did I open YouTube...?' -> perhaps search for intended video, perhaps get distracted again -> etc. etc

This trend has become synonymous with popular internet services over the past 10-20 years. These services are marketed as a way to connect with distant friends, view all the multimedia the internet has to offer, save us money, etc. when in reality the majority are leveraging large-scale data collection combined with neural nets to hijack our brains' reward systems just for the sake of greed. God bless uBlock!

Re: UBlock Origin 1.17.4 released

#125
post #112

Earlier quoted context omitted.

Do you have weird bugs with it? I like the idea but I will be worried of having random bugs time to time that are more annoying than the annoyance the list try to remove.

I've never had any issues with it. (At least that I'm aware of - I block lots of stuff by default with uMatrix, so I usually assume breakage is due to that.) In case you're worried that it'll catch incorrect elements via generic selectors or the like, the list is almost entirely site-specific selectors (see [1]). The (much smaller) list of generic selectors can be found at [2]. [1] https://github.com/yourduskquibbles…

how does one go about finding lists like these?

Re: UBlock Origin 1.17.4 released

#126

Earlier quoted context omitted.

As a smb sysadmin for a GSuite based company, I've forced it as an extension to Chrome, so whenever any employee logs into Chrome, it automatically adds it.

curious, is this your job description "smb sysadmin"? sounds awfully specific for a job.

I expect it was meant as in "small and midsized business" rather than Samba :)

Re: UBlock Origin 1.17.4 released

#127

UBlock Origin is more than an ad-blocker. Some usecases other than being ad-blocker 1. Hide Quora notification icon 2. Hide YouTube notification icon 3. Hide stackoverflow questions you might be interested section(right bottom section) How do you use other than ad-blocker?

4. Hide humongous Wikipedia donation element after having donated.

To be fair, that is an ad.

Re: UBlock Origin 1.17.4 released

#128

The first plugin I install on a freshly installed system with Firefox is uBO. After that I harden the browser by changing stuff in about:config. Chrome has never been an option for us with privacy in focus. The guys behind uBO should get some price or something.

One thing that block my migration to firefox is the zoom thing. In chrome I can zoom pages and it stick (I need bigger fonts everywhere). Can't replicate the same with safari or firefox.

Re: UBlock Origin 1.17.4 released

#129
post #112

Earlier quoted context omitted.

I've never had any issues with it. (At least that I'm aware of - I block lots of stuff by default with uMatrix, so I usually assume breakage is due to that.) In case you're worried that it'll catch incorrect elements via generic selectors or the like, the list is almost entirely site-specific selectors (see [1]). The (much smaller) list of generic selectors can be found at [2]. [1] https://github.com/yourduskquibbles…

how does one go about finding lists like these?

hmmmmm, IIRC I just found this one via DDG. This is the only third-party list I use. From a quick look-around, I just found https://filterlists.com/ though.

Re: UBlock Origin 1.17.4 released

#130
post #128

The first plugin I install on a freshly installed system with Firefox is uBO. After that I harden the browser by changing stuff in about:config. Chrome has never been an option for us with privacy in focus. The guys behind uBO should get some price or something.

One thing that block my migration to firefox is the zoom thing. In chrome I can zoom pages and it stick (I need bigger fonts everywhere). Can't replicate the same with safari or firefox.

Yeah, this is a major pain in the butt for me as well. I want to only use Safari and Firefox but they really should finally pay attention to this pretty intuitive feature.
Post reply on HN