27 Matching Annotations
  1. Jul 2024
  2. Dec 2023
    1. because the value isn't there yet. A promise is just a marker that it will be available at some point in the future. You cannot convert asynchronous code to synchronous, though. If you order a pizza, you get a receipt that tells you that you will have a pizza at some point in the future. You cannot treat that receipt as the pizza itself, though. When you get your number called you can "resolve" that receipt to a pizza. But what you're describing is trying to eat the receipt.
  3. Aug 2023
    1. This tutorial covers two different ways for PHP developers to send scheduled and recurring email notifications through the Courier notification platform using its PHP SDK. It also offers a low-code solution for sending scheduled emails using just the Courier UI. Courier is a multi-channel notification service with a robust API, which you can use to build a production-ready email notification system in a few minutes.

      --I strongly feel like this could have been done better.

  4. Sep 2022
    1. The False Promise of Liberal Order: Nostalgia, Delusion and the Rise of ...The False Promise of Liberal Order exposes the flaws in this nostalgic vision. The world shaped by America came about as a result of coercion and, sometimes brutal, compromise. Liberal projects - to spread capitalist democracy - led inadvertently to illiberal results. To make peace, America made bargains with authoritarian forces.
    2. The False Promise | The Project for a New American GovernmentThe false promise of freedom from consequences is baiting into hazard as ignoring consequences must necessarily result in destruction."—Andrew M Gilmour —"Marxism is the tooth fairy of political beliefs. You can't make a credible claim to being an adult and still believe in that nonsense."-Noah J Revoy
  5. Aug 2021
    1. "This is a bad watch."[13] John Searle points out, from the statement "Jones promised to pay Smith five dollars," it logically follows that "Jones ought to pay Smith five dollars." The act of promising by definition places the promiser under obligation.[14]
  6. Apr 2021
  7. Mar 2021
  8. Jan 2021
  9. Oct 2020
  10. Jul 2020
  11. Apr 2020
  12. Jan 2017
  13. Dec 2016
  14. Jun 2015
    1. Note: I'm unconvinced of Promise.race's usefulness; I'd rather have an opposite of Promise.all that only rejects if all items reject.

      This is hurting my brain. Can we just use a meta-promise that fulfills when rejected, and reject when fulfilled in order to achieve that?

  15. Sep 2013
    1. For I hold that to obtain a knowledge of the elements out of which we make and compose all discourses is not so very difficult if anyone entrusts himself, not to those who make rash promises, but to those who have some knowledge of these things.

      How do we know that all Sophists lack experience and are full of only empty promises?