Earlier quoted context omitted.
If they receive a court order, and there is no technical way to do that, then the court is out of luck. "A court might order it in the future" is not a design constraint on your decisions today.
Sure there's a technical way to do it: you unplug the server hosting it (or more likely, your hosting provider does that for you). No court is going to shed any tears over fact this has wider consequences than if you'd been able to comply with a narrower takedown request.
I've Just Liberated My Modules
751–760 of 827 posts
Re: I've Just Liberated My Modules
#752Re: I've Just Liberated My Modules
#753Earlier quoted context omitted.
I'm curious since it strikes me as a hard problem to solve: How do you resolve having to deal with security issues with tens or hundreds of dependencies (and their dependencies)? How do you even know whether they have a security issue or a version bump is just a bug fix without digging into each one on a regular basis?
How do you know that you, as a lone developer, aren't writing insecure, unperformant, buggy code?
Does npm let you tag releases as security fixes? That would make automation to discover it possible.
Re: I've Just Liberated My Modules
#754Earlier quoted context omitted.
This combined with the cost of hosting (I remember the ruby community freaking out over rubygems costs a couple years ago) makes me think maybe we're evolving towards decentralized dependency hosting. Something like Storj where users offset hosting fees with blockchain payments when dependencies are fetched.
The go solution seems more reasonable and achievable- the host is part of the namespace. Instant decentralization.
Re: I've Just Liberated My Modules
#755Earlier quoted context omitted.
> Now people will start wondering if a module with millions of installs in the last month is still going to exist tomorrow. That's a smart thing for people to wonder when there is a very real possibility that it won't. I'm not going to applaud the author's action here, which I consider reckless, but it did bring attention to how fragile this "essential" infrastructure really is.
It's not reasonable to be skeptical of every package. When you do that you get a mess of locally stored packages that end up out of date. Should really just be a 'publish is forever' mentality
You of course need to audit and improve your local store, but you need to do that with your dependencies anyway
Re: I've Just Liberated My Modules
#756Earlier quoted context omitted.
No offense, but that code is much more difficult to understand. If your goal is to minimize the amount of lines, then you succeeded. If the goal is to produce both correct and readable code, then there's room for improvement.
> No offense, but that code is much more difficult to understand. I strongly disagree. My code has no magic initializers (the -1 in the original) and a simple linear code path, with no branching. It's very easy to read and understand. The ternary operator at the top is simply read from left to right, it's not complicated. > If your goal is to minimize the amount of lines, then you succeeded. My goal was to maximize e…
Re: I've Just Liberated My Modules
#757We're sorry for our part in creating the impression that this was anything more than a polite request to use the Kik package name for an upcoming open source project.
Re: I've Just Liberated My Modules
#758Earlier quoted context omitted.
Would simply copying something into your project as small as 17 lines make for a good compromise?
No - then you won't get updates easily and everyone reading your project would have to make sure that your copy of the module hasn't diverged from the original module before working with it, especially if it's a larger module that has full documentation and a community of people who know how to work on it.
Re: I've Just Liberated My Modules
#759Quick script to test if your project is using any of the modules he unpublished: for module in $(curl -s https://gist.githubusercontent.com/azer/db27417ee84b5f34a6ea/raw/50ab7ef26dbde2d4ea52318a3590af78b2a21162/gistfile1.txt); do grep "\"$module\"" package.json; done If any names appear you should replace them or force that specific version always (remove ~ or ^ before it). If nothing appears you're probably good.
Re: I've Just Liberated My Modules
#760Earlier quoted context omitted.
+1 also US Trademark != the whole world. NPM should have handle this better!
US trademark is what's dangerous to NPM Inc., the US company running NPM. We don't know anything about how they "handled" it before it came to this, except that they did decide against the article author. What should they have done differently? It's not good that NPM-the-piece-of-infrastructure is vulnerable to this, maybe a registry like this shouldn't be under control of a single company, but we don't know enough t…
Not given them control over his code just because it had their name on it. They could have taken it down, but they didn't, they just gave some company ownership of his module, not cool.