Re: [Numpy-discussion] User Stories for https://numpy.org

2019-09-20 Thread Ralf Gommers
On Wed, Sep 18, 2019 at 9:52 AM Inessa Pawson wrote: > The NumPy web team has begun redesigning https://numpy.org determined to > transform the website into a welcoming and useful digital hub of all things > NumPy. We are inviting all members of our large and diverse community to > submit their u

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Ralf Gommers
On Fri, Sep 20, 2019 at 9:31 PM Robert Kern wrote: > On Fri, Sep 20, 2019 at 11:33 PM Ralf Gommers > wrote: > >> >> >> On Fri, Sep 20, 2019 at 7:09 AM Robert Kern >> wrote: >> >>> >>> >>> On Fri, Sep 20, 2019 at 6:09 AM Ralf Gommers >>> wrote: >>> On Fri, Sep 20, 2019 at 5:29 AM

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Robert Kern
On Fri, Sep 20, 2019 at 11:33 PM Ralf Gommers wrote: > > > On Fri, Sep 20, 2019 at 7:09 AM Robert Kern wrote: > >> >> >> On Fri, Sep 20, 2019 at 6:09 AM Ralf Gommers >> wrote: >> >>> >>> >>> On Fri, Sep 20, 2019 at 5:29 AM Robert Kern >>> wrote: >>> We might end up with more than 2 i

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Ralf Gommers
On Fri, Sep 20, 2019 at 7:09 AM Robert Kern wrote: > > > On Fri, Sep 20, 2019 at 6:09 AM Ralf Gommers > wrote: > >> >> >> On Fri, Sep 20, 2019 at 5:29 AM Robert Kern >> wrote: >> >>> >>> We might end up with more than 2 implementations if we need to change >>> something about the function signa

Re: [Numpy-discussion] DType Roadmap/NEP Discussion

2019-09-20 Thread Sebastian Berg
On Thu, 2019-09-19 at 21:35 +0300, Matti Picus wrote: > On 19/9/19 2:34 am, Sebastian Berg wrote: > > Hi all, > > > > to try and make some progress towards a decision since the broad > > design > > is pretty much settling from my side. I am thinking about making a > > meeting, and suggest Monday a

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Robert Kern
On Fri, Sep 20, 2019 at 6:09 AM Ralf Gommers wrote: > > > On Fri, Sep 20, 2019 at 5:29 AM Robert Kern wrote: > >> >> We might end up with more than 2 implementations if we need to change >> something about the function signature, for whatever reason, and we want to >> retain C/Cython API compati

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Neal Becker
I'm using the low-level generator. In this example I need to generate small random integers of defined bit widths (e.g., 2 bit). So I get 64-bit uniform random uintegers, and cache the values, returning them n-bits (e.g. 2 bits) at a time to the caller. On Fri, Sep 20, 2019 at 9:03 AM Matti Picu

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Matti Picus
On 20/9/19 2:18 pm, Neal Becker wrote: I have used C-api in the past, and would like to see a convenient and stable way to do this. Currently I'm using randomgen, but calling (from c++) to the python api. The inefficiency is amortized by generating and caching batches of results. I thought ran

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Neal Becker
I have used C-api in the past, and would like to see a convenient and stable way to do this. Currently I'm using randomgen, but calling (from c++) to the python api. The inefficiency is amortized by generating and caching batches of results. I thought randomgen was supposed to be the future of n

Re: [Numpy-discussion] Low-level API for Random

2019-09-20 Thread Ralf Gommers
On Fri, Sep 20, 2019 at 5:29 AM Robert Kern wrote: > On Thu, Sep 19, 2019 at 11:04 PM Ralf Gommers > wrote: > >> >> >> On Thu, Sep 19, 2019 at 4:53 PM Robert Kern >> wrote: >> >>> On Thu, Sep 19, 2019 at 5:24 AM Ralf Gommers >>> wrote: >>> On Thu, Sep 19, 2019 at 10:28 AM Kevin Shepp