News for hackers. Stuff that matters.
Re:Symbolic mathematics on Linux by pmiller2 on Friday January 06, 2017 @12:27AM (#13334185)
I know it's proprietary as hell, but, honestly, you can't beat Mathematica for general symbolic math use. It has an incredible array of libraries available for just about every need, and the language is very pleasant to work with.
Re:Symbolic mathematics on Linux by williamstein on Friday January 06, 2017 @08:19AM (#13336014)
I've devoted my life to beating Mathematica for general symbolic math use. Don't tell me I can't. :-)
Re:Symbolic mathematics on Linux by Y_Y on Friday January 06, 2017 @08:47AM (#13336145)
I took a "Computer Algebra" class in undergrad which was taught entirely in Mathematica. It was a lot of work to convert everything (and the instructor would jokingly refer to me as "sage guy") but I got an awful lot out of using Sage instead. What keeps me from using sage nowadays is that I have a great jupyter workflow, and last time I used Sage it was just a worse version of that with better symbolic support.
Re:Symbolic mathematics on Linux by williamstein on Friday January 06, 2017 @10:25AM (#13336952)
Sage 7.4 now includes Jupyter as our main personal notebook UI.
Re:Symbolic mathematics on Linux by leephillips on Friday January 06, 2017 @11:24AM (#13337534)
Just went to sagemath.org to check it out. The link to the changelog is broken.

My editor was concerned about the two names, Sage and SageMath. As far as I could tell they're just synonyms, but do you have any guidance about which is to be used when?

Re:Symbolic mathematics on Linux by williamstein on Friday January 06, 2017 @03:06PM (#13339722)
Re:Symbolic mathematics on Linux by williamstein on Friday January 06, 2017 @03:35PM (#13339943)
The official name is SageMath, but you can call it Sage for short.
Re:Symbolic mathematics on Linux by leephillips on Friday January 06, 2017 @06:48PM (#13341398)
Tried it. Dumps core as soon as it's started. I'll look for a place to file a bug report, but thought I would mention it here. Ubuntu 15.10.
Re:Symbolic mathematics on Linux by pmiller2 on Friday January 06, 2017 @11:44AM (#13337748)
I hope you can, someday! Unfortunately, I think Python (as an interface) is one of the things holding Sage back. I very much appreciate having a lispy, mostly functional language when writing mathematics oriented code.

And then, there are the docs....

I appreciate what you do, but your competition has a big manpower advantage and a huge head start. Like I said, I truly do hope you can beat Mathematica at its own game someday, but it doesn't look like that day will be anytime soon.

Re:Symbolic mathematics on Linux by jordigh on Friday January 06, 2017 @11:53AM (#13337832)
Keep your chin up. I also don't like hearing the naysayers, and we can still prove them wrong.

https://news.ycombinator.com/item?id=7483648

https://lobste.rs/s/eftgy8/switching_ubuntu_from_apple/comme...

Re:Symbolic mathematics on Linux by rtpg on Friday January 06, 2017 @02:18AM (#13334526)
Mathematica is super expensive for personal use, unfortunately. Good if you're really into it, but hard as an impulse buy (plus they discriminate based on country and double the price in some places).
Re:Symbolic mathematics on Linux by shakna on Friday January 06, 2017 @04:16AM (#13334902)
Grab a Pi.

Might be slow, but if you set it up to just remote shell into it, then you do get access to Mathematica for a fairly small outlie.

Re:Symbolic mathematics on Linux by pmiller2 on Friday January 06, 2017 @06:57AM (#13335640)
Great way to experiment with the language, though, even if it is a bit slow. Can't argue with a $0 price, and the Pi is fun to play with by itself. :)
Re:Symbolic mathematics on Linux by UncleSlacky on Friday January 06, 2017 @11:02AM (#13337316)
You could just emulate a Pi on an x86 PC and run it that way (though it'll probably be slower than a native Pi), see for example: http://www.linux-mitterteich.de/fileadmin/datafile/papers/20...
Re:Symbolic mathematics on Linux by eggy on Friday January 06, 2017 @01:22PM (#13338737)
I use the Home Edition which I bought for just under $300 a while back.

It is a great mathematics playground, although, concerns over being able to peer review the engine or calcs in the software are valid, not for what I use it for.

It is like Emacs for me. I leave it open all day, and just play around in it. The multiple programming paradigms are fun too for coding practice.

Re:Symbolic mathematics on Linux by pmiller2 on Friday January 06, 2017 @04:03AM (#13334865)
It's showing me a price of $310 for the personal edition right now. I think that's worth it if you're going to get a couple hour's usage a month out of it.
Re:Symbolic mathematics on Linux by rtpg on Friday January 06, 2017 @04:45AM (#13335050)
In Japan it's $600. I wonder if there's any region checking...
Re:Symbolic mathematics on Linux by exDM69 on Friday January 06, 2017 @08:36AM (#13336087)
Mathematica is one of the two pieces of proprietary software I use, but I no longer have a free (academic) license so I haven't used it in a while.

But it's very buggy on Linux, and did not work out of the box last time I tried it. It somehow violates the X11 protocols (some window managers have Mathematica-specific workarounds) and in my case the windows were all over and mouse clicks didn't hit the correct positions. I can't justify buying $300 worth of software I need twice a year and I can't trust to work correctly.

I've used SymPy and Maxima but they are not as easy to use. I managed with SymPy to get some results but they were not as well simplifies as Mathematica results. Maxima was nearly impossible to use for me as I have no background in symbolic computation and the documentation expects you to understand the algorithms (e.g. different methods for simplification).

The biggest plus of Mathematica is the docs. They have tons and tons of examples and every function is thoroughly documented. And it is easy enough for me to understand without a lot of math background.

Re:Symbolic mathematics on Linux by pmiller2 on Friday January 06, 2017 @11:39AM (#13337704)
I haven't tried every WM, but I have tried a few and never had a problem. But, yeah, given your issues with your chosen WM and lack of use, I can hardly blame you.
Re:Symbolic mathematics on Linux by exDM69 on Friday January 06, 2017 @12:57PM (#13338475)
I use a niche WM, so I'm kinda asking for trouble. I'm pretty sure I would not get any support from them.

I noticed that i3 WM has Mathematica specific workarounds. Might be an issue with non-reparenting WMs in general.

Re:Symbolic mathematics on Linux by wolfgke on Friday January 06, 2017 @09:44AM (#13336513)
> Mathematica is one of the two pieces of proprietary software I use,

One is the other one?

Re:Symbolic mathematics on Linux by exDM69 on Friday January 06, 2017 @12:55PM (#13338451)
SketchUp for woodworking plans. I've yet to try a few of the open source CAD solutions, I might migrate if I find a good one. For more artistic modelling I use Blender.

I also play games on Windows/Steam but I could live without that. Openttd and Nethack would do :)