Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

None of the answers I got make sense #41

Closed
mttkay opened this issue Feb 24, 2016 · 4 comments
Closed

None of the answers I got make sense #41

mttkay opened this issue Feb 24, 2016 · 4 comments

Comments

@mttkay
Copy link

mttkay commented Feb 24, 2016

How does how2 resolve search queries? Here is what I searched (just to give it a spin)

Q: $how2 scala read file
A: bash - Command substitution in for loop not working

Q: $how2 android launch activity in new task
A: bash - When I run ./command.sh & the background task is ...

Q: $how2 how to use how2
A: software installation - how to install .git file?

Love the premise of the project, but its answers are completely off.

@MorganMaison
Copy link

@mttkay You should specify the language/technology for your query with the -l option.

for example :
$how2 -l scala read file
$how2 -l android launch activity in new task

Otherwise the default technology for your search is bash.

@mttkay
Copy link
Author

mttkay commented Feb 24, 2016

Ah! A case of RTFM. Thanks!

Btw:

⭐  how2 -l android launch activity in new task                                                      
-You are doing too many requests to Google. You need to wait a bit before trying again.`

Known issue?

@danyshaanan
Copy link
Contributor

Regarding Scala:
See this line, where how2 suggests using the -l flag when using certain languages names. Might be wise to create PR with Scala added (along with other likely languages).

Regarding the 'btw' - consider opening a new issue to keep everything organised and searchable.

@mttkay
Copy link
Author

mttkay commented Feb 24, 2016

👍 #42

@mttkay mttkay closed this as completed Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants