Live data from Hacker News

Viewing profile — ngoldbaum

ngoldbaum

HN member
Joined
Mon, Apr 22, 2013, 8:29 PM UTC
HN karma
3,919
Public activity
399 items

About ngoldbaum

No profile information was provided.

Recent public activity

  1. comment
    Comment #49209835

    I’m saying that it’s a new issue on the free-threaded build.

  2. comment
    Comment #49195178

    There’s also the fact that INCREF and DECREF on shared objects is a lot more expensive than plain integer addition, so stuff becomes a bottleneck that was never a bottleneck. Kumar…

  3. comment
    Comment #49195148

    I’m not sure why it took me, a NumPy developer, looking at the benchmark numbers and saying “hmm, this is a bug”. But that is what it took. People are sometimes slow to treat behav…

  4. story
  5. comment
    Comment #49060220

    I’m glad you enjoyed the post. It really helped me to crystallize my understanding. I was also confused about the API/ABI distinction for a long time.

  6. comment
    Comment #49060171

    Thanks for pointing that out, I’ll fix that.

  7. story
  8. comment
  9. story
  10. comment
    Comment #44877560

    I wonder why the github status page has an atlassian cookie request pop-up.

  11. story
  12. comment
  13. story
  14. comment
    Comment #43926553

    Either something about beanie babies or something riffing on "thank you". Couldn't ever make up my mind then basically forgot about it.

  15. comment
    Comment #43920112

    I gave away the “ty” project name on pypi to Astral a week or so ago. I wanted to use it for a joke a few years ago but this is a much better use for a two letter project name. The…

  16. comment
    Comment #42743614

    You could do two passes over the string, first get the total length in bytes, then fill it in codepoint by codepoint. You could also pessimistically over-allocate assuming four byt…

  17. comment
    Comment #41935414

    The main difference is the strings are stored in a single contiguous arena buffer (with some minor caveats if you mutate the array in-place). With object strings each string has it…

  18. comment
    Comment #41935377

    Ah I could see how that’s confusing. I was trying to indicate that the size stored for the string in the example is 28, but it’s stored in a 64 bit uint.

  19. comment
    Comment #41935353

    They’re stored on the DType instance. This requires that there’s only one DType instance per “owned” array buffer, which I figured out how to do along with Sebastian Berg and other…

  20. comment
    Comment #41930637

    That is something I’d like to see but I don’t want to wade into the already very complicated discussion around arrow strings in pandas. If a Pandas developer wanted to take this on…

  21. comment
    Comment #41929095

    This was a case of convergent evolution, both projects ended up working simultaneously on similar ideas. One issue with using Arrow directly in NumPy is PyArrow exposes an immutabl…

  22. comment
    Comment #41929082

    Well, there was no concept of sidecar storage. Now we have the hack we came up with for StringDType to store data on the DType instance and also make it so StringDType arrays don't…

  23. comment
    Comment #41928560

    Thank you this really means a lot.

  24. comment
    Comment #41726256

    No, it wouldn’t make sense to. Use threading.Lock for that. PyMutex is available in the CPython C API.

  25. comment
    Comment #41724323

    https://github.com/numpy/numpy/issues/26510#issuecomment-229... And now that I look at that again I realize I forgot to finish that up!