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

help-circle


  • Yeah, Fark used to be great. That bear headline is a beast.

    And then they got rid of the ‘foobies’ (ie. nudity) links off of the main page in order to appeal to advertisers, then they got rid of lots of extra stuff that upset advertisers, then they started shadow-banning paying subscribers if their posts didn’t fit the narrative. And then all the users got fed up of it all and moved ever to Reddit, where the mods were more transparent and there was more of a sense of community. How ironic.

    If your core site content is users posting links and commenting on them, then there’s probably a lesson to be learned about how important it is to treat your users well and have a welcoming, inclusive community. Probably a lesson that Lemmy users have already learned, mind.


  • Is that Windsurf? My lot have just added that. Keeps suggesting making the path to every target in the build pipeline the same so that they’d overwrite each other, or perhaps implement the worst null-checking code I’ve ever seen.

    The problem with suggesting 99% stupid shit is that I’m going to ignore the 1% that it identified correctly. If it limited itself to trivial syntax errors then it might have quite a useful hit rate, but we already have tools that do that.



  • CMake, which is kind of the universal standard build system for C++ now, has “fetch content” since v3.11. Put the URL of a repository (which can be remote, but also local, which is handy) and optionally the branch / commit ID that you’d like, and it will pull it into your build directory automatically. So yeah, you can pull anything nefarious that you’d like. I don’t think most people would question pulling and building a library from Github as part of the build, especially if it had a sensible name for the task at hand.


  • You’ve got that a bit backwards. Integrated memory on a desktop computer is more “partitioned” than shared - there’s a chunk for the CPU and a chunk for the GPU, and it’s usually quite slow memory by the standards of graphics cards. The integrated memory on a console is completely shared, and very fast. The GPU works at its full speed, and the CPU is able to do a couple of things that are impossible to do with good performance on a desktop computer:

    • load and manipulate models which are then directly accessible by the GPU. When loading models, there’s no need to read them from disk into the CPU memory and then copy them onto the GPU - they’re just loaded and accessible.
    • manipulate the frame buffer using the CPU. Often used for tone mapping and things like that, and a nightmare for emulator writers. Something like RPCS3 emulating Dark Souls has to turn this off; a real PS3 can just read and adjust the output using the CPU with no frame hit, but a desktop would need to copy the frame from the GPU to main memory, adjust it, and copy it back, which would kill performance.