Earlier quoted context omitted.
I was in one of those early cohorts that used Octave, one of the things the course had to deal with was that at the time (I don't know about now) Octave did not ship with an optimization function suitable for the coursework so we ended up using an implementation of `fmincg` provided along with the homework by the course staff. If you're following along with the lectures, you might need to track down that file, it's p…
It’s nice to know that someone else suffered this pain. And that i bet on PGMs which really turned out to be the wrong horse…
GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
21–30 of 44 posts
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#22Earlier quoted context omitted.
Python on Web Assembly has to be really slow.
It’s slower than native, sure — but for education, it’s a game changer. Students can open a notebook in any browser, on any device (even a Chromebook or iPad), and start coding instantly — no installs, no setup issues. Perfect for workshops, classrooms, or sharing interactive tutorials. It runs real Python, so you can teach core concepts, plotting, and even simple data analysis right in the browser. For heavier compu…
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#23Earlier quoted context omitted.
Python on Web Assembly has to be really slow.
Hmm. Do we expect X on Y to have run times more like X*Y or max(X,Y)? Or maybe some more complicated combination because you have to pay both their overheads but then once things start cranking you are just paying the per-element cost of one of the languages…
Python is not a particularly fast language in the first place due to bad utilization of memory, hash table lookups everywhere and a high function call overhead.
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#24Earlier quoted context omitted.
"near clone" is a bit exaggerated. As much as I'm a free software zealot, I don't think Octave comes close to matlab yet (provided you do anything a bit more advanced than the practical of some courses) See https://stackoverflow.com/questions/12084246/differences-bet...
I don’t think Matlab or Octave are great languages for software engineering. Actually, these languages are like example #1 of the difference between engineering software vs software engineering: they are excellent tools for writing, like, 10-100 line numerical experiments. Anyone who runs up against a limitation of Octave has probably hit the point where they should consider switching, but not to Matlab or some other…
Python is trash, by comparison.
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#25Earlier quoted context omitted.
Early versions of Andrew Ng's ML MOOC used Octave, if you are looking for examples and exercises. YouTube playlist: https://www.youtube.com/playlist?list=PLiPvV5TNogxIS4bHQVW4p...
Oh, the times when Coursera and Udacity were just starting... They were supposed to disrupt academia, it's a shame they never actually did.
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#26Earlier quoted context omitted.
"near clone" is a bit exaggerated. As much as I'm a free software zealot, I don't think Octave comes close to matlab yet (provided you do anything a bit more advanced than the practical of some courses) See https://stackoverflow.com/questions/12084246/differences-bet...
People who use MATLAB use it for the toolboxes. The language itself is awful.
As a programming language freak, I must disagree... in what other programming language can you solve a linear system Ax=b in one line
x = A\b
without any external libraries or imports, just with the base language?I never used any official matlab "toolbox", but still love the language via the octave interpreter. It's so clean and straightforward!
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#27Earlier quoted context omitted.
I don’t think Matlab or Octave are great languages for software engineering. Actually, these languages are like example #1 of the difference between engineering software vs software engineering: they are excellent tools for writing, like, 10-100 line numerical experiments. Anyone who runs up against a limitation of Octave has probably hit the point where they should consider switching, but not to Matlab or some other…
I haven't found a better CLI calculator utility for writing more than one-liner numerical stuff with some plots than MATLAB and octave. They're fantastic. Python is trash, by comparison.
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#28Earlier quoted context omitted.
People who use MATLAB use it for the toolboxes. The language itself is awful.
> The language itself is awful. As a programming language freak, I must disagree... in what other programming language can you solve a linear system Ax=b in one line x = A\b without any external libraries or imports, just with the base language? I never used any official matlab "toolbox", but still love the language via the octave interpreter. It's so clean and straightforward!
Why does this matter in the least? Like you must understand that this is a library call right? Like just put `import numpy as np` in your PYTHONSTARTUP and it's the exact same UX in python.
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONST...
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#29Earlier quoted context omitted.
"near clone" is a bit exaggerated. As much as I'm a free software zealot, I don't think Octave comes close to matlab yet (provided you do anything a bit more advanced than the practical of some courses) See https://stackoverflow.com/questions/12084246/differences-bet...
People who use MATLAB use it for the toolboxes. The language itself is awful.
(Source: I did a PhD using a mixture of Octave for numerical stuff, Perl for text-processing and automation, and C++ for the parts that were too slow. Choose the right tool for the job.)
Re: GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
#30Earlier quoted context omitted.
Early versions of Andrew Ng's ML MOOC used Octave, if you are looking for examples and exercises. YouTube playlist: https://www.youtube.com/playlist?list=PLiPvV5TNogxIS4bHQVW4p...
Oh, the times when Coursera and Udacity were just starting... They were supposed to disrupt academia, it's a shame they never actually did.