Live data from Hacker News

Mathematica v12.1

writings.stephenwolfram.com

41–50 of 97 posts

Re: Mathematica v12.1

#41

Is there any reason not to call Mathematica AI at this point? I swear some of the things it does look more like black magic than what we call AI nowadays...

I'd call it more of an "expert system" - it has a HUGE amount of rules and methods built-in, but at the end of the day it's all deterministic.

Re: Mathematica v12.1

#42

Earlier quoted context omitted.

I've tried it for modeling tasks but I struggled with the sort of basic data manipulation that can be done within pandas/data.table. I can quite comfortably work with 100-million line CSVs using data.table on a standard laptop but Mathematica wasn't even able to ingest the file. I don’t disagree its technically very impressive but there's no point in having these amazing features if it stumbles with such basic tasks.

I've used Mathematica since about the year 2000, and I think Wolfram "missed the boat" of AI, big data, and machine learning. They were in the unique position of having one of the best symbolic differentiation engines and one of the best numeric engines and a Lisp-like REPL that allows one to write terse, elegant code. What they were always missing was efficient bulk data structures. In recent versions they've added…

the neural network stuff is very good and relies on GPU acceleration. it is the "computation graph" paradigm -- have to define the whole architecture up front -- but it's actually quite pleasant to use.

Re: Mathematica v12.1

#43
they put the biggest improvement upfront lol: things now scale properly if you have a 4K monitor. people (myself included) have been squinting at very tiny font for years, and now they don't have to anymore!

Re: Mathematica v12.1

#44

Earlier quoted context omitted.

None of those can beat it in symbolic computation. You can write entire papers, by simply asking yourself the question: I wonder if this has an analytical integral? If you are lucky Mathematica spits out a solution in terms of a special function.

Why hasn't Wolfram automatically published all those papers? Or sell a paper-generating plugin?

Because the most important part of the paper is formulating the question it is answering, and stating why asking that question is interesting and useful. That is not something anything short of AGI can do.

Re: Mathematica v12.1

#45

Earlier quoted context omitted.

Even for string? Why not define a LinkedList constant?

Yes, in WL strings are commonly used in a matter similar to enums in other languages. The thing to keep in mind is that WL is based on symbolic replacement. You normally wouldn't define that kind of function as taking in a parameter (i.e., CreateDataStructure[x_] := ...), rather you'd define it for each case separately (i.e., CreateDataStructure["LinkedList"] := ...).

Well.. if constants were a thing you could probably also pattern match them.

Re: Mathematica v12.1

#46
post #27

Kudos to the team for the great release. Two things I miss when working with Mathematica: refactor-rename variables and a usable object-oriented programming support. Refactor-rename is available via Eclipse-based IDE; however math typesetting is not available there (it makes a difference for large equations/expressions). There are a lot of community-developed approaches to OOP. I tried a number of these, sticking wit…

Mathematica is mostly used for relatively small, notebook-style, applications. Both features, while probably useful for some people, don‘t seem to be necessary for the more popular use cases.

Re: Mathematica v12.1

#48

Earlier quoted context omitted.

Thanks for the link! The succinct article, "Open Source Mathematical Software", illustrates the issue with a quote from a Mathematica tutorial: > the internals of Mathematica are quite complicated, and even given a basic description of the algorithm used for a particular purpose, it is usually extremely difficult to reach a reliable conclusion about how the detailed implementation of this algorithm will actually beha…

Do note that's in the context of performance optimization. Even open source complicated code is still complicated code.

I agree. How an algorithm "actually behaves" depends on the implementation details of the language interpreter or compiler; open source or not, there are complex transformations leading to running code, that it might as well be a black box.

From the article calling for open-source mathematical software (my emphasis):

> ..we need a symbolic standard to make computer manipulations easier to document and verify.

> ..perhaps we should not be dependent on commercial software here. An open source project could..find better answers to the obvious problems such as availability, bugs, backward compatibility, platform independence, standard libraries, etc.

> Increasingly, proprietary software and the algorithms used are an essential part of mathematical proofs.

> ..with this situation two of the most basic rules of conduct in mathematics are violated: information is passed on free of charge and everything is laid open for checking.

If Mathematica were to be open-sourced one day, I suppose that would cover most of this wish list, with improved availability/reproducibility and verifiability. Tough to imagine without significant funding, collaboration, and communal agreement.

Re: Mathematica v12.1

#49

I have tried Mathematica for small duration and in general was wowed by it. For free CAS I would recommend to give Axiom or FriCAS(more actively developed) a run. http://fricas.sourceforge.net/ https://en.wikipedia.org/wiki/Axiom_(computer_algebra_system...

Now days, it's not often that I need to do heavy mathematical work, but I turn to Sage https://www.sagemath.org/ when I do. Sage has a notebook interface, is built on Python, and incorporates many free software math packages, like Maxima, into one system.

I used Sage heavily when working in string theory a long time ago. It's very powerful. But for symbolic math, if possible, I would still use mathematica.

Re: Mathematica v12.1

#50

Earlier quoted context omitted.

A good piece to read about this was in the American Math Society Notices: https://www.ams.org/notices/200710/tx071001279p.pdf

Thanks for the link! The succinct article, "Open Source Mathematical Software", illustrates the issue with a quote from a Mathematica tutorial: > the internals of Mathematica are quite complicated, and even given a basic description of the algorithm used for a particular purpose, it is usually extremely difficult to reach a reliable conclusion about how the detailed implementation of this algorithm will actually beha…

It continues to be my hope that Wolfram will open-source Mathematica someday. It seems the most enduring thing Wolfram could do to ensure his legacy.
Post reply on HN