Re: [Numpy-discussion] NEP 31 — Context-local and global overrides of the NumPy API

2019-09-09 Thread Eric Wieser
> In other words `np.arange(100)` (but with a completely different syntax, probably hidden away only for libraries to use). It sounds an bit like you're describing factory classmethods there. Is the solution to this problem to move (leaving behind aliases) `np.arange` to `ndarray.arange`,

Re: [Numpy-discussion] NEP 31 — Context-local and global overrides of the NumPy API

2019-09-09 Thread Sebastian Berg
On Mon, 2019-09-09 at 20:32 -0700, Stephan Hoyer wrote: > On Mon, Sep 9, 2019 at 6:27 PM Ralf Gommers > wrote: > > I think we've chosen to try the former - dispatch on functions so > > we can reuse the NumPy API. It could work out well, it could give > > some long-term maintenance issues, time

Re: [Numpy-discussion] NEP 31 — Context-local and global overrides of the NumPy API

2019-09-09 Thread Stephan Hoyer
On Mon, Sep 9, 2019 at 6:27 PM Ralf Gommers wrote: > I think we've chosen to try the former - dispatch on functions so we can > reuse the NumPy API. It could work out well, it could give some long-term > maintenance issues, time will tell. The question is now if and how to plug > the gap that

Re: [Numpy-discussion] NEP 31 — Context-local and global overrides of the NumPy API

2019-09-09 Thread Ralf Gommers
On Sun, Sep 8, 2019 at 6:27 PM Nathaniel Smith wrote: > On Sun, Sep 8, 2019 at 8:40 AM Ralf Gommers > wrote: > > > > > > > > On Sun, Sep 8, 2019 at 12:54 AM Nathaniel Smith wrote: > >> > >> On Fri, Sep 6, 2019 at 11:53 AM Ralf Gommers > wrote: > >> > On Fri, Sep 6, 2019 at 12:53 AM Nathaniel

Re: [Numpy-discussion] [JOB] Principal Software Engineer position at IHME

2019-09-09 Thread Ralf Gommers
On Mon, Sep 9, 2019 at 4:14 PM Chun-Wei Yuan wrote: > I see. Sorry. I think I misinterpreted "It is okay to post job ads for > work involving NumPy/SciPy and related packages if you put [JOB] in the > subject". Thanks for the clarification. > That might be our fault for not updating that

Re: [Numpy-discussion] [JOB] Principal Software Engineer position at IHME

2019-09-09 Thread Chun-Wei Yuan
I see. Sorry. I think I misinterpreted "It is okay to post job ads for work involving NumPy/SciPy and related packages if you put [JOB] in the subject". Thanks for the clarification. On Mon, Sep 9, 2019 at 3:19 PM Ralf Gommers wrote: > > > On Mon, Sep 9, 2019 at 2:27 PM Chun-Wei Yuan >

Re: [Numpy-discussion] [JOB] Principal Software Engineer position at IHME

2019-09-09 Thread Ralf Gommers
On Mon, Sep 9, 2019 at 2:27 PM Chun-Wei Yuan wrote: > *The Institute for Health Metrics and Evaluation (IHME) *has an > outstanding opportunity for a full-time *Principal Software Engineer *on > our Forecasting/Future Health Scenarios (FHS) team*.* The development arm > of the team is

[Numpy-discussion] [JOB] Principal Software Engineer position at IHME

2019-09-09 Thread Chun-Wei Yuan
*The Institute for Health Metrics and Evaluation (IHME) *has an outstanding opportunity for a full-time *Principal Software Engineer *on our Forecasting/Future Health Scenarios (FHS) team*.* The development arm of the team is responsible for the design and implementation of software to support

Re: [Numpy-discussion] NEP 32: Remove the financial functions from NumPy

2019-09-09 Thread D.S. McNeil
[coming over from the pydata post] I just checked about ~150KLOC of our Python code in a financial context, written by about twenty developers over about four years. Almost every function uses numpy, sometimes directly and sometimes via pandas. It seems like these functions were never used

[Numpy-discussion] numpy C-API :: use numpy's random number generator in a ufunc

2019-09-09 Thread Daniel Knüttel
Hi folks, I currently have a project that requires randomness in a ufunc. In order to keep the ufuncs as reproducible as possible I would like to use numpy's random number generator for that; basically because setting the seed will be more intuitive this way. However I cannot find the

[Numpy-discussion] Using hypothesis in testing

2019-09-09 Thread Matti Picus
We have discussed using the hypothesis package to generate test cases at a few meetings informally. At the EuroSciPy sprint, kitchoi took up the challenge and issued a pull request https://github.com/numpy/numpy/pull/14440 that actually goes ahead and does it.