Live data from Hacker News

Mathematica 14

writings.stephenwolfram.com

41–50 of 154 posts

Re: Mathematica 14

#41
post #40
post #37

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

Thanks, edited!

Re: Mathematica 14

#42
post #8

This is by far the most detailed announcement I have ever seen.

With kindness and nonzero envy: Should we expect any less from a man who affixes a laptop to himself so he doesn’t have to stop typing to go for a walk?

Re: Mathematica 14

#43
post #27

Earlier 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/

What an amazing review-Thanks for that. It really brings together a lot of sad threads in my mind from that time. Having been the kind of guy who waited patiently for hours for home-made CAs to wiggle about on my VGA monitor and/or wrote little artificial life simulations etc for years in lonely isolation I bought "A New Kind of Science" with great expectation when it was in huge piles in every bookshop and was kind of devastated by how empty it was. I had really hoped for so much.

Re: Mathematica 14

#44
post #31

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

Re: Mathematica 14

#45

Ask 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?

You could replace the symbolic solving capabilities with wxmaxima[1] (which is free and opensource) and you would also find the linear algebra is waaay faster than mathematica, but the downside is maxima is weird and a bit user-hostile and its visualisation capabilities are kinda janky by comparison to mathematica which produces really nice visualisations.

[1] https://wxmaxima-developers.github.io/wxmaxima/download.html

Re: Mathematica 14

#46

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

I mean, it really is good software. It's by far the best CAS around and the "standard library" is extremely impressive.

But like all software it involves tradeoffs. Fanatics of any technology or idea are never the easiest people to reason with.

Re: Mathematica 14

#47
post #39

Ask 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…

Re "it is a lisp" and "everything is an expression", I would like to add a bit of clarification.Or, given that you use Mathematica regularly while I was just reading surface docs (for purposes of doing some stuff with Wolfram Alpha), rather a question if my perspective is well-founded.

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

#48
post #44
post #31

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

Emacs has EIN which allows you to edit and run Jupyter Notebooks. Combining that with a vim keybindings mode like Evil, you can use vim bindings on notebooks.

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
post #120

[stub for offtopicness]

Why are people getting hung up on his hubris? If his megalomania gives us Mathematica who cares. It's a phenomenal accomplishment. It can, out of the box, do hundreds of things that'd take you weeks in python/julia/etc or would be entirely impossible for most in other systems.
Post reply on HN