Re: [Numpy-discussion] ANN: Numpy 1.10.0b1 release

2015-08-11 Thread Nathan Goldbaum
Maybe this is just me, I tried to build the tarball I got from sourceforge in a fresh virtualenv on my mac and received the following error: clang: numpy/core/src/multiarray/buffer.c clang: src/multiarray/cblasfuncs.c clang: error: no such file or directory: 'src/multiarray/cblasfuncs.c' clang:

[Numpy-discussion] Changes to np.digitize since NumPy 1.9?

2015-08-12 Thread Nathan Goldbaum
Hi all, I've been testing the package I spend most of my time on, yt, under numpy 1.10b1 since the announcement went out. I think I've narrowed down and fixed all of the test failures that cropped up except for one last issue. It seems that the behavior of np.digitize with respect to ndarray

Re: [Numpy-discussion] Changes to np.digitize since NumPy 1.9?

2015-08-13 Thread Nathan Goldbaum
On Thu, Aug 13, 2015 at 9:44 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Aug 13, 2015 at 12:09 AM, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Wed, Aug 12, 2015 at 2:03 PM, Nathan Goldbaum nathan12...@gmail.com wrote: Hi all, I've been testing the package

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

2015-08-25 Thread Nathan Goldbaum
On Tue, Aug 25, 2015 at 5:03 AM, Nathaniel Smith n...@pobox.com wrote: Hi all, These are the notes from the NumPy dev meeting held July 7, 2015, at the SciPy conference in Austin, presented here so the list can keep up with what happens, and so you can give feedback. Please do give

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-27 Thread Nathan Goldbaum
Would this happen at the level of numpy's setup.py script or would it be implemented in numpy.distutils? I'm asking as the developer of a package that uses numpy.distutils to manage C extensions. On Tue, Oct 27, 2015 at 10:28 AM, wrote: > > > On Tue, Oct 27, 2015 at 10:59

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-27 Thread Nathan Goldbaum
Interestingly, conda actually does "setup.py install" in the recipe for numpy: https://github.com/conda/conda-recipes/blob/master/numpy-openblas/build.sh I'm not sure if this is the one they use to build the anaconda package, I think they have internal versions of most of the recipes on

Re: [Numpy-discussion] New behavior of allclose

2015-11-04 Thread Nathan Goldbaum
I actually brought this up before 1.10 came out: https://github.com/numpy/numpy/issues/6196 The behavior change brought out a bug in our use of allclose, so while it was annoying in the sense that our test suite started failing in a new way, it was good in that our tests are now more correct. On

Re: [Numpy-discussion] New behavior of allclose

2015-11-04 Thread Nathan Goldbaum
Oh oops, this is about np.allcose, not np.assert_allclose. Sorry for the noise... On Wed, Nov 4, 2015 at 1:36 PM, Nathan Goldbaum <nathan12...@gmail.com> wrote: > I actually brought this up before 1.10 came out: > https://github.com/numpy/numpy/issues/6196 > > The behavior

Re: [Numpy-discussion] New behavior of allclose

2015-11-04 Thread Nathan Goldbaum
Yup, https://github.com/numpy/numpy/issues/6196 On Wed, Nov 4, 2015 at 1:45 PM, Charles R Harris <charlesr.har...@gmail.com> wrote: > > > On Wed, Nov 4, 2015 at 12:42 PM, Nathan Goldbaum <nathan12...@gmail.com> > wrote: > >> Oh oops, this is about np.allco

Re: [Numpy-discussion] Behavior of numpy.copy with sub-classes

2015-10-19 Thread Nathan Goldbaum
On Mon, Oct 19, 2015 at 7:23 PM, Jonathan Helmus wrote: > In GitHub issue #3474, a number of us have started a conversation on how > NumPy's copy function should behave when passed an instance which is a > sub-class of the array class. Specifically, the issue began by noting

Re: [Numpy-discussion] Cython-based OpenMP-accelerated quartic polynomial solver

2015-09-30 Thread Nathan Goldbaum
t succeeds, then great, we can add -fopenmp as a compilation flag. If not, don't do that. This was implemented when Apple switched from GCC 4.2 to LLVM/Clang in OS X 10.7. We've had exactly one bug report about this, and it wasn't even related to OpenMP, instead it was an issu

Re: [Numpy-discussion] "Become an Open Source Contributor" workshop

