9 Jan

Weekly Update 84: New Documentation and Platform Features

Hello, hackers!

If you haven't seen it yet, we have our all-new and updated documentation hosted on docs.duckduckhack.com. It includes a lot of new illustrations and videos that will guide you at every step of the way. If you have questions about anything, you can always get in touch!

The best thing about the open source community is that the seasoned developers are always ready to help out new developers.

We've also added an overview of all the activity on the platform at duck.co/ia/dev, and you can see the status of of each Instant Answer on duck.co/ia/dev/pipeline.

New Instant Answers

Try out some of the newly released Instant Answers this week!

Instant Answer Ideas

Book Reviews

Our Community Manager @ourmaninjapan mentioned that we could use the books data from the The New York Times API to display reviews of a particular book.

Color Contrast Checker

We had an idea sent in by @MichielBijl and @stommepoes to create a color contrast checker, useful when designing for people with low vision or screens viewed in bright sunlight. If you've never seen one before, check out Colour Contrast Check.

5-minute Fixes

Fixing issues is a great way to get involved in the community and contribute while learning. These are some of the easier issues to get you started.

Wikinews: CSS needs to increase specificity

Currently the CSS classes target .tile--c which will modify all Instant Answers tiles that are displaying. The CSS rules must be prefaced with .tile--wikinews so it only affects this IA's tiles.

Have I Been Pwned: Add message for zero results

When no results are found, a message should be displayed saying something like "To the best of our knowledge, someperson@example.com has not been compromised".

InTheaters: Should support British spelled trigger words

It'd be nice if InTheaters also reacted to queries like "currently in theatres". Also, queries like "new movies/films" and "latest movies/films" could be added. Also "currently in cinemas".

Weekend Warriors

If you're up for a challenge, these are some of the tougher issues that need to be fixed. Check them out!

Geometry: expand trigger space to cover more common queries

It currently needs "geometry" or "formula" or "calc" to trigger this Instant Answer. Figure out a way to trigger it with just "area of a square" and other similar queries.

GoWatchIt: Ensure we cache compiled regex in variables, cleanup code

We're using several identical regular expressions here that are each being compiled separately. They should all be stored in variables so they're only compiled once which should give a small performance boost.

The code may also need a refactor/reorganizing.

SublimePackages: Tile icons have alignment issues

Help us figure out why the tile icons have alignment issues in the CSS!

Have a good weekend!
- The DuckDuckGo Staff

4 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.

This is good.

posted by desguacesypiezas • 2 years and 6 months ago Link

The new documentation is really great!

posted by preemeijer community_leader • 2 years and 6 months ago Link

Thank you! That means a lot!

posted by talsraviv • 2 years and 5 months ago Link

Thanks, preemeijer! I know @talsraviv would be glad to hear it!

posted by zac Staff • 2 years and 6 months ago Link