Class Lectures

Feb 7, 2012 : LECTURE

IMPROVING JIBBERISH

    Generate jib
    Pick random word in jib "x"
    Draw a new word "y"
    Swap y for x if
         Rand( 0, #x + #y ) < #y


Feb 7, 2012 : LAB
PEMDAS Calculator with Recursive Tree

1 - 10*(10+10)/(45)-1
            -
         /     1
        -
      1   \
           [ / ]
        /        45
        *
   10   \
            +
        10  10

recurse tree 
do operation between left and right, some return #, some return operation


History/Appreciation of Algebraic notation
     Before such ^ notation, geometric

NOW- demonstrate attempt to create algebra, output in postfix notation

January 31, 2012

  • Resources & cognitive biases
  • Design
    • See table on class site
  • SVN 
    • Analyzing stats
    • history | grep statsvn
      • look for last time statsvn was run and print it
    • svn log -v --xml > svn.log
    • java -jar /PATH/TO/statsvn.jar ........
  • JavaScript
    • (tight functions)
  • GPU vector registers...hmm...
  • Adopting useful/smooth elements of other languages
  • UML
    • Data Structures (DS)
    • Algorithm 
    • NOT THE SAME!!!!



January 24, 2012

  • static member function - don't need an instance of the class to use
    •  suggestion - Spike it
  • Rand function
  • What is design with respect to software?
    • Structural integrity (simple, tested?)
    • Art (abstraction, how problem is subdivided?)
    • Discipline 
A job well done goes unnoticed.