• 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: September 2nd, 2023

help-circle




  • If it is tied to frame rate, then a set of inputs results in a predictable set of outputs.

    If not tied to frame rate, those same inputs have to be reproduced with the exact same time delay, which is almost impossible to do.

    Sure, sub-millisecond time differences might not always lead to a different output. But it might.

    Now, when is this determinism useful?

    TAS (tool assisted Speedrun). You can’t tell the game: on frame 83740 press the A button. Given a list of inputs with their exact frames will always lead to the same Speedrun.

    Testing. You can use methods just like TAS to test your game.

    Reproducing bugs. If you record the game state and inputs of a player before the game crashes, you can reproduce the bug, which means that it will be a lot easier to find the cause and fix it.

    Replays. Games like LoL, starcraft, clash of clans have a way to see replays of gameplay moments. If you save a video for each one of those, the storage costs will be prohibitively expensive. What they do instead is record every single action and save that. And when replaying, they run a simulation of the game with those recorded inputs. If the replaying is not deterministic, bugs may appear in the replay. For example if an attack that missed by one pixel in the game was inputted a millisecond earlier in the replay, it may hit instead. So it would not be a faithful replay. This is also why you can’t just “jump to minute 12 of the replay”, you can only run the simulation really fast until you get to minute 12.

    I’m not a game developer so I don’t know if it is used for testing or reproducing bugs or replays. But I know it is used in TAS.

    Of course, for this to be possible you also need your RNG function to be deterministic (in TAS). In the rest of scenarios you can just record what results the RNG gave and reproduce them.




  • There are many ways to address immigration. And not all of them consist on not letting people in.

    You can take in consideration what the average person thinks about immigrants and fix that:

    • Immigrants are stealing our jobs.
    • Immigrants are criminals.

    I’m gonna try and think outside the box instead of the normal “it’s poverty that makes them criminals! They need better social support” which is probably true, but won’t convince the far right voters to vote for you.

    The first one is the easiest to solve of the two. Since in most western countries, immigrants coming to work is actually good for the economy, since the native population has a declining birth rate and is aging, so they need working people that don’t come from births (immigrants). But you can still:

    • Enforce that employers pay the minimum wage
    • Have a higher minimum wage for immigrants, so employers only hire them if they’re actually better than the natives (or there are no natives applying for the job). And while we’re at it, raise the minimum wage for everyone.
    • Only allow immigrants without a special visa to work in certain sectors (for example those that native people don’t want to do).

    I know 2/3 of those treat immigrants as “lower” people, but it’s still better than illegal immigration or don’t letting them in.

    For the second one, the main problem is that 1st generation immigrants are not the issue, but their children are. Because their children were born in that country so most of the time they’re citizens and you can’t just deport them like 1st generation. The only way I can think of to fix this is don’t give them citizenship until they’ve passed an actually hard exam that shows they’ve integrated into the culture, and have a clean record. They would be “2nd class citizens” at that point. 2nd class and normal citizens are legally the exact same, with only one difference. If a 2nd class has children after having committed a crime, their children are also 2nd class. If they have a clean record, it is assumed that they have integrated in the local culture and their children are born as normal citizens.

    These ideas probably have a thousand things i didn’t consider, but I believe they’re better than not letting immigrants in.








  • At some point he’ll just get used to you touching him.

    I don’t see a reason to worry. You’ve probably seen in anime “oh no, she’s touching me! I should act normal or I’ll scare her”. Of course that’s just an exaggeration, but my best guess is that he’s nervous because he likes you and don’t wanna fuck It up.

    First of all, make sure he’s okay with it. But if you wanna speed up the process, just touch him more, let him touch you, etc. Again, only if he’s comfortable, don’t force him.

    EDIT: just to make sure, I’ll clarify, if he doesn’t wanna get touched, touching him without asking will only make it worse, so it’s probably better to go slower in that case (or not, ask him).