• 0 Posts
  • 372 Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle




  • In C#, when programming save/load in video games, it can be super tedious. I am self taught and i didnt have the best resources, so the only way i could find to ensure its saving the correct variables was to manually input every single variable into a text file. I dont care if its plaintext, if people want to edit their save then more power to them. The issue is that there are potentially tens of hundreds of different variables that need to be saved for the gamestate to be accurately recreated.

    So its really nice that i can just copy/paste my classes into gpt and give it the syntax for a single variable to be saved, then have it do the rest. I do have to browse through and ensure its actually getting all the variables, but it turns a potentially mindnumbing 4 hour long process into maybe a 20 minute one thats relatively engaging.

    Also if you know a better way lmk. I read that you can simply hash the object into a text file and then unhash it, but afaik unhashing something is next to impossible and i could never figure it out anyways.








  • Scubus@sh.itjust.workstoMemes@lemmy.mlYou'll never see it coming
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    11 days ago

    You have a ball on a trampoline. Wind might knock the ball around, but its very likely to return to the center of the trampoline. This is a psuedo stable arrangment.

    Now imagine that someone kicks the ball, or the wind blows much harder than normal. The ball might roll up the sides of the trampoline, and then roll off the side onto the ground. This is a truly stable arrangment(eithin the bounds of this metaphor)

    Now imagine that there is an invisible field all throughout the universe, and that everywhere along it there is some amount of energy. Because this energy is roughly the same everywhere, there is no gradient to take advantage of, and therefore this field does no work.(Think trying to roll a ball around on a flat surface, the only way to do that is for you to put energy in)

    But someone or something decides to inject a ton of energy into a very small space on this field. That allows the field(or ball) to have the energy required to randomly fall into a more stable state(fall off the side of the trampoline)

    The issue is that during the process of falling into a more stable state, energy is released. Such as the ball falling off the side of the trampoline, you can harness that energy of motion. But in the case of the field, such a large amount of energy is released that it can cause other, nearby, bits of the field to fall into a more stable state. This causes a chain reaction where the entire field starts to “decay” into a more steady and stable state. This would expand outwards at the speed of energy(the speed of light, or causality) and envelop the entire universe within its sphere or influence(the observable universe from the spot where the reaction started, kinda)

    That is vacuum decay. Where what we think of as a mostly empty vacuum of space suddenly decays into a much closer to empty state. But reality and physics as we know them are built upon this semi stable field, and its removal could be massively detrimental(think the destruction of everything at a subatomic level) or it could not do anything at all. The latter is much more unlikely because something had to interact with that field to get it to decay, and if something interacts with it, its likely most everything interacts with it.


  • Contrary to the other commentor, I actually think this is a very reasonable, well rationalized take. I never claimed that biden did better, because I havent looked into that specifically. My only issue is that a lot of trumps policies and actions specifically made it worse. And as far as the spikes under bidens term went, what percentage of those people were unvaccinated, despite a vaccine being available and effective at that point? I havent verified, but id be willing to bet its almost a 1:1 correlation. Just like there is a nearly 1:1 correlation between a certain political party and antivaccine views.

    My point being that trumps cult is largely still responsible because he massively helped the antivaxxer movement, despite one of Trumps major 3 good accomplishments (IMO) being the creation of the vaccine. (Created during his term, obv he did not create it himself)



  • So 2020, which by your inaccurate account, was the start of covid. When dealing with a global disease that has the potential to overload the medical system prior to getting a vaccine, what year do you think is the most important?

    Of course Trump couldnt have stopped covid from destroying the rest of the world. But he could have lessened its impact on the US. Instead, he thought it would magically dissappear by easter. Due to his cult of personality, people were explicitly attempted to spread covid. He constantly undercut what actual scientists and health experts were stating, in favor of pushing ivermectin and hydroxychloroquin, both of which have been shown to be ineffective in treating covid, and can actually make your issues worse. He failed in his response to covid across the board and reaulted in hundreds of thousands of preventable deaths.


  • Theres absolutely no reason an infared camera couldnt survive a microwave. All you would need is for the camera body to be outside, and to have a mesh blocking the sensor. You wouldnt be able to go through the door if the door is glass(not that ive ever seen a glass microwave door) because glass blocks infared, not sure about plastic. either way though, you could just cut a hole, remove the plastic, and then replace the mesh. Youd have to do some software work to ensure the camera is not picking up the heat from the mesh.




  • What is a democrat? “In a hypothetical world” implies the names have simply swapped, in which case yes. Republicrats would do what they do. If its a policy swap, its basically the same thing. Democrats as they are now simply do not have the backbone to try and “rig” the election, because they prefer ethics and morals over actually helping their constituents.

    I dont want to make it sound like democrats can do no wrong, their lack of spine is their worst feature. They wont take risks such as actually moving to the left to get things done. Prime ratchet effect. Instead they want to play to moderate voters, aka republican lite. As a result democrats slowly move more to the right and get less good done each new cycle.