• 1 Post
  • 160 Comments
Joined 2 years ago
cake
Cake day: December 23rd, 2023

help-circle



  • Used it a ton in the art departments of vfx and game dev. Im talking about the tools that make assets, not the game engine or a runtime scripting language. More like the stuff launching and running in Maya, or Houdini, or Substance, etc.

    Most of this is already highly OO, and there’s a lot of interaction with C++. Python is the perfect language for this. There’s a lot of rapid interation and gluing many different services and data together. Also you’re waiting on file IO or some massive scene graph update all the time so having the tools be slightly slower doesn’t matter. Also, at least in vfx, there’s mixed Linux/Windows/Mac and it’s great for that. ALSO art teams (unlike the programming team) have people who may not be super technical, and Python let’s them write tools and scripts more easily. They don’t even have to understand OO but you can say “copy this class template and implement these two methods” and they can write tools that “work” in the pipeline.

    It’s honestly a godsend. Before the industry settled on Python, every program had its own proprietary scripting language and some were quite limited. Their C++ APIs are all different, of course. So now everyone just ships with a Python interpreter, you manage launching each app so you can control PYTHONPATH and you’re golden.





  • MoonMelon@lemmy.mltoComics@lemmy.mlUnemployment
    link
    fedilink
    English
    arrow-up
    0
    ·
    15 days ago

    People here in the rural USA also think that factory jobs are magically “good”, and that it was factory jobs themselves that created the middle class. As if the factory owner is somehow different and more noble than the owners of other giant corporations.

    In reality the unions literally shed blood to make those jobs “good jobs”. Those unions, and class consciousness, have since been destroyed. Even if 20th century style manufacturing did return it would just be another form of resource extraction. Those jobs may save people from the absolute destitution they face having been abandoned by their government but they’re not going to support a healthy community. That’s simply not good for business. When you don’t give a fuck about human beings then what’s actually “good” for business is a desperate, starving workforce.

    People here praise Walmart, even though the community is demonstrably poorer. They’ve completely forgotten what was lost. They talk about that one great uncle who was fucked over by the unions the same way they talk about that one second cousin who never wore a seatbelt and was saved from a wreck when he was “thrown clear”. They all believe they will somehow be thrown clear from the wreck that’s been happening for 50 years.


  • MoonMelon@lemmy.mltoAsklemmy@lemmy.mlRoad trip tips
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    Try to get a really early start so you aren’t spending the last few hours driving in darkness. If you haven’t listened to the “Shit town” podcast, it got me through a long drive once. This was on a 2012 car with no smartphone features besides basic bluetooth, but there was a pairing procedure that got audio to at least play (it was really wonky to setup, I had to look it up).




  • I had a tricky time getting hardware encoding to work and it ultimately ended up being I needed to expose the GPU to the Docker container. The yaml config needed:

        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
          - /dev/dri/card0:/dev/dri/card0
    

    Note this was on a low-end Synology NAS with some sort of crappy intel GPU, but it actually works now, I was surprised. I only mention because before this I spent lots of time messing around with the Jellyfin settings and only the logs tipped me off. Jellyfin loves to fallback silently to CPU transcoding it seems, which I guess is good, but make troubleshooting unintuitive. Searching for log errors online gave me this solution.



  • I do a lot of invasive species management. Many of the common names are “exotic” sounding and include “Asian”, “Chinese”, “Japanese” etc because they were marketed this way in the 20th century to appeal to gardeners and land managers who didn’t know better and just wanted fast growing, pretty plants.

    Now, in the current atmosphere of sinophobia I have often heard someone imply these invasives were deliberate sabotage. But it was westerners who imported these things. We wanted them, or at least wanted the plant that hosted the insect, or whatever. Also, by that logic we have “sabotaged” China with our invasives.

    I feel like as a society we are so inarticulate, hateful, and short-sighted that we no longer have the ability to solve complex problems.


  • MoonMelon@lemmy.mltoMemes@lemmy.mlYou are in good hands
    link
    fedilink
    English
    arrow-up
    0
    ·
    26 days ago

    It looks horrific to me. Like a film prop from Cronenberg or Lynch. I think it’s the mix of mechanical motion, a material that reminds me of Jean Jacket’s stomach from Nope, and a structure like a severely prolapsed rectum. No way could I get off in this thing.




  • MoonMelon@lemmy.mltoProgrammer Humor@lemmy.mlIs that bad?
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Maya and Motionbuilder run on Linux, but that happened before they were hoovered up by the monster. Autodesk just ignores that part of their portfolio. I know a few people who work/have worked on the Maya team and they’re talented, passionate devs, but management just doesn’t give a fuck about Media & Entertainment when Autocad and Revit are making so much money.


  • This is probably just because it’s DC. The rules get really muddy there. For a long time the highest elected position in DC was head of the school board, and even though ostensibly there’s “home rule” now, Congress still loves to punish the local populace by overriding anything they think scores points with their base back in Idaho. If you get convicted of a felony in DC you actually get transferred to federal prison.