News for hackers. Stuff that matters.
Re:GitHub's language detection is broken by eXpl0it3r on Friday March 14, 2014 @08:59AM (#7398414)
I can agree that the detection is broken. C++ gets often recognized as C. PHP with some CSS file gets recognized as mostly CSS, etc.

Personally I'd like to have a fixed language that I can set and that the search will use. Next to that, it would be fine for me to statically show what the repository contains, but please use a better language detection, just going by extensions is quite naive.

Re:GitHub's language detection is broken by nox_ on Friday March 14, 2014 @12:16PM (#7399812)
> C++ gets often recognized as C.

The disambiguation test for C++ headers is ridiculous:

      matches << Language["C++"] if data.include?("#include <cstdint>")
Re:GitHub's language detection is broken by Allan_Smithee on Friday March 14, 2014 @01:52PM (#7400551)
Well, I expect that's why so much C++ is misrecognized. Not enough people write valid C++, in Github's narrow world view. :)