I did a search on comments on HN for Wolfram Alpha. Most posts are 8 years old, none newer, some older.
What's going on? Did Wolfram Alpha stop being useful, or did people just forget about it?
What's going on? Did Wolfram Alpha stop being useful, or did people just forget about it?
Their natural language queries for things that I know they know about are amazing. Here are some that I have used recently. You really need to see these results to appreciate them.
I wanted to know how tall my daughter might be.
http://www.wolframalpha.com/input/?i=8%20year%20old%20female...I wanted to know the nutrition content of an egg sandwich.
http://www.wolframalpha.com/input/?i=1%20egg%2C%20two%20slic...I was curious about the relative usage of two names over time.
http://www.wolframalpha.com/input/?i=Michael%2C%20HenryHow much that cloud instance really costs
Bandwidth calculations for hosting providershttps://www.gnu.org/software/units/units.html
the input language is less flexible than wolframalpha/google, but i quickly got used to it. it's nice to have something local and reliable. you can also define custom units.
i prefer using it in terse mode:
I definitely could've worked that out by hand, but it would've taken a minute or a few, mostly on unit conversions. With WA, I can just think in variable relationships and not worry about units at all.
Don't get me wrong, it often returns complete garbage, see all the memes of Siri passing non-math questions to it. It's annoying to figure out or explain to someone because the syntax is very loose and you just kind of need to get a feel for it, but once you do, it's really powerful.
1: https://frinklang.org/ 2: https://frinklang.org/#SampleCalculations
Its been on HN before.
> 1 egg, two slices whole wheat bread, one slice of cheddar, two.. leaves of lettuce ..
and he said it's wrong and useless (!) - giving me examples and numbers as:
protein assimilability from bread is 40% etc.
Is there a way to get correct answers from Wolfram regarding this ?
(assimilability of doesn't work)
Edit: Excuse me, what's wrong with you downvoters - it's a legit question. Or is there something wrong with assimilability? Are you happy being off with your answers by 60% - or jealous that a human can have better answers?
This is something that actually annoys me immensely when people say "you eat too much!" to fat people. Two people can have the exact same diet and the exact same exercise regime, and if one assimilates particular foods more effectively they'll be getting more calories, and put on weight. Food intake is far more complex than many people believe.
This is wrong; the digestibility of gluten is 80-90%. Your friend was probably thinking of the PDCAAS, which is more like 45 for gluten. But this is nutritional quality vs an egg white equivalent as defined by the bioavailability and concentration of essential amino acids (egg = 100 by definition; the score is based on the lowest fraction of any EAA, so gelatin — no tryptophan — has PDCAAS 0), not the fraction absorbed or utilized. For an idea of what utilization looks like see e.g.:
https://mdpi-res.com/d_attachment/nutrients/nutrients-10-001...
> The limiting amino acid for wheat is lysine.
From what I gather, you still can process all of the protein from wheat if you get lysine from somewhere else:
> A vegetarian or low animal protein diet can be adequate for protein, including lysine, if it includes both cereal grains and legumes.
This also means that any statements about protein utilization from compound meals are more-or-less bogus if done without calculating the different amino acids.
It also might help to avoid insinuating things about strangers online in order to promote discussion and not stifle it.
I don't know what's wrong with the downvoters.
Seems more like the quality of the queries rather than the results. Many of the complaints I see about google and friends is related to them dumbing down search for the global common denominator.
Any advice on rephrasing it to work would be welcomed. Downside to allegedly natural language query systems - there's no concise explanation of syntax it recognises.
Dead Comment
2. Every time I use it, a box saying
pops up over the result, and clicking the X doesn't hide it the next time I search. This adds ~3 seconds to the result time.3. I'm a long-term Mathematica user, but typing literal Mathematica syntax usually never works, except for simple expressions.
4. Results are PNGs, and copy-pasting a numerical result takes a few unnecessary clicks. "Plain Text" > Copy.
Wolfram Alpha is implemented in Mathematica, which --- to understate the situation --- was never intended as a high performance backend server language. I suspect that's the reason for the bad performance.
"As a result, the five million lines of Mathematica code that make up Wolfram|Alpha are equivalent to many tens of millions of lines of code in a lower-level language like C, Java, or Python." [1]
Sure, there's something to be said for implementing logic in high-level code, but without a plan for lowering that high-level logic to machine code in a way that performs well, you're setting yourself up for long-term pain.
[1] https://blog.wolframalpha.com/2009/05/01/the-secret-behind-t...
Whatever the reason for the performance issue (I don't know enough about WA to speculate what/why/how), I feel like noting the existence of the wolfram compiler[0] and the various language interfaces[1]. Anyone interested in using Mathematica/WL might get a kick out of exploring those more, at the very least.
[0] https://reference.wolfram.com/language/Compile/tutorial/Over...
[1] https://reference.wolfram.com/language/guide/CLanguageInterf... (a lot of the paclets are bindings for C libraries too)
There is also no reason to think that their request-response boilerplate is written in Mathematica, Mathematica is fully integrated with a lot of languages and runtimes.
Is there a way to make it plot multivariate functions? I tried but whenever I enter two variables it says "Cannot plot multivariate function." I've seen many Python packages plotting multivariate functions so I'm convinced it should be possible.
Deleted Comment
I will say, though, that Wolfram|Alpha could be "optimised" in the sense that it could do less fancy JS and be a simple box with a submit button, like SymPy Gamma.
When Apple first started using it, they were responsible for 25% of all WA traffic. With Alexa, I assume that the majority of WA's queries are coming from smart assistants at this point. (https://9to5mac.com/2012/02/07/four-months-in-siri-represent..., https://www.theverge.com/2018/12/20/18150654/alexa-wolfram-a...)
The answers in the back of the book didn't tell me step-by-step how I solved the problem. It just gave me the answer and there are many times I couldn't figure out which step I made the error. Usually it was some dumb mistake, but by identifying the dumb mistake, I could remember to double check that similar step in future problems.
I had a hard time using it for Classical Physics to check my work.
(source: conjecture, but I did work at WR for 3 years and on the initial Wolfram|Alpha release)
WA offers answers with drawings. Google cannot do that.
https://www.wolframalpha.com/input/?i=how+many+3mm+circles+p...
I love WA and use it all the time, but it's so hard to know when a query will work and when it won't. When it fails it fails hilariously.
Here's some of my favorite queries:
- https://www.wolframalpha.com/input/?i=2.2+bagels%2Fday+*+ave...
- https://www.wolframalpha.com/input/?i=time+dilation+given+v+...
- https://www.wolframalpha.com/input/?i=400+miles+%2F+20mpg+*+...
- https://www.wolframalpha.com/input/?i=US+unemployment+rate+v...
- https://www.wolframalpha.com/input/?i=warp+speed+6+in+deep+s...
Instead I use the SymPy Live shell https://live.sympy.org/ which does most of what I need in terms of math calculations. I'm a big fan of the sharable links (the thumbtack button below the prompt) that you can post in comments to show an entire calculation encoded in the URL querystring, e.g., https://live.sympy.org/?evaluate=factor(x**2%2B5*x%2B6)%0A%2... (factoring a polynomial), or https://news.ycombinator.com/item?id=23158095 (linear algebra helper function).
Instead, I use Colab with Sympy + latex output and matplotlib (and most other things you could want to import, pre-installed). It's running new versions of things, and backed by more power, with an option to pay for even more. The latex rendering took a bit of poking around stackoverflow, but works just fine.
Feel free to copy:
https://colab.research.google.com/gist/dmlerner/23543255fdde...
Edit: Maybe it's just good enough that people treat it as a tool and see no need to market it. It consistently has worked fine-ish for years and is useful at what it does.
I guess what I should be doing is looking at the Alexa ranking of Wolfram Alpha.
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Deleted Comment
Real:
https://www.wolframalpha.com/input/?i=Real%28+%281%2F%281%2F...
Imaginary:
https://www.wolframalpha.com/input/?i=Imaginary%28+%281%2F%2...
Edit: Sorry, I don't know how to make the search query text show up since it has special characters, probably best to just use the links to see the query.