188 points · by feross · 6y ago · 43 comments
I usually resort to spelling out the symbols I’m looking for (“shebang bin env versus bin bash”) but often people who ask questions or post issues on GitHub use the actual symbols, not the words.
I’ve tried a couple of symbol-specific search engines (e.g. https://symbolhound.com) but found it pretty hit-or-miss.
I really wish Google/DuckDuckGo had better symbol support natively.
All search engines suffer from an over abundance of information, so much so that it's becoming more and more difficult to find useful information. You really have to know quite a bit about the field you are researching and what terms to use, but of course by that time you probably don't need to search for it.
I want a type of search engine that is predictive and can filter out results based on your search history (for example filter out surface level health information sites if I almost never click on them).
This makes me wonder how much a benefit the Internet really is for people, information-wise. These general audience articles I see polluting top search results tend to be at best non-informative, at worst spreading total bullshit, and they're also designed to maximize the time you're spending reading them.
https://www.google.com/search?client=firefox-b-1-d&q=%22%2B-...
Likewise no results for "+" "-" "
" "/":https://www.google.com/search?q=%22%2B%22+%22-%22+%22*%22+%2...
Edit: tried to escape the multiplication symbol/asterisk, but I think the italics speak loud enough on this issue
I think a better example is searching "+= operator python", for which it successfully highlights the "+=" and finds relevant results:
https://www.google.com/search?q=%22%2B%3D%22+operator+python...
- "componentdidmount" -> React Component documentation
- "express request" -> Express API documentation (monolithic documentation page)
- "quaternion lookat" -> Unity3D docs for "LookRotation" (the correct method name)
- "strings replace" -> go package is second result, adding "go" to query makes it first
- "dataframe read_csv" -> pandas read_csv documentation
It didn't handle these as well:
- "browserrouter" -> nothing useful, react router documentation appears to not be indexed
- "python readlines" -> official documentation on this isn't in the top 10 results, and the 12th result is python2's version
- "numpy normal distribution" -> a bunch of stack overflow questions that don't even talk about np.random.normal
A meta-note: my Mac changes "numpy" to "bumpy" (or "lumpy" or any other word it can think of ending in "umpy") and several other annoying autocorrects. Maybe disable autocorrect on the search field?
"shared_ptr" didn't pointed me to https://en.cppreference.com/w/cpp/memory/shared_ptr :(
Edit: PS it's great!
One major shortcoming I commonly experience in search engines is poor support for things like complex or custom logical symbols, bitwise operators and other non-alphanumeric strings. None of the major search engines do this well AFAIK.
I've done it a few times so far.
only returns