I just wanted to share this video from 3Blue1Brown on the scale of SHA256. I thought it would be the perfect supplement to our upcoming unit on cryptography and earlier discussions of hash functions.While the video doesn't go in-depth on the technical details of the algorithm, it effectively visualizes the scale of trying to brute-force SHA256. This demonstration reveals why the algorithm has become a cornerstone in various security applications and protocols.
I hereby solicit suggestions for the video of the day. Please email me your ideas with explanations. Selected entries will win 5 homework points. If your video is played at the beginning of class, you must also briefly explain something about the video and something about yourself - in person.
def f(): x1 = 0 x2 = 1 def get_next_number(): nonlocal x1, x2 x3 = x1 + x2 x1, x2 = x2, x3 return x3 return get_next_numberWhat does the above function do? See Closures.
https://pollev.com/slade You may also download the app to your phone. Use the "slade" poll id.
The annual nationwide survey of CS departments (a.k.a. “Data Buddies”) is now live: https://cerp.co1.qualtrics.com/jfe/form/SV_9vFybdrfLKUkVcq/?id=yale_csThis survey measures retention and persistence among CS students, including undergraduate majors, non-majors, and graduate students. It is the main tool that the department will be using to both gauge our diversity efforts, and compare against peer CS departments.
It is run externally by the Computing Research Association, which only provides aggregate data. At no point will we have access to individual answers or identities.
We will be using the survey results to set and prioritize future department initiatives, so this is a great chance to have your voice heard. Please fill it out!
See hw7hints.py You may need to install the module: wordsegment.
pip install wordsegment