I code stuff. I draw stuff.

I’m a Hongkonger 🇭🇰
If you’re a westerner coming here because you’re arguing with me about something in HK/China/Asia, I forgive you for your misunderstandings.

  • 6 Posts
  • 128 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle


  • The problem is the ambiguity of the statement. Is it 50% of each species? Or is it 50% of all life as one set?

    If it’s the former case, then sure 3.5b humans and n/2 bacteria gets snapped.

    But if it’s the latter case, we group all 7b and n bacteria into one set and snap half of them. This 50% can consist of 50% humans + 50% bacteria, but there’s also a chance for it to include 0% humans + 100% bacteria. Therefore, the amount of humans snap is a random variable instead of a constant.


  • Say, there exists 2 humans and 98 bacteria. Consider all cells of a human one life.

    50% of ALL life doesn’t care which species the life is, and therefore there’s a chance that 50 bacteria die. The probability of that happening is 98C50 / 100C50 = 98! 50! 50! / (100! 50! 48!) = (50)(49) / ((100)(99)) = 0.247

    For my previous argument, I did not actually do the math. Now that I have done a little bit, the probability seems to converge at 25%

    Obviously, this is based on the interpretation of “all life”. For my interpretation, “all life” includes every life in a single set, and apply the 50% snap to that. For some others however, it may be interpreted as each species in their own set, and the 50% snap is applied on each set individually.












  • Not sure if this fits your need, but if you just want to own the files, maybe try playing locally?

    I don’t have an unlimited data plan, so I use “Gelli” which can download from Jellyfin and play them offline. However, it’s buggy and haven’t been updated in a while, so I’m planning on ditching that, and switch to locally storing the music files.

    I found an Android music player named “Symphony”. It reads directories as album, as well as metadata. Importantly, it also saves the queue for me. I have a self-hosted Nextcloud so I can sync music to my phone. Symphony would read them from the directory.


  • Global hotkey is only used for playing the sounds and nothing else, and that is basically just running a command.

    This will play all files that has an audio stream (cls is also using this command):
    ffmpeg -i <file> -f s16le - | pacat -d <sink> --channels=<1 for mono, 2 for stereo> --rate=<sample rate> --volume=<0-65535, 65535 = 100%>

    I guess it is pretty complicated so maybe I’ll add a way to play files.