News for hackers. Stuff that matters.
Re:I’m switching from VS Code to VS Codium by IshKebab on Sunday June 12, 2022 @01:28PM (#31716351)
It definitely has a relationship with quality in a fair number of domains. Find me free CAD software as good as SOLIDWORKS, or free maths software as good as MATLAB & Mathematica, or free EDA software as good as Altium or Vivado.

There are loads of domains where none of the free options are very good.

Re:I’m switching from VS Code to VS Codium by aDfbrtVt on Sunday June 12, 2022 @01:37PM (#31716456)
I agree with you for the most part, I write this while running Matlab simulations in the background. Having tried to reach similar levels of productivity with Julia or Python, I find the FOSS environments always fall short in the tooling environment. Not to mention the importance of documentation.

However, I can't help but take exception to Vivado and SOLIDWORKS being good software... While powerful, they are both incredibly buggy and prone to crashing if you so much as look at them wrong.

Re:I’m switching from VS Code to VS Codium by cycomanic on Sunday June 12, 2022 @01:55PM (#31716630)
The only use case I can think where matlab beats Python or Julia is when one has a lot of legacy code. It's funny that you mention documentation, the amount of documentation found around Python is typically much better than matlab. Matlab toolboxes are really hit and miss, some are very good, but there are some really crappy ones. If you actually need to include more traditional programming features matlab becomes a hot mess. Looking at matlab GUI code gives me nightmares for weeks....
Re:I’m switching from VS Code to VS Codium by aDfbrtVt on Sunday June 12, 2022 @02:25PM (#31716931)
I would not wish Matlab GUI programming on my worst enemy. I disagree with your assertion that documentation for Python is typically much better. Take a randomly chosen function I regularly use: "pwelch"

https://docs.scipy.org/doc/scipy/reference/generated/scipy.s...

https://www.mathworks.com/help/signal/ref/pwelch.html

Maybe my bias is showing, but I find the Matlab documentation to be superior. However, that is nothing compared the quality of the IDE which is critical when doing scientific compute. When I was re-evaluating our simulation environment at work, we looked at PyCharm. The plotting capabilities alone made it easy to stick with Matlab, even at the orders of magnitude higher cost.

N.B. This is my experience in an Optical Communications R&D environment.

Re:I’m switching from VS Code to VS Codium by cycomanic on Sunday June 12, 2022 @11:51PM (#31720866)
Funny I'm in optical comms as well, chances are we know each other. I never used "pwelch" though. But I concur my statement on documentation was too strong, I guess it depends quite a bit.

Regarding IDE, I guess we tend to put priorities on different things. I find pycharm's (pro edition) git Integration, debugging, refactoring and profiling vastly superior. I plot using regular qt windows and I agree that for interactive plots where one wants to look at points etc, matlab has the edge, for publication ready plots matplotlib beats matlab hands down though (although the API is quite verbose, proplotlib is a wrapper that makes things more convenient IMO).

Anyway I think we have different priorities in what we are looking for. We use Python for labautomation and the matlab instrumentation toolbox is a buggy mess, our measurement times decreased by a factor of 5-10 when we switched from matlab.

Regarding cost, we are a university so matlab and python have equal costs. I do know of colleagues at industry labs where matlab cost was a factor though.

Re:I’m switching from VS Code to VS Codium by IshKebab on Monday June 13, 2022 @04:55AM (#31722880)
> However, I can't help but take exception to Vivado and SOLIDWORKS being good software... While powerful, they are both incredibly buggy and prone to crashing if you so much as look at them wrong.

That hasn't been my experience. Solidworks definitely isn't as responsive as I'd like, but frankly I'll take "a bit sluggish but has all the major features and is not a UX disaster" over something like FreeCAD or Yosys.

Re:I’m switching from VS Code to VS Codium by esrh on Sunday June 12, 2022 @01:33PM (#31716416)
You might be right in cad and eda, but there's surely a case to be made that python libs(numpy, sympy), sage, r, octave could be better that matlab or mathematica.
Re:I’m switching from VS Code to VS Codium by IshKebab on Monday June 13, 2022 @04:58AM (#31722897)
I've used Numpy, Matplotlib, Octave and Scilab. None of them are really anywhere as good as Matlab. R has quite a different focus.

The biggest thing Matlab has is the GUI (which is surprisingly good!), the documentation (excellent), and the plot viewer. The plot viewer is probably its killer feature. There's just nothing remotely as good in any other software, at least as far as I could find.

Octave's is terrible. Barely any features and incredibly slow.