News for hackers. Stuff that matters.
Re:DuckDuckGo Traffic by clubm8 on Saturday September 29, 2018 @11:00AM (#18100732)
They can also do cool stuff like currency conversion:

https://duckduckgo.com/?q=10+cad+in+usd&atb=v123-2__&ia=curr...

And generate passphrases:

https://duckduckgo.com/?q=7+word+passphrase&atb=v123-2__&ia=...

My killer app is the bang commands: https://duckduckgo.com/bang

!hn for hacker news !a for amazon !w for wikipedia !imdb for imdb !reddit for reddit !wa is the best for calculations and other weird stuff (ex: type in a date and find out what day of the week it was)

Re:DuckDuckGo Traffic by Insanity on Saturday September 29, 2018 @11:40AM (#18100969)
Bang patterns are awesome!

Tip for non-English speakers

!wen for English wikipedia if your default language is something else.

Re:DuckDuckGo Traffic by domoritz on Saturday September 29, 2018 @12:44PM (#18101308)
I use search keywords directly in my browser's address bar. Isn't going through ddg always going to be slower?
Re:DuckDuckGo Traffic by nvrspyx on Saturday September 29, 2018 @01:06PM (#18101465)
Well, if your browser's set search engine is DDG, !bangs can be used in the address bar. They're just shortcuts to other search engines. For example, if you wanted to search for Matt Damon on IMDB, you'd just type "!imdb matt damon" in your address bar and it'll forward the "matt damon" query to IMDB's search.

More specifically, typing "!imdb matt damon" will simply forward you to the following link: https://www.imdb.com/find?s=all&q=matt%20damon

----

More examples:

!a soap => https://www.amazon.com/s/?url=search-alias%3Daps&field-keywo...

!hn duckduckgo => https://hn.algolia.com/?query=duckduckgo&type=story&dateRang...

Re:DuckDuckGo Traffic by kalleboo on Sunday September 30, 2018 @08:44AM (#18105934)
> typing "!imdb matt damon" will simply forward you to the following link

In Safari, typing "imdb matt damon" and hitting the down arrow before enter gives me the same result. Do other browsers not have site search built-in? It will also pick up search fields on any site you browse you instead of requiring it to be added to some central repository.

And I use Spotlight for calculator and unit/currency conversions. Seems wasteful to roundtrip that kind of stuff online.

Re:DuckDuckGo Traffic by h1d on Saturday September 29, 2018 @06:11PM (#18103201)
Too bad usually the general search engines are smarter than individual sites' search engines, I don't get how it's really useful than not having the bang.
Re:DuckDuckGo Traffic by _jomo on Saturday September 29, 2018 @04:23PM (#18102593)
I don't think Firefox on Android supports this. On Desktop it's quite useful for when you want to search a site you don't have a shortcut for. Guessing the shortcut has usually worked for me.

Also, when your search didn't give you what you were looking for, you can just prepend e.g. !g to search on Google, which for me is slightly faster than to copy the query, go to the address bar, enter "g" and then paste.

Re:DuckDuckGo Traffic by crtasm on Saturday September 29, 2018 @07:16PM (#18103541)
Android Firefox supports both keywords for bookmarks (with %s substitution in URL) and bang searches on DDG from the address bar. I'm happy to discover this today :D
Re:DuckDuckGo Traffic by krispbyte on Saturday September 29, 2018 @07:06PM (#18103483)
Yes, and it sends the data to ddg, but they have tons of keywords ready to use. I usually set my most used keywords directly and let ddg take care of the rest, best of both worlds.
Re:DuckDuckGo Traffic by singularity2001 on Saturday September 29, 2018 @12:58PM (#18101413)
same. yes we save a few milliseconds with every query that we perform;)
Re:DuckDuckGo Traffic by ReverseCold on Saturday September 29, 2018 @12:47PM (#18101340)
!wa Calories in a cubic lightyear of cheese

= 2.4*10^54 Cal

Re:DuckDuckGo Traffic by robin_reala on Saturday September 29, 2018 @12:49PM (#18101354)
Interesting question: does a black hole initially formed of a cubic lightyear of cheese retain its calorific content?
Re:DuckDuckGo Traffic by sonofgod on Saturday September 29, 2018 @01:28PM (#18101602)
I'm going to say no, because the black hole will be more dense than a neutron star, where chemical energy (and, more generally, chemistry) can't exist because protons and electrons fuse into neutrons.

The energy still exists, presumably, but claiming that's relevant would be like claiming a cheese at the top of a hill (potentially about to be rolled) has more calories.

Re:DuckDuckGo Traffic by bacon_waffle on Saturday September 29, 2018 @07:15PM (#18103535)
In a previous life, I spent a lot of time backpacking, and half-jokingly made a point of stopping to eat/drink before bigger climbs. More fuel in the furnace, and less to haul up in the pack.

In that context, the cheese at the top of the hill really does have more calories or value or something along those lines.

Re:DuckDuckGo Traffic by maxwell on Saturday September 29, 2018 @12:34PM (#18101245)
Google's currency conversion also includes a chart:

https://www.google.com/search?q=10+cad+to+usd

Not seeing any passphrase generation though.

Re:DuckDuckGo Traffic by h1d on Saturday September 29, 2018 @06:09PM (#18103190)
When it comes to password, you're better off using some offline tool.
Re:DuckDuckGo Traffic by orf on Saturday September 29, 2018 @06:32PM (#18103306)
Why? Because some high powered adversary is spying and decrypting all your internet traffic to find a passphrase you may or may not use in its entirety?
Re:DuckDuckGo Traffic by h1d on Sunday September 30, 2018 @01:14AM (#18104579)
DDG should be fine to be trusted but you don't know what kind of code produced it.

You need to worry about where the produced password is stored, how random it is and you can't prove any of it.

Generally, you can't just decrypt your traffic... there are other attack vectors.

Re:DuckDuckGo Traffic by moollaza on Friday October 05, 2018 @11:22AM (#18148844)
Our instant answers are open source. You can see the Perl used for the passphrase Goodie here: https://github.com/duckduckgo/zeroclickinfo-goodies/blob/mas...

We’re not storing these generated phrases anywhere.

Re:DuckDuckGo Traffic by clubm8 on Sunday September 30, 2018 @10:21AM (#18106264)
> When it comes to password, you're better off using some offline tool.

It can be useful for low risk scenarios.

(Ex: setting up a new netflix passphrase to share with a new partner)

Re:DuckDuckGo Traffic by aviraldg on Saturday September 29, 2018 @03:06PM (#18102179)
If you like DDG's bang commands, you might want to check out Riot.im - it supports autocomplete for DDG searches and bang commands (and as far as I'm aware is the only IM client to do so)

/ddg <query> to try it out

Re:DuckDuckGo Traffic by newscracker on Saturday September 29, 2018 @01:03PM (#18101449)
The currency conversion seems to have improved. It used to require the currency and number in a specific order with specific spaces to work. Now it works with any order and spacing.