• 0 Posts
  • 38 Comments
Joined 1 year ago
cake
Cake day: May 31st, 2023

help-circle

  • Await is usually there either because the performance doesn’t matter and the legibility is much higher with it, and/or because there are a series of asynchronous actions that depend on each other and await lets you write them as if they are sync because related to each other they are.




  • Luvon@beehaw.orgtoJokes and Humor@beehaw.orgBBQ
    link
    fedilink
    arrow-up
    56
    ·
    3 months ago

    Which of your “friends” do you dislike so much that you invite them to a bbq but are absolutely unwilling to make food that they will eat?

    When I cook I cater to my guests, because I like them, their company, and want them to come and feel welcome.












  • It’s more language dependent than ide. Go for instance makes unused variables a compiler error (I believe) which means ides mark it as red immediately.

    Ts/js can have eslint rules against unused variables but they will still usually compile or just run directly anyway.

    Java doesnt error but can be set to warn you on them.

    Abap doesn’t care and won’t tell you.

    Your mileage will vary.



  • The automatic turning on is definitely a setting you would need to have turned on.

    Do you have multiple Apple devices? You might have set them to mirror each other so they all share the same focus mode.

    You might have created a shortcut that is attached to an automation to turn it on based on some trigger, (time, place) etc.

    Or in the focus mode settings you can click on do not disturb and it should list how it is set up.

    On the do not disturb settings page under focus, near the bottom is “on a schedule”.

    You can have a time schedule, as well as a smart activation, where it tries to learn when to do it automatically.

    For instance gaming focus has learned to turn on when o play a game for like 5 minutes.

    If you turn those off and ensure you don’t have an automation in the shortcuts app that turns it on, you should be at only manual control.