25 Matching Annotations
  1. Sep 2023
    1. Also, always prefix globs with "/" or "./"; otherwise, if there's a file with "-" as the first character, the expansions might be misinterpreted as options.
  2. Jul 2023
    1. The common definition of a progress trap is derived from the book’s cover text: “..it is the condition in which we find ourselves when science, technology and industry create more problems than they can solve. Often inadvertently.”
      • for: progress trap
      • definition
      • quote
        • progress trap
          • A progress trap is the condition in which we find ourselves when science, technology and industry create more problems than they can solve. Often inadvertently.
      • author
        • Dan O'Leary
      • source
    1. Since  humanity is a small product of nature, he can by definition not control nature. To believe that he can is a delusion.
      • for: progress trap
      • quote
        • Since humanity is a small product of nature, he can by definition not control nature. To believe that he can is a delusion.
      • Author
        • Dan O'Leary
    2. Escaping The Progress Trap
      • for: progress trap, progress traps

      • Tttle

        • Escaping The Progress Trap
      • Author
        • Gordon Kubanek
      • Source
      • Description
        • Gordon Kubanek shares his review of Dan O'Leary's book, "Escaping the Progress Trap"
  3. Jul 2022
    1. What are the main distractions that keep us from making ourselves morally better? Socrates lists the obvious: material prosperity (i.e., money and possessions and clothes); status and reputation (looking good in the eyes of others); bodily pleasures; and all the emotions that keep us bound to these things. Naturally, Socrates observes, we love these things when we are children. But to cling to them as the highest priorities once we become morally conscious adults is sad–in fact, this is what is a truly shameful way of life. So Socrates chastises the Athenians at his trial: “Are you not ashamed that you give your attention to acquiring as much money as possible, and similarly with reputation and honour, and give no attention or thought to truth and understanding and the perfection of your soul?” (Apology, 29d-e). In order to morally improve one’s soul, according to Socrates, it is necessary to purify it from such distractions. In the dialogue Phaedo, he tells his friends: “The body fills us with loves and desires and fears and all sorts of fancies and a great deal of nonsense, with the result that we literally never get an opportunity to think at all about anything (Phaedo, 66c).” It is simply impossible to steadily deepen one’s understanding of how to become a better person without a sustained effort to break free from these distractions. And this effort, says Socrates, is the true struggle, the true agon, of human existence. People think the real problem in life is to escape harm and death. “But I suggest,” Socrates says at his trial, “that the difficulty is not so much to escape death; the real difficulty is to escape from doing wrong (Apology, 39a).”

      A koan to meditate on: “that the difficulty is not so much to escape death; the real difficulty is to escape from doing wrong (Apology, 39a).”

      "In order to morally improve one’s soul, according to Socrates, it is necessary to purify it from such distractions. In the dialogue Phaedo, he tells his friends: “The body fills us with loves and desires and fears and all sorts of fancies and a great deal of nonsense, with the result that we literally never get an opportunity to think at all about anything (Phaedo, 66c).” It is simply impossible to steadily deepen one’s understanding of how to become a better person without a sustained effort to break free from these distractions. And this effort, says Socrates, is the true struggle, the true agon, of human existence."

    1. Ronald Wright: Can We Still Dodge the Progress Trap? Author of 2004’s ‘A Short History of Progress’ issues a progress report.

      Title: Ronald Wright: Can We Still Dodge the Progress Trap? Author of 2004’s ‘A Short History of Progress’ issues a progress report.

      Ronald Wright is the author of the 2004 "A Short History of Progress" and popularized the term "Progress Trap" in the Martin Scroses 2011 documentary based on Wright's book, called "Surviving Progress". Earlier Reesarcher's such as Dan O'Leary investigated this idea in earlier works such as "Escaping the Progress Trap http://www.progresstrap.org/content/escaping-progress-trap-book

  4. Nov 2021
    1. To match against an ID or selectors that do not follow standard CSS syntax (by using a colon or space inappropriately, for example), you must escape the character with a backslash ("\"). As the backslash is also an escape character in JavaScript, if you are entering a literal string, you must escape it twice (once for the JavaScript string, and another time for querySelector()):
  5. Jun 2021
  6. Apr 2021
  7. Dec 2020
  8. Nov 2020
    1. If you needed a literal { character in your markup, you could always do {'{'}. (This is how it's done in React.) Or you could do {, which is pleasingly easy to remember. Does there need to be some method of escaping beyond that?
  9. Oct 2020
    1. By default all content inside template strings is escaped. This is great for strings, but not ideal if you want to insert HTML that's been returned from another function (for example: a markdown renderer). Use nanohtml/raw for to interpolate HTML directly.
    1. Escaping is a subset of encoding: You only encode certain characters by prefixing a special character instead of transferring (typically all or many) characters to another representation.
  10. mdxjs.com mdxjs.com
    1. Before MDX, some of the benefits of writing Markdown were lost when integrating with JSX. Implementations were often template string-based which required lots of escaping and cumbersome syntax.
  11. Jul 2020
  12. May 2020
    1. '

      because it's in YAML

      but this means you can't use any ' in the actual script line

      or you have to use different delimiters if you do

      bottom line is it makes it harder to write/include your script than simply creating a separate shell script file.

  13. Apr 2020
    1. What we actually want to do is to escape content if it is unsafe, but leave it unescaped if it is safe. To achieve this we can simply use SafeBuffer's concatenation behavior:
    2. Our helper still returns a safe string, but correctly escapes content if it is unsafe. Note how much more flexible our group helper has become because it now works as expected with both safe and unsafe arguments. We can now leave it up to the caller whether to mark input as safe or not, and we no longer need to make any assumptions about the safeness of content.
    3. A common mistake is to see those escaped angle brackets, and "improve" the helper by making everything html_safe:
    1. 1- Validation: you “validate”, ie deem valid or invalid, data at input time. For instance if asked for a zipcode user enters “zzz43”, that’s invalid. At this point, you can reject or… sanitize. 2- sanitization: you make data “sane” before storing it. For instance if you want a zipcode, you can remove any character that’s not [0-9] 3- escaping: at output time, you ensure data printed will never corrupt display and/or be used in an evil way (escaping HTML etc…)
  14. Sep 2019
    1. A utility function to safely escape JSON for embedding in a <script> tag function safeStringify(obj)