Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)S
Posts
5
Comments
111
Joined
3 yr. ago

  • SteamOS for Desktop is imminent

    Do you have some source? I recall the latest rumor related to a valve patent is more likely to be about some VR thing than a steamOS PC

  • Teams

    Jump
  • "You want to use teams a bit? We have a session here" "I'd be happy to, actually. Not really, but it wouldn't be bad" "Not really? If you say so, I have a teams session ready right here" "No. No. I'm not stupid" "People use it every day." "Tell the truth" "It's a good user experience." "So are you ready to use it? For 5 minutes?" "No, I'm not an idiot."

  • Deleted

    Permanently Deleted

    Jump
  • Taleb's mind just isn't antifragile enough. Or maybe too antifragile. Idk I didn't read his book

  • Deleted

    Permanently Deleted

    Jump
  • Neuroplasticity does drop with age, but the drop is smaller than it was previously assumed to be, especially outside of early childhood (you may note that eg. this graph starts at 20 years old)

  • Deleted

    Permanently Deleted

    Jump
  • wtf is up with that confidence interval(?) though

  • They already have almost all of the discrete gpu market, they'd have to expand to new markets (although they are kind of exploring that already)

  • Deleted

    Permanently Deleted

    Jump
  • But orbiting a point 1 meter outside the sun is not orbiting the sun?

  • and with a good enough leak, the amount of unused memory will become negative!

  • Nim is more "high level, automatic memory management by default, but you can go 100% manual if you need to", though the reality of doing that is basically the opposite of rust's "everything you need to do is well-documented and solid"

  • Nim is a compiled language by default, and supposedly cross-compilation is usually as simple as

     
        
    apt install mingw-w64
    nim c -d:mingw myproject.nim
    
      

    though I haven't really tried doing it (and my general impression of nim is anything "slightly obscure" like cross-compilation still has a non-zero risk of running into unexpected thorny bugs)

  • The oxford that says this?

    Acronym

    1. A group of initial letters used as an abbreviation for a name or expression, each letter or part being pronounced separately; an initialism

    or the merriam webster that says this?

    Some people feel strongly that acronym should only be used for terms like NATO, which is pronounced as a single word, and that initialism should be used if the individual letters are all pronounced distinctly, as with FBI. Our research shows that acronym is commonly used to refer to both types of abbreviations.

  • I remember tab groups showing up one day by themselves maybe a week ago, and then I quickly clicked about two buttons and now they're totally gone and I almost forgot they were a thing. But likely if I had summarily clicked 2 different buttons it might have been turned on without me realizing it, and that would cause the model to be downloaded and the CPU cycles to be spent (at least if I kept the tab groups on)

  • wrestle a gorilla and win, obviously

  • Well eh, the binary seems to be about 130MB while the ffmpeg source repository is only 80MB (and the version with separate .so files (all part of the project as far as I can see) is even larger)

  • buffer overflows are critical for memory safety since they can cause silent data corruption (bad) and remote code execution (very bad). Compared to those a "clean" unhandled runtime error is far preferable in most cases.

  • We can avoid expensive branches (gasp) by using some bitwise arithmetic to achieve the so-called "absolute value", an advanced hacker technique I learnt at Blizzard. Also unlike c, c# is not enlightened enough to understand that my code is perfect so it complains about "not all code paths returning a value".

     
        
    private bool IsEven(int number)
    {
        number *= 1 - 2*(int)(((uint)number & 2147483648) >> 31);
        if (number > 1) return IsEven(number - 2);
        if (number == 0) return true;
        if (number == 1) return false;
        throw new Exception();
    }
    
      
  • After working at blizzard for 51 years, I finally found an elegant solution by using the power of recursion

     
        
    private bool IsEven(int number){
      if (number > 1) return IsEven(number - 2);
      if (number == 0) return true;
      if (number == 1) return false;
    }
    
      
  • funny how well this fits for both meanings

  • Yeah, it's in my edit I realized the same thing. I'm thinking it doesn't actually really make sense and the real reason is more "the specific way C does it causes a lot of problems so we're not poking syntax like that with a 10 foot pole" + "it makes writing the parser easier" + maybe a bit of "it makes grepping easier"