Little bit of everything!

Avid Swiftie (come join us at [email protected] )

Gaming (Mass Effect, Witcher, and too much Satisfactory)

Sci-fi

I live for 90s TV sitcoms

  • 8 Posts
  • 183 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle

  • Correct, JSON can handle any precision, because it’s just dumped as a string anyway, just not enclosed in the "". However, as you mentioned, as soon as it comes through the parser it’ll put it into an underlying float value. In C# I create a save high precision attribute that will take the value and put it directly into a decimal. In JS I’m sure there’s some way to do that, but that parser is way less extensible compared to C#. However, this also all assumes you know the client will parse it correctly, overriding the default behavior. Safest is to just send it as a string, and then create your parsers to automatically send to and from strings



  • The fun differences between the perfect world of theoretical and the realistic. Everyone thinks of computers as perfect - but it’s not until you’re asked to solve “How do you store decimals using only 0s and 1s?” does it start to click. Not as easy. It’s why I’m hesitant to hire bootcampers into my roles. Bootcamps are great, and they get more people coding, but you don’t learn that theory behind the scenes - you don’t really know what the computer and operating systems are doing. For 90% of the time it doesn’t matter, it’s abstracted away - but that last 10% man, that can really fuck up an entire system.






  • I know it’s weird here on the fediverse, but I’ve been through it. If you want, DM me anytime, or DM me and I can give my mastodon. Should probably start a community sometime. It’s been good talking to you too!

    I wish you luck, but be prepared for anger in response. Just be ready for it. Make it not about the politics but instead the hate, the anger. Hell try to make it about politics but instead make it about the hate. It’s not about Biden or trump, it’s the anger.







  • I appreciate it, and I hope your interactions with your father go better too. I know many many people who take your approach, just avoiding it. There’s no real right or wrong way, because we shouldn’t be in that position in the first place. I hope they stop bringing it up around you and respect your wishes about it.

    Re: circles, maybe keeping it personal will help too. Turning off Fox news and sources will help, but my dad sure did shut up when I brought up the people he knew (and I know he liked) that he was talking about. They always go “They’re one of the good ones”, but then the reverse is “These policies effect the good ones too, dad”





  • I’m sorry to hear that. I “lost” my father in the same way. He was always conservative (listened to Rush when I was a kid), but he went from casually conservative to full MAGA radicalized thanks to facebook and modern social media. I went to his facebook a few years back and saw some of the most hateful vitriolic content. I asked him how he could do that to people who helped raise me, that I had both LGBTQ and mixed race teachers, leaders, friends, all of whom have been incredibly important to me. It did not go well. I had to tell him to allow his hate speech would be a disservice to everyone else who had such a profound impact on me, and told him if he loses the hate we can have a relationship again.

    That was 6 years ago. Haven’t heard from him since.

    I hope your dad is doing better than mine. I’ve seen others confirm what you said, that just cutting out the source will see a return to semi normalcy - the propaganda depends on a constant drip. Just disconnecting them from the feed can have a huge positive impact.