Weekly Update 114: The importance of IA pages
This is a copy of our weekly newsletter for developers which you can subscribe to here.
As you know, we have a public list of all live Instant Answers, from cheat sheets to interactive tools, from converters to entertainment data, and more. But did you know that as a contributor to an Instant Answer (IA), you have access not just to that IA's traffic data but also to updating its information?
The information stored in these pages is very important and increasingly used to keep metadata separate from Instant Answer code, such as data source, example queries and topics. We also use some of this data to power automated features like the screenshot tool.
So if there are IAs you've contributed to, please log in to their IA pages and take a moment to check the data in them, updating them if necessary. This makes sure they all work as intended and users get the most out of them.
And if you haven't been able to contribute yet, below are some ideas to get you started...
- Random Passphrase: Improve word list
- Arch Linux Cheat Sheet: Rename to pacman package manager
Pacman is used by more than one Linux distribution so this renaming should make it more relevant.
- Timer: Audio not playing in the background
Seems to be an issue with Blink-based browsers.
- Binary Logic: Increase scope
We should consider adding support for binary and symbolic queries.
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.
Last time we looked at fixing unneeded files in a pull request, but what about unneeded files when just pulling down files? Before creating a new branch it's a good idea to get the latest version of an upstream repository, but sometimes new or edited local files prevent it. You're happy overwriting them but Git refuses. Here's how to fix it and make Git happy.
Firstly, let's try pulling the upstream files and see what happens:
git pull upstream master
The other day I did this and got an error because of local files that had changed, with a message saying "Please, commit your changes or stash them before you can merge." Git then showed a list of the files that caused the conflict. Luckily it's easy to overwrite the local changes. Very simply, we just checkout the local files into a kind of no-man's land where you can forget about them:
git checkout -- [filename]
Do this for each file that the error message warned you about and then you can pull as usual:
git pull upstream master
Please remember that this is only for files that you're happy to overwrite, in which case it's problem solved!
That's all for now — have a great weekend.
- The DuckDuckGo Staff