Remember Google Code Search? That was a great feature of Google search. You could search for swear words in all the code available worldwide. In one (Sun Microsystems?) code there was a comment "The user is a wanker. He cannot remember his password." The old days were much more fun.
Yes, google code search was a great service. One could use regular expressions and limit the search to particular language or license. Moreover it indexed code from any tarball or repository google bot run into, so the sheer size of data one was searching was hard for others to match.
GitHub is most aweful search that I have regularly used. It doesn’t even have basic dedup capability, forget about any thing slightly less basic like limiting search to file names. And it’s not that it is hard to derank potential dedups given that they already know the fork graphs. I have spent good chunk of my productivity manually sweeping through pages upon pages of exact same search results to find the snippets I was looking for and hating creator(s) of this functionality from the bottom of my heart. These people shouldn’t be allowed to build any search again without a mandatory year long rehabilitation training camp (unless they are doing this for enemy states during war times).
How about finding multiple hits per file? Tell me how many matches there are in each file, PLEASE. I should not have to click into the match to know there's more than one match in that file. I shouls also be able to have a view that shows me every match (a la grep/ag). If I need to search, I pull down the repo, index it quickly with ag and do the search. That's really unacceptable, in my eyes, when the basic search is there already.
Try the search feature in many CMS systems. Those tend to really suck, with WordPress' being awkward enough that a whole ecosystem of plugins cropped up to replace it.
There's also at least one version of the OpenCart admin search which was designed so poorly that it didn't actually search based on whether the term was anywhere in the page title/content, but whether the title started with the search term (I think they'd screwed up the MySQL syntax). That was interesting.
Either way, search on a system not designed as a search engine is usually okay at best, absolutely terrible at worst.
It will only occur if everything is so irrevocably on fire that you need to debug a lot of code anyway, at which point the error message is useless.
Specifically, the branch is only reachable if the PID is not what was expected, or the location that the macro was supposed to longjmp to is not set, which would be fatal defects.
Google still uses code search widely internally. It's one of their greatest internal-only productivity boosts. The fact it has knowledge of includes and cross-references and function prototypes and templates is amazing...
You can still use it as an outsider to search Chromium:
Considering that one can't 'index by regex', I wonder how the backend works - does it actually run the regex against every source code line in the repository in a few hundred milliseconds? Sounds expensive! They must have thousands of machines! Maybe thats why they don't have a public codesearch tool for the whole internet...
I wonder if the writer of that comment was American or British - it appears that the term is somewhat less offensive in the US.
Once, whilst watching a relatively mainstream US series I was surprised to see a character refer to their colleagues as "wankers", which seemed rather incongruous.
it appears that the term is somewhat less offensive in the US.
A lot of ordinary British things are seen in the U.S. through a filter of... let's call it "quaintness."
Swear words. Thatched roofs. Music on AM radio.
So, yeah. Whatever offensive word you heard probably didn't have the same impact on the other side of the Atlantic. There's probably some reciprocity, too.
My experience is that this doesn’t apply to the see you next Tuesday word, at least here in Canada. It’s seen as very offensive according to the Canadians I know. Speaking as a Brit, that word is thrown around quite casually in the UK!