teaching machines

CS 330 Lecture 24 – Promises, Tail Recursion, and Currying

Agenda what ?s delaying evaluation tail recursion partially applying functions TODO Read http://learnyouahaskell.com/higher-order-functions again. No quarter sheet. Code macro.c promise.html sum.hs Haiku

CS 455 Lecture 17 – Water and Mirroring

Before Class Water Watch http://youtu.be/3IPB5xKvh1Q. Mirror Watch http://youtu.be/N5H17XTY9Nw. In Class Please work on your homework features.

CS 330 Lecture 23 – Guards, Tail Recursion, and Higher-order Functions

Agenda what ?s replicate program this guards tail recursion higher-order functions map filter lambda TODO Read http://learnyouahaskell.com/higher-order-functions. Quarter sheet. Program This Code today.hs Haiku

CS 330 Lecture 22 – Tuples, List Comprehensions, and Thinking Looplessly

Agenda what ?s logo tuples list comprehensions initials head’ pattern matching case vs. function definition patterns sum’ product’ factorial’ reverse’ Code test.hs Haiku

CS 455 Lecture 16 – Rendering to Textures and Noise

Before Class Rendering to Textures Watch http://youtu.be/0G83PDLoEIE. Watch http://youtu.be/VecElbd8LoU. Read section Rendering to a Texture in chapter 4 (pp. 143-148). Noise Watch http://youtu.be/DRddzJ1gxZs. Watch http://youtu.be/Tx-M0uSwpXQ. Read http://lodev.org/cgtutor/randomnoise.html. In Class Please work on your homework features.

CS 330 Lecture 21 – Hello, Haskell

Agenda office hours: come find me anytime between 9 and 4 midterm discussion the problem with imperative languages: mutability functional languages Haskell implicit typing operators lists and ranges conditionals functions TODO Read http://www.haskell.org/haskellwiki/Introduction. Quarter sheet. Code test.hs

CS 455 Lecture 15 – Skyboxes, Environment Mapping, and Normal Maps

Before Class Skyboxes and Environment Maps Watch http://youtu.be/AOc42rtfwuI. Watch http://youtu.be/HdmRc7seDsg. Read section Simulating Reflection with Cubemaps in chapter 4 of your book, pp. 123-129. Normal Maps Watch http://youtu.be/3BI6J-TiC2A. Watch http://youtu.be/x7zUc38Zik0. Sadly, normal mapping is usually more complicated than presented in the videos. Read section Using Normal Maps in chapter 4 of your book, pp. 116-122. In Class Please work […]

CS 330 Homework 5 – Fun Fun

See the PDF.

Grup

One of my colleagues has sparked our students’ interest in IRC. He and the students have been suggesting I swing by their channel, especially since I’m occasionally the topic of conversation. I applaud my colleague’s barrierlessness, but my dreams of things to do with my family and of things to code and of grant proposals […]

Automatic Alias Creation in Mutt/Vim

A friend has got me thinking about using Mutt again. I gave it up years ago after I was forced to use IMAP for one of my mail accounts, and I didn’t think Mutt was up to the task. I switched to Thunderbird, which lets me do certain things faster. However, I’ve really missed a […]

1 166 167 168 169 170 204