Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Quansight
    @quansightai_twitter

    [Stefan Krah] Do you mean deserialize? It is a class method:

    "deserialize", (PyCFunction)pyxnd_deserialize, METH_O|METH_CLASS, NULL },

    In Python you can also call class methods from instances, but the instance is not modified:

    >>> x = Decimal("1.23")
    >>> y = x.from_float(100)
    >>> x
    Decimal('1.23')
    >>> y
    Decimal('100')
    Quansight
    @quansightai_twitter
    [Stefan Krah] The proper way (IMO) of course is to call via the type:
    >>> Decimal.from_float(100)
    Decimal('100')
    Quansight
    @quansightai_twitter
    [Stefan Krah] In the tests, of course, I use x.deserialize(b) out of laziness. :)
    Quansight
    @quansightai_twitter

    [Sameer Deshmukh] @stefan.krah question about NDT object deallocation:
    You said that reducing the refcount of a NDT object 0 via ndt_decref is supposed to be the only way of deallocating an NDT struct.

    However in the python code I can see that you simply point to the default PyObject_del for the deletion (without decreasing refcount). Can you please explain why this is so?

    [Sameer Deshmukh] How does the NDT object get deallocated safely even without reducing refcount?
    Quansight
    @quansightai_twitter

    [Stefan Krah] .tp_free = PyObject_Del is just the counterpart to self = (NdtObject *)type->tp_alloc(type, 0)

    It allocates and frees the *Python object structure*.

    .tp_dealloc = (destructor) ndtype_dealloc is the part that deallocates the ndt struct by calling ndt_decref().

    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [Ralf Gommers] Sebastian Berg just shared first rough draft of the designs for extensible dtypes in NumPy (https://hackmd.io/kxuh15QGSjueEKft5SaMug) and related changes in ufunc dispatching (https://hackmd.io/y7ghitUtRQaMyaHFGe-ueQ)
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [Travis Oliphant] The stdlib authors are going to be looking at xnd.io for ideas as they continue to develop the library. https://github.com/stdlib-js/stdlib
    [Travis Oliphant] Some of them may reach out to xnd devs
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    Quansight
    @quansightai_twitter
    [Michael Eaton] Should the purple word be “instances” or “instance”
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [Sameer Deshmukh] Is there any way of documenting gumath kernels functions within Python/Ruby/other language binding?
    Quansight
    @quansightai_twitter
    [Hameer Abbasi] @sameer.deshmukh xnd-docs is the repo.
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Sylvain Corlay
    @SylvainCorlay
    Hello
    Is xnd currently maintained / actively worked on?
    Quansight
    @quansightai_twitter
    [Pearu Peterson] Yes. That said, there is indeed apparent inactivity as the core developers are busy with other projects.
    Sylvain Corlay
    @SylvainCorlay
    are you guys connection through another client than gitter? is this forwarded to another medium?
    Quansight
    @quansightai_twitter
    [Ralf Gommers] Maybe should have posted this blog post also here: https://labs.quansight.org/blog/2019/09/ruby-wrappers-for-the-xnd-project/. @Sameer Deshmukh has been busy updating xnd-ruby and has future plans for XND in the Ruby community.
    [Ralf Gommers] Yes, it’s mirrored between Gitter and Slack
    Sylvain Corlay
    @SylvainCorlay
    Ah ok, thanks Ralf
    Quansight
    @quansightai_twitter
    [Ralf Gommers] Is there a particular reason you ask Sylvain? Or just wondering based on GitHub (in)activity?
    Sylvain Corlay
    @SylvainCorlay

    Is there a particular reason you ask Sylvain?

    Not really. xnd came up in the conversation and we checked the GH repository.

    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Stefan Krah
    @skrah
    @SylvainCorlay Yes, it is maintained. I got caught up in the absurd housing market in Berlin, I'll be back soon.
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [Hameer Abbasi] @ Will there be a meeting today?
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Quansight
    @quansightai_twitter
    [XND] There are no events this week
    Dave Hirschfeld
    @dhirschfeld
    It looks like there's a PR for arrow which is similar in concept to umem:
    apache/arrow#6295
    In the interest of interoperability and not having competing implementations, I'm wondering if there is anything to share between them
    Quansight
    @quansightai_twitter
    [XND] There are no events this week