The search feature also seems to be somewhat fuzzy, which rocks. Searching for "isnumeric language:c" returns hits for "is_numeric", "isnumeral", etc. Very nice!
My only minor complaint is that the search results page is sometimes displaying the wrong highlighted excerpts of matched files. For example, using the above search, I see highlighted text for things like the "(c)" in a copyright notice, or an emacs "Mode: C" hint. Because it's only displaying the first highlighted region per-file, it's hard to use the results page to see which hit I want to drill down into.
Very nice. It'd be nice to see a little better relevance. For example, I searched for "game" then drilled down to one of my projects which was listed in the side bar. Towards the bottom of the results was a hit from "game.rb"... it seems like a hit from a file who's name includes the search term might be more relevant than that.
Or, perhaps a hit like "class Game" should be considered more relevant than "attr_reader :game". Perhaps.
Are there disclosure guidelines on Hacker News? The submitter is on the GitHub team, IIRC, but it doesn't say that in the submission title or in his profile.
Edit: changed from "What are the..." to "Are there"
no need to provide any extra information, it really doesn't matter who submits something, but any reason you wouldn't mention github in your profile? sometimes i like checking out profiles to see what people are working on.
wow! There exist rules for not posting something that is already public? Or rules for filling out a more complete profile? I would guess if someone wanted to keep something a secret then making it so every search engine in the world wouldn't crawl it would be job 1.
I don't recall being asked to read such rules when I signed up for HN. But I'm happy to learn them if they exist.
http://github.com/codesearch?q=%22%3E%3Cscript%3Ealert(%22Oops%22)%3C%2Fscript%3E%3Cspan%20%22&repo=&langOverride=&language=&x=0&y=0