Hacker News new | past | comments | ask | show | jobs | submit login

The languages breakdown is interesting. It seems GitHub refuses to admit defeat and categorises the .m files into various other languages which use the extension (M, MATLAB, Objective-C, Mathematica and Mercury). I wonder if they use some sort of fuzzy ML solution for categorising them rather than conventional parsing.



Wonder no more! https://github.com/github/linguist/blob/7c2adbdb15d4efd25d92...

As most AI, it's regex and ifs all the way down.


> As most AI, it's regex and ifs all the way down.

This made me laugh way more than expected, mostly because of how true it is.


These incredibly vague regexes are hilarious. But I guess if it works, it works (until it doesn't)





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: