• 14 Posts
  • 429 Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle











  • According to EA

    Requiring Secure Boot provides us with features that we can leverage against cheats that attempt to infiltrate during the Windows boot process. It also lets the Battlefield Positive Play team use its own features and related dependent security features like TPM to combat other forms of cheating, the most relevant of which include:

    • Kernel-Level Cheats and Rootkits
    • Memory Manipulation and Injection
    • Spoofing and Hardware ID Manipulation
    • Virtual Machines and Emulation
    • Tampering with Anti-Cheat Systems

    It feels very anti-linux, and I don’t like it, but with a good number of hours in BF6 so far, I have yet to run into an obvious cheater so maybe it works.







  • KoalaUnknown@lemmy.worldOPtoProgrammer Humor@programming.devWhat's a readability
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    1 month ago

    Yes, it’s cut down for the meme.

    In reality, it would probably look more like this:

    
    public class Singleton
    {
      private static readonly Lazy<Singleton> lazy = new Lazy<Singleton>(() => new Singleton());
    
      private Singleton(){}
    
      public static Singleton Instance
      {
          get
          {
             return lazy.Value;
          }
       }
    }
    
    

    or this:

    
    public class Singleton
    {
       private static readonly Singleton instance = new Singleton();
    
       private Singleton(){}
    
       public static Singleton Instance => instance;
    }