Little bit of everything!

Avid Swiftie (come join us at !taylorswift@poptalk.scrubbles.tech )

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

Sci-fi

I live for 90s TV sitcoms

  • 1 Post
  • 24 Comments
Joined 2 years ago
cake
Cake day: June 2nd, 2023

help-circle


  • Right but then you have to pass that information around so people know how to deserialize it, and it means things like the UI need to do exact currency conversions on their side that must match the server too. So if you are doing USD you would not only need to pass 1000 to denote $10 but also the currency name, USD, and it’s precision value of 2. However if you are using the Dinar, and they pass the same 1000 they would need to make sure they pass the precision of 3, and the UI would need to calculate that. (And remember JS is floats, so you run the risk there that the value may not be the same as what the server would see)

    The best course of action is to format it on the server. I’ve found that passing the currency code is good along with the stringified value of “10.00” or in the Dinar case “1.000”. That way the UI knows exactly what it should show. Its also extremely rare that someone needs to modify a value on the frontend, but if they do most currency libraries prefer string anyway.

    Source: I’ve done FinTech for trading companies, banks, and payment processors. There are a lot of gotchas with money






  • I think it depends on the type of movie. Action or superhero? A cameo from Sam Jackson is always fun. Comedy? Will Smith, or someone like Tina Fey.

    However, you’re absolutely right, for any movie or show Rachel McAdams enhances it. Game Night would have been an absolute bore but she made it honestly really funny. Eurovision Song Contest: Story of Fire Saga is amazing with her and Will Farrell. She turned the turd that was True Detective from unwatchable to, well it was still a turd but she was one of the highlights of it. Oh and About Time? Just perfect, tears throughout.



  • This video does a great job at pinpointing exactly what I hated about the sequels: https://youtu.be/CuuDTnMPMgc

    In one word, bathos. To many jokes, too many quips, it all made light of the serious undertone. Andor and Rogue One were great because they wanted us to feel the drama, the huge weight being lifted. They didn’t belittle the audience with a short joke because they didn’t think we could handle the drama, they laid it out solid for us.

    It’s why I get goosebumps when I think of the guy yelling “LAUNCH” screamed with terror in his voice, or misty eyed thinking “I am one with the force the force is with me”, or actually anger thinking “One way out”. Those were moments, true cinematic moments where the director let us feel those. They didn’t have a joke to lighten it. They didn’t poke fun that we’re watching Star Wars. They let us feel it.








  • Persistent storage should never be used for logging in docker. Nextcloud is one of the worst offenders of breaking docker conventions I’ve found, this is just one of the many ways they prove they don’t understand docker.

    Logs should simply be logged to stdout, which will be read by docker or by a logging framework. There should never be “log files” for a container, as it should be immutable, with persistent volumes only being used for configuration or application state.