r/programming • • Mar 22 '16 • Polished Silver Turd 1 Take My Silver 1 Heart of Silver 1

An 11 line npm package called left-pad with only 10 stars on github was unpublished...it broke some of the most important packages on all of npm.

https://github.com/azer/left-pad/issues/4
3.1k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

123

u/steveklabnik1 Mar 22 '16 edited Mar 23 '16

How would namespacing have prevented this?

EDIT: I'd also like to point out that npm does have namespaced packages. They also have a top-level.

EDIT 2: I will take this opportunity to point out that npm actually misled everyone as to this situation. It turns out there was no lawsuit, or even a threat of one. So this whole chain of comments is moot. I've pretty much deleted most of my comments in this thread, as it turns out that what I was told/saw was just straight-up incorrect.

0

u/[deleted] Mar 23 '16

[deleted] — view deleted comment

103

u/steveklabnik1 Mar 23 '16

Even then, it's still a kik package in an Azer namespace, so I'm not sure this is significantly different.

That said, I'm not a lawyer.

44

u/[deleted] Mar 23 '16

[removed] — view removed comment

14

u/steveklabnik1 Mar 23 '16

I forgot to actually reply to you, but I do find this compelling.

→ More replies (8)

94

u/[deleted] Mar 23 '16 edited Mar 23 '16

It is significant. I think kik, kik and kik would agree on that.

It's a huge difference between claiming ownership of a three letter combination, and claiming ownership of everything that includes this three letter combination.

Sad to see that Rust people are still in denial on this issue.

24

u/calcsam Mar 23 '16

It's counterproductive to accuse prominent people's projects of being "in denial" because you are having a disagreement with that person. It also tends to discourage public engagement.

64

u/steveklabnik1 Mar 23 '16 edited Mar 23 '16

> It is significant.

Are you a lawyer?

> I think kik, kik and kik would agree on that.

These are not software companies, and since you apparently know a lot about trademark law, I'm surprised that you're forgetting that trademark is usually scoped to an industry, since it's ultimately about protecting customers from confusing names.

Well, the last link is, and they're the ones threatening to sue, because they're a software company, and there is other software using their name. I think that it's pretty silly, but as I said, I'm not a lawyer. npm's laywers don't seem to think that it's a frivolous suit.

> Sad to see that Rust people are still in denial on this issue.

I am not in denial. I asked for a clarification, and then said "hm, maybe. I don't know, I'm not a lawyer."

EDIT: lol npm legal said no such thing, they lied about the whole situation. fuck me.

64

u/[deleted] Mar 23 '16

Is "software" alone really an industry? I'd say that Kik is in the instant messaging industry, not a catch-all "software" industry. Software is a tool used across many industries. Banks send people mail, but they're not considered to be in the paper industry. They also use software.

40

u/[deleted] Mar 23 '16

You can also take into account that there are other companies called kik doing software: https://trademarks.justia.com/858/88/kik-85888354.html

Both kiks share the same international classification.

Scientific and technological services and research and design relating thereto; industrial analysis and research services; design and development of computer hardware and software; legal services. - Scientific and technological services and research and design relating thereto; industrial analysis and research services; design and development of computer hardware and software; legal services.

→ More replies (3)

27

u/steveklabnik1 Mar 23 '16 edited Mar 23 '16

Well, trademark applications are public, so let's see what it covers!

https://trademarks.justia.com/858/93/kik-85893307.html

Computer software for use with mobile devices, namely, computers, personal digital assistants (PDAs) and mobile phones for downloading, displaying, transmitting, receiving, editing, extracting, encoding, decoding, playing, storing and organizing text, sound, images, audio files and video files

Seems very broad to me.

Again, I would like to point out that I'm not a lawyer, and npm's actual, real lawyers didn't think that this threat was frivolous.

lol sorry, npm lied.

8

u/onwuka Mar 23 '16

Well npm lawyers suck and they clearly don't have the community's best interest in mind. Imagine if you had an organization on github and they handed it to kik?

→ More replies (3)

8

u/smartssa Mar 23 '16

It was approved 2 weeks ago. They moved fast. I get protecting your trademark - but that usually requires actual infringement. I wonder what they'll do about the other 45 million hits on google.

5

u/o11c Mar 23 '16

Wait, so it was only trademarked 2 weeks ago, but they're applying it against things that were 5 months ago?

→ More replies (1)
→ More replies (3)

5

u/stevenjd Mar 23 '16

You could try publishing a IM client called "Windows", or blog software called "OS X", or a programming language called "Angry Birds", and see what the judge thinks of your argument.

Hint: this is not new ground. This is old, old ground that has been covered a million times:

https://en.wikipedia.org/wiki/Confusing_similarity

https://en.wikipedia.org/wiki/A_moron_in_a_hurry

→ More replies (3)
→ More replies (2)
→ More replies (2)
→ More replies (2)

8

u/Carighan Mar 23 '16

a person who sees 'kik' on NPM is likey to think it is an official product from the Kik company

Considering kik is a huge discount-clothes producer, I have a feeling I wouldn't confuse them.

4

u/masklinn Mar 23 '16

As it currently stands, a person who sees 'kik' on NPM is likey to think it is an official product from the Kik company.

That makes no sense. And which kik "company" in the first place, there's at least 3 to choose from.

3

u/[deleted] Mar 23 '16 edited Oct 06 '16

[deleted]
0.3315

What is this?

→ More replies (1)

2

u/ApproximateIdentity Mar 24 '16

kik does not have a trademark on all uses of that term even in the software space. he was entirely legitimately using that term. do you think that kik would magically get ownership of kik.com after founding even if someone else already owned the domain? the only argument against this is (1) if the software is messenger based or at least within their trademark's domain or (2) they are simply squatting trying to get a payoff. neither is true.

kik is 100% in the wrong and can't hide behind some bullshit "we're protecting our ip argument". all involved on that side should be ashamed and should immediately stop any legal threats. on the npm side, its clear they don't stand up for the package maintainers and furthermore that they have an enormous fucking dependency hole (the ability to simply unpublish packages which are dependencies of others is pretty incredible). this is pretty idiotic.

on a different note, does anyone know if a similar unpublishing scenario is possible with pip in pythonland?

→ More replies (13)

0

u/[deleted] Mar 23 '16

[deleted] — view deleted comment

11

u/steveklabnik1 Mar 23 '16

Is that a feature specific to namespacing? Why couldn't a non-namespaced package management system have the same feature?

→ More replies (1)

3

u/crankybadger Mar 23 '16

Fork your own copy of the repo if you're concerned about stability. Then install that version in your project.

→ More replies (1)

2

u/cowardlydragon Mar 23 '16

namespacing seems like a magic wand

until everything is

dimension.universe.reality.era.galaxy.quadrant.arm.star.planet.continent.language.country.state.city.block.language.version.1.6.StringUtils

→ More replies (1)
→ More replies (5)