24 Matching Annotations
  1. 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

  2. Oct 2019
  3. Sep 2019
  4. Aug 2019
  5. 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.

  6. 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).
  7. 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)