• 0 Posts
  • 64 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle





  • Nearly every languages’ every core packages are written in C. And almost every higher packages have some amount of C. That doesn’t mean we get to say every program is done in C. And if you keep drilling down, everything is just machine lang. And certainly still disproves the OPs point of inefficient python.

    Saying it’s all done in C hardly even true. Just look at xformers library on GitHub. Only 2.7% of the code is C. And the entire library is about optimizing.

    Additionally, vast majority of the great leaps in ML efficiency changes hasn’t come from better programmed packages, though they too certainly made big strides. How we calculate itself has changed. That’s what makes the greatest optimizations in anything. It doesn’t matter what language it is, doing a loop 1000000 times to add 1 is going to be worse performance than just doing 1 multiplied by 1000000. How we calculate, what we choose to give up (such as determinism in some implementations if SDP attention changes) and such makes big differences.

    Optimizations also has to be done by someone. Whether that be data scientists or otherwise. The ability for higher level languages to enable them to do so like you say also makes a big difference. If all the programmers had to optimize in C only, we’d still be way behind where we are now in performance.

    Just swapping languages doesn’t yield better results like OP is implying.



  • Grumpy@sh.itjust.workstoMemes@lemmy.mlSoftware: Then vs Now
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 month ago

    What makes you think python is in optimized and bloated?

    Did you know vast majority of AI development happening right now is on python? The thing that literally consumes billions of dollars of even-beefier-than-4090 GPUs like A100. Don’t you think if they could do this more efficiently and better on C or assembly, they would do it? They would save billions.

    Reality is that it makes no benefit to move away from python to lower level languages. There is no poor optimization you seek. In fact if they were to try this in lower level languages, they’ll take even longer to optimize and yield worse results.




  • Grumpy@sh.itjust.workstoFunny@sh.itjust.worksI'm not fucking around.
    link
    fedilink
    arrow-up
    10
    arrow-down
    2
    ·
    2 months ago

    Yeah, what happened to community spirit and being neighborly? And I mean you. You’re acting like you’re entitled to being an asshole for your convenience at the cost of someone else’s convenience. Someone doesn’t want you to use their stuff for your shit and somehow you think they’re wrong? Get on board with community spirit and stop being an ass.




  • This is amateur advice. You can’t lift with your knees for a bulky and squishy item like a body if it’s in front of you. If you attempt this, you’ll notice that your knees get in the way and you need to reach out a lot and can’t lift as a result. Body isn’t like gym weights on a perfectly nice to grab steel bar.

    If you don’t actually have to lift at all, just drag it. And if you do, use a fireman’s carry which is designed for carrying unconscious hoomans.





  • Shoes have too much of a usage difference to go off of Amazon reviews. You don’t know their lifestyle. For anyone that runs a marathon or similar exercise to have shoes that last over 3 months would be a miracle. Any typical big brands like adidas, Nike, etc lasts me many years if I only wear them lightly, like if I take the car. But if I exercise outside in them, they’re not gonna last half a year. It’s just usage dependent.

    Occasionally you might get a bad batch and glue comes off or stitching rips. That’s inevitable bad luck. Though you can just get gorilla glue and glue it back yourself.

    Dress shoes is a different ball game. Get stitched build/welted, not glued on. That’s usually a safe choice though expensive. These can be repaired and resoled, so you could wear them for 10+ yrs. Though getting bored of them might be an issue.

    Light weight shoes are also obviously going to not last. Like hey dude shoes. They’re literally a single sheet of cloth. Easy to wash, but not going to last.

    Also stop trying to buy shoes from Amazon. Go wear shit and try them on.


  • I have a 10KV electric fence. 5KV to 15KV is typical electric fence voltage in a farm or bear prevention fence. Can’t feel a thing unless you actually touch it.

    They are also not lethal. Very low current, just very high voltage. So it only hurts like fuck, but won’t kill a human, cow, or any other mammal that touches it.


  • The most acid trippy book that survived to the current version! Bunch of books were removed over the ages when they thought it was too crazy.

    You should check out book of Enoch for extra trippy. It’s largely about fallen angels and many batshit crazy games and novels spawn based off of it, like Xenogears (which is awesome but also considered the most convoluted story JRPG ever).