52 Matching Annotations
  1. Jun 2021
  2. May 2021
    1. Use cases: Volumes are most useful when you need more storage space but don’t need the additional processing power or memory that a larger Droplet would provide, like: As the document root or media upload directory for a web server To house database files for a database server As a target location for backups As expanded storage for personal file hosting platforms like ownCloud As components for building more advanced storage solutions, like RAID arrays
  3. Mar 2021
    1. Before a bug can be fixed, it has to be understood and reproduced. For every issue, a maintainer gets, they have to decipher what was supposed to happen and then spend minutes or hours piecing together their reproduction. Usually, they can’t get it right, so they have to ask for clarification. This back-and-forth process takes lots of energy and wastes everyone’s time. Instead, it’s better to provide an example app from the beginning. At the end of the day, would you rather maintainers spend their time making example apps or fixing issues?
  4. Feb 2021
    1. div:nth-of-type(3n+1) { grid-column: 1; } div:nth-of-type(3n+2) { grid-column: 2; } div:nth-of-type(3n+3) { grid-column: 3; } div:nth-of-type(-n+3) { grid-row: 1; }
    2. #ttt > * { border: 1px solid black; border-width: 0 1px 1px 0; display: flex; /* flex styling to center content in divs */ align-items: center; justify-content: center; } #ttt > *:nth-of-type(3n) { border-right-width: 0; } #ttt > *:nth-of-type(n+7) { border-bottom-width: 0; }
  5. Nov 2020
  6. Oct 2020
    1. A spreadsheet may be represented as a directed acyclic graph, with each cell a vertex and an edge connected a cell when a formula references another cell. Other applications include scheduling, circuit design and Bayesian networks.
    1. const countriesRegExp = countries.reduce( (regex, country, i) => (i === 0 ? `(${country})` : `${regex}|(${country})`), "" )
    1. Listening for External Changes By wrapping a stateful ExternalModificationDetector component in a Field component, we can listen for changes to a field's value, and by knowing whether or not the field is active, deduce when a field's value changes due to external influences.
    1. // Make a HOC
      // This is not the only way to accomplish auto-save, but it does let us:
      // - Use built-in React lifecycle methods to listen for changes
      // - Maintain state of when we are submitting
      // - Render a message when submitting
      // - Pass in debounce and save props nicely
      export default props => (
        <FormSpy {...props} subscription={{ values: true }} component={AutoSave} />
      );
      
  7. Sep 2020
  8. Aug 2020
  9. Jul 2020
  10. May 2020
    1. This change was made because GitLab License Management is now renamed to GitLab License Compliance. After review with users and analysts, we determined that this new name better indicates what the feature is for, aligns with existing market terminology, and reduces confusion with GitLab subscription licensing features.
  11. Apr 2020
    1. In informal contexts, mathematicians often use the word modulo (or simply "mod") for similar purposes, as in "modulo isomorphism".
  12. Mar 2020
  13. Feb 2020
  14. Nov 2019
    1. const setRefs = useRef(new Map()).current; const { children } = props; return ( <div> {React.Children.map(children, child => { return React.cloneElement(child, { // v not innerRef ref: node => { console.log('imHere'); return !node ? setRefs.delete(child.key) : setRefs.set(child.key, node)

      Illustrates the importance of having unique keys when iterating over children, since that allows them to be used as unique keys in a Map.

    1. Using expect { }.not_to raise_error(SpecificErrorClass) risks false positives, as literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError, and ArgumentError)

      Actually, those would be false negatives: the absence of a test failure when it should be there.

      https://en.wikipedia.org/wiki/False_positives_and_false_negatives

    1. This is called a false positive. It means that we didn't get a test failure, but we should have

      No, this is a false negative. We didn't get a test failure (that is, there is a lack of the condition (test failure)), when the condition (test failure) should have been present.

      Read https://en.wikipedia.org/wiki/False_positives_and_false_negatives

  15. Oct 2019
  16. Sep 2019
  17. Aug 2019
  18. Mar 2019
    1. Learn why Hybrid App Technologies is the right choice in 2019 and which hybrid apps are making huge a name this year? Begin your business startup with the best Hybrid mobile app solution.

      Learn why Hybrid App Technologies is the right choice in 2019 and which hybrid apps are making huge a name this year? Begin your business startup with the best Hybrid mobile app solution.

  19. Jul 2017
    1. Partial loss-of-func- tion alleles cause the preferential loss of ventral structures and the expansion of remaining lateral and dorsal struc- tures (Figure 1 c) (Anderson and Niisslein-Volhard, 1988). These loss-of-function mutations in spz produce the same phenotypes as maternal effect mutations in the 10 other genes of the dorsal group.

      This paper has been curated by Flybase.

    1. Teach Source EvaluationSkillsIf you want to teach source evaluation skills, have small groups conduct research to answer a three-part problem such as this:1.How high is Mt. Fuji in feet?2.Find a different answer to this same question.3.Which answer do you trust and why do you trust it?As you observe students begin work on the third part of the problem, you likely will see a student begin to use the strategy that you have tar-geted: locating and evaluating the source of the information. When you see someone use this strategy, perhaps by clicking on a link to “About Us,” interrupt the other groups and have this student teach the strategy to the class, explaining how he or she evaluates a source for expertise and reliability. There are many inconsistent facts online that can also be used, just like this, to teach source evaluation including: “How long is the Mis-sissippi River?” or “What is the population of San Francisco?”
    1. We focus on a particular topic (e.g., racial prejudice), use a particular resource (e.g., To Kill a Mockingbird), and choose specific instructional methods (e.g., Socratic seminar to discuss the book and cooperative groups to analyze stereotypical images in films and on television) to cause learning to meet a given standard (e.g., the student will understand the nature of prejudice, and the difference between generalizations and stereotypes).
  20. Feb 2014
    1. The breakthrough patent that produces a Polaroid company is more the exception than the rule. The rule is the modestly successful novelist, the minor [*292] poet, and the university researcher -- all of whom may profit by licensing or selling their creations.

      Breakthrough patent of Polaroid (the exception) vs modestly successful novelist (the more common case)