Live data from Hacker News

Ask HN: Whatever happened to Wolfram Alpha?

news.ycombinator.com

231–240 of 281 posts

Re: Ask HN: Whatever happened to Wolfram Alpha?

#231

Earlier quoted context omitted.

Works for me: https://www.google.com/search?hl=en&q=9%3A00%20EST%20in%20CE...

You are absolutely right. I misremembered. Using GMT does indeed work only on WA: 9: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

Google handles GMT and UTC but doesn't handle offsets from there and, frankly, it's understandable and I wouldn't bother either. What it does handle though is countries and their DST settings:

> 9:00 UTC in Thailand

Re: Ask HN: Whatever happened to Wolfram Alpha?

#232

Earlier quoted context omitted.

I don't think it's accurate though. It says I'd be at around half of the DUI limit after 2 glasses of wine in one hour. That's certainly not right.

How much do you weigh? That sounds close to right for most people I think.

Surely there is a huge difference between men and women considering men frequently weigh twice as much as women.

Re: Ask HN: Whatever happened to Wolfram Alpha?

#233

Earlier quoted context omitted.

The problem is that it is usually presented as a "simple" solution. "Just eat less. Reduce your food intake until you're at a calorie deficit". For some people, that can mean eating three small, but satisfying meals a day. For others, it can mean eating extremely strict rations for only two meals a day, leaving the person constantly hungry and cranky. Then it becomes a will power issue, which as we all know is a func…

It's a willpower issue for 3 days, the time it takes for your stomach and appetite to readjust to a lower volume of food intake. Anyone who's fasted knows how easy skipping meals is--it's certainly not the agonizing test of willpower you and many nonfasters seem to think it is. And by the way, if diet and exercise are not the path to weight loss, then what is?

Diet and exercise are indeed not the path to weight loss. This is well known: most fad diets work this way in some fashion or another, and it’s well known that most fad diets fail.

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 questions

These sorts of feedback loops are why I would recommend listening to endocrinologists, the endocrine system is a signaling system in the body, so these people are very keenly aware of all of these feedback loops and how they reinforce each other. In his recent Metabolical, Dr. Lustig, a research endocrinologist, suggests that focusing on weight for health outcomes is actually totally backwards anyway, that there are more thin sick people than fat sick people in terms of absolute number, and that sickness should come first and wait is probably just a symptom that some people don't express. He gives some better advice about the benefits of healthy eating—studies where they kept calorie consumption and weight the same, and demonstrated huge improvements in health markers, simply by switching out sugary kid food for starchy kid food. Stuff like that.

The insight from complex systems is that telling people to focus on diet and exercise is deeply blaming and that blame might drive shame spirals that are causing the problem in the first place, which is again where I have to step back and hand the problem over to psychologists this time. Viewed this way the problem is that you have an unhealthy relationship with food, and it is unlikely that telling you to diet and exercise is going to magically make it a healthy relationship with food. Mindfulness exercises while eating could for example be a better option. Telling people to eat when they are hungry, but they have to put it on a plate and sit in a dining room and put away their phone and enjoy the food with gusto and stop when they are full: this might help with these binges.

Re: Ask HN: Whatever happened to Wolfram Alpha?

#234

Earlier quoted context omitted.

I mean, I could say the same thing about quitting cigarettes. I absolutely realize it’s hard to do, and that’s why so many people still smoke. But my advice would be the same...

... and that is also extremely bad advice. There is very wide variability in how nicotine addiction affects different people. Some people can quit after a pack-a-day habit and have no problems. Some people have trouble with getting off a pack-a-week habit. 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…

People need to develop agency in actually doing something to lose weight which essentially comes down to eating less. It might be painful in the short term but is a huge benefit in the long term.

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).

Re: Ask HN: Whatever happened to Wolfram Alpha?

#236
post #35

1. It's slow, even for simple microsecond computations like log(2). Takes about 5-20 seconds to load a page on my 1Gb fiber connection. Opening Python/SymPy Gamma is much faster for most things. https://gamma.sympy.org/input/?i=log%282%29 2. Every time I use it, a box saying NEW: Use textbook math notation to enter your math. TRY IT pops up over the result, and clicking the X doesn't hide it the next time I search. T…

> Takes about 5-20 seconds to load a page on my 1Gb fiber connection 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…

> 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.

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)

Re: Ask HN: Whatever happened to Wolfram Alpha?

#238

Earlier quoted context omitted.

The problem is that it is usually presented as a "simple" solution. "Just eat less. Reduce your food intake until you're at a calorie deficit". For some people, that can mean eating three small, but satisfying meals a day. For others, it can mean eating extremely strict rations for only two meals a day, leaving the person constantly hungry and cranky. Then it becomes a will power issue, which as we all know is a func…

I mean, I could say the same thing about quitting cigarettes. I absolutely realize it’s hard to do, and that’s why so many people still smoke. But my advice would be the same...

The problem here is that you think you're giving people advice when really you're just telling them what to do. The difference is that advice comes with kindness, compassion, an understanding of how the advice is affected by someone's situation and context, and deep knowledge of the subject you're advising about.

Equating changes to diet for weight reduction to quitting cigarettes shows you probably don't have that.

Re: Ask HN: Whatever happened to Wolfram Alpha?

#239

Earlier quoted context omitted.

Wolfram isn't reporting how much protein you'll get from eating something; it's reporting how much there is in the bread. Protein assimilation depends on a huge range of factors, and varies significantly between individuals (based on everything from gut microbiome to health factors to how much you chew your food to your saliva production to... Well, it's a long list). There's no way a website could report the amount…

So you're saying that "fat people eat too much" is a statistically inaccurate statement?

I'm saying that someone can eat what is defined as "a healthy diet" and still gain weight.

Re: Ask HN: Whatever happened to Wolfram Alpha?

#240
post #74

Earlier quoted context omitted.

I don't know, I was looking for "how to configure cors for specific vhost in nginx" and all I got was Apache SO links. Had to use -apache.

Use verbatim search too. All words must exist without aliasing. (google aliases ubuntu and debian, john/jon/Johnathan for example)

Sometimes even this doesn't work. I used verbatim search and got back results which didn't contain the word I looked for.

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.

Post reply on HN