I have two big stories in the pipeline: first, we’re about to resubmit the our paper about video analysis at scale and then I’ll probably write a blog/website/HN post about it. Stay tuned! Second, I just started my research internship at Snapchat, so more on that at the end of the summer. In the meantime, the digest:
Book: The Circle (★★★☆☆)
You’ve probably heard of The Circle by now—it’s the one that got turned into a movie with Emma Watson and Tom Hanks (I haven’t seen it, but the reviews weren’t stellar). I don’t have a stellar review for the book either. The basic premise is Mae, a young college graduate from a podunk Midwestern town lands a job at the world’s most prestigious/innovative/rich/scary/powerful tech firm, the Circle. The Circle actually covers a wide range of issues relevant to the modern tech industry, particularly within the realm of privacy, knowledge sharing, social media, and so forth; it earns at least one star from me for relevance. Its depiction of tech culture is in parallel to the TV show Silicon Valley, but is more dystopian in nature than humorous. My problem with the book is that its treatment of, well… everything is heavy-handed. None of the characters carry any emotional weight or have any notable character development. For example, while Mae adopts many of the privacy-invading Circle technologies, her foil is an ex-boyfriend who gives stump speeches and writes long letters explaining why privacy is important. I don’t feel like the ex-boyfriend is a character so much as a mouthpiece for the author, and so while I appreciate the book’s exploration of topically relevant themes, it doesn’t do much for me as a narrative.
Game: Factorio (★★★★★)
If you, dear reader, are not a software developer, but want to know what it’s like without paying $200k for a CS degree, then I have the game for you. For only $20 (10,000 times cheaper!) you can get Factorio, a software engineering simulator disguised as a Minecraft extension disguised as a Lego sandbox. The premise of the game is that you are a spaceship pilot crash landed on an alien planet with nothing but your suit and your bare hands (which, come to think of it, is basically the plot of Subnautica…). Your goal is to gather the materials necessary to build a rocket to get yourself off the planet while fending off the locals (angry dogs called Biters). However, unlike Minecraft where materials have to be gathered by hand, the point of Factorio is that everything can be automated. Everything.
Factorio is the most apt metaphor for programming that I have ever seen. It captures all of the fun of automation with all the struggles of software design—how do I lay out my base? How can I refactor my production line once it’s already in place? How can I scale up my existing designs? How can I work with my
legacy code old bases? Solving these problems is what makes Factorio spectacularly fun for me. Easily the best return on investment I’ve made in recent memory.
Idea: Programming Language Pedagogy
As fate would have it, next fall I will be the instructor for cs242, Stanford’s programming language (PL) course. I’m in the process of redesigning the course from scratch (for a number of reasons), and as a part of the process I’ve been scouring the web for syllabuses (syllabi?) from PL courses at other universities such as MIT, Harvard, CMU, Berkeley, UW, Northeastern, and Brown. My first observation was that PL courses have a greater diversity in topics, direction, and philosophy than any other computer science course I’ve ever seen. Topics like computer systems and algorithms tend to be pretty homogenous across colleges, but hot damn, nobody agrees on how to teach PL. This is evidenced by the fact that everyone has their own textbook (Stanford, MIT, CMU, Northeastern), and courses that don’t have their own textbook tend to use a completely custom curriculum or a broad sampling from many of the aforementioned texts. So… why can’t anyone agree?
Well, for starters, PL is a big field. People most commonly associate PL research with type theory (and its many relations—logic, complexity theory, category theory, …), but PL also extends into compiler design and implementation, domain-specific languages, human-computer interaction, and many more subfields. Andy Ko gave a nice taxonomy of the different perspectives on PL and how they influence research in his Splash 2016 keynote. Broadly speaking, PL courses tend to focus either on formal methods and static analysis (CMU, Harvard) or programming patterns and compiler implementation (UW, Berkeley/UW). Teaching PL is still itself an active area of research: some folks from Brown presented at SNAPL 2017 about their new course design that focuses around exploring languages experimentally via “probing” (trying different code and seeing what happens) instead of the normal top-down formal approach. I’m doubtful that such an approach is the right direction long term, but it’s good that instructors are actively trying to mix it up!
As for myself, I’m still undecided as to what to teach for cs242 and how to present it. I’ll make a dedicated post for my proposed curricular design closer to the beginning of the Stanford school year for a deeper dive into the subject.
YouTube channel: Every Frame a Painting
Easily the highest quality videos on film studies that you’ll find on YouTube. Infrequent poster but highly recommended.
Song: Maple Adventure - dark cat
I don’t think I’ll ever get tired of 8-bit music.
OS X Tool: Spectacle
It’s a window manager for OS X. Keyboard shortcuts for full screen, half screen, thirds, and so on. Simple and super useful!