(That means you!) Develops: - Compilers - Debuggers - Operating systems Works in embedded systems. Customers include: Toyota, Boeing, HP, Nintendo, Lockheed Martin, and NASA Submit your resume on Gaucho Link before October 26th! Info session: 11/5/12, 6pm in the UCen SB Mission Room
.NET Software Test Engineer Intern at their Santa Barbara office • Build your skills in the latest Microsoft tools including Visual Studio, SQL Server, C# • Use agile development methodology and write code in a team environment • Flexible hours around your class schedule, $16/hr • Send a resume to: [email protected]
• The regional contest is coming up and we need people to sign up! • Teams of 3 - sign up with a group or we can match you with people • Talk to one of us or email [email protected]
cluster • Total memory: 1TB (16GB SD cards on each unit) • Uses Message Passing Interface (MPI) over Ethernet • First task: Calculate Pi on the Raspberry Pi using MPI Raspberry Pi - "supercomputer" cluster
left and right with a hand • Demo: http://iambrandonn.github.com/WebcamSwiper/ • Blog post + link to source: http://tripleequals.blogspot. com/2012/09/webcam-swiper.html
called numPizzas, that takes the number of people present, the number of slices in a pizza, and the time of day, and returns the number of pizzas to buy (as a whole integer). • More info is on handouts - grab a copy! Coding Time!
* 2) : numPeople (total_slices / slicesPerPizza .to_f).ceil end between?(x, y) useful for range checking • 2.between?(0, 10) => true ◦ Calling a method on integer literal 2 - everything is an object in Ruby! Ruby
$ if t `elem` [11..22] then p * 2 else p Background: • $ calls the function (which is the left argument) on the value which is the right argument • if-statements are expressions that evaluate to values • backticks apply a function using infix notation ◦ plus 1 2 is equivalent to 1 `plus` 2 ◦ No parens around args for function calls So: • (/ s) generates a function which takes the value to the right of the $ and divides it by s • ceiling is then evaluated on the result
is my friend! :) Start a remote session! • ssh <username>@csil.cs.ucsb.edu Or log on to a specific machine: ssh <username>@<machine>.cs.ucsb.edu Ex: ssh [email protected] Connecting to CSIL
computer to your CSIL account File: scp hello.txt <username>@<csil.cs.ucb.edu:hello.txt Directory: scp test/ <username>@<csil.cs.ucb.edu:test • Then you can remote login for turnin, etc Sort of a pain. (I cheat and use a GUI FTP client like FileZilla) http://filezilla-project.org/ Uploading Files