In Zig? It would allocate stack space for a new variable a, and add b and the d field of c together and insert that value into the memory location that a reserved. In D or Python or anything that allows for properties, it would be allocating a where-ever the language allocates stuff, then calling an infix function '+' which could be anything depending on the language including starting up a JVM in the background for god knows what reason, and calls it with the arguments b and the result of calling the property function d of the object c.
But what are the types of those fields it is "adding"? What are the semantics of "adding" for those types? These things are not obvious from reading that statement.
They are obvious to the programmer who knows the types of b and d and thus the semantics of adding them.
The operation itself implies that both b and c.d must be primitive types and so the semantics of the operation are defined by Zig's language rules.
edit: To clarify - this in contrast to, say C++, where nothing can be inferred about the types of the variables involved and the semantics of the operation, since '+' can be overloaded.
> I’m curious what a non-animal heart rate looks like.
Most sources consider animals as separate from humans, so non-animal would mean human. In general poor treatment of animals is considered a lesser offense than one commited against a human, as an illustration of the separation of categories.
Being that we are animals, this trait is not restricted to humans. Animals don't observe much when another type of animal huts a different animal but may come to the defense of its own kind, if related.
> How much Tylenol would a person have to consume over a two month period to permanently damage their liver
Liver damage can occur after a single incident. People have died from single time overdoses of paracetamol. There is a quick fix in an ER of giving NAC which can help eliminate most of the damage, but there is a small window(a day or two) where it is effective.
I have a load of NAC on hand. Would it be a good idea to take it whenever I take Tylenol? I can't imagine a pharma pathway that would result in it attenuating the painkiller effect. Just mop up the oxidative damage.
Not a doctor and I wouldn't listen to medical advice from HN, but you can find a lot on this:
>Therefore, it may be beneficial to administer APAP(Tylenol) in combination with NAC routinely to reduce rates of liver failure and death. Because NAC's main role is to reduce the accumulation of APAP's toxic metabolites, the concomitant administration of NAC should have no impact on the efficacy of APAP as an antipyretic and analgesic.
One thing I have always thought is odd, is that a multinational company that has ~billions of users would have a single UI. At Google or Facebook scale, it would seems like having a more localized UI per region would make more sense. It isn't like they don't have the money to do this, and most of the service is behind an API/server-side, so having a different front-end better localized to, say, Arabic users, doesn't seem like it would place an undue burden on them.
Thank you for this, I was wondering that as well. I thought it was a bit interesting that one of the metrics was "expected Conversation-turns Per Session". I would think most of the success in the chat bot comes from a proper metric for the goodness of a chat. It seems like this was the first paper where that measure was used, does anyone know more about this?
That seems like a weird dichotomy, Call of Duty is likely more fun in a going on an adventure way, where as chatting with an AI seems more like the old livejournal/90's blogging community(venting to someone about your feelings).
So you believe that modern men would prefer an AI girlfriend because modern women are unlikely to want to be a subservient best friend/are overweight?
I don't know that I would believe that to be true, especially in modern China where most women are of average/slightly under weight. Also we don't see much of a similar trend of women being drawn as much to some AI boyfriend.
I very likely didn't, could you try explaining it in a way less subject to poor interpretation? I think, at least judging by a sibling comment, people are not understanding what you are meaning to say. English is not my first language, so I apologize for any confusion.
“[...] But the system isn’t producing kind, caring, nurturing, loyal, attractive women who want to be wives and mothers.[...]”. Many young woman today are not in search of a family or a partner to settle down with. It gets less desirable for many. And for some reason modern men generally seem to want long lasting relationships more than woman do. Some woman not aiming to be physically attractive by being fit is probably more common today than 40 years ago, Fourth wave feminism is something the comment above comment also tries to target but not something that is really relevant to this conversation.
This was a good read about explaining debugging to a sibling who isn't a programmer. I loved the illustrations and the way the author explained things.
It's more a matter of people misusing the terms than any sort of "scale" shifting. Officially, the term "low-level language" still only refers to programming languages whose structure corresponds directly to that of the intended an instruction set architecture, i.e. machine code and assembly languages. Everything else is a "high-level language", according to the academic definition. That includes C, C++, FORTRAN, COBOL, Java, Python, Typescript and Swift.
Of course, we all know that there's a pretty marked difference in programming in a language like C vs a language like Python, for example. So often people use "higher-level" or "lower-level" to express this comparison. I wouldn't even argue that those are bad terms to express that difference, but over time people have conflated "C is a lower-level language than Python" with "C is a low level language", which brings us to where we are now where "high-level language" and "low-level language" have, as you said, fuzzy definitions in colloquial usage.
The scale is useless because the center has moved over time?
It used to be less fuzzy (assembled -- compiled) and now has more components (dynamic typing, garbage collection), but I don't see how anyone could deduce that the scale is nolonger a meaningful high-level (:^o) classification of a language.