home.social

#cffi — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cffi, aggregated by home.social.

fetched live
  1. Encountered this #Python #cffi issue on #HomeAssistant for some integrations after updating them - in my case #Tapo and #Petkit.

    🔗 https://github.com/home-assistant/core/issues/175882

    Workaround for now until the patch has made it into the next stable version:

    🔗 https://community.home-assistant.io/t/cffi-errors-after-updating-to-2026-7-1/1016507

  2. Colors are not mine, this is just how #wgpu-native has it :blobcat_thisisfine:

    I finally looked up the story about Lemonodor, so yeah, I am way late to that party... I don't even understand why I am doing #commonlisp, but for some reason, I find it addictive.

    And so, after 3 months of pretty intense work, I proudly present this beauty—THE TRIANGLE!!! :blobcat_dundundun:

    It’s the wgpu-native triangle example implemented in CL with the #wgpu bindings lib I’ve been working on. I hope I can now exhale, relax, and take a small break. And then jump into it again. Refreshed. A bit, at least.

    There’s going to be a lot of work to clean up the mess I made while zerg rushing things with my brain cells in these past 3 months before I start expanding the API. I hope wgpu-native will continue to bless me with smooth rendering and zero crashes. 🤞

    github.com/keelah-mt/cl-kl-wgpu

    #cffi #lisp #programming

  3. Oh, so it is 2026 already? And the month is February already? The last thing I remember is diving into a rabbit hole called "Surely writing my own c2ffi translator for my WGPU project is no big deal."

    What's done is done. I am slowly recovering and ready to get back to my WGPU project. While the need for a custom translator is still debatable, I guess further practice will show if that's actually the case. Even if it was overkill, the time wasn't completely lost: I’ve learned more about Common Lisp and even did TDD for the first time in my life - who would've guessed it would finally happen in CL? :blobcat_thisisfine:

    Behold, the monstrosity! github.com/keelah-mt/cl-kl-c2f

    #commonlisp #cffi #wgpu #programming #lisp

  4. Well I got #cffi installed within #blender s internal python... but it fixed nothing

  5. how would one add #Cffi to #Blender? one of my addons keeps crashing because it cant find cffi

    installed cffi via pip but that went nowhere.

  6. For the Python programmers under you who wanted to make your app print, you probably have used pyCUPS to talk with the printing system. Perhaps you have also seen that it is not well maintained, not keeping pace with new APIs. Problem was its design, being a maintenance nightmare.

    But for libcups3 it gets much better, thanks to the most Pythonic GSoC contributor we ever had, and CFFI:

    soumyadghosh.github.io/website

    Thanks @soumyadghosh

    #OpenPrinting #Python #Pythonic #CFFI #CUPS #GSoC #GSoC2025

  7. ✨ My first technical blogpost is out now. ✨

    If you ever wanted to learn a bit about how
    works internally and why we have two ways to communicate with our core, then this is the introduction to read

    delta.chat/en/2025-02-11-why-j

  8. Hmmm, how come manages to install ==1.16.0 in GitHub Actions on ubuntu-latest and 3.13.0b1 while it fails locally on (Arch)Linux and Python 3.13.0b1 🤔

    There is no wheel of 1.16.0 for CPython 3.13 🤔 And sources fail to compile (not compatible with 3.13). I'm confused 🤔 🤔 🤔

    github.com/pawamoy/duty/action

  9. I prototyped Python bindings for Linux adjtimex() with CFFI, ctypes, Cython, and PyO3 github.com/moreati/python-adjt Please be gentle, this is Baby's First Rust. #Python #CFFI #CTypes #Cython #PyO3

  10. My very small commentary on Juan's excellent common lisp native polynomial-ring arithmatic package, on my show toot which is in lemmy.sdf.org/c/aNONradio :
    lemmy.sdf.org/post/121283
    } And also Carlos Ungil's incredible pillaging of a variety of R's underlying ML / math C libraries into actually-being-underlying-lisp-cffi-libraries .

    Both use old fashioned ASDF packaging, except @rwxrwxrwx uses #fiasco test framework, which secretly ~extends uiop:define-package and package-inferr
    #CommonLisp #cffi

  11. Aktualizacja postępów #Python 3.12 w #Gentoo: przygotowałem łatkę na #CFFI dostatecznie dobrej jakości, by ruszyć dalej. Kilka testów się wiesza, ale nie wydaje się to wpływać na żadną z paczek używających CFFI, które testowałem.

    foss.heptapod.net/pypy/cffi/-/

  12. 3.12 update: I've written a "good enough" patch for that lets us proceed further! There is still some bug that causes a few tests to hang but it doesn't seem to block any of the actual usage I've tested so far.

    foss.heptapod.net/pypy/cffi/-/

  13. Wondering if there's an efficient way to convert between GeoSeries with datetime index and TGeogPointSeq to hook up and .

    First attempts: github.com/MobilityDB/PyMEOS/b but I'm sure there is room for improvement