by neltnerb · 7y ago · 0 comments
It's basically replaced my TI-89 for years, I hate doing calculations with units by hand and it's super error prone to not include them in the calculations.
For everything else, duckduckgo has consistently provided a suitable result to answer my question for 90%+ of stuff, no worse than Google. It's super rare for me to check if Google has better results for normal things. I see them as a different ordering rather than superior ordering, so I think of Google more as an alternative than a fallback. They clearly both interpret whether a site is a good match using different algorithms but I don't know I'd say one is strictly superior.
[1]: https://duckduckgo.com/?q=100+JPY+in+EUR
[2]: https://duckduckgo.com/?q=2%5E32-1
But like you I drop back for unit-aware calculations. For those an alternative to Google is Wolfram Alpha “!wa speed of light / 400nm in terahertz” [3] which also allows for symbolic computation “!wa integral of 2x” [4].
[3]: https://duckduckgo.com/?q=!wa+speed+of+light+%2F+400nm+in+te...
You can use the command-line program units(1) to do this, available on all Unices. (The preinstalled version on macOS is horribly outdated though, so you might have to look for a newer version in Homebrew.)
$ units --verbose
Currency exchange rates from FloatRates (USD base) on 2019-02-20
3070 units, 109 prefixes, 109 nonlinear units
You have: c / 400 nm
You want: terahertz
c / 400 nm = 749.4811449999999695137376 terahertz
c / 400 nm = (1 / 0.001334256380792608193130988) terahertz
The only drawback is that getting up-to-date currency exchange rates requires running an extra program, units_cur.sheesh...
Made me feel super dumb for googling "10kg in pounds"