• 10 Posts
  • 237 Comments
Joined 3 years ago
cake
Cake day: February 1st, 2023

help-circle



  • Correction, uv isn’t in any way less an option. pypi is only the registry. If you are using pip you will end up in dependency hell, you might use something like poetry to avoid that, but uv is just better.

    But… wait a minute… uv is inspired by cargo, and it’s also written in rust. That’s quite the coincidence, huh?

    Also, cargo is fast, it’s rustc that’s slow, and that’s because rustc is doing advanced code analysis. Compiling rust is actually NP-hard, but in exchange for that, the compiler will catch bugs in place of the developer. Which is a good tradeoff considering that you only compile once and run many times.

    “countless projects that use it that way” isn’t proof of anything. Countless projects tell you to curl a 2000 lines script into sudo bash that will fill your os with bullshit.


  • “the compositor takes care of things it shouldn’t” said the x11 user while using their display server that also manages printers, and also provides peripheral drivers, and also manages opengl drivers, and also provides a full graphic toolkit, and also provides remote access. And all that while treating multiple monitors like a single big monitor with a single shared refresh rate, and with no support for HDR of trackpad gestures. Yes, it really is upsetting when the screen compositor manages screen recording and double buffering. And remember x11 is so modular that the graphic server is part of the driver stack and so must be implemented for every GPU out there.

    P.s.: anyone that thinks the Unix philosophy has any value should not touch xorg with a 10 meter pole. It does many things, badly. But sure, it does allow any unprivileged program to read and write to the framebuffer, so be my guest if that’s your thing.



  • edinbruh@feddit.itto196@lemmy.worldSome good news
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 days ago

    Who would buy a transphobic Christmas card? Even if you are a conservative, what’s the point of a transphobic Christmas card, what does it have to do with festivity? Like, you gift it to friends and family and they go “oooooh, this is so hateful! merry Christmas!”


  • I’ll just repost the same comment I wrote the first time someone posted this meme:

    It’s a small form factor PC, pre-installed with Linux and steam. Period.

    Can you build something more powerful cheaper? Probably

    Can you build something more powerful with the same form factor for cheaper? Maybe, probably not… We don’t know.

    All of those are beside the point.

    They sell millions of desktop PCs pre-installed with windows, they often make terrible hardware choices, and don’t even have a small form factor, if they do they have the computing power of a laptop. All of this at an unreasonable prices. At the very least the steam machine will be better value than those. Anyone who would consider one of those PCs, might consider a steam machine instead.





  • The implementation is not very exciting, I capture a variable in python. It could have been done more cleanly.

    1000041934

    The proof is this. But, I could have made mistakes, it was many years ago.

    1000041935

    Note that in python you’ll never be able to run is_even(5) the stack cannot handle it

    Edit: daaaamn, that variable is ugly as hell. I would never do things like that now.