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. …find JSCAD modeling inside Atom useful? Tips/suggestions? I've been working on this project [1] [0] https://github.com/github/linguist/pull/2712 [1] https://atom.io/packages/atom-scad-preview
    comment by matiasb · 2016-01-14 · in Atom text editor 1.4 released
  2. …allow one JSON expression per line. I see someone already created a GitHub linguist issue for it: https://github.com/github/linguist/issues/2217
    comment by benatkin · 2015-09-26 · in JSON Lines
  3. It looks like a simple count of the language(s) detected by the linguist project -- https://github.com/github/linguist Agreed, does not make much sense if it isn't a weighted average. A simple count could very well be littered with…
    comment by justboxing · 2015-08-19 · in Language Trends on GitHub
  4. None actually. Haven't gotten around to troubleshooting linguist yet - https://github.com/github/linguist#troubleshooting
  5. Because of some technical reasons language renames can't be handled by Github at all currently: https://github.com/github/linguist/pull/1936 Edit: The now deleted post was asking about whether Nim code could finally be identified as "Nim"…
    comment by def- · 2015-05-05 · in A small kernel written in Nim
  6. …code, which I hope will be fixed soon [2]. [1] http://libraries.io/search?languages=Standard+ML [2] https://github.com/github/linguist/issues/2208
  7. I'm using https://github.com/github/linguist for language information, still waiting for this pr to be merged for the Nimrod => Nim change: https://github.com/github/linguist/pull/1936
  8. Github's language detection is actually open-source — you can have a look at what it does here: https://github.com/github/linguist Linguist uses a number of different 'strategies' to identify the language – in the case of C vs. Objective…
  9. …or developed as far as i can tell. If you have Ruby in your stack, it's easy -- use github's own https://github.com/github/linguist You might also be able to use just the language definition files from https://github.com/syntaxhighlighter
  10. Of course it does: https://github.com/r0nk/ward/blob/master/hello.bf https://github.com/github/linguist/blob/master/lib/linguist/... Just not in Ace (their code editor). It doesn't count it in language statistics, though.
  11. …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/
  12. 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
  13. …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
  14. …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/...
  15. …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…
  16. …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
  17. …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
  18. …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
  19. ▲ 5
    Dramatically enhance colors for JavaScript and CSS (GitHub)
    story by dsilver · 2014-04-24 · 0 comments
  20. 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
  21. 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
  22. 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
  23. 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
  24. …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
  25. …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
  26. Do you mean, a fix like https://github.com/github/linguist/pull/985 ?
  27. …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/...
  28. …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
  29. 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…
  30. ▲ 79
    GitHub's language detection is broken
    story by Allan_Smithee · 2014-03-14 · 88 comments
  31. …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
  32. …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
  33. …[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
  34. …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
  35. …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
  36. 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
  37. …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
  38. 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
  39. If folks want to improve our language detection on GitHub, please take a look at https://github.com/github/linguist
  40. …thing is syntax highlighting for ls files on GitHub. Maybe you can make a pull to their Linguist? https://github.com/github/linguist
  41. It needs to have the .coffee extension (or two variants): https://github.com/github/linguist/blob/master/lib/linguist/...
  42. …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
  43. …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
  44. 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