320 likes | 524 Views
Lecture 41. CSE 331 Dec 9, 2011. HW 10 due today. Q1, Q2 and Q3 in separate piles. I will not take any HW after 1:15pm. Finals. Noon- 2:30pm. TALBRT 107. Blog post on the finals up. Fri, Dec 16. Today and Monday. hours-a-thon. Old HW and soins. Atri: Fri, 2:00-3:30 (Davis 319).
E N D
Lecture 41 CSE 331 Dec 9, 2011
HW 10 due today Q1, Q2 and Q3 in separate piles I will not take any HW after 1:15pm
Finals Noon- 2:30pm TALBRT 107 Blog post on the finals up Fri, Dec 16
Today and Monday hours-a-thon Old HW and soins Atri: Fri, 2:00-3:30 (Davis 319) Jiun-Jie: Fri, 3:00-4:30 (Commons 9) Jesse: Mon, TBA (TBA)
Solutions to HW 10 End of the lecture
Reminder Please fill in the feedback forms from the Engineering school
High level view of CSE 331 Problem Statement Problem Definition Three general techniques Algorithm “Implementation” Data Structures Analysis Correctness+Runtime Analysis
If you are curious for more CSE431: Algorithms CSE 396: Theory of Computation
HW 10 due today Q1, Q2 and Q3 in separate piles I will not take any HW after 1:15pm
Communicating with my 2 year old C(x) x y = C(x)+error • “Code” C • “Akash English” • C(x) is a “codeword” x Give up
The setup C(x) x y = C(x)+error • Mapping C • Error-correcting code or just code • Encoding: xC(x) • Decoding: yx • C(x) is a codeword x Give up
Different Channels and Codes • Internet • Checksum used in multiple layers of TCP/IP stack • Cell phones • Satellite broadcast • TV • Deep space telecommunications • Mars Rover
“Unusual” Channels • Data Storage • CDs and DVDs • RAID • ECC memory • Paper bar codes • UPS (MaxiCode) Codes are all around us
1 1 1 0 0 1 0 0 0 0 1 1 Redundancy vs. Error-correction • Repetition code: Repeat every bit say 100 times • Good error correcting properties • Too much redundancy • Parity code: Add a parity bit • Minimum amount of redundancy • Bad error correcting properties • Two errors go completely undetected • Neither of these codes are satisfactory
Two main challenges in coding theory • Problem with parity example • Messages mapped to codewords which do not differ in many places • Need to pick a lot of codewords that differ a lot from each other • Efficient decoding • Naive algorithm: check received word with all codewords
The fundamental tradeoff • Correct as many errors as possible with as little redundancy as possible Can one achieve the “optimal” tradeoff with efficient encoding and decoding ?
Interested in more? CSE 545, Spring 2012
Datastream Algorithms Single pass over the input Poly-log “scratch” space
Data Streams (another application) • Databases are huge • Fully reside in disk memory • Main memory • Fast, not much of it • Disk memory • Slow, lots of it • Random access is expensive • Sequential scan is reasonably cheap Main memory Disk Memory
Data Streams (another application) • Given a restriction on number of random accesses to disk memory • How much main memory is required ? • For computations such as join of tables Main memory Disk memory
Group Testing Overview Test soldier for a disease WWII example: syphillis
Group Testing Overview Can pool blood samples and check if at least one soldier has the disease Test an army for a disease WWII example: syphillis What if only one soldier has the disease?
Compressed Sensing http://www-stat.stanford.edu/~candes/stats330/index.shtml
Moving your data to the cloud http://myhosting.com/blog/2011/06/cloud-storage-vps-vps-remote-fill-storage/ http://1sdiresource.com/pile.jpg
What if the cloud was bad? http://area.autodesk.com/userdata/forum/h/harry_potter_clouds_scene.jpg
It all comes back to the same thing Complexity Theory Coding Theory LIST DECODING
Fingerprints as Passwords Or making “Forgot password” links obsolete Challenges in Fingerprint Matching Using fingerprints securely? Stored fingerprints can be stolen Fingerprint readings are inconsistent Main idea: obfuscate the fingerprint! Hard Matching Algorithms exist Easy Use “error correcting codes” Team: Relevant UBCSE courses: Supported by: CSE 545 (S ‘12) Sergey Tulyakov Jesse Hartloff CSE 666 (S ‘12) Atri Rudra (co-PI) Venu Govindaraju (PI) even in practice…
Whatever your impression of the 331 IT WAS RIDING