News for hackers. Stuff that matters.
Re:Processing 40TB of code from 10M projects with a dedicate... by ojkelly on Tuesday October 01, 2019 @12:32AM (#21122078)
As much as I love the confirmation that .yml is the correct extension, I’m most amazed by the fact that there’s over a TRILLION lines of code public on GitHub.

That’s an astronomical number. And that’s only what we can all see. Can’t imagine how much more is private.

Also, it look’s like 20% of code is comments. Which feels just about right.

Re:Processing 40TB of code from 10M projects with a dedicate... by brazzledazzle on Tuesday October 01, 2019 @12:56AM (#21122165)
People actually bike shed over .yaml vs .yml? If you thought tabs vs spaces was a useless debate...
Re:Processing 40TB of code from 10M projects with a dedicate... by pixelbash on Tuesday October 01, 2019 @02:05AM (#21122459)
Never been comfortable with extension names longer than 3 letters long for some reason..
Re:Processing 40TB of code from 10M projects with a dedicate... by wazoox on Tuesday October 01, 2019 @03:40AM (#21122919)
MS-DOS. The reason is MS-DOS.
Re:Processing 40TB of code from 10M projects with a dedicate... by hendi_ on Tuesday October 01, 2019 @04:08AM (#21123110)
Thank you for the EXPLAN~1!
Re:Processing 40TB of code from 10M projects with a dedicate... by XJ6 on Tuesday October 01, 2019 @04:42AM (#21123296)
If anyone's curious this references the 8.3 filename shortening that windows was even still doing recently.

Amusingly, that tiny bit of backward compatibility can lead to vulnerabilities as outlined here: https://www.acunetix.com/blog/articles/windows-short-8-3-fil...

Re:Processing 40TB of code from 10M projects with a dedicate... by tomatocracy on Tuesday October 01, 2019 @10:44AM (#21125827)
It goes back further than that - DOS got the idea of 8.3 filenames from CP/M and before that DEC used three letter file extensions on its minicomputer operating systems. The idea arguably goes back even further into the mainframes of the 1960s although it gets a bit messier then to trace it.
Re:Processing 40TB of code from 10M projects with a dedicate... by EdwardDiego on Tuesday October 01, 2019 @04:39AM (#21123286)
All I'm saying mate, is that we don't pronounce it Yiml now, do we. :D
Re:Processing 40TB of code from 10M projects with a dedicate... by fastball on Tuesday October 01, 2019 @02:22AM (#21122530)
.yml only makes sense in a word where every other extension is three letters.

With variably length extensions, there isn't a good reason to not just use the full name.

Re:Processing 40TB of code from 10M projects with a dedicate... by twic on Tuesday October 01, 2019 @09:27AM (#21125063)
Who cares? Just switch to .jsn and forget about it.
Re:Processing 40TB of code from 10M projects with a dedicate... by carlmr on Tuesday October 01, 2019 @05:24PM (#21130861)
I'm sorry .jon would be more logical Javascript being one word and all.
Re:Processing 40TB of code from 10M projects with a dedicate... by taf2 on Tuesday October 01, 2019 @12:47AM (#21122131)
Surely copy & paste played a major role in this.
Re:Processing 40TB of code from 10M projects with a dedicate... by ojkelly on Tuesday October 01, 2019 @12:55AM (#21122160)
Yep that and forking. But if you fork a repo and change a small thing, I’d it still a duplicate of the other repo?

I don’t think the raw number is what’s so impressive, as much as the fact that there’s more code public on GitHub than I could comprehend in a lifetime.

Re:Processing 40TB of code from 10M projects with a dedicate... by foobarqwertz on Tuesday October 01, 2019 @01:49AM (#21122394)
I am waiting for the results showing how much copy pasta is on the plate.