12 Nov

Weekly Update 127: New task list, new IAs

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

Hello contributors,

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.

We've also been releasing more of your code as usual, and that includes several new Instant Answers (IAs) in the past few weeks. They include some useful tools for HTML, JavaScript and CSS:

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

5-minute Fixes

More quick fix ideas here...

Weekend Warriors

More high priority fix ideas here...

Quick Tip

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 (_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:

:mkv

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

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.

Thanks for the nice comments everyone - very kind!

posted by tagawa Staff • 7 months and 5 days ago Link

Thanks for your efforts !

posted by Koallla78 • 7 months and 6 days ago Link

Great news! The tools for HTML, CSS and JS are very useful.

posted by NilsTalibart • 7 months and 6 days ago Link

Thanks for the improvements !

posted by michaelstrhauss • 7 months and 9 days ago Link