• 0 Posts
  • 43 Comments
Joined 3 years ago
cake
Cake day: August 3rd, 2023

help-circle






  • I wish I had a functioning workplace like you apparently do, since you seem unable to understand many just don’t care. Which is OK, until the ones who know what they’re doing have to work extra.

    To give you an example: we have a bunch of quasi one liners power shell scripts at the root of our main repo because typing “Conan build/install/editable …” requires opening a terminal, and windows brained people don’t know what that is. Guess what the idiots do when these break or need extra flags? That’s right, they send me a screenshot of the stdout output, sometimes with a huge error in red that tells them exactly what the damn problem is. But ofc I’m still the one tagged of every damn mr like I’m the problem.

    So yes, some people don’t care about productivity, and many could totally be replaced by AI if we ignored all externalities of doing that






  • You don’t have to implement totp for these alternatives… The “thing” about totp is that there’s a shared secret and a timestamp. Due to potential drift in clocks you need a window and period to know how many time steps to test, and how long each is.

    But with an email/SMS/WhatsApp, there’s no shared secret. So you can simply send a random code, and store server side when it was generated. Totp makes no sense in that case.

    Not that totp is difficult to implement at all. My implementation for work was what, less than 200 lines of C++ I think? I didn’t implement the sha1 myself though.