285 Matching Annotations
  1. Oct 2017
  2. Jan 2017
    1. where the integrand on the left side is the product of the derivative of an outer function and the derivative of the inner function,

      just a pattern to recognize-- so the derivative of the inside function was obviously 4x^3 (to get here) and the derivative of the outer function was obviously cos(x^4+2)

  3. Nov 2016
    1. implicitly by a relation between x and y such a

      it is implied that it is defined by a relation between x and y

  4. Oct 2016
    1. minh1, «y7j.

      epsilon/7 can be greater than 1, no problem, so by proving epsilon/7 we also prove 1.

    2. 0,|x23|,, then |x23|,1 ? 2,x,4 ?|x13|,7

      But how does this part here prove that if delta = 1, then x^2-9 < epsilon

    3. |x229|−|x13| |x23|,7?«7−«

      This part here proves that if delta = epsilon/7 then x^2-9 < epsilon

  5. Sep 2016
  6. www.student.cs.uwaterloo.ca www.student.cs.uwaterloo.ca
    1. data definitions.

      what is this?

    2. Taking notes helpsfix information in your long-term memory, keeps you active, and allows you to preserve insightsthat you gain during the course of a lecture

      The same way we preserve insights on hypothesis

    3. techniques

      fixed ways of doing things

    1. An application of a user-defined function substitutes some values forthe corresponding parameters in the definition’s expression

      The application of a function will substitute some values in the place of the corresponding parameters in the function's definition (body) expression.

    2. there is at most one choice of substitution;

      Using our current rule-set, there can only be one or no choices for substitution

    3. An application suppliesargumentsfor the parameters

      The arguments themselves are what?

    4. ixed ways of doing things

      ex: for loops

    5. the computed final result is the same as for other choices.

      if you were to do this a different way you would get the same result?

    6. Integers in Racket are unbounded.

      infinitely precise

    7. (6−4)(3 + 2)becomes (∗(−6 4) (+3 2))

      Say that I add open and close brackets around this expression.

      Dr Racket will see this and see that we have one argument (which is also an application) and no defined function... So it will yell @ you

    8. uniformly for functions and operators.

      uniformly meaning constant/consistent results

      so constant and consistent results for the mixing of functions and operators

  7. Jul 2016
    1. childNodes[0] - the first child of the <title> element (the text node)

      There are no nested childnodes beneath it, so of course the title element is the only one. So choose the first. If there was an element nested beneath it, then childNodes[1] would be functional.

    1. we leave it to you to decide just how tolerate search.php will be of abbreviations, punctuation, and the like


    2. $("#q").on("typeahead:selected", function(eventObject, suggestion, name)

      The event handler will be invoked with 3 arguments: the jQuery event object, the suggestion object, and the name of the dataset the suggestion belongs to.

  8. developers.google.com developers.google.com
    1. origin: new google.maps.Point(0, 0),

      like if you want a sprite you would specify a different origin

    1. {...}

      associative array goes here

    2. google.maps.Map

      a constructor

    3.   #map { height: 100%; }

      isn't html and body already declared as having height of 100%?

      Why isnt' that enough?

      ANS :

      "Note that divs usually take their width from their containing element, and empty divs usually have 0 height. For this reason, you must always set a height on the

      <div> explicitly."

    1. $

      alias for literally, "jQuery"

    2. #

      go get w/e element has a unique id of "symbol"

    3. return false;"

      we return false because by default we submit to the same webpage, and if we submit to the page then the page reloads-- not what we're looking for here

    4. <form onsubmit="quote(); return false;">

      is an event handler

      IT handles the event of a submission. :)

    1. #registration

      same as CSS, # refers to element ID

    2. input

      which child element do you want to manipulate, separated with a space

    3. [name=confirmation]

      like an associative array, looking for where the attribute name = confirmation

    1. .

      [dot] operator to access elements like structs in C.

    2. script src

      Point to an external JavaScript file: http://www.w3schools.com/tags/att_script_src.asp

    3. onsubmit attribute within our script, which we know is a valid event listener for a form element.

      from the list of event listeners

  9. Jun 2016
    1. A class method can be called from the class itself.

      This makes sense. If you're calling a class method from outside the class, you do the following 1 - Reference the class 2 - Use a dot operator to call the specific method.

    1. Australian dollar—viewed as a proxy for China's growth—spiked as much as up 1 percent against the greenback.

      China uses Aussie raw materials.

      Chinese demand for the Aussie Dollar is reflected in growth in the dollar. ↑ AUD = ↑ CHINA

  10. May 2016
    1. in a UML diagram

      the thing that the arrow goes down to

      are those objects that extend the properties of the objects above it?

    1. public void actionPerformed (ActionEvent evt){

      What exactly is the action that you're hearing?

    2. A static variable is shared by all objects.

      Since the static variable odes not change between objects. Static information is available even when you don't have an object.

    3. When you design your own classes, you can also include static methods, also called class methods. Class methods are declared with the word static. They can be invoked using the class name, without the need to create instances/objects.

  11. dpcdsb.elearningontario.ca dpcdsb.elearningontario.ca
    1. //Instance Variables private String name = ""; private String sex = ""; private int max_hit_points = 0; private current_hit_points = 0;

      //Constructors Character (String name, String sex, int max_hit_points, int current_hit_points){ this.name = name; this.sex = sex; this.max_hit_points = max_hit_points; this.current_hit_points = current_hit_points; } Character ( ){ this.name = "harvester"; this.sex = "male"; this.max_hit_points = 50; this.current_hit_points = 0; }

      The name, sex, and max_hit_points given to the Character constructor won't override what's in the class by default, will it?

    1. Class - Is the description or the blueprint of an object. Once a class is defined, we can create objects/instances of that class. A class name should be a noun, should begin with an uppercase letter, and each word within the name should also begin with an uppercase letter. Class names may not contain spaces.

      Body of a class - The body of a class starts with an opening brace { and ends with a closing brace }. Member variables are declared after the opening brace, and outside of any methods. Class constructors and methods are coded within the opening brace { and closing brace }. Private variables and methods have a local scope ( visibility ), that extends from the opening brace of the class body to the closing brace. (see Encapsulation)

      Constructor - A constructor is automatically called when an object is created. The constructor is were variables are initialized.

      Getters - Getters or accessor methods are called to determine the value of a variable.

      Setters - A setter or a modifier method is called to change the value of a variable.

      Other Methods - We can include as many methods in the class as we like. Some useful methods are: toString(), equals(), clone(), draw(), etc.

      Client Code - Refers to an application that uses one or more classes. The client can access the methods ot the class, but cannot directly access the data declared private in the class.

    1. label.repaint();

      you cannot access the JFrame from in here esp. using this

    2. this.addMouseListener (new MouseAdapter() {

      adding a mouse listener to THE WINDOW

    1. The statements below placed in the main() method runs the GUI (Graphical User Interface) from an event dispatching-thread. GUIs should ve invoked from an event-dispatching thread to ensure that each event-handler finishes executing before the next one executes. Thorough coverage of this topic is beyond the scope of this lesson. However, the code shown is needed in every application that implements a Swing GUI.

    2. A Swing timer (an instance of javax.swing.Timer) fires one or more action events after a specified delay. You can use Swing timers to perform a task repeatedly. For example, you might perform animation or update a component that displays progress toward a goal.

      Swing timers are very easy to use. You create the timer, and you specify an action listener to be notified when the timer "goes off". The actionPerformed() method in this listener should contain the code for whatever task you need to be performed. To start the timer, call its start() method. In our example, the actionPerformed() method contains a call to the repaint() method. Basically this is how the paint() method is being called. We don't call paint() directly, we call repaint(), and the Java environment will run the paint() method.

    1. It makes sense that we do "addActionListener(this)" because this object is an action listener (We have implemented it, and made it a child of ActionListener. Someone (who?) calls actionPerformed upon an action event )

    1. g2.drawString("Hello world", 100, 100)

      How does g2 know where to paint? Is it because it is in the JFrame object? And within the paint method?

    2. this

      this is whoever is drawing the object, in this case it is this, which is the panel itself

      the panel itself is the object we are inside of, (the one who called paint)

      • fill
      • setStroke
      • setPaint
    3. so whenever paint is called, it is passed an argument g which we then modify.

      so it paints based on what we have modified on the next run

    4. Graphics2D.draw = with a stroke Graphics2D.fill = fills shape

    5. (which is the halfway point of the right side of the rectangular area).

      • <-- first quadrant in the grid
    6. super acts on the parent object.

      So it is calling JFrame's (who is FirstFrame's parent-- FirstFrame inherits JFrame's properties (i.e: parent)) paint method.

    1. frame.setSize

      Calling the object's method

    2. super

      If your method overrides one of its superclass's methods, you can invoke the overridden method through the use of the keyword super.

      Here, we are invoking the superclass's constructor

    1. A class can only "implement" an interface. A class only "extends" a class. Likewise, an interface can extend another interface. A class can only extend one other class. A class can implement several interfaces.

      Extends makes it a child, inherit the class' methods and shit. You can override its shit if you want.

      Implements allows you inherit the constants that are declared, and you can define these constants. The way that works is it provides a bunch of empty methods, and you fill in the gaps

    1. gives Biff a host of tips about asking for a loan from one of Biff’s old employers, Bill Oliver.

      page 49

    2. Happy intervenes and eventually proposes that he and Biff go into the sporting goods business together.

      page 46

    3. Happy grows angry and rebukes Biff for his failure in the business world

      page 44

    4. Biff tells her that he knows Willy is a fake, but he refuses to elaborate

      page 42

    5. As Ben is about to leave, Willy daydreams further, and Charley and Bernard rush in to tell him that Biff and Happy are stealing lumber.

      page 36

    6. Charley offers Willy a job, but Willy, insulted, refuses it.

      page 29

    7. Charley, having heard the commotion, enters.

      page 28

    8. As Linda consoles him, he hears the laughter of his mistress.

      page 24

    9. Willy points out to his sons that although Bernard is smart, he is not “well liked,

      page 18

    10. He praises his sons, now younger, who are washing his car

      page 15

    1. 3.1 Post-battle, Regan tries to fight with Goneril over Edmund, but finds herself too sick to really do anything. We find out later that Goneril has poisoned her, and Regan dies offstage.

      Still fighting over Edmund, dies of poision

    2. 5.1 In the middle of a pre-battle hookup with Edmund, Regan demands to know if he and Goneril have done the deed behind Albany's back. Edmund tells her she's crazy.

      "did they do anything?" --no answer

    3. Regan gets letters from both her father and Goneril about a fight at Goneril's house. To avoid having to take Lear into her own house, she shows up at Gloucester's castle and asks to stay the night.

      There's a fight i'm coming to your house ~ lear

      he's coming over ~Goneril

    1. Lear had planned to live with Cordelia when he retired.

      He did wrong here, he is the one sinning

    1. Stockholder's equity is the capital received from investors. So, treasury stock cannot be included as a company cannot invest in itself.

      So upon a share repurchase, both cash and equity is decreased by the same amount

    2. Stockholder's equity (=Share capital + retained earnings - treasury stock) is the money invested in the company

      So it makes sense that retained earnings is a part of it.

  12. Apr 2016
    1. say on pay

      "Say on pay is a term used for a rule in corporate law whereby a firm's shareholders have the right to vote on the remuneration of executives." (src)