News for hackers. Stuff that matters.
Re:NPM Is Joining GitHub by K0nserv on Monday March 16, 2020 @01:09PM (#22594661)
This seems like a good outcome overall. NPM being such an important pillar in the software supply chain while having an unviable business model and largely being funded by VC money was never a good position to be in. There are problems with more of the software ecosystem consolidating with a single entity but it still feels like an improvement.
Re:NPM Is Joining GitHub by mbesto on Monday March 16, 2020 @03:33PM (#22596622)
> NPM being such an important pillar in the software supply chain while having an unviable business model and largely being funded by VC money was never a good position to be in.

Why does NPM need to be funded as a commercial entity at all? What other open source library has a private company running its package manager? This one still boggles my mind.

Re:NPM Is Joining GitHub by timrod on Monday March 16, 2020 @04:00PM (#22596928)
For programming languages, there are several examples of commercially run package managers:

    - the Java/Kotlin/Scala ecosystem is based around maven central, which is run by Sonatype, Inc.
    - Go modules are hosted by Google. Previously, most libraries were hosted on Github
    - Rust's crate index is on Github
    - The Docker/Moby registry is run by Docker, Inc. (though that might be a stretch for "package manager" :))
Re:NPM Is Joining GitHub by kibwen on Monday March 16, 2020 @07:16PM (#22599333)
> Rust's crate index is on Github

Note that the crates.io index is just a single git repo that holds JSON metadata about each crate: https://github.com/rust-lang/crates.io-index . The actual code found on crates.io is hosted on S3. The index is an important part of the system, but there's nothing tying it to Github specifically.

Re:NPM Is Joining GitHub by avolcano on Monday March 16, 2020 @07:50PM (#22599642)
Who's funding the S3 bill? Took a peek around crates.io but didn't see anything about it.
Re:NPM Is Joining GitHub by sondr3 on Monday March 16, 2020 @08:02PM (#22599762)
Re:NPM Is Joining GitHub by avolcano on Monday March 16, 2020 @09:29PM (#22600517)
Ah, neat! Works out well for them; I assume it's relatively cheap to just serve an S3 bucket on their CDN (though I guess bandwidth costs may rise rather dramatically if Rust ever reaches Node levels of popularity), while not taking on any other operational expenses of actually running a registry.
Re:NPM Is Joining GitHub by cloudboy1 on Monday March 16, 2020 @11:56PM (#22601497)
CDN bandwidth by nature of the reach of Cloudfront will mostly be offload onto the local peering fabrics. It basically costs nothing in per mbit billing - e.g. linx https://www.linx.net/wp-content/uploads/2017/10/Fees_Schedul.... 100gb hand. That's not to say there aren't other major costs in running a resilent edge network which go someway to justify 0.0Y/GB pricing where Y varies from 1-9 depending on location for non sponsored projects. tl;dr - it won't ever be a problem
Re:NPM Is Joining GitHub by notRobot on Monday March 16, 2020 @06:31PM (#22598835)
Please don't use code blocks for regular text and quotes. Really hard to read on mobile and narrow viewports.
Re:NPM Is Joining GitHub by zeeboo on Monday March 16, 2020 @04:07PM (#22597013)
Technically the Go module _proxy_ is hosted by Google. Even if the proxy went away, you'd still be able to get access to all of the packages as they're still hosted elsewhere. It just wouldn't be as fast.
Re:NPM Is Joining GitHub by bad_user on Monday March 16, 2020 @04:13PM (#22597093)
Maven Central has mirrors and alternatives and you can trivially host your own repository, all you'd need is a plain web server serving a bunch of static files.

Some libraries aren't hosted on Maven Central actually, so it's not uncommon to see instructions for adding extra resolvers to your build config.

The Java ecosystem isn't as dependent on Maven Central as the JavaScript ecosystem is on npmjs.com

Re:NPM Is Joining GitHub by brunoborges on Monday March 16, 2020 @05:16PM (#22597940)
Almost every library out there is on Maven Central. Even Oracle JDBC drivers are now (finally) on Maven Central.

If MC goes away as it exists today, the Java Ecosystem will take a huge hit as almost every open source project would stop building in CICD environments from the get-go.

Re:NPM Is Joining GitHub by thu2111 on Monday March 16, 2020 @05:42PM (#22598236)
If it vanished instantly then yes, but a huge number of packages on Central are mirrors from jcenter. There are not only theoretical competitors to Maven Central but an actual widely used one (jcenter/bintray), which is easier to use anyway. There's also jitpack too. So people could migrate pretty quickly to alternatives.
Re:NPM Is Joining GitHub by sverhagen on Tuesday March 17, 2020 @12:32AM (#22601700)
You're not technically wrong, but I bet that 90% of the projects or at least the examples have some sort of intentional or unintentional reliance on Maven Central, that would break the build if it weren't there. Even a lot of companies that set up internal repositories don't realize that they hit still are gonna hit Maven Central initially, before everything is bootstrapped, depending on how things are configured. It would reflect just really poorly on the Maven ecosystem (or any ecosystem alike, I have to assume, but know less about) if the canonical repository would just... "poof".
Re:NPM Is Joining GitHub by thu2111 on Tuesday March 17, 2020 @05:25AM (#22603154)
It's actually really common in the JVM ecosystem to run private mirrors of Central.
Re:NPM Is Joining GitHub by monadic2 on Monday March 16, 2020 @06:10PM (#22598596)
I wasn’t aware that I was a commercial entity because I use github!
Re:NPM Is Joining GitHub by iterator5 on Monday March 16, 2020 @06:26PM (#22598769)
I think the point is that you are using a commercial entity to host your code. There is a bill for the code you have hosted, and you aren't the one paying for it.
Re:NPM Is Joining GitHub by monadic2 on Tuesday March 17, 2020 @11:35AM (#22605864)
If that was the point why did they write “commercially run”? That is explicitly about management, not hosting or single points of failure.
Re:NPM Is Joining GitHub by dmix on Monday March 16, 2020 @06:29PM (#22598801)
It's never a problem until it is all at once and you realize they hold all the keys.
Re:NPM Is Joining GitHub by steveklabnik on Monday March 16, 2020 @08:08PM (#22599816)
crates.io is not a commercial enterprise.
Re:NPM Is Joining GitHub by greggman3 on Monday March 16, 2020 @05:57PM (#22598427)
Confused why you think a service servings millions or billions of requests a day wouldn't require money to run. Do you think some grant magically appear out of thin air to pay for the servers, storage, bandwidth, and maintenance?
Re:NPM Is Joining GitHub by deckard1 on Monday March 16, 2020 @07:09PM (#22599263)
We've been doing fine here in reality, where most Linux distros, Perl's CPAN, Python's PyPi, RubyGems, etc. are all run by volunteers and donations. There is nothing special about NPM that requires it to be owned by a for-profit corporation. If Wikipedia and Archive.org can get by, I'm sure NPM can too.
Re:NPM Is Joining GitHub by ivanbakel on Monday March 16, 2020 @06:31PM (#22598832)
Big leap from "servers cost money" to "a package manager requires a commercial entity". How are other language ecosystems and package managers operating, many without private companies attached, when they too are serving millions of requests a day?
Re:NPM Is Joining GitHub by yawaramin on Monday March 16, 2020 @07:48PM (#22599621)
Well the big ones are hosted by commercial enterprises, and the smaller ones don't have the scale of JavaScript so they don't require that level of support.
Re:NPM Is Joining GitHub by fastball on Monday March 16, 2020 @08:03PM (#22599764)
Which package manager has the scale of JS and isn't hosted by a commercial entity?
Re:NPM Is Joining GitHub by shakna on Monday March 16, 2020 @09:55PM (#22600665)
apt, pacman, pip, and others. You can have large scale systems that aren't dependent on a commercial entity.
Re:NPM Is Joining GitHub by fastball on Tuesday March 17, 2020 @05:08PM (#22610446)
I mean, the scale of pacman is miniscule compared to NPM. PyPI is hosted by AWS and Google.

Not sure how APT works in the linux community can really work for anyone else, but definitely worth a shot for sure.

Re:NPM Is Joining GitHub by hobofan on Monday March 16, 2020 @06:32PM (#22598847)
Almost any other package repository is funded by donations from companies using them or a grant from an infrastructure provider.
Re:NPM Is Joining GitHub by nl on Tuesday March 17, 2020 @12:26AM (#22601665)
PyPy runs on donated infrastructure that costs over 800K/month in hosting costs[1].

Not many non-commercial entities can afford that.

[1] https://twitter.com/dstufft/status/1236331765846990848

Re:NPM Is Joining GitHub by hnra on Tuesday March 17, 2020 @03:27AM (#22602573)
PyPI, not PyPy. For those confused over how PyPy could cost that much.
Re:NPM Is Joining GitHub by antonvs on Wednesday March 18, 2020 @08:31PM (#22623047)
Compiling Python code isn't easy!
Re:NPM Is Joining GitHub by nl on Tuesday March 17, 2020 @03:41AM (#22602640)
Yes you are correct of course - my mistyping!
Re:NPM Is Joining GitHub by chatmasta on Tuesday March 17, 2020 @09:15AM (#22604567)
Looks like they’re paying for bandwidth, aka “cloud pricing.” They could probably reduce those numbers significantly, but if it’s funded by a grant why bother?
Re:NPM Is Joining GitHub by jefurii on Tuesday March 17, 2020 @01:34PM (#22607551)
Good reminder to use pip cache.
Re:NPM Is Joining GitHub by fierarul on Monday March 16, 2020 @03:54PM (#22596875)
Maven Central is no hosted by Apache for example.
Re:NPM Is Joining GitHub by dcposch on Monday March 16, 2020 @09:20PM (#22600446)
I'd really love to teleport some forum nerd from just six years ago to the present.

- Microsoft is a leading sponsor of open source?

- In fact, .NET is open source now and runs on Linux?

- Microsoft bought Github, then NPM... and the community is celebrating both of those things??

- The guy from the apprentice is what?

Re:NPM Is Joining GitHub by Conan_Kudo on Tuesday March 17, 2020 @07:25AM (#22603783)
> Microsoft bought Github, then NPM... and the community is celebrating both of those things??

I don't think you could honestly say the community celebrated both of those things.

Re:NPM Is Joining GitHub by sneak on Monday March 16, 2020 @02:03PM (#22595424)
I do not consider the largest distributor of proprietary, closed-source spyware (Windows) owning the fastest growing open source package manager to be a good outcome, personally.
Re:NPM Is Joining GitHub by K0nserv on Monday March 16, 2020 @02:43PM (#22595954)
It depends on what the alternative is. When NPM starts running out of money to run the service what would happen? More VC, but only to a point and the firms would be increasingly be influencing NPM to make money by any means(probably not good for anyone but the firms). Alternatively a cash strapped NPM fails to invest in security and availability of the service leading to widespread outages or worse a large scale supply chain attack facilitated via the registry.
Re:NPM Is Joining GitHub by mbesto on Monday March 16, 2020 @03:36PM (#22596662)
> It depends on what the alternative is.

Ruby Gems, PHP composer, PIP, etc. would all like a word with you....

https://rubygems.org/pages/sponsors

https://www.python.org/psf/

Re:NPM Is Joining GitHub by sverhagen on Tuesday March 17, 2020 @12:42AM (#22601740)
Isn't it more that NPM specifically has had a bumpy ride, and people are seeing this acquisition as a sign of better times to come, and it not being a value judgment of other open source initiatives.
Re:NPM Is Joining GitHub by rodgerd on Monday March 16, 2020 @04:40PM (#22597437)
Yeah, and the PSF is worried that the possible cancellation of PyCon could send the whole foundation broke.

The fact that there's a bunch of critical infra run on a precarious volunteer shoestring is not a good thing.

Re:NPM Is Joining GitHub by deckard1 on Monday March 16, 2020 @07:19PM (#22599367)
Maybe look in your node_modules folder sometime, eh? Or the Linux kernel. The whole world runs their critical infrastructure on volunteer work.
Re:NPM Is Joining GitHub by rodgerd on Monday March 16, 2020 @08:18PM (#22599912)
You haven't bothered looking at the contributers to Linux since 1997, I take it.
Re:NPM Is Joining GitHub by mekster on Monday March 16, 2020 @09:21PM (#22600454)
Hmm, not everyone is a volunteer...
Re:NPM Is Joining GitHub by K0nserv on Monday March 16, 2020 @04:11PM (#22597068)
That's a path but NPM already being a company with signficant VC investment would a transition to such a model workout with the existing stakeholders? Also NPM is quite a bit bigger than both the Ruby and Python library spaces.
Re:NPM Is Joining GitHub by nerdwaller on Tuesday March 17, 2020 @01:15AM (#22601928)
> Also NPM is quite a bit bigger than both the Ruby and Python library spaces.

I don’t know, so I have to ask, what’s the metric here?

Re:NPM Is Joining GitHub by sah2ed on Tuesday March 17, 2020 @03:34AM (#22602610)
Perhaps because Node code bases when deployed cause the package manager (npm) to consume more bandwidth in general than comparable Ruby or Python code bases due to higher dependence on third-party packages?

As at Oct. 2018, the top 12 npm packages [1] were already doing more than 0.5 billion downloads a month. Granted, popularity has waned for a few of those top packages due to deprecation or new language features, for instance.

EDIT:

NPM’s announcement about the acquisition [2] provides up-to-date numbers:

“Today, npm serves over 1.3 million packages to roughly 12 million developers, who download these things 75 billion times a month ...”

1: https://news.ycombinator.com/item?id=18343604

2: http://blog.npmjs.org/post/612764866888007680/next-phase-mon...

Re:NPM Is Joining GitHub by nerdwaller on Tuesday March 17, 2020 @06:00PM (#22610964)
You're probably right with all the one-off and fairly small dependencies in the npm ecosystem. Seeing those numbers would be pretty neat to compare side-by-side.
Re:NPM Is Joining GitHub by mulmen on Monday March 16, 2020 @03:21PM (#22596472)
This is sad to read. Why does every project have to be profitable? If NPM is useful users (companies and people) can invest time or cash to support the operations and continued development. This foundation model has been successful across open source and prevents one company from changing the direction of a project to fit their own needs at the expense of everyone else. I think this was critical to the continued growth of open source software over the last two decades. If this trend of selling out to massive corporations continues it will be a major step backwards.
Re:NPM Is Joining GitHub by K0nserv on Monday March 16, 2020 @04:16PM (#22597132)
To be clear that's not what I am arguing here, I agree that package registries should, ideally, be owned and supported by the community. However NPM already had fairly significnat VC investment and as such any transition to a community supported model would be challenging.

The acquisition can be a good outcome for the current situation without it being the ideal state of things.

Re:NPM Is Joining GitHub by nine_k on Monday March 16, 2020 @07:09PM (#22599260)
Profitable of not, they should not run out of money.

Would yo prefer npm infrastructure to be maintained and developed by the lowest-paid programmers they could hire?

Re:NPM Is Joining GitHub by teknopaul on Monday March 16, 2020 @07:34PM (#22599516)
Imhi Npm is two things a cli tool, and a central repo that tries to be the one and only js repo: to make money from that position. Their infra costs them money only because that was their angle for selling out.

Linux repos take the alternative approach to try to get as many mirrors as possible so it can remain free.

Microsoft did not buy npm to help it become free. Believe. They bought it because they rekon they can make buck out of it.

That buck comes from somewhere.

Nodejs going to the Linux foundation was good news.

Microsoft buying Npm is bad news.

Re:NPM Is Joining GitHub by wongarsu on Monday March 16, 2020 @03:37PM (#22596673)
Why would NPM run out of money? NPM is the primary vendor for worry-free distribution and management of private JavaScript packages for $7/month/user. In a time where bandwidth is basically free (outside AWS/Azure/GCP) that should surely pay for server costs and a handful of developers.

It probably isn't going to 20x VC money, but it sounds like it would be profitable to run as a business.

Re:NPM Is Joining GitHub by teknopaul on Monday March 16, 2020 @07:48PM (#22599620)
Agreed. It was profitable before, (no indication they sold at a loss), it will probably be profitable after for MS.

"2fa" sounds bad. That is clearly marketing bs for linking your npm account to a MS account with more personal info attached.

Ease of publishing will be the first thing to go.

Then the fun will disappear with MS as owner, like when Oracle bought Java.

Happy to be a rustacean.

Re:NPM Is Joining GitHub by oaiey on Tuesday March 17, 2020 @01:47AM (#22602095)
Regards 2FA/Login: Except that Microsoft has not done this with GitHub. And NPM is joining GitHub not Microsoft. You will see non login vanishing in favor of GitHub Login for sure. And the second factor, see what GitHub offers. For me that is currently a OTP generator
Re:NPM Is Joining GitHub by teknopaul on Tuesday March 17, 2020 @05:38AM (#22603218)
Gihub already had a masssive social graph. They know who you are in terms of who you work for and who your CTO is. Npm does not know that about me. It has no sales channel.
Re:NPM Is Joining GitHub by oaiey on Tuesday March 17, 2020 @12:50PM (#22606913)
GitHub is owned by the same entity that owns LinkedIn. Microsoft has really no problems cross linking persons. They can also easily link the source code between the systems etc (if they want).
Re:NPM Is Joining GitHub by teknopaul on Tuesday March 17, 2020 @07:16PM (#22611705)
And they will, to the extent possible by law.

And they will ask you, under the guise of 2fa, to confirm thier suspicions.

And $7 a month gets plently of new upgrade options offered.

All talk of mirrors gets brushed under the carpet.

Microsoft pwn all nodejs code except core and those savvy enough to spot this coming and distribute via debian repos.

Re:NPM Is Joining GitHub by teknopaul on Tuesday March 17, 2020 @05:40AM (#22603228)
I hope they dont use that Microsoft Authenticator app. That has never worked for me, never once got me logged in, and has locked me out of Teams on a couple occasions.
Re:NPM Is Joining GitHub by oaiey on Tuesday March 17, 2020 @12:48PM (#22606888)
To my understanding you can use any app supporting the common standard there.
Re:NPM Is Joining GitHub by sneak on Monday March 16, 2020 @07:07PM (#22599234)
The alternative is that the entire source control system (GitHub) and the entire artifact registry (npm) are run by a giant multinational military defense contractor with close and longstanding ties to the US military. Did we forget so soon that the Snowden slides are PowerPoint?

I'm not sure that's an improvement in any way whatsoever.

Re:NPM Is Joining GitHub by jki275 on Tuesday March 17, 2020 @06:53AM (#22603638)
The military is a MS customer, just like nearly everyone else on the planet. Calling them a “defense contractor” is a very long stretch.
Re:NPM Is Joining GitHub by teknopaul on Tuesday March 17, 2020 @07:18PM (#22611713)
No its not.
Re:NPM Is Joining GitHub by jki275 on Tuesday March 17, 2020 @08:52PM (#22612453)
Boeing is a defense contractor. Northrup is a defense contractor.

MS? Not even a chance. What percent do you think of their business is actually government, beyond buying licenses just like nearly every other corporation on the planet.

Re:NPM Is Joining GitHub by oaiey on Tuesday March 17, 2020 @01:49AM (#22602104)
No US company is better in that regard. I prefer one with an army of lawyers. Damn, should have gone to Oracle. That is a joke. A joke!!!
Re:NPM Is Joining GitHub by crummy on Tuesday March 17, 2020 @01:58AM (#22602150)
> Did we forget so soon that the Snowden slides are PowerPoint?

what does that mean? That Microsoft works for the NSA or something?

Re:NPM Is Joining GitHub by sneak on Tuesday March 17, 2020 @06:24AM (#22603505)
Microsoft does indeed work for and with the NSA. As an ASP they participate in the warrantless PRISM bulk collection program (they were the first!), and they also provide software and services (support) as a direct vendor.
Re:NPM Is Joining GitHub by AkshatM on Monday March 16, 2020 @07:29PM (#22599477)
Change my mind: package management infrastructure run by government as a public service should be the ideal end outcome for everyone.

Why I think this: private or volunteer models are unsustainable in the long run owing to funding uncertainties or conflicts of interest between stakeholders. Utilities that support the bulk of our technical infrastructure should be secured by public interests. Governments can keep things free.

Common objections:

- "Governments are inefficient". Depends on the area. The government tends to be inefficient in handling areas with direct consumer benefit, but less so in dealing with consortiums or private entities. Since private entities are the primary mainstream users of packages, I don't think government will be too slow on this front.

- "Governments will be malicious". This I don't doubt, but the solution for that is building better trust mechanisms rather than keeping a practical solution at bay, and for software at least such trust mechanisms are tenable e.g. see the CNCF's Falcon project.

Re:NPM Is Joining GitHub by teknopaul on Monday March 16, 2020 @07:59PM (#22599729)
I like Linux's decentralized approach.

That would work for Npm. Npm has enough problems that its worth running your own mirror for business continuity.

Microsoft are likely to make breaking changes immediatly.

Re:NPM Is Joining GitHub by halkcyon on Monday March 23, 2020 @11:46AM (#22665138)
> That would work for Npm. Npm has enough problems that its worth running your own mirror for business continuity.

And risk-averse businesses do already.

Re:NPM Is Joining GitHub by Supermancho on Monday March 16, 2020 @02:07PM (#22595476)
You aren't the only one. Most users are too young to understand how predatory Microsoft has always been. Can't wait for the "npm won't publish my package because it circumvents something in Windows" or whatever. Give it time.
Re:NPM Is Joining GitHub by allover on Monday March 16, 2020 @02:11PM (#22595536)
Tbf Microsoft have won back a lot of good faith with developers due to projects like VS Code and TypeScript, even for those of us who remember their past.

And we're yet to hear of any negative impact of their Github acquisition (afaik - correct me if wrong).

Re:NPM Is Joining GitHub by mbesto on Monday March 16, 2020 @03:37PM (#22596684)
> Tbf Microsoft have won back a lot of good faith with developers due to projects like VS Code and TypeScript, even for those of us who remember their past.

Those are great until they're not. It's why it's called "bait and switch".

> And we're yet to hear of any negative impact of their Github acquisition (afaik - correct me if wrong).

ANY?! Heh, do a quick search just on HN and you'll find it pretty quickly.

Re:NPM Is Joining GitHub by michaelmior on Monday March 16, 2020 @05:21PM (#22598007)
I did search, didn't find it quickly. Could you share some sources of the negative impact? (I'm legitimately curious as my use of GitHub hasn't led me to notice any change.)
Re:NPM Is Joining GitHub by mbesto on Monday March 16, 2020 @07:52PM (#22599659)
I found two pretty damn quickly. They're 3 of the top 5 most upvoted comments on the announcement thread...

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

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

> I'm legitimately curious as my use of GitHub hasn't led me to notice any change

Nor I. That's not that point.

For the record, I think Microsoft has done wonderfully for the dev community in the last 10 years. I don't see any reason that they are going to "f it up", but big businesses get desperate when environments change and profits get impacted (look no further than what Oracle is doing). Microsoft is not immune to that.

Re:NPM Is Joining GitHub by IAmEveryone on Monday March 16, 2020 @08:43PM (#22600156)
The complaints are "I think it really impacts the neutrality of github" and "I hope they don't discontinue Atom or apply their UX styling to the site/desktop app", respectively. Those don't strike me as particularly specific and/or nightmarish.
Re:NPM Is Joining GitHub by abdulmuhaimin on Monday March 16, 2020 @11:20PM (#22601291)
concern of negative impact =/= negative impact. Great job twisting the truth. Im not gonna be surprised if you say you're a journalist.
Re:NPM Is Joining GitHub by michaelmior on Monday March 16, 2020 @09:12PM (#22600380)
Neither of those show negative impact but people worried about potential future negative impact.
Re:NPM Is Joining GitHub by allover on Monday March 16, 2020 @06:50PM (#22599056)
I know what 'bait and switch' means, just like I also know what FUD means.

Next you'll call them Micro$oft. Come on now.

Re:NPM Is Joining GitHub by mbesto on Monday March 16, 2020 @07:47PM (#22599614)
Are you aware of what Oracle is doing to its customers right now?
Re:NPM Is Joining GitHub by nickflood on Monday March 16, 2020 @11:10PM (#22601233)
Come on, Oracle was always predatory. You always knew exactly what would happen to anything they acquire.
Re:NPM Is Joining GitHub by eyelidlessness on Monday March 16, 2020 @07:32PM (#22599501)
Oh this takes me back to when Internet Exploder was the most popular browser
Re:NPM Is Joining GitHub by DarkmSparks on Tuesday March 17, 2020 @02:25AM (#22602290)
Nothing will come from those idiots spreading fud calling it micro$oft and using npm...

If it does micro$oft will just buy the world out from under them.

Re:NPM Is Joining GitHub by judge2020 on Monday March 16, 2020 @02:27PM (#22595719)
Before someone else comes along and writes a monologue, the biggest downside might be how it handled (didn't break) its contract with ICE[0]. If the acquisition didn't happen, old GitHub might've dropped the contract immediately upon enough employees speaking about it.

0: https://news.ycombinator.com/item?id=21412600

Re:NPM Is Joining GitHub by manigandham on Monday March 16, 2020 @05:39PM (#22598191)
That's a subjective political opinion of a far-left vocal minority. Not everyone has an issue with ICE (a federal law-enforcement agency that stops criminals and saves lives) nor finds a problem with a company legally providing services to the government.
Re:NPM Is Joining GitHub by sneak on Tuesday March 17, 2020 @12:07AM (#22601548)
The fact that ICE has built concentration camps (as verified by scholars who study concentration camps) is a fact, not a subjective or political opinion. The fact that there are children in these camps, many being raped, some being tortured, is also a documented fact, not a subjective opinion.

These are well-documented facts that have been widely reported on in the mass media. You can find links to specific articles on my blog in the recent article about Microsoft and GitHub, if you wish to learn specifics.

The kids are in there right now, as I write to you.

Whether or not Microsoft's provisioning of services to the government is "legal" or not is not particularly relevant to the thread, but it is interesting that you bring it up, presumably as a defense of their behavior.

Again: This is not a partisan thing. At all. Your attempt to reduce it to such is inaccurate (and, tbqf, off-topic for the thread about Microsoft-the-corporation, as well as off-topic for HN).

https://galaxypress.com/inspired-philip-k-dick/

Re:NPM Is Joining GitHub by manigandham on Tuesday March 17, 2020 @12:43AM (#22601745)
Concentration camps are for political prisoners. These are not the same. And there are US citizens and children in jails and juvenile detention too, which is what happens when crimes are committed.

I'm a naturalized immigrant. I've been in far worse places than America. I suggest you visit CBP and ICE. Talk to the agents. Visit the border. See the shelters. View the damage done by criminals who prey on these people and find out how much the agents do to help them while risking their lives fighting cartels and traffickers.

Like I said, America is far softer with borders than other nations. Crossing illegally brings enforcement and penalties. I'm not sure why this is so controversial, or why protest against govt organizations is done by proxy of software companies.

Re:NPM Is Joining GitHub by Dahoon on Monday March 16, 2020 @07:24PM (#22599423)
>That's a subjective political opinion of a far-left vocal minority

What you are talking about is Right-wing politics, even if they are extremely far to the left of your -and the majority of peoples political view -in the USA. Both parties in the US are on the right. This isn't Reddit where the state of US politics is the default norm when it differs from most of planet earth. Though HN is quickly getting there.

Re:NPM Is Joining GitHub by manigandham on Monday March 16, 2020 @07:39PM (#22599560)
Open/loose borders is far left policy everywhere. Most countries are far stricter with borders than the US.
Re:NPM Is Joining GitHub by IAmEveryone on Monday March 16, 2020 @09:00PM (#22600300)
ICE doesn't protect the border, that's United States Customs and Border Protection (CBP).

ICE are the goons operating everywhere (i. e. not tied to the border) rounding up "suspected illegal immigrants".

Because it isn't exactly hard to find illegal immigrants, and their charter allows them to control people without objective cause, ICE gets to arbitrarily decide whom to harass.

It's the real-life version of the perennial fear of civil libertarians that too many criminal laws will just lead to any one of us being arrested whenever it happens to be convenient for whoever is currently in power.

It isn't going to end illegal immigration, nor curtail it to any significant degree. It just serves to keep a large segment of the people who see every day in a constant state of fear, unable to (for example) seek protection from crime or exploitation for fear of being deported.

Re:NPM Is Joining GitHub by manigandham on Monday March 16, 2020 @09:04PM (#22600332)
ICE is the enforcement arm for immigration, which handles people who cross the border. Obviously if there's a strong border then there's no problem in the first place.

As for the rest of your comment, this is the far-left extremist position that I cited in my first post. There's no good faith discussion to be had here.

Re:NPM Is Joining GitHub by dragonwriter on Tuesday March 17, 2020 @12:38AM (#22601725)
> ICE is the enforcement arm for immigration, which handles people who cross the border

No, it's the enforcement arm for immigration and customs, the former of which is people who are living in the US despite not being US citizens. Enforcement of people (and goods) crossing the border is the Border Patrol and it's parent organization Customs and Border Protection.

Re:NPM Is Joining GitHub by manigandham on Tuesday March 17, 2020 @12:58AM (#22601830)
Sure, but the parent posts are discussing (illegal) immigration which is the jurisdiction of ICE.

There's not much controversy over the people who cross illegally but stay temporarily and close to the border. Those are just traffickers and cartels.

Re:NPM Is Joining GitHub by ptato on Monday March 16, 2020 @08:34PM (#22600071)
I guess every person who was put in a cage near the border of the US was a huge danger.

https://www.aclu.org/issues/immigrants-rights/ice-and-border...

Re:NPM Is Joining GitHub by manigandham on Monday March 16, 2020 @09:00PM (#22600299)
To keep this as straightforward as possible: Illegal immigration is a crime and is enforced just like any other. Committing crime can mean incarceration, which many US citizens face everyday. It has nothing to do with being a "danger", but when you don't have permission to even be in the country then there's no bail or other release possible.

Also detainment centers are not cages but fenced areas with free movement inside where people receive food, shelter, healthcare, entertainment, schooling and legal services paid for by US taxpayers while their cases are processed. Detainees are free to deport themselves at any time. This is more accommodating than pretty much every other developed nation.

Re:NPM Is Joining GitHub by manigandham on Tuesday March 17, 2020 @12:20AM (#22601617)
Bad people exist and bad things happen in every large organization in every government of every country. It is not representative nor useful in discussing the behavior of the whole.
Re:NPM Is Joining GitHub by vincnetas on Tuesday March 17, 2020 @02:23AM (#22602275)
Yes they do. But important part is what organisation does about that. Does it close the eyes, does it encourages it, does it publicaly removes bad people from org to send the message?
Re:NPM Is Joining GitHub by aredridel on Monday March 16, 2020 @11:15PM (#22601272)
Almost every word of this is a lie, misleading or poor framing.
Re:NPM Is Joining GitHub by manigandham on Tuesday March 17, 2020 @02:26AM (#22602295)
It's 100% factual except for the last sentence which can be argued.
Re:NPM Is Joining GitHub by allover on Monday March 16, 2020 @02:52PM (#22596083)
That's a fair point - thanks for the reminder :|
Re:NPM Is Joining GitHub by kevingadd on Monday March 16, 2020 @05:56PM (#22598424)
Lots of big tech firms are government contractors, and as we've seen most of them are unwilling to drop government contracts (ICE, DARPA, etc). So this problem would arise with almost any large benefactor. I would've liked to see GitHub drop ICE though, personally.
Re:NPM Is Joining GitHub by thu2111 on Monday March 16, 2020 @05:47PM (#22598310)
Others see that as an upside. ICE today, who knows what tomorrow. The sort of activists who wanted that have all kinds of random targets. No company wants to deal with suppliers suddenly blacklisting them because the hard left decided they're evil.
Re:NPM Is Joining GitHub by jbkiv on Monday March 16, 2020 @02:28PM (#22595733)
Agree, What would you say would have been a better outcome? Google? Facebook? Microsoft has changed quite a lot, and in a good way.
Re:NPM Is Joining GitHub by sneak on Monday March 16, 2020 @02:38PM (#22595874)
VS Code is also spyware; I am not sure that this argument furthers your intended point.

The fact that it is open source and popular is not sufficient on its own. It had to be forked (vscodium) to show basic respect for the user’s privacy and system resources.

Re:NPM Is Joining GitHub by Hawxy on Monday March 16, 2020 @09:33PM (#22600537)
> VS Code is also spyware

This is such an extreme & pretentious viewpoint. Microsoft knowing that I have VS Code installed & getting a report when it crashes is not in mine, or really any normal developer's threat landscape.

Re:NPM Is Joining GitHub by snypox on Tuesday March 17, 2020 @01:48AM (#22602101)
Don’t forget you’re on HN.
Re:NPM Is Joining GitHub by chrisoverzero on Monday March 16, 2020 @06:35PM (#22598875)
VSCodium say they’re not a fork.

> This is not a fork. This is a repository of scripts to automatically build Microsoft's `vscode` repository into freely-licensed binaries with a community-driven default configuration.

Re:NPM Is Joining GitHub by allover on Monday March 16, 2020 @02:48PM (#22596020)
It's true insofar as VS Code is widely loved by web developers.

So it "furthers my intended point".

Re:NPM Is Joining GitHub by charrondev on Monday March 16, 2020 @06:33PM (#22598861)
No fork is required. If you build before from the source in its main repo, there is no tracking included by default.

It’s builds released by Microsoft that have all of their specific stuff added in.

Re:NPM Is Joining GitHub by bdcravens on Monday March 16, 2020 @02:10PM (#22595511)
I am old enough (42) to remember those days, but honestly I don't feel that threatened by them. I remember their EEE days, and for a long time I haven't seen much of the same behavior.
Re:NPM Is Joining GitHub by bromuro on Monday March 16, 2020 @02:19PM (#22595628)
Same here (40). I was with Ballmer singing “developer developer developer”... i think his legacy is not that bad. The company was not ready to grasp the idea of open source at these times, but the principle holds.
Re:NPM Is Joining GitHub by rafaelvasco on Monday March 16, 2020 @05:21PM (#22598004)
It may appear blaming Ms forever for their past actions is a good idea. It's not. Those actions and decisions came from certain people. They're long gone. I look only to the present. MS decisions and actions these past few years have been pretty solid imo. We must always assume the best of everything, not the worst. Not matter what. It may appear naive, but it's the only sane way.
Re:NPM Is Joining GitHub by yarrel on Tuesday March 17, 2020 @02:49PM (#22608632)
They've created a funnel from a jobs site they control, through an operating system and hardware they control, with development tools they control, and source (etc.) on a web platform they control, onto a cloud they control.

Assume the best all you like. Microsoft are spying on you and can lock you out of their ecosystem for any reason. When that ecosystem includes critical public infrastructure, there is a problem.

The only "sane" response to this is to smile at the MS employees who tell you how much they love Open Source and to use absolutely any other platform.

Re:NPM Is Joining GitHub by Aeolun on Monday March 16, 2020 @06:23PM (#22598733)
MS’s decisions outside of everything to do with windows 10 anyhow.
Re:NPM Is Joining GitHub by golergka on Monday March 16, 2020 @05:01PM (#22597726)
And pulling a package from a custom url is what, one line of code in this package documentation? And the moment it happens, this package will be on top of HN?

I understand the concern about MS business practices, but I don't think it applies to environment where transactions (as in, importing someone's package or submitting a pull request to it) don't involve any contracts or money.

Re:NPM Is Joining GitHub by bdcravens on Monday March 16, 2020 @02:07PM (#22595481)
Then you must not like React or Angular, since the owners of those projects are the largest spyware and aggregators of personal data in the history of humanity.
Re:NPM Is Joining GitHub by sneak on Monday March 16, 2020 @02:13PM (#22595567)
Software and services are not the same thing.

For some examples: RMS being a douchebag has nothing to do with the usefulness of gdb, nor can that circumstance affect the utility in any imaginable scenario.

Microsoft setting censorship policies (aka ToS) on a website they own and control directly affects the utility of npm/yarn/clients. Their website, their rules.

Re:NPM Is Joining GitHub by filoleg on Monday March 16, 2020 @02:43PM (#22595952)
Well, this comparison seems to be close enough. What about VSCode and Github itself?
Re:NPM Is Joining GitHub by sneak on Monday March 16, 2020 @03:54PM (#22596877)
The time for GitHub is over. I have moved all of my repositories away from there that do not depend on GitHub-only integrated services, and am migrating my DNS and domains/hosting off of those integrated services this week. You should too. If you work there, you should quit.

https://sneak.berlin/20200307/the-case-against-microsoft-and...

VS Code has had to fork to remove the unethical spyware portions within it placed there by Microsoft:

https://github.com/VSCodium/vscodium

Re:NPM Is Joining GitHub by filoleg on Monday March 16, 2020 @05:41PM (#22598222)
Good for you. However, the general sentiment doesn't seem to behave the same way. I haven't noticed a mass Github exodus at all, aside from some people on the internet being vocal about it for the first month after the Github acquisition. Same with VSCode.

I realize this is just pure anecdata and not a legitimately researched observation, but I don't know a single dev in real life who either switched away from Github or VSCode due to those concerns, despite having a wide variety of dev friends from all kinds of backgrounds, including big tech devs, non-tech company devs, fully remote devs, self-taught devs, small startup devs, outside of the US devs, freelancer devs, etc.

Re:NPM Is Joining GitHub by smichel17 on Monday March 16, 2020 @06:26PM (#22598764)
I know a couple of projects that switched to gitlab. I use gitlab for my personal projects. I've abstained from moving Red Moon away from GitHub because it's still where people are, and I have some doubts about GitLab's VC-funded model (will they be able to stay as open forever?). I also want to consider other options, like SourceHut. At the same time, it is in the back of my mind and I am ready to move away at the first sign of extend/extinguish.
Re:NPM Is Joining GitHub by kailanb on Monday March 16, 2020 @06:16PM (#22598665)
Just for reference, vscodium is not a fork to remove Microsoft's code - it is just a build tool for the open source repo as explained in the README.

"When we [Microsoft] build Visual Studio Code, we do exactly this. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license."

"When you clone and build from the vscode repo, none of these endpoints are configured in the default product.json. Therefore, you generate a "clean" build, without the Microsoft customizations, which is by default licensed under the MIT license"

Re:NPM Is Joining GitHub by sneak on Monday March 16, 2020 @07:10PM (#22599272)
> Just for reference, vscodium is not a fork to remove Microsoft's code - it is just a build tool for the open source repo as explained in the README.

When a certain build configuration enables major spyware features, and that is the build configuration for the released version by the first party, and another build configuration (that is not released by the first party) disables those major spyware features, the distinction between a fork/patch and a "different build configuration" becomes semantically meaningless.

It's a fork, regardless of how they care to present it. The result of the build configuration is embedded in the release. Consider it a "binary fork" if you don't like considering json "source code".

Re:NPM Is Joining GitHub by blntechie on Monday March 16, 2020 @10:48PM (#22601081)
When the first line of the repo you yourself linked says ‘It’s not a fork’, I believe we will take it instead of your semantics about it.
Re:NPM Is Joining GitHub by ahupp on Monday March 16, 2020 @05:28PM (#22598085)
What's the specific outcome you're concerned about?
Re:NPM Is Joining GitHub by sneak on Saturday March 21, 2020 @03:14PM (#22649095)
Enriching Microsoft and improving their position in the market as a byproduct of publishing and using open source code that has nothing to do with them.
Re:NPM Is Joining GitHub by ahupp on Saturday March 21, 2020 @05:38PM (#22650395)
How is open source software harmed by Microsoft being successful promoting open source software? This feels like cutting off your nose to spite your face.
Re:NPM Is Joining GitHub by sneak on Saturday March 21, 2020 @05:43PM (#22650436)
The danger is not to open source in particular; it is to the world in general, which includes open source developers, as well as all other people.

Microsoft and their allies make the world a lot worse for a lot of people. They’re the number one distributor of spyware in the world!

Re:NPM Is Joining GitHub by cycloptic on Monday March 16, 2020 @01:20PM (#22594811)
It was already consolidated. The vast majority of public npm packages are already hosted on Github. The dependency on them has been there since the beginning.
Re:NPM Is Joining GitHub by yjftsjthsd-h on Monday March 16, 2020 @01:23PM (#22594879)
I would expect that moving git repos is easier than replacing NPM?
Re:NPM Is Joining GitHub by cycloptic on Monday March 16, 2020 @01:39PM (#22595107)
It is, but who is doing that? The users of NPM all are choosing to stay on Github.
Re:NPM Is Joining GitHub by davnicwil on Monday March 16, 2020 @01:43PM (#22595168)
Yes, indeed - and the dependency is literally right there on the technical level. For years, you've been able to specify a version of a package as a github repo's branch HEAD.

npm i some-package username/repo#branchName

Re:NPM Is Joining GitHub by ChristianBundy on Monday March 16, 2020 @01:51PM (#22595281)
Bonus points:

    npm install username/repo#semver:^1.2.3
The big problem is that lots of Node.js modules don't push their tags, so there are issues on lots of repos begging maintainers to push their Git tags so that we don't have to use the npm registry.

JavaScript is an interpreted language -- as long as you're only downloading source code from the registry there's really no reason to use a registry instead of the plain old Git repository.

Re:NPM Is Joining GitHub by lioeters on Monday March 16, 2020 @02:05PM (#22595444)
A common issue I've had with using Git repos directly as Node.js modules, is that many projects are transpiled/built before publishing to NPM. Depending on specifics of that build process, it may not work out of the box (or at all) from a node_modules folder.

With NPM acquired by GitHub, I can imagine them "filling in some steps" by leveraging the fairly new Actions feature, so that repos can provide built artifacts, the same ones as published on NPM. The deeper integration will be an interesting development to watch.

Re:NPM Is Joining GitHub by oefrha on Monday March 16, 2020 @02:28PM (#22595735)
Repos have been able to provide artifacts since forever ago; they just don’t sit in the tree. While you can commit from an action, I’m not sure that’s a great idea.
Re:NPM Is Joining GitHub by lioeters on Monday March 16, 2020 @02:57PM (#22596142)
You're right, artifacts in GitHub repos have been around a long time. I suppose what I was missing was a way to point to a specific built artifact (like a tar.gz from a release) as a dependency, from package.json. As far as I know, it's not possible yet with npm. I can imagine that will be covered somehow with deeper integration of GitHub and the NPM package repository.
Re:NPM Is Joining GitHub by IsaacSchlueter on Monday March 16, 2020 @06:56PM (#22599113)
Yes, this has always been possible. Just specify the tarball url instead of a version or range.
Re:NPM Is Joining GitHub by lioeters on Tuesday March 17, 2020 @03:32AM (#22602600)
Thank you, learned something new - from none other than the founder of npm! :) Congratulations on the acquisition, bright future ahead for the whole ecosystem.
Re:NPM Is Joining GitHub by sneak on Monday March 16, 2020 @02:04PM (#22595432)
There is a build/transpilation step.
Re:NPM Is Joining GitHub by hobofan on Monday March 16, 2020 @01:53PM (#22595298)
How is a convenience feature a dependency? The same command exists as "gitlab:username/repo" variant. The GH variant just happens to be the unprefixed one as it has by far the biggest userbase.
Re:NPM Is Joining GitHub by davnicwil on Monday March 16, 2020 @02:07PM (#22595468)
Perhaps dependency was the wrong term, but my point is what you said - they've built it in as a convenience feature precisely because it's such a common usecase - a better way to say it might be they're inseparably linked tools / tightly coupled even on the technical level.
Re:NPM Is Joining GitHub by grumple on Monday March 16, 2020 @01:46PM (#22595204)
Exactly, especially given the instability over at NPM. Hopefully MS / Github can be a stabilizing influence both financially and culturally.
Re:NPM Is Joining GitHub by hinkley on Monday March 16, 2020 @01:13PM (#22594724)
It does have a bit of a 'value add' feel to it.

But, you know, we've had decades of companies whose 'business model' is just their exit strategy...

Re:NPM Is Joining GitHub by Twirrim on Monday March 16, 2020 @03:00PM (#22596173)
I'm not sure I like the continued consolidation of all things tech around just a few large companies.

That's generally not a good place to be.

Re:NPM Is Joining GitHub by Barrin92 on Monday March 16, 2020 @03:13PM (#22596348)
given the significant returns to scale in the tech industry this is a pretty natural development and it happens in most tech sectors over time as monopolistic competition generally outperforms the 'bazaar' economy.

'small business' is only the equilibrium in sectors that can't increase aggregate output by growing or capital investment like say, the restaurant industry.