News for hackers. Stuff that matters.
Re:GNU Octave by messe on Saturday November 19, 2016 @02:27PM (#12995146)
What's wrong with:

    >>> import numpy as np
    >>> m = np.array([[0,1,0],[0,0,1],[1,0,0]])
    >>> v = np.array([2,3,1])
    >>> np.linalg.solve(m,v)

    array([ 1.,  2.,  3.])
No need to transpose, as numpy handles row and column vectors identically. Using the above variables `m` and `v`:

    >>> v @ m   # treated as row vector
    array([1, 2, 3])

    >>> m @ v   # treated as column vector
    array([3, 1, 2])
Where `@`, for those who don't know, is the matrix multiplication operator (`np.dot`) introduced in recent versions of python 3.
Re:GNU Octave by noobermin on Saturday November 19, 2016 @04:13PM (#12995707)
Sounds like a case of familiarity being confused for ease of use.
Re:GNU Octave by TheSpiceIsLife on Saturday November 19, 2016 @04:14PM (#12995714)
What's wrong with .... introduced in recent versions of python 3.

Exactly.

Re:GNU Octave by foota on Saturday November 19, 2016 @08:07PM (#12996691)
Python3 is ancient, can we stop pretending otherwise?
Re:GNU Octave by TAForObvReasons on Sunday November 20, 2016 @12:14AM (#12997379)
PEP 465 introduced the infix operator @: https://www.python.org/dev/peps/pep-0465/

Python 3.5 was the first version of python3 to implement the PEP: https://docs.python.org/3.5/whatsnew/3.5.html

If I am reading the release notes correctly, Python 3.5.0 was released last year (2015-09-13): https://www.python.org/downloads/release/python-350/

It's fair to say that this is a relatively new development.

Re:GNU Octave by foota on Sunday November 20, 2016 @03:10AM (#12997854)
It's true that infix multiply is new, but infix multiply if I'm not mistaken is not a breaking change.
Re:GNU Octave by TheSpiceIsLife on Sunday November 20, 2016 @02:11AM (#12997724)
True.

I mean in the context as @sampo described it above ...

In the Stanford/Coursera machine learning class, Andrew Ng said that his teaching experience is that students pick up octave/matlab quicker and the course can cover more actual machine learning, compared to python where more time is spent learning the language.

Then "which version of Python, and how is that different..." etc.

Re:GNU Octave by jjawssd on Sunday November 20, 2016 @01:48PM (#13000379)
Code targeting Python 3.2 which was released five years code is still compatible with the latest versions of Python 3. What is the issue exactly?
Re:GNU Octave by collinmanderson on Wednesday November 23, 2016 @09:24AM (#13022812)
There are still hundreds of projects that need to get ported to 3.x. http://portingdb.xyz
Re:GNU Octave by collinmanderson on Friday December 02, 2016 @12:22PM (#13090448)
That link above seems to have broken. Here's an alternative link: https://portingdb-encukou.rhcloud.com/