Search for tag: "generators"

Zoom Dec. 3. Generators

In this presentation we will review, generators which lead into the last major topic of the course (coroutines). Once again, this will involve a lot of visualization.We also start off this…

From  Hannah Lee on December 3rd, 2020 15 plays

Lesson 29.5 Timed Animation

Our primary application of coroutines in the final assignment is timed animations. In this video we talk about what these are and how to design them with the GameApp class.

From  Hannah Lee on December 3rd, 2020 33 plays

Lesson 29.4 The yield Statement

While generators are coroutines, the communication only goes one way: from the child to the calling parent. In this video we show how to reverse this communication, passing down information from the…

From  Hannah Lee on December 3rd, 2020 35 plays

Lesson 29.3 Generators Revisited

In the previous video, we said that generators are a type of coroutine. In this video, we explore this idea. We use yield statements to write generators that are a little more sophisticated than…

From  Hannah Lee on December 3rd, 2020 36 plays

Lesson 29.2 Coroutines

In the previous video we introduced the term coroutine but did not actually define it. In this video we give a more concrete definition. As a result, we see that coroutines and generators have a lot…

From  Hannah Lee on December 3rd, 2020 33 plays

Lesson 28.7 Iterator Chaining

Generators take iterators as input, but they also produce one as output. In this video we show how to chain iterators together, doing complex operations on our data.

From  Hannah Lee on December 3rd, 2020 23 plays

Lesson 28.5 Generator Design

Now that we know how generators work, it is time to write our own. In this video we show how easy it is. We just take out experience with the accumulator pattern and replace the accumulator with a…

From  Hannah Lee on December 3rd, 2020 26 plays

CNF 35th Anniversary Morning Talks

Roger Howe (Stanford) Neil Gershenfeld (MIT)

From  Karlis Musa on February 19th, 2020 23 plays

Ezra's Round Table/Systems Engineering Seminar, 3/30/2012 - Leon McGinnis: Model Based Systems Development

Friday, March 30 at 12:00pm Frank H.T. Rhodes Hall, 253 Those who design or manage large scale complex systems--such as the Mars orbiter, the Boeing 787, a global manufacturing system, a health care…

From  E. Cornelius on April 23rd, 2018 15 plays

Ezra's Round Table - February 4, 2011 - Mark Jacobson

Ezra Round Table Guest Lecture #1 http://www.stanford.edu/group/efmh/jacobson/ Host: Oliver Gao Mark Jacobson February 4, 2011

From  E. Cornelius on March 4th, 2018 4 plays