duckduckgo / zeroclickinfo-goodies

DuckDuckGo Instant Answers based on Perl & JavaScript
https://duckduckhack.com/
Other
979 stars 1.76k forks source link

goodie proposal: gms of sugar in teaspoons. #1761

Closed hemanth closed 7 years ago

hemanth commented 8 years ago

@moollaza A new proposal to show gms of sugar in teaspoons.

For example:

screen shot 2015-11-14 at 19 57 46

What say?

This time I shall do a local setup and be uber fast ;)

Update: the values are from webmd

moollaza commented 8 years ago

@hemanth seems like this kind of query should be handled by our existing conversions Instant Answer -- I would suggest you investigate improving that one. Support for kitchen measurement units may need to be added to Convert::Pluggable first though

hemanth commented 8 years ago

@moollaza Cool, I didn't noticed the Conversions goodie, will improve the same.

BTW is there any setup script to set this up locally? Or do I just cpan App::DuckPAN clone the repo and do a duckpan server? Last time I was stuck with codio that hindered the velocity.

What's with zeroclickinfo-spice ?

moollaza commented 8 years ago

@hemanth yes you can install Duckpan locally: https://github.com/duckduckgo/p5-app-duckpan#installing-duckpan-locally

Spice is for API powered Instant Answers. You can read all about them and walk through tutorials in our docs.

We actually have a beta version of the docs available if you'd like to try them out: https://talsraviv.gitbooks.io/duckduckhackdocs/content/

hemanth commented 8 years ago

Sweet! Thanks.

hemanth commented 8 years ago

@moollaza Did a setup on my VM, where can find the source of this.

Is it an external deps? (Doesn't seem line, grep could find it for me)

mintsoft commented 8 years ago

@hemanth It's on cpan: https://metacpan.org/pod/Convert::Pluggable

hemanth commented 8 years ago

@mintsoft Cool, hmm so I must do a PR to Convert::Pluggable.

GuiltyDolphin commented 8 years ago

@mintsoft @hemanth Conversions is fully-local now, so we should re-evaluate the situation, with the likely outcome of being able to implement this locally.

pjhampton commented 7 years ago

Hey all,

DuckDuckHack is now in Maintenance Mode and from now on, we are only accepting issues and PRs for essential bugs and bug fixes.

Unfortunately, with the above in mind, this isn't something we can action and will be closed.

We appreciate you taking the time to contribute and apologize for not being able to triage this issue.