• 17 Posts
  • 73 Comments
Joined 4 months ago
cake
Cake day: September 13th, 2024

help-circle
















  • HiddenLayer555@lemmy.mltoProgrammer Humor@lemmy.mlIEEE 754
    link
    fedilink
    English
    arrow-up
    5
    ·
    18 days ago

    There’s really not a lot of situations where exact fractions work, but purely symbolic logic wouldn’t. Maybe none, IDK.

    Simulations maybe? Like the ones for chaotic systems where even the slightest inaccuracy massively throws the result off, where the tiny difference between an exact fraction and a float can seriously impact the accuracy as small errors build up over time.


  • HiddenLayer555@lemmy.mltoProgrammer Humor@lemmy.mlIEEE 754
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    18 days ago

    Performance penalty I would imagine. You would have to do many more steps at the processor level to calculate fractions than floats. The languages more suited toward math do have them as someone else mentioned, but the others probably can’t justify the extra computational expense for the little benefit it would have, also I’d bet there are already open source libraries for all the popular languages of you really need a fraction.





  • HiddenLayer555@lemmy.mltoOpen Source@lemmy.mlWhy is Blender in Financial Trouble?
    link
    fedilink
    English
    arrow-up
    90
    arrow-down
    4
    ·
    edit-2
    19 days ago

    More and more I’m starting to see users of completely free and community-run open source projects expecting the same level of polish and customer service as proprietary commercial software, doing nothing to support or contribute to development while only complaining about how horrible they are when they are not able to do that. Then they switch to proprietary software, and when corporate enshitification happens to that software, they proceed to wonder why open source projects are all dying and corporate software vendors are getting more brazen in their shitty business practices due to not having serious open source competitors anymore. It’s whatever when individual people do it with software on their personal computers, but when the businesses that use it as core components of their stack basically have the same only take and never give attitude, is it any wonder that open source is struggling?

    Hot take: when I first got into open source, I turned my nose up at the licenses that restrict large scale commercial use just like everyone else. Open Source Foundation sure hates them and refuses to even consider them open source. But as I understand the software industry better, I’m starting to come around to them. If you’re a company whose profits are over some threshold and you make that money through the use of open source software, why shouldn’t you have to give back to it? I think it’s not unreasonable that if you’re a billion dollar company running your entire computer infrastructure on open source projects, you should be required to contribute a small percentage of your profits to their continued development. Said software obviously brought you a ton of value so why shouldn’t you be expected to give back even a fraction of that value?




  • To be fair, let’s not pretend we haven’t all written JS to resize shit in desperation when the CSS doesn’t work. Though the better way to do this would probably be to listen for the window size change to fire your style changing functions. That makes it behave more like responsive CSS that changes automatically when you resize the window (though with a slight lag sometimes because it’s a lot more computationally expensive). Though it could also be due to the browser putting unused tabs to sleep and stopping JS execution which would be outside the website’s control.