Live data from Hacker News

Mathematica Version 12 Released

blog.stephenwolfram.com

81–90 of 124 posts

Re: Mathematica Version 12 Released

#81
post #44

Mathematica is a great tool. But in my case, there are two huge pain points which limit my use of Mathematica: 1. Horrible REPL experience. Yes, the notebook interface can display graphics, cool. But I would take Emacs with paredit over it any day. After structurally manipulating Clojure code in Emacs with paredit, using the Mathematica interface is like a throwback to the 70s. You mean I need to balance and match my…

I think you may not be the target market. A lower-level option is often more powerful, but carries added complexity and a steeper learning curve. It is my understanding that Mathematica is more valued in academic settings where not everyone wants to deal with learning Clojure. Many poor people rent furniture rather than buying because it's not feasible to muster the initial investment, and must continue doing it in s…

[deleted]

Re: Mathematica Version 12 Released

#82
post #44

Mathematica is a great tool. But in my case, there are two huge pain points which limit my use of Mathematica: 1. Horrible REPL experience. Yes, the notebook interface can display graphics, cool. But I would take Emacs with paredit over it any day. After structurally manipulating Clojure code in Emacs with paredit, using the Mathematica interface is like a throwback to the 70s. You mean I need to balance and match my…

My experience has been the opposite of this. Mathematica/Wolfram lang seems to be a much more functional(as in paradigm) language, because of anonymous/lambda functions and “Tables”. Even loops are discouraged.

I use it for math/science stuff and I am delighted every now and then when I figure out how to use mappings in a smart and concise way. My coding style in Python changed quite a bit after learning Mathematica. However, I am not a professional coder so take this comment with a rock of salt.

Re: Mathematica Version 12 Released

#83

Earlier quoted context omitted.

And William Stein (founder of SageMath) just quit his tenured professor position at UW to continue working on CoCalc: http://blog.sagemath.com/2019/04/12/should-i-resign-from-my-...

This morning one of my Ph.D. students (Kevin Lui) said to me, "I may have to implement this [number theory] algorithm for my thesis using Magma, because [some number theory algorithm] is broken in Sage." My visible continued failure to make Sage a viable alternative to commercial closed source math software almost made me cry...

Is CoCalc generating more funding for the development of Sage?

Re: Mathematica Version 12 Released

#85
post #25

Earlier quoted context omitted.

> Really excited to try the new SQL interface. The old one was less than pleasant to work with. Cool! I hope people find it useful, that's where most of my past year and a half went :)

Maybe you can’t comment but it was neat (and huge time saver)to see something like sqlalchemy’s reflection.

Actually we use sqlalchemy internally for the backend-specific code generation

Re: Mathematica Version 12 Released

#87

Earlier quoted context omitted.

Which perfectly illustrates how important being free and open source is. In spite of not having commercial support and versioning shenangians, people still choose Python over the commercial alternatives.

I mean, since Wolfram is a valuable company it's clear plenty of people choose commercial software over their free alternatives

People use Mathematica and Python for completely different things. By and large they don't compete.

Re: Mathematica Version 12 Released

#88
post #77

Earlier quoted context omitted.

Have you looked at Octave? https://www.gnu.org/software/octave/

Octave is more a replacement for MATLAB than Mathematica.

True, but the GP said that all he does is create some plots and Integra e every so often. Octave can handle that.

Re: Mathematica Version 12 Released

#89
post #77

I wish Mathematica was more affordable. I loved using it as a student, but now I can no longer afford it. A professional license costs 3500€. Which is probably worth it if you use it every day, but not so much if you just use it just once a month to make a graph or integrate something. They have a "hobby" license for 350€, which is reasonable, but according to their license it can't be used for anything work related.…

Have you looked at Octave? https://www.gnu.org/software/octave/

Octave and Scilab are more Matlab like replacements as a user below commented. Sure both are for mathematical code, but Octave is more for numerical work and Mathematica for Symbolic computation.

However, Mathematica is powerful in a much bigger way than Octave. Mathematica is more like a very successful and commercial lisp in that it has zillions of composable and we'll documented functions for everything. You don't just copy in a link to an image you want to do something with, but can literally copy paste an image into a function and immediately do stuff with it in a way I've never seen before. Recently I wanted to draw up pretty advanced network diagrams using the images our vendor used. I simply copy pasted them in and then used the graph theory primitives to draw a diagram. Then I noticed that I wanted to add a different picture and it didn't match the color scheme of the vendor. No problem...I just passed it to yet another Mathematica primitive to invert the colors. This was all REPL like interactive and easy to do. There are lots of little commands like this. My favorite example is a file open command that works on over 100 file types. The obvious ones like CSV, XML, JSON, .XLS, & TXT are all there, but so are other file formats like .MPS optimization files, common biology file formats, weather forecasting file types. Chaining this together is insanely easy. Suppose you want to solve a linear programming problem and you have a .MPS file. Just open the file and wrap it in the LinearProgram[] command and then wrap in a FileOutput[] command if I want to write to a text file. There's a lot more for Python where I have to import libraries and write loops.

Mathematica ain't perfect though. It has a large runtime and doing more complicated work doesn't scale as well as I would like for writing big programs. Code distribution is also harder. Nobody else on my team is going to want to install the Mathematica runtime to run my code.

Overall it is pretty nice though and I think it would surprise most HN users.

Re: Mathematica Version 12 Released

#90
post #87

Earlier quoted context omitted.

I mean, since Wolfram is a valuable company it's clear plenty of people choose commercial software over their free alternatives

People use Mathematica and Python for completely different things. By and large they don't compete.

Yes and No. If you ignore Python being a powerhouse in the scripting world and just focus on numerical stuff like matrix and symbolic math, both Python and Mathematica have that. Some people like myself that love Python and know how to use it and Numpy bought Mathematica licenses. I still use Python for scripting, but I've moved most exploratory work to Mathematica. I miss Python's Spyder IDE, but with Mathematica I can enter equations into Notebooks much more elegantly than having to do OO code which looks significantly different than the math.
Post reply on HN