• 0 Posts
  • 54 Comments
Joined 1 year 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
    ·
    17 days 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.





  • 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.



  • Most people don’t actually understand how copyright works. And the actual right that’s restricted is quite ridiculous but it is how it is…

    Copyright is not a right given to the copyright holder, unlike every other right in law. Copyright is a exclusion placed on every other human being on earth from reproducing what you did (except few countries that didn’t sign it but practically no one lives there or is a territory that effectively works under another sovereignty which does). This distinction is very important. That is, everytime something is created, every other human now has less freedom since they could do that thing before but no longer can. So if I create an original bunny like character, that is copyrighted to me. But I could always depict that and so could you–had you thought of it. But now you no longer can.

    This means that virtually every thing made in relation to that original copyright becomes illegal unless you get permission from the copyright holder. There are exceptions such as transformative, parody, fair use, etc but I’ll not get into that for now.

    In other words specific to this case, every game footage on earth is illegal. But they only continue to exist by the grace of the companies not telling them to take it down. Some companies actually write into their EULA/terms that fan content, etc may be allowed, but again, those are the exceptions. The rule of law is that everything is illegal to start. And that only the copyright holder and its agents be able to request a punishment for breaking the law.

    It’s a system where it makes every normal human beings into a law breaking entity first and by doing so, it allows the copyright holder to punish anyone they see fit.

    This is not a frivolous DMCA. And even if it was, there has been no case where that was ever punished. Even outright perjury for DMCA–which I’ve dealt with thousands of times doesn’t actually get punished in practise.