Ask HN: Whatever happened to Wolfram Alpha?
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?
280 comments
[ 3.5 ms ] story [ 304 ms ] threadEdit: 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...
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.
I'm waiting for the final release, and then I'm waiting some more for it to be declared stable, and then I'm waiting some more for it to catch on and be declared popular.
Not really, but that's what the name suggests to me.
I just tried it here because of TFA and it's good.
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 providers9:00 GMT-7 in CET
https://www.google.com/search?channel=fs&client=ubuntu&q=9%3...
https://www.wolframalpha.com/input/?i=9%3A00+GMT-7+in+CET
> 9:00 UTC in Thailand
A regular complaint I have with google is (simplified example) converting EDT to MST. Google will “helpfully” correct me and convert EDT to MDT instead, which is explicitly not what I asked for. It’s stupid (I can usually figure it out on my own) but that would be a huge win for me.
https://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:
Usually requires some massaging, but still takes seconds.
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.
I don't see why that statement is inaccurate. It's not "you eat more than me" but "you eat too much." As in you eat too much versus how much your body is able to burn of the calories it assimilates.
For example, for me, 600 calories worth of chips will keep me feeling fed for an hour or two. 600 calories worth of pure brisket can keep me feeing fed for 8 hours. You can guess which I tend to eat more of when I'm trying to lose weight.
edit: Also if you're at a stable weight then we're talking 10% less food per day and not 50% less.
And by the way, if diet and exercise are not the path to weight loss, then what is?
So I guess that the first step is write everything you eat in a way you can monitor it, to be able to reduce it by a small amount if necessary..
Any advice on how to do it?
If your weight is not going down then try to eat somewhat less. Maybe skip a side or order a salad instead of fries or get 1% milk with your coffee. Or cut a potato from your dinner if you're cooking.
That said, tracking for a while is good to figure out what you can cut since you may not realize how much you eat (snacks, night snacks, soda, etc.).
In my case I stopped eating those free chips at work and stopped drinking a can of coke with lunch. I also tried to avoid large dinners but just large enough ones that I wouldn't go to sleep feeling hungry.
Since it touches my field, physics, why people have this misapprehension, (“a calorie is a calorie” is an attempt at a thermodynamic statement) I feel somewhat qualified to talk about part of this even though I am not an endocrinologist or a nutritionist, they would have better answers for you in many other respects.
Thermodynamics is necessary but not sufficient to understand the problem. There are many physical problems with ending the explanation there.
The first is that it ignores equilibrium. So, the claim is that I can diet and exercise down to the weight that I want and then return to the lifestyle that I had before but maintain this new weight. That is, when you say diet and exercise you are talking about temporary interventions and no temporary intervention is going to permanently disrupt the equilibrium. Put another way, most people calculate a basal metabolic rate or total daily energy expenditure at their present weight, and leave it at that. If you're a physicist, you start to want to calculate it at two different rates, you want to see the slope between the two, so you get units of kJ/s/kg, but a kg of fat also maps to a certain number of kJ so this is actually a time constant of something like a year—some crude differential equations then suggest that the time constant is something like the half-life of your weight, so if you start living like someone who is 50 lb lighter than you, after a decent chunk of a year you will be 25 lb lighter, then 37.5 lb lighter after another... Basically just that we regress to a weight set by lifestyle. So the focus on an intervention is wrong. Instead one needs to focus on a whole lifestyle shift. You need to focus on setting a new equilibrium, not on burning calories.
But this is a really crude model and that gets into the second point, which is that you are assuming that the system is linear, like an electronic circuit made only out of inductors and capacitors and resistors. The problem is, it is not, it is in fact a complex system of feedback loops braided together. Picture’s worth a thousand words here,
http://biochemical-pathways.com/#/map/1
You know, that thing.
Once you have feedback loops, there is no guarantee that changing the input voltage to an electronic circuit by 10% will reduce some voltage observed inside the system by 10%. It might, it might not. Changing a complex system requires a fundamentally different approach. Often to change one output, the entire system needs to be reconfigured.
As a direct consequence of this, it turns out that most people who go on diet plans hit “the wall.” At the wall, the feedback loops in your body are downregulating your basal metabolism and your perception of available energy. They are jacking up hormones that make you hungry, and also inducing you to wear more sweaters and other such things. They impel you to have “cheat days.” Part of the cause of this may be that your body does not know how to burn just fat. If your body runs out of energy it starts burning everything, both fat and muscle, to make that energy. As a result if you don't target your exercise and diet to build muscle, losing weight quickly actually can maybe drop your lean muscle mass, and your body is reacting to this global damage by telling you that you're sick, because you are. At least, that's one explanation I have seen, I am not a doctor and do not have any qualifications in this way. For all I know, maybe the body is using your fat to try to sequester some sort of toxin or pollutant from the environment, and suddenly dropping the weight releases all of this crap into your blood and that's the reason that your body suddenly wants to put on weight again. Don't ask me these q...
I think you're misunderstanding what I'm saying. I'm not suggesting people go on keto or weight watchers. Those fad diets don't necessarily fail because they're ineffective, although they probably are--they fail because they are highly prescriptive and restrictive and it's difficult for people to actually execute the diet.
What I'm saying is that reducing total food intake for 3 days creates a lasting decrease in appetite. You can prove this to yourself by skipping breakfast for a few days: after a while, you will simply not be hungry at breakfast time.
The best post I've ever seen on weight loss comes from Andrej Karpathy, head of AI at Tesla: https://karpathy.github.io/2020/06/11/biohacking-lite/
Go to Europe or East Asia and you’ll see it’s definitely possible and definitely influenced by diet (as in what you eat).
The reasons people are fat here are the huge serving sizes, the corn/meat/milk subsidies, and car culture.
Someone who is having extreme difficulty quitting smoking could benefit from working with a doctor to discuss quit-smoking aids or even seeing a therapist to work through their addiction.
No shit, the person needs to "just stop". Way to point out the obvious. Most people don't have a "just stop" button.
IDK, maybe you're just bad at giving advice. Maybe you should just stop.
EDIT: this is seriously an article on The Onion in the making. "Nation wakes up to random forum poster telling them to 'just eat less'. Obesity epidemic ends overnight." The proof is in the pudding here. Telling people "just eat less" is shitty advice.
All I've found online is people giving excuses as to why one body type cannot do this or that, which essentially are the same reasons smokers give when trying to quit(too stressed, can't quit cold turkey etc).
Oh—absolutely! As I said, it’s hard, and frequently requires professional help, strategies, etc.
But, it ultimately comes down to, you have to find a way to quit! You shouldn’t let yourself off the hook.
The obesity epidemic is complex but big factors include poor decision making, psychological issues, sugar sugar sugar.
Still, at the end of the day it’s input / output. You can’t gain weight by sucking in too much air.
Equating changes to diet for weight reduction to quitting cigarettes shows you probably don't have that.
Eat more than your base calories and you will be fat. Smoke and you will be unhealthy.
Reality can't be expected to be kind, compassionate and understanding.
It's simply reality, and that's the way it is.
For me, I quantified what I was eating and simply reduced it a bit by careful tracking. I also did quite a bit of relatively low heart rate exercise and did do some shift of the calories away from carbs. I also identified some intake that was purely habit and not sustaining, like late evening snacks, and eliminated or modified those. Lost 35 pounds in a few months. It may take a while, but the math works over time. It is relatively simple, but it is not easy. I kind of turned it into a game and that helped a bit. At any rate, I wish anyone who decides to try the best of luck.
It really is though. It is hard and requires discipline but it’s actionable.
It also might help to avoid insinuating things about strangers online in order to promote discussion and not stifle it.
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.
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.
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...
And the more complex things WA could do oftentimes require a bunch of trial and error to figure out the correct syntax/phrasing to use to get correct results, to the point where it was just easier to either do the calculation manually or find a dedicated site for it.
So it has just lost utility for me.
Out of sight, out of mind. It's still there
Good thing is, they have a montly cost, but the mobile app you just buy once and it works forever. And it's not that expensive iirc.
https://github.com/metowolf/mathematica-keygen/blob/master/i...
Probably an incredibly trivial use-case but still useful regularly for me...
Example: 4 atomic mass units * (1000 nm/sec)^2
Google Result: 6.64215616 × 10-39 joules
I use this all the time. I use wolfram alpha for solving equations or systems of equations but I use google for unit conversions because it's got better input parsing (frankly).
I should try the wolfram alpha math entry mode probably, I think that didn't exist when I started using it. If I could manually enter the equations with stricter formatting to ensure it's interpreted properly I'd use it more.
[1]: https://www.gnu.org/software/units/
i.e. if it's x milliseconds ping, it can't be more than m miles away.
Alas, I often have to do these kinds of calculations on a random publicish computer or my phone and Google's converter is platform-independent. But not using Google services when feasible is certainly net good.
And of course my TI-89 had equally good unit conversion for practical purposes (since you can define your own units) so somehow the world is still playing catchup to a calculator from the 90s...
If I had to do this in my head or with a desk calculator, I’d just do it in high-energy units (c = ℏ = 1, mass and energy in eV, length and time in eV^-1). So,
This is slightly inconvenient, we wanted energy in eV, but the seconds don’t seem to want to go away. I don’t remember Planck’s constant in eV s, but I do remember 2 keV Å ≈ 1 and 300e3 km/s = 3e8 m/s = 1, so let’s sprinkle it with those, The hardest part is pretending to be a normal person: you have to remember what an electronvolt actually is in normal units. Good thing this is numerically the same as remembering the charge of an electron in coulombs (1 eV = 1.6e-19 J), Good enough to a couple percent.OK, I won’t pretend that this is easy or that I did it flawlessly the first time just now, but I do think this looks like a skill you could plausibly learn, unlike the textbook “SI all the things” calculation. The good news is that you’ve just seen essentially all the relevant constants you’re going to have to remember, except maybe Avogadro’s number if you’re going to have moles somewhere.
(One place where this doesn’t help is first-principles chemistry, things like electrolysis, because you need to subtract large binding energies to get a change that’s hundreds to thousands times smaller. Calculating things to a couple percent just isn’t good enough.)
My example was entirely contrived of course, a less contrived one would be estimating how long a gas cylinder will last. The tank name plate might say it has 200 cubic feet (sigh) and you need to flow at 10mL/min. How many months does the tank last? I'm talking about quick engineering tasks, not theory.
BTW, the answer is about 13 months, whatever that is in eV^{-1}:
https://www.google.com/search?hl=en&q=200%20cubic%20feet%20%...
Which took me about 15 seconds to type. Just different use cases.
Might be a good learning exercise in machine learning: translating natural-language queries from that domain to whatever standard utility.
WA offers answers with drawings. Google cannot do that.
https://www.wolframalpha.com/input/?i=how+many+3mm+circles+p...
(google aliases ubuntu and debian, john/jon/Johnathan for example)
WHAT the FUCK. Is there a more convenient way to bypass this than "quoting" "every" "word?"
the results after choosing verbatim are even worse
Google takes quotes as just stronger suggestions, fyi, but verbatim is supposed to prevent this.
I then just sadly wonder how the heck this could be possible and resignedly slowly shake my head.
I could wish for a feature where I double-double quote the word to empathically indicate that this word must exist in the result and not left out under any circumstances. But then again I am sure that the search quality will continue to decline and even double-double, triple-quote, quadruple-quote words &c won't help anymore. Sort of a quote inflation.
She was either a highly incompetent buffoon, or a liar for PR purposes, as quotes are not the same.
Why the change? Because it caused issues with Google+ searches from their new fancy pants Facebook clone.
Soon after, due to protest, verbatim was introduced.
It was fine for at least 5 years, but someone keeps reducing its effectiveness.
Clowns. All I hear is clown music, when I Google search.
I mean, who rolls out a product so disjointed that the very search for its users is broken, then like a year later, rolls out a broken fix?!
Google, that's who. The product failure king.
The question I have is what kind of keywords are people using on these videos that Google feel is more worthwhile than the actual text of a written version of the content? Or is the algo so heavily weighted to pick a youtube link?
It's reasonable to think that the calculator already answered the question, and I'm not looking for pages on the simple multiplication once I've already seen the answer.
Imagine the uproar if those results didn't come up because a bunch of children's math quizzes were found instead.
One of the reasons children learn new languages quite rapidly is because they get corrected the whole time.
Not correcting people hinders actually their progress in language learning… Even if it might seem impolite it's the one thing that helps a lot, if not even most, in mastering a foreign language!
So thanks for being a "grammar nazi". We need people like you.
(No, that doesn't apply to the causal typo. But I guess most people can differentiate such a thing form true grammar and spelling mistakes; especially if that are "typical" mistakes).
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...
Although for the basics of differential geometry like the Weingarten equations and the Dupin indicatrix WA is lacking - as is Wikipedia except for the articles in the german Wikipedia. And I haven't found a way to get to the 'Weingarten equations' searching for 'Weingarten', you only find him by the full name 'Julius Weingarten'. :(
https://de.wikipedia.org/wiki/Weingartenabbildung https://www.wolframalpha.com/input/?i=weingarten+equations https://de.wikipedia.org/wiki/Indikatrix https://www.wolframalpha.com/input/?i=dupin+indikatrix
:-)
Not saying it's easy.
Don't think I've even visited the website in the past 6 years.
Step one: Ask for your own life expectancy.
Step two: Ask for the life expectancy of someone years' younger.
Step three: What.
Step four: Oh.
You want life expectancy at birth, by year of birth, for proper comparison.
A lot more people can script now, so open source packages of computer algebra systems (Sage, numpy, scipy etc.) Probably take a small bite.
And then you have closed source ones to consider like Matlab.
The second largest chunk probably being bitten out of it is its web and app competitors (desmos, symbolab, etc.) Alexa rankings show that these see a lot more traffic and engagement (2 - 3 times).
Finally, a small portion of its functionality is now covered by search engines. I imagine they'll continue to gobble things up. There are also a few good Web tools, I used one for a linear algebra course I found a lot better than the freeware version of WolframAlpha that came with my Raspberry Pi.
I can't find any reports on its revenue or net income. I would be super curious who uses it. Maybe it's growing... who knows? I also remember it being recommended a lot in the early 2010s.
I find it faster and more accurate to use a specific package in an interpreter than query Wolfram Alpha or use Mathematica. And for the simpler things a search engine will do!
You searched wrong. Excluding today, the most recent comment was 7 days ago, and there were quite a few more in the past month.
https://hn.algolia.com/?dateEnd=1636070400&dateRange=custom&...
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.
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.
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.
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.
I’m a frequent Mathematica user and I find almost all of my use cases require several different attempts to get the desired result w/wolfram alpha. Meanwhile, most people who don’t get the right result the first time will probably just give up and not think to rephrase the query.