6 Matching Annotations
  1. Jul 2020
    1. Whether or not you find the use case for JavaScript unit tests compelling, it helps to know that Webpacker does not make any distinction between your development and test environments beyond the settings in your webpacker.yml; both are local concerns that target the same runtime, i.e., the browser.
  2. Dec 2019
    1. We see that ImageMagick is very good about preserving aspect ratios of images, to prevent distortion of your favorite photos and images. But you might really want the dimensions to be 100x200, thereby stretching the image. In this case just tell ImageMagick you really mean it (!) by appending an exclamation operator to the geometry. This will force the image size to exactly what you specify. So, for example, if you specify 100x200! the dimensions will become exactly 100x200 (giving a small, vertically elongated wizard)
  3. Mar 2018
    1. Becauseでしょう indicates guess, it can be used for current events and past events that we are not certain.

      This is like the subjunctive in English and Spanish, but instead uses a form or the copula, です, instead of conjugating the verb into another form.

    1. ています can be used to mean an action (instantaneous or continuative) takes place on a regular basis.

      For example, "Every year, many people die," or "Every day, he goes to work."

    2. For English, telling the difference between instantaneous and continuative verbs is easy, because we seldom, if ever, use “be +ing” form for the former. For Japanese, however, the situation is complicated, as ていますcan be used with both kinds of verb.

      There is no way to tell the continuity of a verb by simply looking at it. One must understand the concept before knowing the full meaning when paired with ています.

  4. Dec 2015
    1. An aspect of a thingxis a way of viewing it, a particular way in whichxcan be regardedor measured. For example, a woman can be regarded as a person; hence “being a person”is an aspect of a woman. A molecule has a molecular mass (say in daltons), so “havinga molecular mass” is an aspect of a molecule. In other words, byaspectwe simply meana function. The domainAof the functionf:A—Bis the thing we are measuring, andthe codomain is the set of possible “answers” or results of the measurement.

      Naïvely (since my understanding of type theory is naïve), this seems to mesh with the concepts of inheritance for the "is" relationships, and also with type-theory more generally for "has" relationships, since I believe we can view any object or "compound type", as defined here, as being a subtype of another type 'o' if one of its elements is of type 'o'. Though we have to be careful for functional mapping when thinking of aspects: we can't just say Int is an aspect of Pair(Int, Int), since this is ambiguous (there are two ints) --- we must denote which Int we mean.