2015-09-23 Thread Nathan Goldbaum
If you are going to do work at a terminal, I'd suggest using a library like doitlive (http://doitlive.readthedocs.org/en/latest/) so you can't make mistakes while still making it look like you are actually typing everything at a terminal. You will also be able to share your exact terminal sessions

Re: [Numpy-discussion] Should I use pip install numpy in linux?

2016-01-08 Thread Nathan Goldbaum
Doesn't building on CentOS 5 also mean using a quite old version of gcc? I've never tested this, but I've seen claims on the anaconda mailing list of ~25% slowdowns compared to building from source or using system packages, which was attributed to building using an older gcc that doesn't optimize

Re: [Numpy-discussion] NumPy 1.11.0b3 released.

2016-02-12 Thread Nathan Goldbaum
https://github.com/numpy/numpy/blob/master/doc/release/1.11.0-notes.rst On Fri, Feb 12, 2016 at 3:17 PM, Andreas Mueller wrote: > Hi. > Where can I find the changelog? > It would be good for us to know which changes are done one purpos without > hunting through the issue

Re: [Numpy-discussion] Is this a known error in Ipython with numpy?

2016-04-27 Thread Nathan Goldbaum
On Wed, Apr 27, 2016 at 8:49 PM, Alexander Griffing wrote: > On Wed, Apr 27, 2016 at 7:48 PM, Elliot Hallmark > wrote: > > Hello, > > > > I haven't worked hard yet to create a minimal runnable (reproduce-able) > > example but I wanted to check if this

Re: [Numpy-discussion] Custom Dtype/Units discussion

2016-07-14 Thread Nathan Goldbaum
a...@gmail.com> wrote: >>> >>>> On Mon, Jul 11, 2016 at 12:39 PM, Chris Barker <chris.bar...@noaa.gov> >>>> wrote: >>>> >>>>> >>>>> >>>>> On Sun, Jul 10, 2016 at 8:12 PM, Nathan Goldbaum < >

Re: [Numpy-discussion] Custom Dtype/Units discussion

2016-07-14 Thread Nathan Goldbaum
s what I meant. > > On Jul 14, 2016 10:52, "Nathan Goldbaum" <nathan12...@gmail.com> wrote: > >> Fine with me as well. Meet in the downstairs lobby after the lightning >> talks? >> >> On Thu, Jul 14, 2016 at 10:49 AM, Ryan May <rma...@gmail.com

Re: [Numpy-discussion] Custom Dtype/Units discussion

2016-07-14 Thread Nathan Goldbaum
We are in room 203 On Thursday, July 14, 2016, Nathan Goldbaum <nathan12...@gmail.com> wrote: > > > On Thu, Jul 14, 2016 at 11:05 AM, Nathaniel Smith <n...@pobox.com > <javascript:_e(%7B%7D,'cvml','n...@pobox.com');>> wrote: > >> Where is "the downs

Re: [Numpy-discussion] Custom Dtype/Units discussion

2016-07-10 Thread Nathan Goldbaum
Hi Ryan, As a maintainer of a unit-aware ndarray subclass, I'm also interested in sitting in. Maybe this can be an informal BOF session? Nathan On Sunday, July 10, 2016, Ryan May wrote: > Hi Nathaniel, > > Thursday works for me; anyone else interested is welcome to join. >

Re: [Numpy-discussion] Proposal to support __format__

2017-02-15 Thread Nathan Goldbaum
On Wed, Feb 15, 2017 at 4:05 PM, Ilhan Polat wrote: > On the last item, do we really have to follow that strange, `d`,`g` and so > on conventions on formatting? With all respect to the humongous historical > baggage, I think that notation is pretty archaic and terminal

Re: [Numpy-discussion] NumPy 1.12.0 release

2017-01-17 Thread Nathan Goldbaum
I've seen reports on the anaconda mailing list of people seeing similar speed ups when they compile e.g. Numpy with a recent gcc. Anaconda has the same issue as manylinux in that they need to use versions of GCC available on CentOS 5. Given the upcoming official EOL for CentOS5, it might make

Re: [Numpy-discussion] Arrays and format()

2017-02-28 Thread Nathan Goldbaum
See this issue: https://github.com/numpy/numpy/issues/5543 There was also a very thorough discussion of this recently on this mailing list: http://numpy-discussion.10968.n7.nabble.com/Proposal-to-support-format-td43931.html On Tue, Feb 28, 2017 at 11:32 AM Ryan May wrote: >

