Re: [Numpy-discussion] 1.10.0rc1

2015-08-27 Thread Benjamin Root
Ok, I tested matplotlib master against numpy master, and there were no errors. I did get a bunch of new deprecation warnings though such as: /nas/home/broot/centos6/lib/python2.7/site-packages/matplotlib-1.5.dev1-py2.7-linux-x86_64.egg/matplotlib/colorbar.py:539: VisibleDeprecationWarning:

Re: [Numpy-discussion] 1.10.0rc1

2015-08-27 Thread Charles R Harris
On Thu, Aug 27, 2015 at 7:52 AM, Benjamin Root ben.v.r...@gmail.com wrote: Ok, I tested matplotlib master against numpy master, and there were no errors. I did get a bunch of new deprecation warnings though such as:

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread josef.pktd
On Thu, Aug 27, 2015 at 8:57 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 12:11 PM, Sebastian Berg sebast...@sipsolutions.net wrote: On Do, 2015-08-27 at 10:45 +0100, Matthew Brett wrote: Hi, On Thu, Aug 27, 2015 at 10:35 AM, Bryan Van de Ven

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Bryan Van de Ven
On Aug 27, 2015, at 1:57 PM, Matthew Brett matthew.br...@gmail.com wrote: The 'president' idea ...seems to be predicated on a steady stream of people who: actually want job, don't mind campaigning, are willing to accept any and all blame, and have the technical experience to make final

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 12:11 PM, Sebastian Berg sebast...@sipsolutions.net wrote: On Do, 2015-08-27 at 10:45 +0100, Matthew Brett wrote: Hi, On Thu, Aug 27, 2015 at 10:35 AM, Bryan Van de Ven bry...@continuum.io wrote: On Aug 27, 2015, at 10:22 AM, Matthew Brett

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Sebastian Berg
On Do, 2015-08-27 at 17:22 +0100, Matthew Brett wrote: Hi On Thu, Aug 27, 2015 at 5:11 PM, josef.p...@gmail.com wrote: On Thu, Aug 27, 2015 at 11:04 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 3:34 PM, josef.p...@gmail.com wrote: [snip] I

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread josef.pktd
On Thu, Aug 27, 2015 at 12:22 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi On Thu, Aug 27, 2015 at 5:11 PM, josef.p...@gmail.com wrote: On Thu, Aug 27, 2015 at 11:04 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 3:34 PM,

Re: [Numpy-discussion] 1.10.0rc1

2015-08-27 Thread Benjamin Root
Ok, I just wanted to make sure I understood the issue before going bug hunting. Chances are, it has been a bug on our end for a while now. Just to make sure, is the following valid? arr = np.zeros((5, 3)) ind = np.array([True, True, True, False, True]) arr[ind] # gives a 4x3 result Running

Re: [Numpy-discussion] 1.10.0rc1

