Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been using uMatrix for ages and it was baffling to me how some websites that are literally just nice looking blogs have an unreal number (i.e. 500+) of external dependencies.


I love uMatrix but it can be a serious hassle to get an embedded video to play sometimes. Sometimes I'll allow scripts from the embedding site and suddenly there are dozens or hundreds of new dependencies popping up and not my video. At this point I really have to ask myself if it is worth it. Maybe if I'm lucky its a YouTube video and I can track it down on YouTube's site, but if not it's going to be a big headache and a lot of reloads before the stupid thing plays.


I just got in the habit of turning it off, when I'm either too lazy to bother, or I'm on a site I'll probably never visit again. sites that are already setup ofc generally stay that way.

The big headache is when you have a site half-setup -- its correct for all of your usage, and then you try something new and you get a video that doesn't load, and you sit there waiting until you realize umatrix probably found something new


Same problem here (not using uMatrix but something similar being NoScript) => I'm now constantly using 2 browsers, Firefox with NoScript as a base, then temporarily switching to Chrome to access the sites which are demanding in terms of dependencies as you described.



I notice there's an isEven as well. I wonder if they're mutually recursive.


there is also is-odd-even which uses both as dependencies, so it appears they're not

https://www.npmjs.com/package/is-odd-or-even


The commit history is surprisingly long. The actual test evolved from

  return !!(~~i >> 0 & 1)
to

  return !!(~~i & 1);
to

  const n = Math.abs(value);
  return (n % 2) === 1;


This is a joke, right?


the joke is that is-odd has a dependency - the is-number package


Look at how often it was downloaded last week alone: https://www.npmjs.com/package/is-odd

We're all doomed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: