Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HP
hperrin @lemmy.ca
Posts 0
Comments 399
Tim Walz says ‘we wouldn’t be in this mess’ if it wasn’t for him and Harris
  • It wasn’t really Tim’s fault. I will never understand why Kamala decided it was more important to try to court Republicans than get Democrats excited. Democrats, and I know this will be a big surprise to Democratic leadership, don’t want to vote for conservatives.

  • Well it's JSON so what can go wrong.
  • If you’re passing a string, and you don’t know what currency it is, you have the exact same problem as passing an int and not knowing what currency it is. USD’s smallest denomination is 1/10 cent (gas stations usually charge in tenths of a cent, and half pennies are still legal tender, even though they’re not minted anymore), so the string representation in your examples would be exactly the same for USD and Dinar.

    I agree that the best way to represent it between server and client is as a string, but that doesn’t work when you need to perform calculations, so in that case, the best way to do the calculations is to use the smallest denomination, then use banker’s rounding on the result, then use the int for storage and turn it back into a string representing the default denomination for transit. Or, just use ints representing the smallest denomination everywhere except displaying to the user. Even JavaScript can handle integer arithmetic.

    Source: I’ve also done fintech for loan and retail companies. Yes, there are definitely a lot of gotchas, so using integers is best when you need to do calculations.

  • What's something that's seen as Obsolete, but isn't?
  • The vast majority of senders do not send email using end to end encryption. If you’re sending an email from a PM address to another PM address, sure, it’s end to end encrypted. If you’re sending to another service, it’s not end to end encrypted unless you’ve both gone through the painful steps of setting up PGP encryption. Same as if you’re receiving from another service.

    You can read about it here:

    https://proton.me/support/proton-mail-encryption-explained

    So that quote you just responded with is saying exactly what I had just said above it. They promise that they’ll encrypt that unencrypted email that just came into their server for you. And they promise that they’ll encrypt that unencrypted email you just sent outside their service.

  • Well it's JSON so what can go wrong.
  • Or, use the smallest denomination. In the US, that’s typically tenths of a penny. So, $1 = 1000. Then everything uses integer arithmetic.

    Of course, JS doesn’t actually have integers, so yeah, strings are probably best.

  • Testing the Strength of a Tesla Cybertruck Tow Hitch Using Construction Site Machinery
  • If you want a truck, don’t buy a Cybertruck. It’s a terrible truck.

    If you want a car, don’t buy a Cybertruck. It’s a terrible car.

    If you want an investment, don’t buy a Cybertruck. It’s a terrible investment.

    If you want everyone to know you’re a nazi, well… go fuck yourself.

  • Why do people give their unwaivering support to autocrats?
  • Complacency, stupidity, and ignorance. Have you ever heard a Trump supporter try to defend their positions? They haven’t thought through anything complicated in their entire lives. They believe whatever they’re told by their favorite authority figures (usually something like Fox “News”).

    They’re also generally pretty bigoted. Whether that comes first or is a result of being indoctrinated into authoritarian thinking, I’m not sure. Basically, they get drunk on hate, get addicted to it, and always need their fix.

    The autocratic figure promises them to fix all their problems that the [insert minority group of the week] definitely caused them. When they have no ability or desire to think critically about their claims, they just believe it. Evidence to the contrary be damned.

  • What's something that's seen as Obsolete, but isn't?
  • That is true that they have the technical ability to do that, but it is also illegal if they disclose that information to anyone, and it’s unnecessary to run the service, so it simply puts them in a lot of legal jeopardy and adds to service costs.

    https://www.law.cornell.edu/uscode/text/18/2511

    I personally trust AT&T with a fax line a lot more than I trust Google with an email.

    Google specifically discloses that it does record the contents of every email (obviously), and that when you delete an email, it’s not really gone from their servers. AT&T (as well as any phone company in the US) is not allowed to disclose the contents of your phone call or fax without a valid wiretap order (which don’t apply to privileged communications), so they almost never record call content. Keep in mind, email providers must also hand over any emails covered under a valid search warrant.

    So when you send an email, your document is 100% definitely recorded by at least two companies (or one if you use the same provider as the recipient). When you send a fax, it’s highly unlikely that the contents of your document are recorded at all, except on the printed page at the receiving end. It’s just not necessary and puts the phone company at risk, so it doesn’t make any business sense.

  • What's something that's seen as Obsolete, but isn't?
  • Having to physically wire tap the phone line is a lot more difficult and requires local bad actors. Email’s exposure to the internet makes it easier to hack. Yes, email can be encrypted, but if your server is compromised, that doesn’t matter. End to end encryption for email is much harder, and isn’t really used by any institutions (and usually can’t be because of data retention regulations), so the server has complete access to the unencrypted email in almost all cases. Compromising a fax machine that isn’t connected to the internet is a lot harder.

    Not all faxes go through VoIP. Your everyday home fax machine probably uses VoIP, because having a landline installed in your home is stupid expensive and unnecessary, but faxes in institutions probably use the PSTN. These institutions most likely need landlines anyway, so having a dedicated fax line makes a lot more sense.

    And if a fax goes through VoIP, it’ll be encrypted the same way email is. So in that case, it’s the same level of security as email, which is to say, easier to compromise. At least you can’t trick someone into clicking a link in a fax though.

  • does someone who lives very far away from me (for example 1900 miles) see the same night sky as me? (as in moon, stars, etc)
  • If someone is 1900 miles west of you, they will be in (almost) your exact same physical location after a short time (about two hours). If someone is 1900 miles south of you, they won’t. So it depends on the cardinal directionality.

    That being said, 1900 miles isn’t that far relative to the circumference of the earth (~25,000 miles), so someone 1900 miles south of you would see mostly the same sky. You’d each see some stars the other couldn’t see, but only near the horizon. About 85% of the sky would be the same (if you could see perfectly to every part of the horizon).

  • What's your favourite classic movie you think everyone should have seen once in their life?
  • I feel like First Blood is not only a good movie but a glimpse into how traumatized veterans were neglected by the US government and stigmatized by the general population. With the current administration shitting on veterans left and right, they’re definitely keeping that tradition alive, and the movie has become a lot more relevant because of it.