Hacker GitHub

← All repos

github-linguist/linguist

View on GitHub ↗ ★ 13,760 Ruby

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

94 mentions on Hacker News by 79 people: 12 stories, 82 comments · first 2011-12-19 · latest 2026-08-16

Mentions per year 94 mentions · busiest year 2014 (20)
20082026
  1. …up guidelines for contributing [0], and a glance at the PRs shows much more engagement now. [0] https://github.com/github/linguist/blob/master/CONTRIBUTING.... [1] https://lwn.net/Articles/370157/
  2. The first lexer was added over a year ago: https://github.com/github/linguist/pull/678
    comment by gjtorikian · 2014-11-25 · in Crystal: the programming language
  3. …correct. The blog post links to an issue in which an official statement (and a graph) can be found: https://github.com/github/linguist/issues/1717#issuecomment-... >By using TextMate grammars we also get some nice features like…
    comment by cremno · 2014-11-24 · in GitHub dropped Pygments
  4. …that the burden of proof is on showing why it's worth introducing the additional complexity. [0]: https://github.com/github/linguist/blob/master/lib/linguist/...
  5. …uses linguist to identify the codes programming language and unfortunately it's far from perfect - https://github.com/github/linguist There are known issues with distinguishing code between certain languages. For eg. There are issues…
  6. …are a number of other low-hanging fruit that are causing projects to be misclassified as well. [0] https://github.com/github/linguist/pull/856
    comment by chimeracoder · 2014-05-04 · in GitHub Language Trends
  7. …being counted in by following some conventions, see the patterns ignored by Github's linguist https://github.com/github/linguist/blob/master/lib/linguist/...
    comment by yaph · 2014-05-04 · in GitHub Language Trends
  8. …if they weed out duplicate copies of, say, jQuery. Linguist tries to filter out things like that: https://github.com/github/linguist/blob/master/lib/linguist/...
    comment by coyotebush · 2014-05-04 · in GitHub Language Trends
  9. It is the software the identifies % of language used in a repository and highlighting etc. https://github.com/github/linguist I just haven't heard anything bad about it so am curious why OP calls it a "debacle"
    comment by rurounijones · 2014-04-22 · in Results of the GitHub Investigation
  10. They actually have a set of files and libraries that they ignore (.DS_Store/jquery/boostrap/etc) https://github.com/github/linguist/blob/master/lib/linguist/...
    comment by natebrennand · 2014-03-14 · in GitHub's language detection is broken
  11. How much you wanna bet? ( https://github.com/github/linguist/issues/985 )
    comment by Allan_Smithee · 2014-03-14 · in GitHub's language detection is broken
  12. I'm looking at more of this, and jesus christ, this is completely wrong: https://github.com/github/linguist/blob/master/lib/linguist/... Code that commonly resides in .asp files is completely different from code that commonly resides in…
    comment by moron4hire · 2014-03-14 · in GitHub's language detection is broken
  13. …types). Or is there a default match in the index that occurs when no other language is found? https://github.com/github/linguist/blob/master/lib/linguist/... Not instilling a lot of confidence that someone really thought through this bit…
    comment by moron4hire · 2014-03-14 · in GitHub's language detection is broken
  14. …to fix the design issue was already done by @nox, who submitted a pull request which is still open: https://github.com/github/linguist/pull/985
    comment by nbouscal · 2014-03-14 · in GitHub's language detection is broken
  15. Do you mean, a fix like https://github.com/github/linguist/pull/985 ?
  16. …in a gists_helper.rb file outside the Linguist repos. Note that the feature is deprecated anyway. https://github.com/github/linguist/blob/master/lib/linguist/...
  17. …objc. Classification is never 100% accurate. EDIT: Exact method that it is used is reported here: https://github.com/github/linguist/pull/748#issuecomment-374...
    comment by RyanZAG · 2014-03-14 · in GitHub's language detection is broken
  18. Inciminated comment: https://github.com/github/linguist/pull/748#issuecomment-374... > if you'd like Mercury language detection on GitHub then with the current implementation of Linguist you need to pick a different (unique as Objective-C…
  19. …intentional. I filed an issue for this though just in case, and perhaps they'll explain the reason: https://github.com/github/linguist/pull/856
    comment by chimeracoder · 2013-12-23 · in Counting Stars on GitHub
  20. …of bootstrap.css to bootstrap.js, so it looks like only bootstrap.min.js is being excluded? [1] https://github.com/github/linguist/commit/d5002ef06a9f346391...
    comment by coyotebush · 2013-12-23 · in Counting Stars on GitHub
  21. …[0] https://github.com/ChimeraCoder/go-server-bootstrap/tree/mas... [1] https://github.com/github/linguist/blob/master/lib/linguist/...
    comment by chimeracoder · 2013-12-23 · in Counting Stars on GitHub
  22. …language detection model that the developer has zero control over Pull requests welcome :) https://github.com/github/linguist
    comment by thedaniel · 2013-12-23 · in Counting Stars on GitHub
  23. …detect languages and index them as far as I know. I've used the list of languages from this file: https://github.com/github/linguist/blob/master/lib/linguist/... I did pick an older version as they don't always run the latest release.…
    comment by misterdai · 2013-12-23 · in Counting Stars on GitHub
  24. Github repository web pages when down show an angry unicorn. If it's still down, here's an example: https://github.com/github/linguist
    comment by newsoundwave · 2013-10-01 · in Unicorns at GitHub
  25. …shows that not everyone who signs up for GitHub uses an email address that's under their control. https://github.com/github/linguist/commit/99c296264ab320d41c...
    comment by benatkin · 2013-05-22 · in Remember: your git commit email is public
  26. The good news is that anyone can do it :D Check out https://github.com/github/linguist . It's the library GH uses to detect and highlight languages; and _many_ people external from GH have contributed to it. It's just a matter of someone…
    comment by epidemian · 2013-02-25 · in GitHub now supports TOML syntax highlighting
  27. If folks want to improve our language detection on GitHub, please take a look at https://github.com/github/linguist
  28. …thing is syntax highlighting for ls files on GitHub. Maybe you can make a pull to their Linguist? https://github.com/github/linguist
  29. It needs to have the .coffee extension (or two variants): https://github.com/github/linguist/blob/master/lib/linguist/...
  30. …popularity ranking on Github is still artificially inflated (sitting at #31 at the moment). [1] https://github.com/github/linguist [2] https://github.com/mozilla/rust/issues/1512
  31. …This problem would be perfect for a tiny ruby script like Linguist: https://github.com/github/linguist . Just something simple that's given some filenames and contents that can return the license type. It'd also be nice to han
  32. GitHub's source code language detection is over there: https://github.com/github/linguist/tree/master/lib/linguist It doesn't measure line length, which could be a good way to detect minified JavaScript. It uses file extensions and byte…
    comment by Tobu · 2011-12-19 · in The switch: Python to Node.js