News for hackers. Stuff that matters.
Re:WolframScript enables Wolfram Language code to be run fro... by praptak on Thursday March 19, 2020 @07:20AM (#22626410)
It's proprietary. Do we need another Flash?
Re:WolframScript enables Wolfram Language code to be run fro... by simonh on Thursday March 19, 2020 @07:22AM (#22626420)
If you don't need it, don't use it.
Re:WolframScript enables Wolfram Language code to be run fro... by praptak on Thursday March 19, 2020 @08:16AM (#22626729)
I'm just pointing out that proprietary languages tend to die outside proprietary environments.
Re:WolframScript enables Wolfram Language code to be run fro... by unlinked_dll on Thursday March 19, 2020 @12:07PM (#22628783)
Matlab and Java seem to be doing alright
Re:WolframScript enables Wolfram Language code to be run fro... by qchris on Thursday March 19, 2020 @12:35PM (#22629116)
Both of them certainly have their uses, but especially for MATLAB, are they? I'm working as an engineer in academia right now, and even with all the legacy holdover of MATLAB, many people I know (including almost every undergrad project I've helped with) are either using R or Python, and I know I don't go for it unless I'm absolutely forced. And that's nothing to say for the researchers whose eyes light up upon hearing of Julia.

Few of those people seem like they'll be advocates for buying expensive seat licenses if they become PIs down the line or join industry 5-10 years from now.

Mathematica seems a little different because I don't believe there's currently a viable alternative, let alone a commonly used one.

Re:WolframScript enables Wolfram Language code to be run fro... by Archit3ch on Thursday March 19, 2020 @02:49PM (#22630417)
In my experience, the engineers who don't specialize in programming prefer MATLAB. Programmers will be comfortable in it, but will sooner reach for python etc.

Much like Excel, it's easier to get people to program if you can convince them it's not programming.

Re:WolframScript enables Wolfram Language code to be run fro... by qchris on Thursday March 19, 2020 @04:37PM (#22631464)
I definitely agree in this about Excel (some things I've seen some 'people who don't like programming' do in Excel are positive mind-blowing), but just haven't seen that same thing in MATLAB. That could definitely be just because of a limit of my own experience, though, and your point makes a lot of sense.
Re:WolframScript enables Wolfram Language code to be run fro... by unlinked_dll on Thursday March 19, 2020 @02:05PM (#22630006)
I mean yea, MATLAB is indispensable for the working engineer in controls or signal processing. Python is coming in vogue because of ML applications, but it's primarily used in the wild for scripting together builds and tests, which often are used for testing data generated by MATLAB models.

I've never seen a workplace use R or Julia or list them on a job posting outside data science or academia. Julia in particular is missing major components that make it useable, particularly in signal processing.

MATLAB also has the advantage of being useful as a CLI calculator for linear algebra, which is how a lot of engineers use it in their day to day. The REPL's of python and Julia are far too slow for that kind of work, frankly. Especially Julia. the JIT takes forever to warm up. It really doesn't fit into my workflow at all, and I've tried to force it.

Also, Simulink.

Re:WolframScript enables Wolfram Language code to be run fro... by qchris on Thursday March 19, 2020 @04:33PM (#22631437)
Your point about Simulink is fair--even the Octave version, Xcos, doesn't provide much of an alternative for doing good controls simulations.

And while I agree that the Julia's JIT is pretty slow to come up, if I'm doing a lot of linear algebra work, I've typically just left a dedicated terminal open for it. I also haven't had much of a real speed issue with using a REPL or notebook, unless the data sets are unreasonably large. I think I disagree with your take on Python's most common uses, as well as the implication that it is just now "coming into vogue." I'm by nobody's measure a Pythonista, but my experience has been that it gets pulled in almost anywhere it can, from scripting to app development to scientific computing.

I am curious about your experience with signal processing, though--how have you seen MATLAB used where Python wasn't or couldn't? I haven't done much in that area since undergrad/internships, and there I would have said that LabView was much more prevalent as a tool, or even Labwindows. At least for many of the common functions like FFT, I don't recall MATLAB being any more common than any other language for that sort of thing (although as I said, my experience there might not be representative).

Re:WolframScript enables Wolfram Language code to be run fro... by unlinked_dll on Thursday March 19, 2020 @06:42PM (#22632531)
I meant python coming into vogue for signal processing/controls, sorry if that was unclear. And that's mostly anecdotal.

There's a lot of internal tooling around MATLAB that would take a lot of work to replace with Python. Like for example, I know a company that has a verilog compiler for their matlab models. That's not going to be rewritten for python.

MATLAB toolchains are also easy to maintain, since they're so damn expensive and locked down. Compared to python, which... isn't always straightforward.

And like I said before, MATLAB is just a fancy and expensive calculator. It's number crunch first, script second, and language third. Julia and python have a different balance, at least to me.

If I'm doing something quick and dirty, reaching for MATLAB is the absolute fastest way for me to do it, and the easiest to record. With python that's not true at all.

PS: I don't think I've ever seen someone use Labview to write and debug a DSP algorithm, so we've probably experienced totally different industries.

Re:WolframScript enables Wolfram Language code to be run fro... by jimhefferon on Thursday March 19, 2020 @07:37AM (#22626502)
Fair enough, but it is helpful for someone to bring up the point about it being closed.
Re:WolframScript enables Wolfram Language code to be run fro... by tiawaven on Thursday March 19, 2020 @09:12AM (#22627110)
Use sagemath (sage). Runs from the command line and is python based.
Re:WolframScript enables Wolfram Language code to be run fro... by joeberon on Thursday March 19, 2020 @07:24AM (#22626434)
How is this related to Flash? Mathematica is a powerful pattern based symbol manipulation language, Flash is a media creation software, which do you think reaches more end users?
Re:WolframScript enables Wolfram Language code to be run fro... by Nullabillity on Thursday March 19, 2020 @07:26AM (#22626445)
Both are proprietary trapware.
Re:WolframScript enables Wolfram Language code to be run fro... by joeberon on Thursday March 19, 2020 @07:28AM (#22626461)
Mathematica is only trapware because it's so much better than anything else available
Re:WolframScript enables Wolfram Language code to be run fro... by xvilka on Thursday March 19, 2020 @08:22AM (#22626759)
Have you tried Sage Math[1]? They also have online version called CoCalc[2]. And it's built with Python, which is a way better scripting language.

[1] http://www.sagemath.org/

[2] https://cocalc.com/

Re:WolframScript enables Wolfram Language code to be run fro... by lonelappde on Thursday March 19, 2020 @08:43AM (#22626875)
Sage is great, but it's no Mathematica.
Re:WolframScript enables Wolfram Language code to be run fro... by qubex on Thursday March 19, 2020 @09:38AM (#22627343)
This is what I always answer whenever somebody asks me why I stick to Mathematica rather than using some convoluted collection of SAGE/R/NumPy/SymPy.
Re:WolframScript enables Wolfram Language code to be run fro... by h91wka on Thursday March 19, 2020 @08:06AM (#22626659)
MapleSoft Maple was on par with Mathematica, when I worked with both (ca 2010). Not sure about current state of affairs. Maple's embedded programming language is also quite a bit nicer.
Re:WolframScript enables Wolfram Language code to be run fro... by qubex on Thursday March 19, 2020 @09:40AM (#22627357)
I remember that back when I was in University there was a set of simultaneous ordinary differential equations that MAPLE was able to solve that Mathematica choked on.

I remember reporting this to my tutor. He looked at me with a steely gaze and said “That is a very serious allegation to make, young man. Are you willing stand by it?”

Re:WolframScript enables Wolfram Language code to be run fro... by h91wka on Thursday March 19, 2020 @10:43AM (#22627929)
Maple's PDE solving abilities always made me want to yell "witchcraft!".
Re:WolframScript enables Wolfram Language code to be run fro... by h91wka on Thursday March 19, 2020 @09:12AM (#22627118)
P.S. I actually remembered one area where Maple is still absolutely superior, that is plotting. It doesn't require to explicitly set argument range, it tries to find features of the function and adjusts the range to include them. AFAIK, Mathematica still doesn't do this.
Re:WolframScript enables Wolfram Language code to be run fro... by swiley on Thursday March 19, 2020 @07:49AM (#22626575)
They used to say that about flash too.
Re:WolframScript enables Wolfram Language code to be run fro... by Grue3 on Thursday March 19, 2020 @07:56AM (#22626615)
They were correct, too.
Re:WolframScript enables Wolfram Language code to be run fro... by yarrel on Thursday March 19, 2020 @12:46PM (#22629222)
Then along came HTML 5.