home.social

#promise — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #promise, aggregated by home.social.

  1. [Перевод] Способы разделения длительных задач в JavaScript

    Иногда возникает необходимость разделить длительную дорогую (с точки зрения вычислений) задачу на несколько тиков (ticks) цикла событий (event loop). Существует множество способов это сделать. Рассмотрим их. Легко "уничтожить" пользовательский опыт, позволив длительной дорогой задаче захватить основной поток (main thread). Неважно, насколько сложным является приложение, цикл событий может выполнять только одну задачу за раз. Пока выполняется одна задача, другие ждут своей очереди. Как правило, задача выполняется настолько быстро, что пользователь ничего не замечает. Но так бывает не всегда.

    habr.com/ru/companies/timeweb/

    #timeweb_статьи_перевод #javascript #long_task #settimeout #promise #scheduler #requestidlecallback #requestanimationframe #длительная_задача #промис #планировщик #main_thread #call_stack #основной_поток #стек_вызовов

  2. [Перевод] Способы разделения длительных задач в JavaScript

    Иногда возникает необходимость разделить длительную дорогую (с точки зрения вычислений) задачу на несколько тиков (ticks) цикла событий (event loop). Существует множество способов это сделать. Рассмотрим их. Легко "уничтожить" пользовательский опыт, позволив длительной дорогой задаче захватить основной поток (main thread). Неважно, насколько сложным является приложение, цикл событий может выполнять только одну задачу за раз. Пока выполняется одна задача, другие ждут своей очереди. Как правило, задача выполняется настолько быстро, что пользователь ничего не замечает. Но так бывает не всегда.

    habr.com/ru/companies/timeweb/

    #timeweb_статьи_перевод #javascript #long_task #settimeout #promise #scheduler #requestidlecallback #requestanimationframe #длительная_задача #промис #планировщик #main_thread #call_stack #основной_поток #стек_вызовов

  3. [Перевод] Способы разделения длительных задач в JavaScript

    Иногда возникает необходимость разделить длительную дорогую (с точки зрения вычислений) задачу на несколько тиков (ticks) цикла событий (event loop). Существует множество способов это сделать. Рассмотрим их. Легко "уничтожить" пользовательский опыт, позволив длительной дорогой задаче захватить основной поток (main thread). Неважно, насколько сложным является приложение, цикл событий может выполнять только одну задачу за раз. Пока выполняется одна задача, другие ждут своей очереди. Как правило, задача выполняется настолько быстро, что пользователь ничего не замечает. Но так бывает не всегда.

    habr.com/ru/companies/timeweb/

    #timeweb_статьи_перевод #javascript #long_task #settimeout #promise #scheduler #requestidlecallback #requestanimationframe #длительная_задача #промис #планировщик #main_thread #call_stack #основной_поток #стек_вызовов

  4. [Video] #Lawrence: #Trump knows he does not have the #mental and #cognitive #health to #debate #VicePresident #KamalaHarris.

    Lawrence says that while Donald Trump is refusing to debate Vice President Harris after breaking his #promise to #participate in a #presidentialdebate on #ABC and is sticking to “the #laziest #presidential #campaign #schedule since the invention of jet travel,” Vice President Harris put together “the single strongest group of campaign winners.”

    msnbc.com/the-last-word/watch/

  5. Trump’s pledges should be taken both seriously and literally.

    He has, for the most part, sought to do the extreme things that were dismissed as mere rhetoric when first promised, from enacting a “Muslim ban” to refusing to accept the results of an election.
    And yet, here we are again, with Trump making even more extreme promises to “terminate” the Constitution, seek “retribution” against political opponents, and be a “dictator” (just on day one), only to see people unsure what to make of or how to respond to these threats.

    This report aims to alter these dynamics by clearly showing how Trump would follow through on his most extreme anti-democratic pledges for a second term and then offering expert recommendations for how to mitigate that danger. 
    The bulk of the report looks specifically at three things: Promises, Powers, and Plans. 
    • It collects a set of promises Donald Trump has made, in his own words, for what he would do in a second term. It places them in their proper context, coming amidst a resurgence of similar authoritarians worldwide that Trump has openly admired and modeled himself after.
    • It examines the powers of the presidency and how they could be used to implement those promises. It explains the legal mechanisms that will be applied to turn Trump’s campaign promises into government policy and programs. And, it assesses the previously available guardrails that could constrain or prevent these abuses of power and the extent to which they will still hold.
    • It explores the plans Trump and his allies have drafted to circumvent or override the checks in our system that otherwise have or could restrain his most extreme intentions. Based on expert input, it describes how these policies will play out in practice and negatively impact American life upon implementation.

    #authoritarian #project #plan #power #promise
    #authoritarianplaybook #trump
    authoritarianplaybook2025.org/