Anyone interested in playing with the new Neural Network capabilities in Mathematica 11 ? I think I have found a interesting toy example to work (see mathematica.stackexchange.com/questions/124769/…)
It's because it's an inherently ambiguous operation
It's very often used instead of Map or Lookup
when those have very clear semantics.
90% of the time that I see "/." the programmer meant something rather specific to be done than a general replacement. And it's a huge source of hard to debug problems.
Yes. But I think even then. I often write out "Replace" because it should be used so rarely
You can often profitably hunt for bugs by simply just searching for "/." in source code and working out how to make it do something its writer didn't intend.
Hi, everyone. Did someone know which header file I should add when using C fucntionmemcpy()?
The Visual Studio gives the suggestion memory.h, while when I google the keyword memcpy, I found that the corresponding header file is string.h. Any suggestion?
In addtion, when I compile the source code without the header file string.h, Mathematica gives me a correct DLL file. Very odd!
Is there a way of reaching out to Wolfram and suggest a feature for the next version of mathematica? I'm a bit disappointed that v11 still doesn't have it and I'd be open to discuss a bit about the details, that's why I'm afraid that contacting support with a simple request could be not very help...
to toggle between two expressions. If x is initially true then it's important that it doesn't evaluate the false statement, and vice versa. This I have achieved. However every time I toggle between true and false it reevaluates the expressions, I don't want that either. I would prefer that the first time it's false, it evaluates that and keeps that value.
What I'm currently experimenting with is memoization: