NeatNit

joined 2 years ago
[–] NeatNit@discuss.tchncs.de 13 points 3 months ago* (last edited 3 months ago) (7 children)

Is that iOS? It looks different here on Android and I can't tell how much of it is because I customized it. I don't quite remember how I customized it but I remember that I did.

My buttons are colored orange instead of blue, that's definitely something I would do. The share button looks different, as does the top bar with the back button.

[–] NeatNit@discuss.tchncs.de 5 points 3 months ago

Performance is very much still a significant factor. At the end of the day, games are expected to run at certain FPS on certain machines. The machines have gotten better to the extent that unoptimized code can be used sometimes, but when competing for graphics, badly optimized games will have to sacrifice fidelity to hit performance targets, where well-optimized games can get squeeze out better graphics and hit those same targets.

There's plenty of tricks these days but optimized code will always have an edge.

[–] NeatNit@discuss.tchncs.de 16 points 3 months ago

The YouTube algorithm works in mysterious ways.

Because I'm nice, to anyone who doesn't get the reference: https://www.youtube.com/@MarcelVos

[–] NeatNit@discuss.tchncs.de 5 points 3 months ago

Relevant: https://youtu.be/rGDBTLT9__s

(if I'm honest, this is not his finest work. his videos are usually way funnier than this)

[–] NeatNit@discuss.tchncs.de 3 points 3 months ago

Well, I hope the other answers help you out.

Why do you need to block it? Why not just uninstall it? (I can think of some reasons but I don't know what yours is)

[–] NeatNit@discuss.tchncs.de 9 points 3 months ago (1 children)

Then all these companies just wouldn't use it and would use something worse instead. Everything will be inferior and ffmpeg becomes less prominent and loses out on contributors and donations. It's a lose-lose.

Reality is complicated, GPL is awesome for a lot of things but in some cases it can hinder adoption.

[–] NeatNit@discuss.tchncs.de 4 points 3 months ago (2 children)

I'm curious on why you want to do this. If you're managing an open wifi used by a large number of people (e.g. at a school), it's very different from if you just want to block it at home. But for the latter I don't really see why you'd do it through DNS.

[–] NeatNit@discuss.tchncs.de 2 points 3 months ago (1 children)

/u/TranquilTurbulence@lemmy.zip fairly sure the distribution you should use is hypergeometric distribution, found via urn problem.

[–] NeatNit@discuss.tchncs.de 2 points 3 months ago (2 children)

In python the closest I could find was (untested): sum(random.sample([1, 0], spoon_size, counts=[soup_count, water_count]))

But this would create an intermediate list of length spoon_size which is not a good idea.

[–] NeatNit@discuss.tchncs.de 2 points 3 months ago (4 children)

Interesting. I don't know why I didn't think of just keeping a count of soup molecules. Must have been late!

Another interesting point, your simulation is subtly wrong in a different way from my calculation. When there is only one soup molecule left, there is a chance (however tiny) that rbinom will return 2 or more, taking out more soup molecules than there really are.

If you run it enough times with a bowl of 3 molecules and a spoon of 2 molecules, I'm sure you'll hit -1 soup molecules some of the time.

For a simulation I think we can do better. There must be a random function that does it properly. The function we want is like pulling balls of 2 colors out of a sack without replacement. Pretty common combinatorics question, I would expect a random function to match.

[–] NeatNit@discuss.tchncs.de 2 points 3 months ago (6 children)

By the way, how did you actually stimulate it? Surely you didn't keep 10^25 variables in memory...

[–] NeatNit@discuss.tchncs.de 2 points 3 months ago (1 children)

You rock! Thank you :)

If I find myself in the right mood I might try to work out the actual distribution. If I do, your simulation will be a very handy sanity check!

view more: ‹ prev next ›