20 Matching Annotations
  1. Jan 2019
  2. Sep 2018
    1. snails. Histograms are much more powerful than just being able to show useful trends. You can use them to infer things about a large group of individuals (a whole population) by only looking at a small group of them (

      What is a snail?

  3. Mar 2018
    1. only weak in water

      Everything in a cell technically happens "in water", but the hydrophobic inner layers of proteins do not have as much water as the outside, making the ionic interactions in the inside rather strong, and the ionic interactions outside in the cytosol rather weak (20kJ/mol).

  4. Feb 2018
    1. coin <- c("heads","tails") flip <- sample(coin, 1) if (flip == "heads") { "Do it" } else { "Do it anyway" }

      This is a simple program written using R, which is one of the most popular programming languages in the world for scientific or non-scientific research, and which has tons of open-source, free resources. This entire ebook is written and hosted online entirely for free using an R library called Bookdown.

      You do not need to know R for any introductory classes at queens college. Instead, CS111 and CS211 use C++, the language R was made with, which is somewhat similar. A fun exercise for yourself in the semester would be to write this program using C++ (a function called rand() would help you with that).

      The program itself simply simulates flipping a coin. If the coin is heads, the program spits out "do it". If it's tails, it spits out "Do it anyway". You can see the result at the bottom next to the [1].

      To see what each line does, walk through each annotation of the lines.

    2. coin <- c("heads","tails")

      This line takes in a list of two words ("heads" and "tails") and stores it in a variable called coin. In programming, "words" like this are often called strings.

      The arrow is called an "assignment operator", which is just a fancy way of saying it takes the thing on the right and "assigns" the name on the left to it, which results in the thing on the right getting stored with that name in your computer's memory. Usually the equals sign = is used for this in programming languages, but in R it's an arrow <-.

    3. flip <- sample(coin, 1)

      This line uses a function in R called sample(), which takes the list coin, and chooses one of the words in it randomly (the 1 means "choose only one word").

      Functions are anything which takes something in, does something to it or something else, and spits something out (your oven is a function). The arrow is taking what is spit out by the function (the result of the coin flip), and putting it in a variable called flip.

      To put something in a function, put it in the parentheses (usually you have to stick the thing in a variable, like we did with the list we put in coin). Many functions take in more than one thing (these are multivariable functions).

      This ebook was hosted on the internet using exactly one line of code which includes exactly one function, this one:

      publish_book()

      So you can do a lot with computers without knowing much programming!

    4. if (flip == "heads") {

      This line, and everything after it, form something called a "conditional". All conditionals look something like this, even in other languages like C++ or Python:

      if (some sentence) {
          Do this
      } else {
         Do some other thing
      }
      

      The sentence in the parentheses right after the "if" is called "the condition". All this thing does is check if the condition ("some sentence", or in this case, the result of the coin flip being the word "heads") is true. If the condition is true, the thing in the curly brackets happens.

      If the condition is not true, the thing in the second pair of curly brackets happens (that's why there's an "else" there). Essentially a conditional is saying "if this happens, do this, but if anything else happens, do this instead".

    1. collaboratively suggest changes to a guide to it, as well as highlight it

      This is an example of an annotation. Whenever you highlight text, you'll see the option to make a note about what you highlighted, or just leave it highlighted for future reference.

    1. and you’ll notice a little widget comes out that lets you highlight or annotate text.

      Here's an example of an annotation. It's just a comment you can make on some highlighted text you wanted to talk about. You can see this annotation when you load the page, and make a reply to it. You can also use cool things like latex by typing an equation with dollar signs surrounding it:

      $$y = \textrm{some number} \times 5^{2}$$

    1. Open CUNY

      The animation above here is cyclohexane, an organic compound, moving through its possible orientations. It was made using Chem Doodle's open-source web components library.

      In case you just clicked here wondering why the text is highlighted, this comment pane is hypothes.is, an open-source tool meant to get people to interact on webpages. If you hit "sign up", you can make an account, and hypothesis will save any comments you make about text on a web page, and it will save things you highlighted so you can study them later.

      If you'd like to know more about it, or this web page, one way to find out is to just comment or reply here!

    1. Viruses require host cell to replicate cause range of diseases, some cancers

      In how much detail should we know the differences between Viruses, Viroids, Virusoids, and so on?

    2. The particular lipids that formed the first cells had two parts, a polar top part (a head) and a non-polar (hydrophobic) tail. Because of these tails, lipids gather into bubbles with their hydrophobic (“afraid of water”) tails pointed inwards and their heads outward.

      Do you think we should ask Prof. Dennehy how relevant the chemistry of lipids hiding from water is? That is, should we know a lot about entropy?

  5. Jan 2018
    1. This is a book published using the R Markdown language. R Markdown supports Latex, so you can make pretty equations like Professor Kalpener likes: a2+b2=c2a2+b2=c2a^2 + b^2 = c^2. To type inline latex, just surround your code with dollar signs. That was published like this: $a^2 + b^2 = c^2$

      This is a test!

    1. Hydrogen bonds form between negatively

      This is an annotation. You can highlight text and comment on it to suggest a change or addition to the book, or you can just ask a question about it for further clarification. For large additions to the book, make a change to the code on GitHub using the edit button in the toolbar in the top right corner next to the capital A.

    1. Hydrogen bonds form between negatively charged oxygen and positively charged hydrogen in water. Polar biomolecules disrupt these bonds and form their own hydrogen bonds with water, solvating them.

      I wrote this! And the site works! Eureka!