2015-08-27 Thread Sebastian Berg
On Do, 2015-08-27 at 11:15 -0400, Benjamin Root wrote: Ok, I just wanted to make sure I understood the issue before going bug hunting. Chances are, it has been a bug on our end for a while now. Just to make sure, is the following valid? arr = np.zeros((5, 3)) ind = np.array([True, True,

Re: [Numpy-discussion] 1.10.0rc1

2015-08-27 Thread Benjamin Root
The reason why we don't have that extra slice is because we may not know ahead of time that we are dealing with a 2D array. It could be a 1D array. I guess we could use ellipses, but I wanted to make sure that the numpy devs consider the above to be perfectly valid semantics because it is

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi On Thu, Aug 27, 2015 at 5:11 PM, josef.p...@gmail.com wrote: On Thu, Aug 27, 2015 at 11:04 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 3:34 PM, josef.p...@gmail.com wrote: [snip] I don't really see a problem with codifying the status quo. That's

Re: [Numpy-discussion] Notes from the numpy dev meeting at scipy 2015

2015-08-27 Thread josef.pktd
On Wed, Aug 26, 2015 at 10:06 AM, Travis Oliphant tra...@continuum.io wrote: On Wed, Aug 26, 2015 at 1:41 AM, Nathaniel Smith n...@pobox.com wrote: Hi Travis, Thanks for taking the time to write up your thoughts! I have many thoughts in return, but I will try to restrict myself to two

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread josef.pktd
On Thu, Aug 27, 2015 at 11:04 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 3:34 PM, josef.p...@gmail.com wrote: [snip] I don't really see a problem with codifying the status quo. That's an excellent point.If we believe that the current situation is

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 3:34 PM, josef.p...@gmail.com wrote: [snip] I don't really see a problem with codifying the status quo. That's an excellent point.If we believe that the current situation is the best possible, both now and in the future, then codifying the status quo is an

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 3:43 PM, Bryan Van de Ven bry...@continuum.io wrote: On Aug 27, 2015, at 1:57 PM, Matthew Brett matthew.br...@gmail.com wrote: The 'president' idea ...seems to be predicated on a steady stream of people who: actually want job, don't mind campaigning, are

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread josef.pktd
On Thu, Aug 27, 2015 at 2:06 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 6:23 PM, josef.p...@gmail.com wrote: On Thu, Aug 27, 2015 at 12:22 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi On Thu, Aug 27, 2015 at 5:11 PM,

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Stefan van der Walt
On 2015-08-27 11:06:10, Matthew Brett matthew.br...@gmail.com wrote: So, in the spirit of fruitful discussion, can I ask what y'all consider to be the current problems with working on numpy (other than the technical ones). What is numpy doing well, and what is it doing badly? What risks

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Sebastian Berg
On Do, 2015-08-27 at 12:34 -0700, Stefan van der Walt wrote: On 2015-08-27 11:06:10, Matthew Brett matthew.br...@gmail.com wrote: So, in the spirit of fruitful discussion, can I ask what y'all consider to be the current problems with working on numpy (other than the technical ones).

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Jaime Fernández del Río
On Thu, Aug 27, 2015 at 11:06 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 6:23 PM, josef.p...@gmail.com wrote: On Thu, Aug 27, 2015 at 12:22 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi On Thu, Aug 27, 2015 at 5:11 PM,

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 10:35 AM, Bryan Van de Ven bry...@continuum.io wrote: On Aug 27, 2015, at 10:22 AM, Matthew Brett matthew.br...@gmail.com wrote: In the case of the 'core' model, we have some compelling testimony from someone with a great deal of experience: Much of this early

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Nathaniel Smith
On Thu, Aug 27, 2015 at 2:16 AM, Matthew Brett matthew.br...@gmail.com wrote: So, I speculate, that a good governance model would have: * one 'president' who has to take final responsibility for all decisions; * this president might well have a fixed term, maybe with limits on the number of

Re: [Numpy-discussion] [DRAFT] numpy governance document

2015-08-27 Thread Nathaniel Smith
On Thu, Aug 27, 2015 at 1:44 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 7:33 AM, Nathaniel Smith n...@pobox.com wrote: Hi all, Here's a first draft of a governance document for NumPy. Thanks for this. I wasn't sure from your email whether you were asking

Re: [Numpy-discussion] [DRAFT] numpy governance document

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 11:10 AM, Nathaniel Smith n...@pobox.com wrote: On Thu, Aug 27, 2015 at 1:44 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 27, 2015 at 7:33 AM, Nathaniel Smith n...@pobox.com wrote: Hi all, Here's a first draft of a governance document for

[Numpy-discussion] [DRAFT] numpy governance document

2015-08-27 Thread Nathaniel Smith
Hi all, Here's a first draft of a governance document for NumPy. A few people have seen sneak peeks and have suggested possibly reorganizing it either by taking some of the how consensus works stuff out into a separate document, or alternatively keeping that stuff in the foreground and moving

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 11:05 AM, Nathaniel Smith n...@pobox.com wrote: On Thu, Aug 27, 2015 at 2:16 AM, Matthew Brett matthew.br...@gmail.com wrote: So, I speculate, that a good governance model would have: * one 'president' who has to take final responsibility for all decisions; *

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Sebastian Berg
On Do, 2015-08-27 at 10:45 +0100, Matthew Brett wrote: Hi, On Thu, Aug 27, 2015 at 10:35 AM, Bryan Van de Ven bry...@continuum.io wrote: On Aug 27, 2015, at 10:22 AM, Matthew Brett matthew.br...@gmail.com wrote: In the case of the 'core' model, we have some compelling testimony

Re: [Numpy-discussion] 1.10.0rc1

2015-08-27 Thread Antoine Pitrou
Hi again, The change seems to have possibly unforeseen consequences because some ufuncs don't declare all possible types, e.g.: a = np.arange(10, dtype=np.int32) out = np.zeros_like(a) np.fabs(a, out=out) Traceback (most recent call last): File stdin, line 1, in module TypeError: ufunc

Re: [Numpy-discussion] Defining a white noise process using numpy

2015-08-27 Thread Neal Becker
Daniel Bliss wrote: Hi all, Can anyone give me some advice for translating this equation into code using numpy? eta(t) = lim(dt - 0) N(0, 1/sqrt(dt)), where N(a, b) is a Gaussian random variable of mean a and variance b**2. This is a heuristic definition of a white noise process.

Re: [Numpy-discussion] Defining a white noise process using numpy

2015-08-27 Thread Anne Archibald
On Thu, Aug 27, 2015 at 12:51 AM Daniel Bliss daniel.p.bl...@gmail.com wrote: Can anyone give me some advice for translating this equation into code using numpy? eta(t) = lim(dt - 0) N(0, 1/sqrt(dt)), where N(a, b) is a Gaussian random variable of mean a and variance b**2. This is a

Re: [Numpy-discussion] 1.10.0rc1

2015-08-27 Thread Antoine Pitrou
The change also seems to have made datetime64 computations stricter: np.datetime64('2010') - np.datetime64('2000-01-01') numpy.timedelta64(3653,'D') np.datetime64('2010') - np.datetime64('2000-01-01T00:00:00Z') Traceback (most recent call last): File stdin, line 1, in module TypeError:

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
On Thu, Aug 27, 2015 at 9:36 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, Aug 26, 2015 at 11:46 PM, Stefan van der Walt stef...@berkeley.edu wrote: Hi Matthew On 2015-08-26 10:50:47, Matthew Brett matthew.br...@gmail.com wrote: In short, the core structure seems to be

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Bryan Van de Ven
On Aug 27, 2015, at 9:36 AM, Matthew Brett matthew.br...@gmail.com wrote: So, in answer to your question, it's difficult to know if a particular governance model is successful. It isn't enough that a project has lasted, or is still active, because there are so many factors in play. On

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 10:15 AM, Bryan Van de Ven bry...@continuum.io wrote: On Aug 27, 2015, at 9:36 AM, Matthew Brett matthew.br...@gmail.com wrote: So, in answer to your question, it's difficult to know if a particular governance model is successful. It isn't enough that a project

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Bryan Van de Ven
On Aug 27, 2015, at 10:22 AM, Matthew Brett matthew.br...@gmail.com wrote: In the case of the 'core' model, we have some compelling testimony from someone with a great deal of experience: Much of this early structure (CVS, web site, cabal [core group], etc.) was copied verbatim by

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Matthew Brett
Hi, On Wed, Aug 26, 2015 at 11:46 PM, Stefan van der Walt stef...@berkeley.edu wrote: Hi Matthew On 2015-08-26 10:50:47, Matthew Brett matthew.br...@gmail.com wrote: In short, the core structure seems to be characteristically associated with a conservatism and lack of vision that causes

Re: [Numpy-discussion] [DRAFT] numpy governance document

2015-08-27 Thread Matthew Brett
Hi, On Thu, Aug 27, 2015 at 7:33 AM, Nathaniel Smith n...@pobox.com wrote: Hi all, Here's a first draft of a governance document for NumPy. Thanks for this. I wasn't sure from your email whether you were asking for feedback as to whether this was the right governance model? I mean that -

Re: [Numpy-discussion] Comments on governance proposal (was: Notes from the numpy dev meeting at scipy 2015)

2015-08-27 Thread Stefan van der Walt
Hi Sebastian On 2015-08-27 14:45:50, Sebastian Berg sebast...@sipsolutions.net wrote: Agreed. Are not PEP's/NEP's just that (and could possibly be formalized more, not sure how much they are in the current proposal) in some sense? Since they have a sponsor/author who can be said to be