CS10 The Beauty and Joy of Computing Lecture #17 Higher Order Functions I 2011-03-30 Silicon (normally what processors are made of) is rigid and expensive,

Slides:



Advertisements
Similar presentations
The Beauty and Joy of Computing Lecture #19 Higher Order Functions II Instructor: Sean Morris Twitter Can Tell Whether Your Community Is Happy or Not
Advertisements

GRAPHICALLY CHALLENGED BACK TO SCHOOL NIGHT PRESENTATION: Computer Science Edition Gunn HS, Palo Alto (CA) Thank you for donating to PiE!
Silicon Valley CSTA Presents: The Beauty and Joy of Computing Josh Paley, Teacher Computer Science & Mathematics Henry M. Gunn HS (Palo Alto, CA)
CS10 The Beauty and Joy of Computing Lecture #12 Social Implications of Computing II The Global Network Initiative (founders of a “code of conduct”
The Beauty and Joy of Computing Lecture #18 Higher Order Functions I Instructor: Sean Morris
The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Instructor : Sean Morris Watch the student testimonials about the course, what it means.
The Beauty and Joy of Computing Lecture #18 Besides Blocks I: Intro to Python Amazon Dash is Not an April Fools Joke UC Berkeley EECS Head TA Michael Ball.
CS10 The Beauty and Joy of Computing Lecture #21 Artificial Intelligence IBM’s Watson is being used by researchers in Canada to “provide early.
CS61C L23 Combinational Logic Blocks (1) Garcia, Spring 2007 © UCB Salamander robot!  Swiss scientists have built a robot that can both swim and walk.
CS10 The Beauty and Joy of Computing Lecture #10 Social Implications of Computing Having just returned from the UC Online Pilot Project Workshop,
CS10 The Beauty and Joy of Computing Lecture #11 : Recursion II Microsoft filed a patent that proposed to use the 3D depth camera to estimate.
CS61C L20 Synchronous Digital Systems (1) Garcia, Spring 2010 © UCB Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS61C L20 Synchronous Digital Systems (1) Garcia, Fall 2006 © UCB Blu-ray vs HD-DVD war over?  As you know, there are two different, competing formats.
CS10 The Beauty and Joy of Computing Lecture #19 Distributed Computing Researchers at Indiana U used data mining techniques to uncover evidence.
CS10 The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction At CES 2011 in Vegas, companies showed lots of tablets and internet TV.
CS10 The Beauty and Joy of Computing Lecture #5 : Programming Paradigms Intel has shown demos of the game Wolfenstein whose visual images weren’t.
CS10 The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Watch the student testimonials about CS10, what it means to them, and how.
CS10 The Beauty and Joy of Computing Lecture #25 : Tree Recursion The newly released (and much- hyped) Microsoft Kinect system for the XBOX.
CS61C L20 Synchronous Digital Systems (1) Garcia, Spring 2007 © UCB Disk failures 15x specs!  A recent conference reveals that drives fail in real life.
CS61C L20 Introduction to Synchronous Digital Systems (1) Garcia © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
CS10 The Beauty and Joy of Computing Lecture #23 : Limits of Computing Thanks to the success of the Kinect, researchers all over the world believe.
Prof Ali Javey’s group’s may have found the replacement for Silicon to make transistors. (Silicon will be too expensive and “leaky”.) They can make “fast,
CS39N The Beauty and Joy of Computing Lecture #6 : Programming Paradigms In response to a 30,000+ signature petition, British PM Gordon Brown.
CS10 The Beauty and Joy of Computing Lecture #11 : Recursion II Will Apple continue to thrall its users with outstanding technology amidst tons.
The Beauty and Joy of Computing Curriculum and the AP CS: Principles project Brian Harvey, UC Berkeley Dan Garcia, UC Berkeley Jens Mönig, MioSoft.
CS10 : The Beauty and Joy of Computing Lecture #10 Social Implications of Computing CS10 has been chosen as one of 30 courses (all across 10.
The Beauty and Joy of Computing Lecture #6 Algorithms Alan Turing ( ) would have turned 100 this year. He was a brilliant British mathematician.
The Beauty and Joy of Computing Lecture #25 Summary & Review Facebook’s purchase of Oculus Rift is one indication that this is an incredibly HOT potential.
The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Watch the student testimonials about the course, what it means to them, and how it has.
UC Berkeley EECS Head TA Michael Ball The Beauty and Joy of Computing Beyond Blocks Python Session 2: Data Structures UC Berkeley EECS TA Peter Sujan (thanks.
CS10 Final Review by Glenn Sugden is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.Glenn Sugdenmons Attribution-NonCommercial-ShareAlike.
UC Berkeley’s CS 10 The Beauty and Joy of Computing 2009Fa : 16 students (half course) 2010Fa : 90 students (full course) 2011Sp : 120 students (full course)
The Beauty and Joy of Computing Lecture #12 Social Implications of Computing II A mystery program placed stock orders, then immediately cancelled them,
The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Watch the student testimonials about the course, what it means to them, and how it has.
The Beauty and Joy of Computing Lecture #25 Summary & Farewell Google’s “Project Glass” hopes to bring all services from Android to a display you carry.
The Beauty and Joy of Computing Lecture #25 Summary & Farewell Google’s “Project Glass” hopes to bring all services from Android to a display you carry.
CSC 1701B Computing: Science and Creativity
The Beauty and Joy of Computing Lecture #5 Programming Paradigms Story details the move to Digital of many things precious to us – music, photos, videos.
CS10 The Beauty and Joy of Computing Lecture #11 : Recursion II Instructor : Sean Morris Security Flaws in your OS
UC Berkeley EECS Sr Lecturer SOE Dan Garcia printing-aims-to-prevent-a-piracy-plague/ Quest.
The Beauty and Joy of Computing Lecture #25 Summary & Farewell Facebook’s purchase of Oculus Rift is one indication that this is an incredibly HOT potential.
The Beauty and Joy of Computing Lecture #3 : Creativity & Abstraction UC Berkeley EECS Lecturer Gerald Friedland.
CS61C L26 Combinational Logic Blocks (1) Garcia, Spring 2014 © UCB Very fast 3D Micro Printer  A new company called Nanoscribe has developed a fabrication.
The role of data mining in the last presidential election. A mind-blowing piece on how the Obama campaign used various sources of data to target voters.
CS10 The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction The algorithm is rapidly taking over vital functions of businesses, from.
CS10 : The Beauty and Joy of Computing Lecture #13 Social Implications of Computing The FBI busted an Estonian company in November 2011 for.
The Beauty and Joy of Computing Lecture #6 Algorithms MIT researchers recently created an algorithm which they say will be able to predict what topics.
The Beauty and Joy of Computing Lecture #10 Social Implications of Computing Online education now has a player in the open access / free education space,
CS10 The Beauty and Joy of Computing Lecture #2 HowItWorks : 3D Graphics AppleInsider reports that the next iPads (and iPhones) will have a.
SIGCSE 2009 : Chattanooga, TN 10:45-noon Rediscovering the Passion, Beauty, Joy, and Awe Making Computing Fun Again, continued.
The Beauty and Joy of Computing Lecture #6 Algorithms I UC Berkeley EECS Sr Lecturer SOE Dan Garcia.
The Beauty and Joy of Computing Lecture #23 Limits of Computing Researchers at Facebook and the University of Milan found that the avg # of “friends” separating.
The Beauty and Joy of Computing Lecture #5 A Computer Science Research Field: Multimedia Computing
The Beauty and Joy of Computing Lecture #17 Social Implications of Computing III Instructor: Sean Morris Online education now has a player in the open.
“The coolest phones we’ve seen from the world’s largest mobile show so far include quad-core chips, larger screens, and even one with a projector built.
The Beauty and Joy of Computing Lecture #11 Recursion II Toby Shachman created this amazing spatial programming language called “Recursive Drawing” that.
The Beauty and Joy of Computing Lecture #12 Social Implications of Computing I Online education now has a player in the open access / free education space,
Hank Childs, University of Oregon Jan. 30 th, 2014 CIS 610: Vector Models for Data-Parallel Computing.
CS10 The Beauty and Joy of Computing Lecture #20 Pyhton II UC Berkeley EECS Lecturer Gerald.
UC Berkeley EECS Sr Lecturer SOE Dan Garcia printing-aims-to-prevent-a-piracy-plague/ Quest.
CS61C L20 Thread Level Parallelism II (1) Garcia, Spring 2013 © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Watch the student testimonials about the course, what it means to them, and how it has.
UC Berkeley EECS Lecturer SOE Dan Garcia The success of Apple’s Siri (only available on the iPhone 4S) has sparked competition, to be sure. Google’s IRIS.
CS10 The Beauty and Joy of Computing Lecture #4 : Functions UC Berkeley EECS Lecturer SOE Dan Garcia Researchers at Microsoft and UW are working.
UC Berkeley EECS Sr Lecturer SOE Dan Garcia Valve (video game makers of Half-Life) believes the future of video games may not be in the input device (ala.
CS10 The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction
UC Berkeley EECS Sr Lecturer SOE Dan Garcia
The Beauty and Joy of Computing Lecture #4 Functions
CS-401 Compute Architecture & Assembly Language Programming
Presentation transcript:

CS10 The Beauty and Joy of Computing Lecture #17 Higher Order Functions I Silicon (normally what processors are made of) is rigid and expensive, and researchers in Europe have just used 4k plastic transistors to create a flexible microprocessor 2cm 2 big. UC Berkeley EECS Lecturer SOE Dan Garcia technologyreview.com/computing/37126 Ulf and Sean from Achern in Germany Let me know how the Emotiv works out! (Image Credit: Technology Review)

UC Berkeley CS10 “The Beauty and Joy of Computing” : Higher-Order Functions (2) Garcia, Spring 2011  Functions as Data  Higher-Order Functions  Useful HOFs (you can build your own!)  map Reporter over List  Report a new list, every element E of List becoming Reporter(E)  keep items such that Predicate from List  Report a new list, keeping only elements E of List if Predicate(E)  combine with Reporter over List  Combine all the elements of List with Reporter(E)  This is also known as “reduce”  Acronym example  keep  map  combine Today

combine with Reporter over List a b c d

UC Berkeley CS10 “The Beauty and Joy of Computing” : Higher-Order Functions (4) Garcia, Spring 2011 foo a) aa Peer Instruction

UC Berkeley CS10 “The Beauty and Joy of Computing” : Higher-Order Functions (5) Garcia, Spring 2011 Summary  Functions as data is one of the two (programming) big ideas in this course  It’s a beautiful example of the abstraction of the list iteration details  Google (and other companies) use this!  They use “map-reduce” (Credit: Geekologie) (Image Credit: Simply Scheme by Brian Harvey & Matt Wright)