News for hackers. Stuff that matters.
Re:GNU Octave Meets JupyterLite: Compute Anywhere, Anytime by enriquto on Sunday October 19, 2025 @09:52PM (#45639567)
> 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 by torrance on Sunday October 19, 2025 @11:00PM (#45639877)
Well, in Julia, for one.
Re:GNU Octave Meets JupyterLite: Compute Anywhere, Anytime by ok123456 on Monday October 20, 2025 @12:44AM (#45640240)
Also APL: b ⌹ A
Re:GNU Octave Meets JupyterLite: Compute Anywhere, Anytime by almostgotcaught on Sunday October 19, 2025 @09:58PM (#45639592)
> without any external libraries or imports

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 by anthk on Monday October 20, 2025 @04:22AM (#45641240)
GNU Maxima.

Not a general purpose one, but good enough.

Also, qalc from libqalculate for trivial stuff.

Re:GNU Octave Meets JupyterLite: Compute Anywhere, Anytime by _glass on Monday October 20, 2025 @06:16AM (#45642208)
In Python you can use a library, then it is: x = np.linalg.solve(A, b). But yeah, Octave is nice, because it stays very symbolic.
Re:GNU Octave Meets JupyterLite: Compute Anywhere, Anytime by electroly on Monday October 20, 2025 @12:05PM (#45645486)
In R, this is: x <- solve(A, b)