87 Matching Annotations
  1. Jun 2021
  2. Mar 2021
  3. Feb 2021
  4. Sep 2020
  5. Feb 2020
    1. import { prismaObjectType, makePrismaSchema } from 'nexus-prisma'

      import {objectType} from "nexus";

      as of "nexus-prisma": "^0.9.1"

  6. Jan 2020
    1. The YYY gate is similar to the XXX gate, but instead of 111s on the off-diagonal, it has iii and −i-i−i, so it takes ∣0⟩|0\rangle∣0⟩ to i∣1⟩i|1\ranglei∣1⟩ and ∣1⟩|1\rangle∣1⟩ to −i∣0⟩-i|0\rangle−i∣0⟩:

      Question for the creators: https://i.imgur.com/9XUDZPH.png

      I thought the answer to this was "both" since 0 is obviously a real number.

      Can you help me understand where my misunderstanding is?

      Thanks so much for creating this tool. I've been having a blast learning!

      Tweet: https://twitter.com/technoplato/status/1221936419721138179?s=20

  7. Dec 2019
    1. .

      Further, I am grateful to the following people for telling me about errors and typos in the hardback edition: Nimrod Priell, David Marker, Giannis Kanellopoulos, Hiroki Takikawa, Jun Tsunematsu,Takuto Sakamoto, Shinya Obayashiand, Anna Ballarino, Arthur Spiriling, and the hypothesis user named arnaud.

  8. Aug 2019
    1. Figure 4.3: Schematic of the experimental design from Schultz et al. (2007). The field experiment involved visiting about 300 households in San Marcos, California five times over an eight-week period. On each visit, the researchers manually took a reading from the house’s power meter. On two of the visits, they placed doorhangers on each house providing some information about the household’s energy usage. The research question was how the content of these messages would impact energy use.

      In the figure, "3 week" should be "3 weeks"

    1. Figure 3.7: Demographics of respondents in W. Wang et al. (2015). Because respondents were recruited from XBox, they were more likely to be young and more likely to be male, relative to voters in the 2012 election. Adapted from W. Wang et al. (2015), figure 1.

      In the x-tick marks in the panel titled "State", Obama should be capitalized and Romney should be capitalized.

  9. Apr 2019
    1. Figure 2.2:

      There is a typo in the figure. The dates for "During Gezi" should be May 28, 2013 - August 1, 2013.

  10. Feb 2019
    1. American Association of Cancer Researchers

      American Association for Cancer Research

    1. Athey (2017), Cederman and Weidmann (2017), Hofman, Sharma, and Watts (2017), (???), and Yarkoni and Westfall (2017)

      There references to these articles did not appear in the hardback print edition. They are all from the same issue of Science: http://science.sciencemag.org/content/355/6324

    2. contests


    1. Write an email summarizing what you think is happening and recommend a course of action.

      Move this sentence into the paragraph

    1. inaccessible,

      This "inaccessible" should be removed. It is mentioned earlier in the sentence.

  11. Oct 2018
  12. Jul 2018
  13. Apr 2018
    1. 10–27

      Equation 10-27 is wrong:

      • Resistors are in parallel, their noise does not sum.
    2. Adding this and the 100-kΩ resistornoise to the amplifier noise

      This is 3 terms (10 MΩ noise, 100 kΩ noise, and amplifier noise), but the equation only includes 2.

    3. 10–25

      Equation 10-25 has several errors:

      • The left and right side are not equal.
      • Resistors are in parallel, so their noise does not sum.
      • Resistor noise needs to be multiplied by gain to be combined with 113.1 μV output noise of op-amp.
    4. 10–23)

      Equation 10-23 is incorrect:

      • The noise of the resistors does not sum, since the resistors are in parallel and load each other. It would be equal to a single 50 kΩ resistor producing 4.0 μV.
      • The 113.1 value is output noise. The resistor noise needs to be multiplied by the gain to get the output noise, too.
    5. 0.1 F

      Should be 0.1 μF

    6. 0.1 F

      Should be 0.1 μF

    7. The noise calculations have many errors. See annotations on https://via.hypothes.is/http://web.mit.edu/6.101/www/reference/op_amps_everyone.pdf for details

    8. which is 100

      actually should be multiplied by the non-inverting noise gain, which is 101

  14. Jun 2016
    1. To deal with this by using exceptions, we're going to take advantage of the catch function from System.IO.Error

      The catch function is deprecated and when I tried this with ghci 7.10.3 got an error that System.IO.Error does not export catch. The replacement is the catch function in Control.Exception

    2. The bytestring version of : is called cons It takes a byte and a bytestring and puts the byte at the beginning. It's lazy though, so it will make a new chunk even if the first chunk in the bytestring isn't full. That's why it's better to use the strict version of cons, cons' if you're going to be inserting a lot of bytes at the beginning of a bytestring.

      I initially did not see the difference in the output of B.cons vs B.cons' here, both output a plain string.

      I think this is because of the Show typeclass implementation for Data.ByteString.Lazy which is used by ghci when printing values.

      If on the other hand I use :force <expr> which fully evaluates <expr> and prints out the resulting structure then I do see the difference.

    3. through the documentation