23 Matching Annotations
  1. Last 7 days
  2. Oct 2020
  3. Sep 2020
    1. The problem I have with this approach to state and prop variables is that the difference between them is very blurry. In React you can clearly see that a prop is an input to component (because of clear function notation), and that state is something internal. In Svelte they are both just variables, with the exception that props use export keyword.

      This is something I've seen before: people noticing that Svelte is missing some kind of naming convention.

      React has use___ convention, for example. Without that, it makes it hard to see the difference between and know just from the name that a function is an (mentioned in the other article I read) action and not a event handler or even component, for example.

    1. we've learned why you might want to use external but not globals: libraries. We've started to factor some of our client-side JS as libraries to share between projects. These libraries import $ from 'jquery'. However they don't want to presume how that import might be "fulfilled". In most projects it's fulfilled from a global i.e. a script loaded from a CDN. However in one project it's fulfilled from a local copy of jQuery for reasons I won't get into. So when these libraries bundle themselves for distribution, as ES6 modules, they mark 'jquery' as an external and not as a global. This leaves the import statements in the bundle. (Warning: Don't bundle as an IIFE or UMD, or Rollup will guess at fulfilling the import from a global, as @Rich-Harris mentions above.)
    1. We want a world where you give someone something because you would like them to have it, not because you are looking to get something out of them
      <details><summary>Future Boy Conan spoiler</summary> High Harbor seems to be based on this principle. </details>
  4. Aug 2020
    1. although there are concerns about the complexity of the Web creating barriers to entry for new implementations

      See: Gemini

  5. Jun 2020
    1. In addition, if the option, An administrator must always approve the comment, is set in Administration > Settings > Discussion, this e-mail address will receive notification that the comment is being held for moderation. Please note this is different than the address you supplied for the admin user account; the admin account e-mail address is sent an e-mail only when someone submits a comment to a post by admin.

      They're trying to make a distinction between "administrator" address and "admin" (short for administrator) account. Hmm. Maybe they should have called them different words. Anyway, this could be made less confusing.

    1. Sometimes, the line between 'bug' and 'feature' is a hard one to draw. Generally, a feature is anything that adds new behavior, while a bug is anything that causes incorrect behavior. Sometimes, the core team will have to make a judgment call.
  6. May 2020
  7. Apr 2019
  8. Jul 2018
    1. “I don’t feel badly at all,” she said. “I’m doing this with such a big heart, dignity, precision and research. I waited a long time to find the right way to make this work. I don’t see colour; to me, it doesn’t exist, physically or in music.

  9. Aug 2016
    1. custom elements allow values to describe the location of marginalia at the page level, and specific in-page level

      ALTO?

    2. The resultant metadata schema is one that could be adapted for use by any DH project documenting handwritten or printed marginalia, an innovation that is rooted in metadata in combination with humanities scholarship.

      Open Annotation?

    3. create a custom schema capable of documenting this wide variety of materials

      Reminds me of Robots Reading Vogue, in which one experiment Fabricspace tried to cluster terms describing fabrics.

  10. May 2015