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

  • 4 Posts
  • 61 Comments
Joined 2 years ago
cake
Cake day: June 2nd, 2023

help-circle

  • Fuuuuck that. There’s a reason it’s offered. You get once in your life to see your newborns like that. Fuck your coworkers, take the time.

    And this is coming from someone who is child free and really doesn’t enjoy kids personally. Take the time, be with your family. Jobs come and go but your family is who matters. Start talking the other way. “I want to make sure I absorb this while I can, I can’t imagine missing these moments” and “this will only happen once or twice in my life, how could I miss that?”.


  • I mean that’s my point. Lemmy already has linking to your matrix username, I think the two protocols compliment each other well. Come here to meet people, say hello, DMs can be a quick intro that’s open, but if you want to really chat, move over to Matrix.

    I think Revolt then could be adapted to just be another client for Matrix.

    Same thing as Discord and Reddit. They serve two very separate but social goals. Trying to shoehorn one into the other is going to be awkward and cludgy. Instead, use them for what they’re best at.


  • Yes, but if you need a truck, use a truck. If you need a car, use a car. They both do similar things, but the reason it’s taking a while for that stuff is because the protocol was not built for that in mind. They’re two different use cases. You’re not the first to have the idea here, and I’m sure you won’t be the last. Use each protocol for what they’re good at. ActivityPub was designed to be a great social network protocol. Matrix and XMPP were both built to be great secure messaging protocols. Trying to shoehorn either one into a use case it wasn’t meant to be results in a subpar experience.

    What would be neat is if the Lemmy Client added a messaging protocol with it, so it could be both a matrix and a lemmy server. Each user gets their own Matrix handle out of the gate, so DMs are actually Matrix DMs. Then you could also open any matrix client with it too. The clients I have no problem with them being dual purpose, the protocols though, those are very specific.






  • 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







  • You don’t know if those 60 lines of bash are worth something to corporate america. Any code we write has value, how much value is rarely up to us.

    A few months ago we had a guy playing a side project he did where he used a model to replace clothing on people so you could try something on and see how you looked. I begged him to add a license to his repo, and he still hasn’t, because “it’s just a bit of python”. Like dude you don’t see it but you just game Nordstrom or Macy’s millions of dollars for free man! Guy didn’t see it.

    So yeah. Maybe it’s just a helper script. Who cares. Adding the license is free and takes seconds, and who knows, maybe you solve a million dollar problem.