• 0 Posts
  • 227 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.










  • My situation makes me consider suicide on a daily basis. I am literally incapable of starting a family, or even starting my life. My friends are all in similar situations. I have no security in any form, and a broken bone or something breaking on my car means I just die. If things are worse elsewhere, they wouldnt be alive.

    Yes, the quality of life elsewhere may be lower, but they also dont have as many issues as we do. They have a sense of community, less economic disparity, dont live 40+ miles from their job, presumably arent suffering from a lonliness epidemic that is massively spiking suicide rates among men despite being caused by men, etc.

    Im not minimizing their issues, i recognise that I have access to clean water and other basic survival tools that they might not have. But we have societal issues that are just as damning. Our issues are different, but theyre just as bad.

    Before I get downvoted to oblivion: is it better to have clean water yet freeze to death because your cant pay your electric bill, or not have access to clean water and yet have a community that is willing to help you through your tough times? Id say they both lead to death. Neither fulfills the heirarchy of needs.