• 0 Posts
  • 468 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle






  • IMO, the most important parts are to document the actual intent of the code. The contract of what is being documented. Sure, it’s only so useful in perfectly written code, but NO code is perfect, and few will come through later with full context already learned.

    It makes it sooo mich easier to know what is intended behavior and what is an unchecked edge case or an unexpected problem. If it’s a complicated thing with a lot of fallout, good documentation can save hours of manually lining up consequences and checking through them for sanity.

    You might say, “but that’s indication of bad code!”. No. Not really. Consequences easily extend past immediate code doing things as trivial as saving data to the database without filtering, or having a publicly available service. Even perfectly coded things come up with vulnerabilities all the time due to underlying security issues. It’s always great to have an immediate confirmation of what’s supposed to happen whether it’s immediate code or some library with a new quirk in a new version.




  • Bandwidth really depends on which busses you’re talking about. Within a computer, 8Gb/s is peanuts.

    Even in 2003, a single PCIE v1.0 lane could do 2 Gb/s. Today, in the end-user commercial space, a single PCIE 5.0 lane can do 32Gb/s. That’s a connection that can be external to some degree. Not even talking about memory busses and internal caches that are already approaching terabytes a second.









  • Some of the “anticheat” systems straight up decide not to work on VMs even with PCIE passthrough et. al. For example, I cannot run Elden Ring with its trash DRM because it says it cannot run under VM. I have PCIE passthrough, and the CPU id also passes through. Only the chipset reports anything VM, yet the “anticheat” decides not to run.

    Fuck DRM. It has done nothing except push me to pirate more when I LITERALLY AM buying the games. Fuck those greedy actual morons (corporations who deploy DRM, not FromSoft specifically).