Re: [Numpy-discussion] New Indexing Methods Revival #N (subclasses!)

2016-09-05 Thread Nathan Goldbaum
On Monday, September 5, 2016, Marten van Kerkwijk wrote: > Hi Sebastian, > > It would seem to me that any subclass has to keep up to date with new > features in ndarray, and while I think ndarray has a responsibility > not to break backward compatibility, I do not

Re: [Numpy-discussion] New Indexing Methods Revival #N (subclasses!)

2016-09-06 Thread Nathan Goldbaum
On Tuesday, September 6, 2016, Stephan Hoyer wrote: > On Mon, Sep 5, 2016 at 6:02 PM, Marten van Kerkwijk < > m.h.vankerkw...@gmail.com > > wrote: > >> p.s. Just to be clear: personally, I think we should have neither

Re: [Numpy-discussion] gmane

2016-09-09 Thread Nathan Goldbaum
Hi Chuck, Since that blog post, Gmane is under new management and will continue to be available: http://home.gmane.org Nathan On Friday, September 9, 2016, Charles R Harris wrote: > Hi All, > > Looks like gmane is going down >

Re: [Numpy-discussion] guvectorize, a helper for writing generalized ufuncs

2016-09-13 Thread Nathan Goldbaum
On Tue, Sep 13, 2016 at 11:47 AM, Stephan Hoyer wrote: > NumPy has the handy np.vectorize for turning Python code that operates on > scalars into a function that vectorizes works like a ufunc, but no helper > function for creating generalized ufuncs (http://docs.scipy.org/doc/

Re: [Numpy-discussion] __numpy_ufunc__

2016-11-06 Thread Nathan Goldbaum
I'm interested in this, but was never able to dive in to the lengthy discussions on this. I'm curious if there is a summary of the current state of things somewhere that I could read to catch up. On Sunday, November 6, 2016, Charles R Harris wrote: > > > On Sun, Nov

Re: [Numpy-discussion] assert_allclose equal_nan default value.

2016-10-20 Thread Nathan Goldbaum
Agreed, especially given the prevalence of using this function in downstream test suites: https://github.com/search?utf8=%E2%9C%93=numpy+assert_allclose=Code=searchresults On Thu, Oct 20, 2016 at 12:16 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: > Hi All, > > Just a heads up that

Re: [Numpy-discussion] Possible to pickle new state in NDArray subclasses?

2016-12-14 Thread Nathan Goldbaum
I'm able to do this in my ndarrary subclass using __reduce__ and __setstate__: https://bitbucket.org/yt_analysis/yt/src/yt/yt/units/yt_array.py#yt_array.py-1250 Here it's being used to save the unit information into the pickle for a unit-aware ndarray subclass. On Wed, Dec 14, 2016 at 1:45 PM,

Re: [Numpy-discussion] Does numpy.bincount support numpy.float128 type weights?

2016-11-30 Thread Nathan Goldbaum
I think this is a deficiency in the current implementation of bincount, which always casts the weights to float64. This WIP pull request should probably fix it: https://github.com/numpy/numpy/pull/7464 On Wed, Nov 30, 2016 at 3:54 PM, Wei, Huayi wrote: > Hi, There, > >

Re: [Numpy-discussion] Wheel files for PPC64

2016-11-29 Thread Nathan Goldbaum
Hi Leonardo, Matthew Brett replied to you on Nov 23: https://mail.scipy.org/pipermail/numpy-discussion/2016-November/076290.html It seems you will need to take this up with the upstream python packaging community to come up with an alternate to manylinux1 that will work on ppc architectures.

Re: [Numpy-discussion] migration of all scipy.org mailing lists

2017-03-22 Thread Nathan Goldbaum
Are you sure about astropy? They recently moved to google groups. On Wednesday, March 22, 2017, Ralf Gommers wrote: > Hi all, > > The server for the scipy.org mailing list is in very bad shape, so we > (led by Didrik Pinte) are planning to complete the migration of

Re: [Numpy-discussion] migration of all scipy.org mailing lists

2017-03-23 Thread Nathan Goldbaum
The switchover happened on almost the same day, see: https://mail.scipy.org/pipermail/astropy/2017-March/004498.html On Thu, Mar 23, 2017 at 5:09 AM Ralf Gommers <ralf.gomm...@gmail.com> wrote: > On Thu, Mar 23, 2017 at 3:11 AM, Nathan Goldbaum <nathan12...@gmail.com> > wrote