News for hackers. Stuff that matters.
Re:Io.js 2.0.0 Released by NhanH on Tuesday May 05, 2015 @01:23AM (#9490987)
Did I read the number wrong, or is that an absurd amount of changes (note: I haven't look at the commit myself, as I have no idea how to get all the stats from github interface)?

That's about 800000 additional lines of code for 49 developers in a months, or ~16000 LOC for each developer. Unless additions and deletions are counted on a different unit, can anyone knowledgeable explain to me how the numbers are reasonable at all?

Re:Io.js 2.0.0 Released by lugg on Tuesday May 05, 2015 @01:37AM (#9491030)
Most of it is junk find and replace stuff / formatting docs etc. [1]

Pulse [2] is just a neat github feature that gives you an overview of a project.

LOC will always be a shitty metric for anything.

[1] https://github.com/iojs/io.js/commit/56e4255382ad4d2426e0346...

[2] https://github.com/iojs/io.js/pulse

Re:Io.js 2.0.0 Released by brandonb927 on Tuesday May 05, 2015 @01:47AM (#9491055)
Joyent used to have the license on the top of virtually EVERY file in the repo for node. Someone removed all but one (6430 deletions) https://github.com/iojs/io.js/pull/311/files

I can imagine this makes up for a portion of it.

Re:Io.js 2.0.0 Released by riffraff on Tuesday May 05, 2015 @03:25AM (#9491281)
I remember this was a common thing in free/open source projects some time ago[0].

At some point people started to believe that this was not necessary. I am not sure of the legal implications, of either choice, just wanted to point out that the joyent people probably were not crazy :)

[0] e.g. a random file from ISC bind https://source.isc.org/git/?p=bind9.git;a=blob;f=bin/rndc/rn...

Re:Io.js 2.0.0 Released by vidarh on Tuesday May 05, 2015 @04:45AM (#9491473)
In every Berne Convention signatory country (which is pretty much any country that will matter to most people), published works are required by the convention to be copyrighted by default, whether or not there is a copyright notice, and the lack of a license means you have to assume you have none unless something else tells you differently. That basically makes embedding the license text pointless.

It certainly was common, though, which is/was probably because the US did not join until 1989, and prior to that US copyright law required a mandatory copyright notice, so a lot of people will have at least worked on projects old enough for this policy to have mattered.

Re:Io.js 2.0.0 Released by greggman on Tuesday May 05, 2015 @06:00AM (#9491693)
Really? I've been putting the license in every file in my project because it's JavaScript and people drive by a website, see "foo.js" and have no idea where it came from or what license it's under. With the license in the file it's immediately clear.
Re:Io.js 2.0.0 Released by towelguy on Tuesday May 05, 2015 @10:44AM (#9492722)
If the file doesn't have a copyright notice, I'd assume the author is the website's owner and its license should apply.

Maybe there should be a convention to add a copyright.txt file to websites like there is robots.txt and humans.txt?

Re:Io.js 2.0.0 Released by davedx on Tuesday May 05, 2015 @11:21AM (#9492972)
Usually you'd concatenate and minify deployed JavaScript anyway. Sometimes you get a license in that, sometimes you don't. I don't think that many people really copy that much JavaScript from live sites these days...
Re:Io.js 2.0.0 Released by lojack on Tuesday May 05, 2015 @10:03AM (#9492509)
> That basically makes embedding the license text pointless.

Embedding the license makes sense because otherwise others have to assume they don't have the right to use. The copyright notice on the other hand is pointless.

Re:Io.js 2.0.0 Released by k__ on Tuesday May 05, 2015 @09:23AM (#9492308)
If Joyent has the copyright, why could they remove these notes?

Or is this just a cosmetic thing and they removed it from the files but kept it in a separate license file?

Re:Io.js 2.0.0 Released by forthefuture on Tuesday May 05, 2015 @10:13AM (#9492559)
The commit message:

"The copyright and license notice is already in the LICENSE file. There is no justifiable reason to also require that it be included in every file, since the individual files are not individually distributed except as part of the entire package."

Re:Io.js 2.0.0 Released by irishcoffee on Tuesday May 05, 2015 @09:47AM (#9492429)
> // Copyright Joyent, Inc. and other Node contributors.

Maybe the person who removed the copyright was a node contributor?

Heh, maybe its the same person who put the copyright at the top of every file in the first place.

(I have no idea, just a guess)

Re:Io.js 2.0.0 Released by tiles on Tuesday May 05, 2015 @02:38AM (#9491147)
Not just someone, but @izs (former maintainer, creator and current co-founder of NPM)
Re:Io.js 2.0.0 Released by Siecje on Tuesday May 05, 2015 @09:20AM (#9492292)
That wasn't in the last month.
Re:Io.js 2.0.0 Released by frutiger on Tuesday May 05, 2015 @01:30AM (#9491010)
Unless you ask it, git considers file moves to be a complete deletion of the file along with the addition of the file. A good way to tell git to detect renames is to use the similarity flags: `git diff -M60% --shortstat` will consider files 60% similar to be renames.