8 Matching Annotations
  1. Sep 2021
    1. const capitalizeProductsIds = async () => { const products = await getProducts() Promise.all( products.map(async (product) => { const productId = await getProductId(product); console.log(productId); const capitalizedId = await capitalizeId(productId) console.log(capitalizedId); }) ) console.log(products); } capitalizeProductsIds();

      This example is limiting since it does not retain or await the output of Promise.all().

      const capitalizedProducts = await Promise.all(
        products.map(async product => {
          const productId = await getProductId(product);
          return productId.toUpperCase();
  2. Mar 2020
  3. Sep 2019
    1. It’s also archived at the Poynter Institute in Microsoft Word format: http://www.poynterextra.org/msfonts/osprey.doc

      These links are dead. This paper is now archived on GitHub at https://nreilingh.github.io/The-Magic-of-Reading/

  4. Oct 2016
    1. /D – creates a soft symbolic link, which is similar to a standard folder or file shortcut in Windows.  This is the default option, and mklink will use it if you do not enter a prefix. /H – creates a hard link to a file /J – creates a hard link to a directory or folder

      This is largely incorrect, and should be clarified just by looking at the default output of mklink. /D creates directory symbolic (soft) links. Omitting the "prefix" creates a file symbolic link. The default behavior of mklink is NOT with the /D option. /J creates directory Junctions, which are NOT hard links. They are a kind of symbolic directory link that can display the content of one or more target directories. (My Documents, historically, has been a directory junction that usually contains the current user's Documents directory as well as a shared documents directory.)

  5. Dec 2015
  6. Nov 2015
  7. Sep 2015