News for hackers. Stuff that matters.
Re:What's this programming language? by carbocation on Saturday June 02, 2012 @02:38AM (#4057301)
Impressive that it doesn't just take the best guess; it also informs you of its alternative hypotheses:

http://i.imgur.com/wITwa.png

Update:

Reading your blog post, I see that this is a wrapper around highlight.js, which is doing the language-guessing (including the second-best guess): http://softwaremaniacs.org/wiki/doku.php/highlight.js:api

Re:What's this programming language? by nithinbekal on Saturday June 02, 2012 @02:42AM (#4057312)
OP here. I can't take credit for that, though. ;-)

It uses the highlight.js API for making the guesses, which provides the 2nd best option as well. :)

Re:What's this programming language? by reacweb on Saturday June 02, 2012 @06:10AM (#4057708)
In conclusion, the site is a very good idea, but highlight.js is really too bad for this kind of use. Raise a ticket on highlight.js