• 0 Posts
  • 23 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle

  • Look no further than Lightshot. It’s free, it can replace the PrntScn button. It lets you draw a rectangle, then add arrows, lines, text, then either copy to clipboard or save to disk.

    Then it disappears. No unneeded prompts, no wasting your time, no ads, no upsells. Nothing. Lightweight, simple, and free. It’s like a throwback to the 90’s freeware.

    As a software developer working with QA and often having to explain things to others as well, I’ve used this for years. It is the most optimal and efficient software for this purpose.













  • 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.