39 Matching Annotations
  1. Last 7 days
    1. The node-resolve plugin doesn't like failing to resolve module IDs (because it usually indicates a bug, like you forgot to install the package in question), so it will throw an error rather than letting Rollup print a warning.
    1. using modulesOnly behaves exactly as expected when it warns you that the listed npm libraries do not use the ES6 format and are in fact ignored. This option is meant as a way to determine if you still have commonjs libraries in your dependencies that require special treatment via rollup-plugin-commonjs. Your code will probably not work since the listed dependencies will be missing. You should remove modulesOnly and instead add rollup-plugin-commonjs.
    1. You oftentimes see packages list react as a peer dependency. Since this prevents react from being installed into that package's node_modules, this is another way of preventing Rollup from bundling the module. This is also nice _if_ you want the application to install react from npm, because if an application forgets to install a peer dependency, npm will issue a warning.
    1. Ideally: Only let a parent control those specific CSS properties, and never let a child use them on the root element.
    2. margin, flex, position, left, right, top, bottom, width, height, align-self, justify-self among other is CSS properties that should never be modified by the child itself. The parent should always have control of those properties, which is the whole reason I'm asking for this.
    1. Actions aren't necessary, otherwise they would have been implemented from the start. But they do allow for easier code-reuse and better shared libraries without exploding/complicating the ecosystem.
  2. Sep 2020
  3. Jul 2020
    1. preventDefault — calls event.preventDefault() before running the handler. Useful for client-side form handling, for example. stopPropagation — calls event.stopPropagation(), preventing the event reaching the next element passive — improves scrolling performance on touch/wheel events (Svelte will add it automatically where it's safe to do so) capture — fires the handler during the capture phase instead of the bubbling phase (MDN docs) once — remove the handler after the first time it runs self — only trigger handler if event.target is the element itself
  4. May 2020
  5. Apr 2020
  6. Dec 2019
  7. burnsoftware.wordpress.com burnsoftware.wordpress.com
    1. Unhelpful is the motivation writing app that tries to help instead of hurt.
    1. People cannot see exhaustive documentation and code examples on their own file system. They would have to visit the repository (which also requires an internet connection).
  8. Oct 2019
    1. I want to be very clear that I’m not talking about kids of marginalized identities or communities who have never for one second had the luxury to choose whether to fight or not
  9. Sep 2019
    1. Press Command+Shift+Dot

      This is really cool.

      I'm making a tutorial right now live and pulling my hair out due to prettier and not so much eslint.

  10. Aug 2019
    1. Is each of the following examples an outcome or an impact? Choose the correct answer.

      These brief exercises are helpful in that they review important concepts and test reader learning - but I think the more important and potentially more helpful aspect of these exercises is that they also present realistic research scenarios. Associating realistic research scenarios with this section's content helps readers understand how the content is actually applied in research practice.

    2. Something we often don’t have time for in practice is evaluating how things are going internally with our programs. How’s it going with all the documentation our agency asks us to complete? Is the space we’re using for our group sessions facilitating client engagement? Is the way we communicate with volunteers effective?

      Again - this is a straightforward, practical section introduction. Great way to keep readers engaged by connecting content to real-world experiences common among social workers.

    3. (Pro-tip: logic models are a heck of a lot easier to make in Excel than Word.)

      Excellent practical observation/suggestion. This will undoubtedly be appreciated by many student readers.

    4. Let’s think back to our example from the start of the chapter

      This use of a consistent example topic (kinesthetic teaching methods) is, I think, helpful for promoting reader comprehension.

    5. The reality of the grant funding environment is that funders want to see that their money is not only being used wisely, but is having a material effect on the target population. This is a good thing, because we want to know our programs have a positive effect on clients and communities and not just keep running a program because it’s what we’ve always done. (Consider the ethical implications of continuing to run an ineffective program.) It also forces us as practitioners to plan grant-funded programs with an eye toward evaluation. It’s much easier to evaluate your program when you can gather data at the beginning of the program than when you have to work backwards at the middle or end of the program.

      This kind of practical, real-world connection to the social work profession will likely be appreciated by many MSW student readers.

    6. Realistically, as a practitioner, you’re far more likely to engage in program evaluation than you are in research.

      This kind of straightforward/practical observation is much appreciated by many MSW students, in my experience.

  11. Jun 2018
  12. Dec 2017
    1. There are two ways to think about what counterbalancing accomplishes. One is that it controls the order of conditions so that it is no longer a confounding variable. Instead of the attractive condition always being first and the unattractive condition always being second, the attractive condition comes first for some participants and second for others.

      Gave me a good understanding of how counterbalancing works and what it does

    2. The three most common versions of the t-test are: one-sample t-test, independent samples t-test, and the paired samples t-test. The one sample t-test is used to test whether a sample mean could have come from a particular population. The independent samples t-test is used in between-subjects designs, to test whether the sample mean in one condition is different from the sample mean in another condition. The paired samples t-test is used in within-subjects designs, to test whether the sample mean in one condition is different from the sample mean in the other condition.

      Helpful and clear explanation of t-tests

    1. ecall that internal validity is the extent to which the design of a study supports the conclusion that changes in the independent variable caused any observed differences in the dependent variable.


    2. 9.1.2 this sections is explained very well and i under stand this concept much better now

    1. is chapter, we look at how to present your research effectively.

      maybe discuss this chapter in the beginning of the semester would be helpful for the lab

    2. cles For journal articles, the generic format for a reference is as follows: Author, A. A., Author, B. B., & Author, C. C. (year). Title of article. Title of Journal, xx(yy), pp–pp. doi:xx.xxxxxxxxxx
    1. Imagine if chemistry could tell us only that there is some relationship between the temperature of a gas and its volume—as opposed to providing a precise equation to describe that relationship.

      Good example, showing the importance of quantitative data over qualitative findings

    2. (Note that the term error here refers to random variability and does not imply that anyone has made a mistake. No one “commits a sampling error.”)


    3. Learning Objectives

      I find the learning objectives to be really helpful in explaining the purpose of each section.

    1. Consider, for example, an actual study on “personal space” conducted in a public men’s room (Middlemist, Knowles, and Matter 1976). The researchers secretly observed their participants to see whether it took them longer to begin urinating when there was another man (a confederate of the researchers) at a nearby urinal. While some critics found this to be an unjustified assault on human dignity (Koocher 1977), the researchers had carefully considered the ethical conflicts, resolved them as best they could, and concluded that the benefits of the research outweighed the risks (Middlemist, Knowles, and Matter 1977). For example, they had interviewed some preliminary participants and found that none of them was bothered by the fact that they had been observed

      Helpful example of ethnical conflict.

    2. Know and Accept Your Ethical Responsibilities


  13. Oct 2017
    1. but you found that this had no effect on the number of happy or sad childhood events they recalled. This could be because being in a happy or sad mood has no effect on memories for childhood events. But it could also be that the music was ineffective at putting participants in happy or sad moods. A manipulation check—in this case, a measure of participants’ moods—would help resolve this uncertainty

      The example helped me gain a better understanding of why it's necessary, especially in our first paper.