Weekly Update 127: New task list, new IAs
This is a copy of our weekly newsletter for developers which you can subscribe to here.
Recently we've been making more tweaks behind the scenes to make contribution to DuckDuckHack simpler. One of these is a new consolidated list of available tasks. I'm particularly excited about this because it's the first time we've had a place that combines open issues from all the Instant Answer GitHub repositories. It also includes notes about task difficulty and what language skills are required. This means it's easier than ever for anyone to find a task that suits their experience and ability.
And reference IAs for various languages, such as:
Thanks to contributors continuing to create and improve Instant Answers as part of the Programming Mission, we now have over 200 specifically for developers. If you'd like to help increase this number even further, head over to the list of open tasks or check out examples of issues we'd like help with below...
- AngularJS Cheat Sheet: Add extra services/directives
The issue description includes a few suggestions of what could be added.
- MDN JS: show the first example in the article
For some articles we only show the syntax. Instead, we should also show the first example box from an article.
- MDN JS: Add various uncategorized articles
There are several "misc" articles that could be added to this Fathead, with a list of suggestions in the issue description.
- PerlDoc: Improve regular expression articles
PerlDoc has several pages on regular expressions. The issue description lists some categories that we should improve our regular expression coverage with.
This handy Vim tip is from Andrey on the search team at DuckDuckGo. In Vim, commands are entered with a colon followed by letters. On many computer keyboards, the colon key requires the Shift key to be pressed but the subsequent letters do not — they should be lowercase. Not surprisingly, it's easy to accidently use uppercase when typing quickly so Andrey has created Vim aliases that map uppercase commands to lowercase. Problem solved! Here's how he does it.
As you may know, Vim has a config file called
_vimrc on Windows) which is usually found in your home directory. If it doesn't exist already, you can create one based on your current settings using this command within Vim:
There are many options you can add to the file but the one we're interested in is
command. This enables you to map commands to certain keystrokes. For uppercase to lowercase, it's as easy as adding the following lines which focus on writing and exiting files. You can add more in the same way for other commands you use. According to Andrey, this "makes saving amazing!"
command WQa wqa command WQA wqa command Wqa wqa command WQ wq command Wq wq command Qa qa command W w command Q q
And by the way, we also have a Vim cheatsheet if you'd like to learn more about Vim commands.
Have a great weekend everyone!
- The DuckDuckGo Staff