News for hackers. Stuff that matters.
Re:Find out what you favorite programming languages are by zebraflask on Wednesday November 16, 2016 @09:47AM (#12967240)
Cool.

Does it go by how GitHub tags each repo or by an independent look at the code in each repo? Maybe by file extensions?

Re:Find out what you favorite programming languages are by alex-benoit on Wednesday November 16, 2016 @09:53AM (#12967324)
The github api return the memory footprint of each programming language per repository e.g: C++: 3000bytes, Ruby: 2000+ bytes. It's just about retrieving your list of public repos and going though all of them. Solution is not perfect, I assume 1 byte = 1 char, 25 char is 1 line, plus frameworks like ruby mess up the count, but it's something :D
Re:Find out what you favorite programming languages are by alex-benoit on Wednesday November 16, 2016 @09:55AM (#12967370)
You can check out the source if you follow the star icon on the homepage. Under app/services/github_client.rb