Weekly Update 103: Benefitting from outside help
This is a copy of our weekly newsletter for developers which you can subscribe to here.
I'd like to share a nice example of collaboration leading to a better experience for users. We have a handy Instant Answer for finding Rust cargo packages which we told the Rust community on Reddit about. They quickly gave us specific suggestions for improvement, Tom Bebbington and PJ Hampton got coding, and now we have an Instant Answer with better triggering and showing more package results - and happy Rust developers!
This shows the value in sharing our Instant Answer coverage with programmers beyond our usual friends and followers, so if there's a forum or community you're a member of, please feel free to ask for feedback or even coding help with the growing number of programming Instant Answers we have: github.com/duckduckgo/duckduckgo/wiki/Programming-IA-Coverage
And speaking of coding, here are some ideas for contributions...
This is nice and easy - a couple of floating point types need to be added to this cheat sheet.
We're looking for alternative public endpoints for this Italian shipping company's tracking service.
Some queries about Android don't trigger answers that exist in the source.
"how many roads must a man walk down" - no problem, but "you don't need a weatherman" - no lyrics displayed. Is this fixable before Bob notices?
IAs for Adoption
The following Instant Answers are looking for a maintainer. Could that be you?
Last week we saw how aliases could be used as an autocorrect for command line typing mistakes. This week, a few other ideas for how to use aliases, primarily to save time typing or to avoid having to remember long commands.
We tend to use a handful of Git commands again and again, so how about shortening them?
alias gitc = "git checkout"
alias gitcm = "git checkout master"
alias gits = "git status -sb"
Is there a directory you often move to? Try creating a single-letter alias for super-fast directory changing:
alias c = "cd /usr/local/ddg.cache/share/spice"
And aliases don't have to be letters. You could create aliases to cut out the command names altogether, like these directory changing shortcuts:
alias .. = "cd .."
alias ... = "cd ../.."
And so on...
Even if you don't use these exact aliases, hopefully they provide inspiration for you to create your own. Remember, these aliases should be added to the .bash_profile or .bashrc file in your home directory, and then restart the terminal for them to take effect.
That's all for this time. Have a great weekend!
- The DuckDuckGo Staff