• 0 Posts
  • 65 Comments
Joined 1 year ago
cake
Cake day: August 25th, 2023

help-circle


  • If you order an iced tea in Canada you are getting Nestea/Brisk like 95% of the time. Both are sweet teas, but are marketed and labelled as “Iced Tea”, not “Sweet Tea” - ask our American beverage overlords Coke/Pepsi why

    If you are in a cafe, or some other place where the expectation is that they brew their own, then yes, it’s generally unsweetened - but it’s also usually explicitly labelled as such on the menu so you know whether you are getting brewed tea vs a glass of corn syrup








  • The add function in the example above probably traverses the call stack to see what line of the script is currently being executed by the interpreter, then reads in that line in the original script, parses the comment, and subs in the values in the function call.

    This functionality exists so when you get a traceback you can see what line of code triggered it in the error message






  • AFAIK if you spend at least 2 years studying here you automatically qualify for a 3 year work permit. I think rolling that into permanent residency is a lot easier than just applying for a work visa or PR out of the gate

    International student tuition is way more expensive here in Canada than it is for citizens, but I’m not sure how it stacks up against normal US tuition.

    Grain of salt, everything I’ve said is based on anecdotes from people I know who went through it



  • That assumes that an adversary has control of the browser

    No it doesn’t, if they intercept an encrypted password over HTTPS they can resend the request from their own browser to get access to your account

    The big reason you don’t want to send passwords over https is that some organizations have custom certs setup

    What is the problem with that? The password is secure and only shared between you and the site you are intending to communicate with. Even if you sent an encrypted password, they wrote the client side code used to generate it, so they can revert it back to its plaintext state server side anyways

    It is better to just not send the password at all.

    How would you verify it then?

    If not sending plaintext passwords was best practice then why do no sites follow this? You are literally posting to a site (Lemmy) that sends plaintext passwords in its request bodies to log-in