25 Jun

Weekly Update 107: Improvements for developers

This is a copy of our weekly newsletter for developers which you can subscribe to here.

Hello contributors,

As you may know, one of the most effective ways to improve an Instant Answer is to evaluate and refine its triggering. Triggering determines when an Instant Answer is called upon for a solution to a query. Some triggers are regular expressions, some are particular words, and others are a mix.

When triggering is bad, an Instant Answer may be asked for a solution to a query that it can't provide. Or worse, it won't be called on to answer a query that it's perfectly capable of returning.

As an example, we have a cheat sheet for the Xamarin IDE, contributed by @gitcode. The software's official name is Xamarin Studio so @gautamkrishnar added "xamarin studio" as an alias for the cheat sheet. Now it will display when users search for either "xamarin cheat sheet" or "xamarin studio cheat sheet", a quick win!

Why not take a look at some of our programming Instant Answers and see if you can create the right balance of triggering more but not too much? Our users will thank you for it!

Speaking of things to do, here are some more ideas for this week...

5-minute Fixes

More quick fix ideas here...

Weekend Warriors

More high priority fix ideas here...

IAs for Adoption

The following Instant Answers are looking for a maintainer — someone to moderate suggested changes from the community as well as address any issues that pop up in the future. If you'd like to step forward, please create an issue on GitHub using the button at the bottom of each IA page.

Quick Tip

A quick and easy one this week. Sometimes at the command line you want to repeat your last command. Well, there's a command for that:

!!

Perhaps not so useful on its own, but how many times have you had to repeat a command and append sudo to the front? Now it's easy:

sudo !!

Perhaps it works with sandwiches too: https://xkcd.com/149/

And with that, have a good weekend everyone.

  • The DuckDuckGo Staff
7 Tweet

This blog has been archived

Thank you for reading and contributing lively discussion to our blog! Read more posts about online privacy on our new blog at spreadprivacy.com.

Nice update

posted by PrincyCrochet • 1 year and 1 month ago Link

Good job!

posted by thetool • 1 year and 4 months ago Link

Great ! Have fun too !

posted by sydo • 1 year and 4 months ago Link

Thanks sydo - you too!

posted by tagawa Staff • 1 year and 4 months ago Link

People must have a Github account to submit a new instant answer. And I don't know are there any type-qualified for submiting any instant answers.

posted by Alphabet_song.ogg • 1 year and 4 months ago Link

That's right, because we use GitHub so much for Instant Answer development and maintenance, we require a GitHub account.

posted by tagawa Staff • 1 year and 4 months ago Link