Earlier quoted context omitted.
Lisp is at its core an evaluator for expressions. The routine for that is called EVAL. Mathematica is a computer algebra system at its core and is a rule-based rewrite system for expressions. An example in Lisp notation: In a computer algebra system (CAS) one may enter 5a - 2a > (- (* 5 a) (* 2 a)) The CAS would answer with: (* 3 a) It has used rules to simplify the expression and uses some default form. It could hav…
> In a computer algebra system (CAS) one may enter 5a - 2a > > (- (* 5 a) (* 2 a)) > The CAS would answer with: > (* 2 a) Not sure I'd want to use such a CAS. Hint: 5-2 != 2. ;-)
Mathematica 14
41–50 of 154 posts
Re: Mathematica 14
#42This is by far the most detailed announcement I have ever seen.
Re: Mathematica 14
#43Earlier quoted context omitted.
And the penny drops! Thanks, I didn’t know he already did it. Totally on brand though.
Every mention of Stephen Wolfram deserves a link to Cosma Shalizi's epic take-down of a review ("A Rare Blend of Monster Raving Egomania and Utter Batshit Insanity"): http://bactra.org/reviews/wolfram/
Re: Mathematica 14
#44Ask HN: I've never met someone who uses Mathematica, I imagine its users are even rarer outside the academic circles. I've met many who use Matlab, R, Python, Excel, etc. If you're using it, what are you using it for exactly? In what way is it irreplaceable by other tools out there, if at all?
Imagine jupyter notebooks with a nice lispish language and the most complete standard library ever developed. Haven’t used it for almost 15 years, it was great back then, nowadays when I need something more than a simple calculator I go to wolframalpha - it’s basically Mathematica, but with one line of input instead of a notebook.
It has some strengths, but since its syntax highlighting is coupled to the kernel state it didn't have an undo function for the longest time. Also as big vim fan it's disappointing to not being able to use your favorite editor.
Re: Mathematica 14
#45Ask HN: I've never met someone who uses Mathematica, I imagine its users are even rarer outside the academic circles. I've met many who use Matlab, R, Python, Excel, etc. If you're using it, what are you using it for exactly? In what way is it irreplaceable by other tools out there, if at all?
[1] https://wxmaxima-developers.github.io/wxmaxima/download.html
Re: Mathematica 14
#46Earlier quoted context omitted.
> It’s only recently that I’ve begun to properly internalize just how broad the implications of having a computational language really are—even though, ironically, I’ve spent much of my life engaged precisely in the consuming task of building the world’s only large-scale computational language. Exemplar of humility.
It sounds like once you get the zen of Mathematica, it’s a truly exceptional tool to work with. It’s a shame that the only person it seems has get the zen of Mathematica is Stephen Wolfram himself.
But like all software it involves tradeoffs. Fanatics of any technology or idea are never the easiest people to reason with.
Re: Mathematica 14
#47Ask HN: I've never met someone who uses Mathematica, I imagine its users are even rarer outside the academic circles. I've met many who use Matlab, R, Python, Excel, etc. If you're using it, what are you using it for exactly? In what way is it irreplaceable by other tools out there, if at all?
Wolfram would like to say that he invented Mathematica all by himself, but in its core, it is basically a lisp: everything is an expression, and mathematics are just transformations of the expressions. Afaik this makes it the best tool (conceptually and practically) for generic symbolic manipulations. For example, `1 + 1` in Mathematica is just syntactic sugar for `Plus[1, 1]`, and `a = 1` is `Set[a, 1]`. I am a PhD…
Based on my understanding of how expression evaluation works, the slightly more revealing statements would be "it is a lot of lisp macros" and "everything is an s-expression". Which means, a big mess. Let me expand:
As a functional programmer, "everything is an expression" sounds comforting, and I would expect there are clear transformation rules on how expressions are evaluated (and, maaybe, type signatures).
Instead, what you get is, "you can throw in some random form of expressions into this function, and it will do something with them". As in, it takes an AST input, and transforms them in some loosely specified way. There doesn't seem to be a type system, so you don't have types to guide you, rather you likely need to figure what kind of expressions work with which functions.
Now, if I'm wrong about this, and the functions behave consistently in what they take and how they transform it, then I'm more than open to be corrected. It is just that my high expectations (based on marketing of the lang) and the subsequent realization left me a bit bitter.
Re: Mathematica 14
#48Earlier quoted context omitted.
Imagine jupyter notebooks with a nice lispish language and the most complete standard library ever developed. Haven’t used it for almost 15 years, it was great back then, nowadays when I need something more than a simple calculator I go to wolframalpha - it’s basically Mathematica, but with one line of input instead of a notebook.
It's noteworthy that Mathematica invented the notebook UI that Jupyter ended up popularizing. It has some strengths, but since its syntax highlighting is coupled to the kernel state it didn't have an undo function for the longest time. Also as big vim fan it's disappointing to not being able to use your favorite editor.
Edit: The github page for EIN says that development has stopped. Despite this, I was able to edit a notebook with only minor inconveniences very recently.
Re: Mathematica 14
#49[stub for offtopicness]
Re: Mathematica 14
#50[stub for offtopicness]