• 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle





  • CS2 uses a design paradigm called Entity Component System, which allows for aggressive multi core utilization by splitting up game logic into self contained “systems” that operate on a subset of “Components” per “Entity”. This allows for data dependencies to be statically analyzed and a scheduler to maximize CPU Utilization thanks to the better separated workflows.

    It uses DOTS from Unity to accomplish this. There is a small bottleneck in communicating this work back to the game’s renderer, but it is doing a lot of valuable work with all those cores.The communication with the renderer and their rendering implementation sucks right now and thats where the performance tanks.

    I am very aware of how at some level there are less multicore workloads involved but a CPU core can do a metric shitload of work, it’s the RAM and GPU transfers that kill performance. We dont need to blame Unity here, they are fucking this up 100% themselves.

    Theres a video that explains all this but I cant find it and thats pretny annoying so whatever.


  • deur@feddit.nltoProgrammer Humor@programming.devMe after I got fired
    link
    fedilink
    arrow-up
    42
    arrow-down
    2
    ·
    edit-2
    9 months ago

    What the hell? Thats not funny or anything it just fucks with your ex-coworkers who probably werent the problem, management isnt affected by that.

    Pro tip, you seem really arrogant (including some other comments) and you need to tone that down before you enter the industry. Its nothing to be ashamed of and I’m not trying to insult you, you just assume your experiences are way more universally valid than they are.




  • Man, you’re a dumbass. Your username is the something anyone would learn about electronics within the first 5 goddamn minutes. If you want to insult the people you’re replying to, you have to either start immediately at the top of the comment and carry the energy through, or bury it at the end. Piling multiple insults into one comment just comes off as desperate.

    Also don’t reply to people you think are dumb? I sure as hell won’t be reading any response you have to this comment.

    “uugugghhh youre all so dumb stupid dummy heads!!!11!” proceeds to continue to engage with supposed “dumb” people


  • For the last year (at least for me and people I know) Google Maps has been suggesting batshit insane alternate routes and then conninuously suggesting you turn around and take the already longer route.

    I went on a road trip, it was not uncommon to see it suggest an alternate route with +2 or more hours. Then it would suggest you turn around and follow said route for 30 minutes (with the delay increasing as you drive further away from the alternate).

    There’s something weird with gmaps but it still works. I wonder if its some kind of test to see if people will just blindly follow alternates for some goal of theirs.










  • You realize you don’t need to list all your changes in the commit message, right? Anyone can blame or diff said changes.

    The commit message is meant to be used for the high level stuff, the intent, representing / connecting progress towards a larger work item, and other important context from outside the codebase. Insert other reasons that aren’t saying literally what was changed if you feel I have missed something.

    Also one should use their time better if they are spending so much time writing commit messages they feel the need to automate it. Commit messages are rarely read ever again (once merged, lets say), it is not okay to be spending a lot of time on them. That’s not an excuse to write bad commit messages, but you have to balance the time cost with expected utility.

    And an addendum to the above. Describing what you did without reasoning, context, or other information that isnt captured within the changes itself makes your commit messages entirely useless. It makes IDE-inserted in-line blame information useless as well. Thus you are now wasting all the time you spend on commit messages, even if you spend less because it’s automated.