Live data from Hacker News

GNU Octave 6.1.0

gnu.org

21–30 of 100 posts

Re: GNU Octave 6.1.0

#21
post #2

Ask HN: Can GNU Octave be used as full MATLAB replacement?

Depends what your expect from it. It got me through University and I had a much better experience with it than most others had with MATLAB. But I used it for maths during compsci. I suspect it's different for engineers trying to use existing code packages to solve mechanics problems for example.

Re: GNU Octave 6.1.0

#22
post #7

When I left university and did not have access to MATLAB anymore, I spent many a nights hacking away at GNU Octave. I have fond memories of Octave. I thought Octave will be a valuable skill when I enter the industry but I could not have been more wrong. Does anyone still use Octave? Is it worth learning? What tools or languages would you recommend as alternatives to someone graduating from university today?

I've seen people use Octave in their workstations but I never worked where Octave code was used in "production". It was more of a individual prototyping/exploration tool for those who knew it.

I have Octave code running in production.

Re: GNU Octave 6.1.0

#23
post #2

Ask HN: Can GNU Octave be used as full MATLAB replacement?

Depends. If it is about the base language then it should be. But if you're using toolboxes then Octave's packages have numerous unimplemented functions compared to their MATLAB counterpart. And in genera keep in mind that compatibility isn't perfect.

Re: GNU Octave 6.1.0

#24
post #22
post #7

Earlier quoted context omitted.

I've seen people use Octave in their workstations but I never worked where Octave code was used in "production". It was more of a individual prototyping/exploration tool for those who knew it.

I have Octave code running in production.

What does your Octave code do in production, if you don't mind me asking?

Re: GNU Octave 6.1.0

#25

I know it's not really the point here, but it's nice to see a GNU project with a decent home-page. It's clear, presentable, and modern. (And of course it's not a JavaScript horror-show, but we'd never see that from a GNU project.)

You say that, but I feel like it's a bit of a case of 'dress for the job you want'. Having a modern-ish looking site just gives off some signals like 'this is maintained', 'this has been deemed to still have utility in 2020' and 'the developer has some awareness of current UX'.

It doesn't need to be flashy. Just a nice font, a header, centre justification, some spacing, a paragraph explaining what the thing is, a nice logo, maybe some screenshots or a link to the docs and a download link.

Re: GNU Octave 6.1.0

#26
post #4

I've always preferred MATLAB to Python as the more engineer-friendly programming language. The interface was a plus as well. That being said, given the sheer amount of scientific libraries for Python and universities moving towards it as well, I'm wondering if the effort to maintain Octave is worth it. One use for it could definitely be running older MATLAB scripts that have deprecated language features. Those were a…

Still doing many things in Python is a bit more laborious (no surprise and not a drawback of Python, it is general purpose language) than in Matlab/Octave. Plus learning curve is lower for Matlab/Octave, after long years of not using Matlab I've taken some ML course on Coursera that was using Octave and I was able to be productive very quickly.

Re: GNU Octave 6.1.0

#27
post #4

I've always preferred MATLAB to Python as the more engineer-friendly programming language. The interface was a plus as well. That being said, given the sheer amount of scientific libraries for Python and universities moving towards it as well, I'm wondering if the effort to maintain Octave is worth it. One use for it could definitely be running older MATLAB scripts that have deprecated language features. Those were a…

I use both Python and Octave and I can clearly say that one never replaces the other.

For quick and dirty scientific PoC or obtaining ground truth, Octave/MATLAB is much better since it handles all the quirks of numerical programming with generally slow but with proven solutions.

During development phase of my Ph.D., my professor would scribble something in MATLAB and send it to me with a note "for the given inputs, you should obtain this and that. Attached is the crude math". It was up to me to clean the math, convert it to C++ and make it blazingly fast while solving any attached small but hard problems.

I still have a MATLAB license to test these ground truth scripts against my code.

Re: GNU Octave 6.1.0

#28
post #18

What value can Octave give me, relative to python?

Compatibility with MATLAB syntax.

If you're in a Mathematical Research or Engineering context then you will likely have some models or systems that someone else has written in MATLAB.

If you're writing your own code and you have freedom over your environment then you should pick the best language for your use case.

Re: GNU Octave 6.1.0

#29

When I left university and did not have access to MATLAB anymore, I spent many a nights hacking away at GNU Octave. I have fond memories of Octave. I thought Octave will be a valuable skill when I enter the industry but I could not have been more wrong. Does anyone still use Octave? Is it worth learning? What tools or languages would you recommend as alternatives to someone graduating from university today?

I work with small engineering firms (antenna design and chip design). Most of them use Octave because MATLAB licenses are too expensive. Most of them are MATLAB users by training but are happy to use Octave to save the cash.

Re: GNU Octave 6.1.0

#30

Earlier quoted context omitted.

I can only speak from a data science perspective, but a lot of folks I know needed to move from MATLAB/SAS/SPSS to R (using RStudio) and Python (often with Jupyter Notebooks) once they got into the field. Might just be the circles I run in, though. I personally recommend Python (using NumPy, SciPy, MatPlotLib/Seaborn, Pandas, Keras/PyTorch, Gensim, etc). There’s a lot more that you’ll need to bolt together yourself,…

Do any of them use julia in jupyter? I like the syntax and speed much better than numpy. The ffi from numpy into its native implementation is a high overhead.

None in my immediate group of friends, no. I honestly feel a bit behind the curve in terms of not knowing much about Julia these days. Maybe I’ll use it for Advent of Code this year!
Post reply on HN