News for hackers. Stuff that matters.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by mattmanser on Tuesday April 14, 2015 @11:59AM (#9375191)
Do I just not get the scale? For this investment to make sense, they would have to get to $100s of million dollars, but by charging a few thousand companies $7?

And I'd say there's a 50/50 chance node will completely collapse within 10 years or so. And that's being generous, javascript is a controversial language and the standards committee moves very slowly. I honestly can't see it staying king once browsers can support other languages. You only have to see how fast Ruby was a darling and even now might be regarded on its swan song, less than 10 years later. Tech changes, the next big language will hit soon.

Congratulations to them and all that, and great product, I'm just wondering if someone can explain the sense in investing so much money into something like this? As this seems an incredibly risky venture?

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by moe on Tuesday April 14, 2015 @12:48PM (#9375563)
You only have to see how fast Ruby was a darling and even now might be regarded on its swan song

By what metric, your personal preference?

Because the common statistics[1][2][3] don't quite support your remark.

And I'd say there's a 50/50 chance node will completely collapse within 10 years or so.

Again, just making random stuff up?

As much as I'd love for javascript to disappear, the idea of that happening within a decade is nothing short of ridiculous.

[1] http://langpop.com/

[2] http://githut.info/

[3] https://www.google.com/trends/explore#q=ruby%2C%20rails%2C%2...

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by Irene on Tuesday April 14, 2015 @01:51PM (#9376030)
Commenting on the popularity of languages:

In TIOBE index of programming language popularity (based on web searches), Ruby is ranked 18th, down from 11th in April 2014. It fluctuates, but the trend is downward - 14th in November 2014, 13th in November 2013 and 11th in January 2013. Javascript is still rising.

http://www.tiobe.com/index.php/content/paperinfo/tpci/index....

It is supported by overall job trends (vs those for ycombinator-backed startups and github popularity)

http://www.ryan-williams.net/hacker-news-hiring-trends/2015/...

http://www.indeed.com/jobtrends?q=Ruby%2C+Rails%2C+javascrip...

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by moe on Tuesday April 14, 2015 @02:12PM (#9376203)
In TIOBE index of programming language popularity (based on web searches), Ruby is ranked 18th, down from 11th

The TIOBE method is rather meaningless below rank 10 (and probably above, too). The delta between spot 10 and spot 20 in their ladder is a mere 1.1 points (of 100).

Do you really believe Delphi and ABAP are more popular than Ruby, as their table claims?

It is supported by overall job trends

Huh? In both of your linked charts Ruby is trending upwards.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by brd on Tuesday April 14, 2015 @02:39PM (#9376367)
Actually, it wouldn't surprise me if ABAP were to rival Ruby in popularity (by employment metrics) considering how widely adopted SAP is within the fortune 500.

I don't disagree with the rest of your points, just pointing out that the enterprise world is much larger than most developers would anticipate.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by geoelectric on Tuesday April 14, 2015 @05:56PM (#9377641)
By the same token, there's probably a fair amount of legacy Delphi code. It was especially popular for 4GL outside the US.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by mattmanser on Tuesday April 14, 2015 @02:42PM (#9376390)
Well, what else have we got? I'm not a big fan of TIOBE, but SO's recent surveys have also confirmed dropping Ruby popularity. I did say 'might be'. I'm being a bit cagey because it's hard to tell, we all live in cliques.

So to me it's all a bit risky, a bit of a punt, and so I'm asking, what am I not seeing, where's the market they're betting on?

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by jasode on Tuesday April 14, 2015 @01:00PM (#9375650)
>I honestly can't see it staying king once browsers can support other languages.

But your profile says:

>", begrudgingly beginning to accept the browsers are never going to give us the freedom to choose."

It looks like you've got some cognitive dissonance happening there. :-)

In any case, I can't think of any example in computing history where a language that's adopted by multiple companies is then abandoned for another language. In Javascript's case, it would require that Microsoft IE AND Apple Safari AND Google Chrome AND Mozilla FF AND countless other web browsers (Opera, embedded, etc) switch to something else in lockstep. In the decades of computing history, I've never seen that type coordination ever happen.

Similar language entrenchment on the scale of Javascript would be something like SQL and C++.

SQL (1974) is implemented by Oracle/Microsoft/MySql/PostgreSQL/HiveHadoop/etc. A better query language could be designed (e.g. syntax of tables first then columns). However, it's just theoretical because you can't get all database vendors to adopt it lockstep. We are stuck with SQL for the next 50 years.

C++ (1983) entrenchment also can't be dislodged. It is implemented by the well-known big-3 of GCC, Clang, and Microsoft but you also have independent compiler implementations from Intel, HP, Sun, IBM, embedded chips, etc. The newer systems languages such as D and Rust are interesting but they will not get adopted and implemented by all those vendors. It's just not going to happen.

Look to the multi-decade history of SQL and C++/C and that's the depth of entrenchment you're looking at for Javascript. Better designed languages have not overcome the inertia in the industry and we have no evidence so far that it ever will. Therefore, Javascript will be with us for the next 50+ years.

Probably the best chance for making Javascript irrelevant was the brief plugins movement of Java applets, Adobe Flash, and MS Silverlight. Well, the marketplace of ideas (mobile phones) killed all of those off. What's left standing is Javascript.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by mattmanser on Tuesday April 14, 2015 @02:31PM (#9376319)
I almost left that sentence out. I'm getting my hopes (tragically) up again.

But now it doesn't get abandoned, it just needs someone to crack using it as an assembly language.

Who knows.

But that's my point.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by mcintyre1994 on Tuesday April 14, 2015 @03:29PM (#9376670)
Even if Javascript did become an assembly like language with multiple well used languages compiling to it, wouldn't something like npm still make a lot of sense? Then all these separate languages won't need to reinvent package management and every package every time.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by mattmanser on Tuesday April 14, 2015 @06:48PM (#9377841)
Package managers are a language specific thing.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by ccallebs on Tuesday April 14, 2015 @12:16PM (#9375306)
It doesn't matter if Npm is ever profitable. If an investor puts money into Npm, they are indirectly adding value to every company that uses Npm. Making sure that a comprehensive dependency manager exists for JavaScript helps every company that uses JavaScript.

Additionally, neither JavaScript or Ruby is nearing their "swan song". Other languages will come out. The current languages will persist.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by rezistik on Tuesday April 14, 2015 @08:20PM (#9378178)
Exactly.

If they invest in 10 companies built on Node and therefore NPM they are investing in 11 companies by investing in NPM. They are purchasing security of their open source tools.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by Igglyboo on Tuesday April 14, 2015 @12:15PM (#9375303)
> I honestly can't see it staying king once browsers can support other languages.

Theres no way this happens anytime soon. Google already tried that with Dart and it failed.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by moron4hire on Tuesday April 14, 2015 @12:57PM (#9375622)
It's funny how people forget that IE had supported multiple languages for a very long time: http://en.wikipedia.org/wiki/Internet_Explorer#Architecture

    Internet Explorer does not include any native scripting
    functionality. Rather, MSHTML.dll exposes an API that 
    permit a programmer to develop a scripting environment
    to be plugged-in and to access the DOM tree. Internet
    Explorer 8 includes the bindings for the Active
    Scripting engine, which is a part of Microsoft Windows
    and allows any language implemented as an Active
    Scripting module to be used for client-side scripting.
    By default, only the JScript and VBScript modules are
    provided; third party implementations like
    ScreamingMonkey (for ECMAScript 4 support) can also be
    used. Microsoft also makes available the Microsoft
    Silverlight runtime (not supported in Windows RT) that
    allows CLI languages, including DLR-based dynamic
    languages like IronPython and IronRuby, to be used for
    client-side scripting.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by pcwalton on Tuesday April 14, 2015 @02:58PM (#9376503)
Gecko too for a while (because there was concern that VBScript would catch on, AFAIK), though it was eventually removed. The nsIProgrammingLanguage enum is the last vestige of this support: https://dxr.mozilla.org/mozilla-central/source/xpcom/base/ns...
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by Igglyboo on Tuesday April 14, 2015 @01:44PM (#9375974)
IE did but we're talking in the context of the web as a whole. An IE-only language in 2015 would be DOA.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by Touche on Tuesday April 14, 2015 @02:34PM (#9376338)
No one forgot, it just failed like the parent's example of Dart.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by untog on Tuesday April 14, 2015 @02:43PM (#9376395)
Right. Any how widely used is that?
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by ahoge on Tuesday April 14, 2015 @05:39PM (#9377550)
Many of the bigger "JavaScript" projects aren't written in JavaScript. Browsers support any language. As long as they compile to JavaScript, that is.

Also, Dart just works fine. Inside browsers as JavaScript and outside browsers in its own VM.

This was written in Dart, for example: http://adsense.blogspot.com/2015/04/new-adsense-performance-...

You really don't have to use JS if you don't want to.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by Everhusk on Tuesday April 14, 2015 @02:52PM (#9376463)
Github was founded 7 years ago and now does "millions of dollars a year" [1], NPM was founded 6 years ago (and only became a company last year).

There are 140,362 total packages (where github was in 2010-2011) on NPM and 21 million repositories on Github now. Javascript is growing, NPM is the hub for all things javascript, so as long as things keep going the way they are, I don't think it is a stretch that NPM can be making that Github money.

[1] https://www.quora.com/How-much-money-does-GitHub-make

[2] https://growthhackers.com/companies/github/

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by mattmanser on Tuesday April 14, 2015 @02:56PM (#9376490)
Yes, it is a stretch.

A huge % of individual programmers want private source control as a quick and easy backup of their code. It is also completely language agnostic and will only fall into jeopardy if a new, better source control system comes out (and then they subsequently don't support it).

That is not the case with npm and never will be.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by jfroma on Tuesday April 14, 2015 @01:56PM (#9376085)
In addition to every other response, one interesting thing about your comment is that first you mention "node" , then javascript/browser, etc. which is the exact history of npm.

It started for node.js then someone did browserify which IMHO makes the best package manager for front end developers, there is some people using it even for C. Typescript/coffescript/css whatever. If you see the home page of npm it says "npm is the package manager for:" and the word keeps changing with a lot of use cases.

I think JavaScript has a bright future still, but in addition to that can npm or the ideas survive the language and be used in other contexts?

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by rifung on Tuesday April 14, 2015 @12:34PM (#9375443)
What's so controversial about Javascript? I'm not denying your claims; I just started using it a bit and so far really like it. Then again, I'm coming from Java so maybe I just appreciate not having to use OOP and being able to use functions everywhere.

And isn't Ruby also controversial? At least it seems like people either really like it or don't like it. Everyone I have talked to seems to agree that the only reason Ruby really took off is due to Rails.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by Zergy on Tuesday April 14, 2015 @01:26PM (#9375838)
Being controversial is not a big deal if it is optional. You simply can not do modern web development without JavaScript. There are tons of alternatives to Ruby.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by awinder on Tuesday April 14, 2015 @12:19PM (#9375333)
Assumes they are only ever going to launch this one product. Also it's $7 for an individual account, they're launching corporate accounts which I would assume will be priced accordingly. There's enough pain points around the Node.JS infrastructure / tooling that NPM, Inc. probably has some great verticals to explore, and they probably sold the investors on as much.

As for Node.JS dying, anything is possible I guess. PHP is still a monster and I don't think I'll ever understand why that happened completely. Node.js has a good story to tell and from my exp. a lot of PHP / frontend developers found easier transitions to Node.JS than other languages / stacks.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by swang on Tuesday April 14, 2015 @02:11PM (#9376193)
This is their second product. They have a private npm repo service, aka npm enterprise.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by swang on Tuesday April 14, 2015 @02:08PM (#9376173)
> "50/50 chance node will completely collapse within 10 years or so"

Wow, way to be real assertive with that statement. Hedging your bets for a prediction that won't really matter in 10 years.

I am not sure why you think ruby is dead considering the amount of Rails apps and the ecosystem that surrounds it.

If you read about their seed round, one reason investors invested is because a lot of other companies rely on npm/node. So their thinking process is that even if npm is not profitable, it at least makes their other investments more robust by making something that other companies rely on much stronger.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by jwcooper on Tuesday April 14, 2015 @01:35PM (#9375903)
NPM also offers NPM enterprise, which is $20/user/month. That adds up if a few big companies want a privately hosted NPM infrastructure.

I'd assume they continue to launch more services as time goes on.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by angersock on Tuesday April 14, 2015 @05:14PM (#9377409)
And that's being generous, javascript is a controversial language and the standards committee moves very slowly.

There are two types of languages: those that everybody complains about, and those that nobody uses.

Also, a slow standards committee is a good thing for languages, as it prevents the natural cancerous tendencies of PL wonks--just look at C++ or Scala.

Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by eurleif on Tuesday April 14, 2015 @05:16PM (#9377418)
Uh, are you implying the C++ standards committee moves quickly?
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by angersock on Tuesday April 14, 2015 @05:44PM (#9377575)
'11 and '14 came out in pretty quick succession, as an example.
Re:Popular JavaScript Package Manager Npm Raises $8M, Launch... by _greim_ on Tuesday April 14, 2015 @03:51PM (#9376815)
> I honestly can't see it staying king once browsers can support other languages.

Well browser support for other languages will only come in the form of things transpiling to JS or subsets of JS. It seems unlikely that whole other runtimes would ever become a thing. I mean look at Dart.