• 0 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle







  • I’m well aware how async works in the single threaded js environment. All code blocks the main thread! Calling await on an async operation yields back.

    You’re right, async is commonly mixed up with multi-threaded. And in fact in many languages the two things work hand in hand. I’m very aware of how it works in JavaScript.

    We are agreeing. Don’t need more info.


  • Yes I’m simplifying a LOT, but in the context of background web calls, that was what callbacks became so important for. XMLHttpRequest in IE 5 sparked the Ajax movement and adventures in nested callbacks.

    Prior to that, the browser had window.setTimeout and its callback for delays and animation and such - but that’s it.

    The main purpose of all this async callback stuff was originally, and arguably still is (in the browser), for allowing the ui event loop to run while network requests are made.

    NodeJS didn’t come into the picture for almost 10 years or so.





  • Onboarding new users securely is in the forefront of most minds in my industry because the current standard is a 12 word phrase written on paper, which most users throw in a cloud solution or screenshot.

    The stakes are even higher in crypto where you’re protecting, without recourse, large sums of value. Passkeys are a critically needed solution for my industry. But they need coupled with a social or offline storage recovery mechanism.



  • I’m of the mindset that locally stored keys and/or social solutions are better than throwing all passwords in a single place.

    All passwords for large amounts of people in a single place is begging for a break-in.

    I spend a lot of time studying solutions in this space as I’m a long time crypto solutions dev. Lots of ideas and discussions to be had.

    I’m not disagreeing with you, just having a dialogue.


  • locuester@lemmy.ziptoTechnology@lemmy.mlWhat the !#@% is a Passkey?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    One doesn’t have to remember dozens. Just a basic algorithm for deriving it from the name of the site. Complex enough that it’s not obvious looking at a couple passwords but easy to remember.

    This method works for me. I understand its dangers (can still correlate. Dozen passwords and figure out the algo). But it’s my current approach. I hate even discussing it since obscurity helps.