teaching machines

CS 330 Lecture 6 – Regex in Ruby

Agenda what ?s visualizing regex with Regexper asserting filtering with scan, grep, etc. substitutions TODO Start the Regexercise homework. At least the first two problems must be completed before February 20. Remember to follow the Bitbucket workflow. I encourage you to commit and push frequently—do not wait until you’ve got everything working. Code isa.rb nofoo.rb nocomments.rb […]

CS 455 Lecture 4 – Transforms and Indexed Geometry

Agenda what ?s translating scaling rotating indexed geometry TODO On a quarter sheet, solve this matrix multiplication problem: More important than the right answer is the mechanics of the multiplication. Show at least some of your work! With a partner: augment the second renderer to create some rotating non-plane geometric shape of your choosing. Some […]

CS 330 Lecture 5 – State Machines

Agenda what ?s state machines regex parts and pieces atoms alternation grouping quantifiers anchors TODO Write on a 1/4 sheet a Ruby method filter that accepts an array and a block as parameters. It returns an array containing only the elements for which the block returns true. The first homework will be assigned on Friday. […]

CS 455 Lecture 3 – An Interactive Renderer

Agenda what ?s goal: an interactive renderer vertex attributes: per vertex state position color texture coordinates ambient occlusion normals you name it shader programs drawable objects = vertex attributes + shader program uniforms: per draw state handling key events handling mouse events TODO Before next class: On your own: read some tutorials or watch some videos […]

CS 330 Lecture 4 – Ruby

Agenda what ?s language features Ruby via examples TODO Walk through RegexOne. On a 1/4 sheet, draft some regular expressions that match the following: Lines ending with a hyphenated word. Words with an internal uppercase letter. Lines lacking a semi-colon at their close. Don’t match lines that have a semi-colon followed by whitespace. Instances of […]

CS 330 Lecture 3 – Make

Agenda what ?s what does this do? graph this capturing shell sequences with make TODO Try out Ruby at http://tryruby.org. Watch a mini-documentary about Grace Hopper, creator of Cobol, one of the first high-level languages. Respond to these on a 1/4 sheet with 3-4 observations or questions. What Does This Do? Graph Compose a graph showing the dependencies between […]

CS 455 Lecture 2 – Triangles

Agenda what ?s a history of OpenGL an overview of the graphics pipeline some models TODO Before next class: Complete the lab exercise below and send in a screenshot of your main’s console output. Before next Thursday: Read some tutorials or watch some videos on 3-D modeling. (Neal Hirsig offers a complete course.) Build a model of your choosing […]

CS 330 Lecture 2 – Hello, Shell

Agenda what ?s some shell exercises tell me something you know about the shell the UNIX way TODO Set your homework repository. Read Shell Programming with Bash. 1/4 sheet: share 3-4 questions or observations about shells or Bitbucket. I offer you some optional challenge problems, which may be solved with one line of shell code: You […]

CS 455 Lecture 1 – Vector

Agenda what ?s introductions meta program this Who are you? On a 1/4 sheet of paper, please answer the following questions: What’s your name? What city do you call home? What software have you developed that is most memorable? What do you hope to be able to do with what we learn in this class? […]

CS 330 Lecture 1 – Introduction

Agenda what ?s introductions meta define this tell me something you know about the shell Who are you? On a 1/4 sheet of paper, briefly answer these questions: What’s your name? What city do you call home? Suppose work and school were canceled for a year and you were given the freedom to work full-time on some task of […]

1 67 68 69 70 71 110