February 1st, 2016

Here's the last bonus problem contest problem for the quarter, which relies on your understanding of linked structures, topological sorting (Google is your friend), and geometric algorithms. This one is particularly demanding, so if you tackle this one, understand going in that's it's something of a CS106X Mensa puzzle.

As usual, email me your solution (I'm Jerry) and I'll let you know if you've solved it. I'll let you keep on resubmitting as many times as necessary until you get it.

February 1st, 2016

Here's another bonus problem for those looking for the chance for a free dinner with the course staff and a few other students. I will take the first four students who solve this one (but didn't solve the last one) out to dinner, but I will also take those who solved both out to dinner provided the number of peeps doesn't exceed 8.

Email the solution to Jerry and I'll let you know if you've solved it. I'll let you keep on resubmitting as long as you want until you get it.

January 27th, 2016

Jerry's Thursday office hours, normally 2:45pm until 5:00pm, have been moved to 2:45pm - 5:00pm this coming Friday for just this week. My apologies for the late change.

January 25th, 2016

Truman's office hours for Tuesday (01/26) will be moved to Wednesday (01/27) from 11PM to 1PM for this week only.

January 21th, 2016

Here's a bonus problem for those looking for the chance for a free dinner with the course staff and a few other students.

January 20th, 2016

We want to remind everyone of the resources you have available to get help on assignments.

First, you can always post questions on Slack, or ask your section leader, Jerry, or Truman for help or clarifications.

The LaIR is a computer lab for 106A/B/X students that is staffed by section leaders from 6pm to midnight every Sunday-Thursday (except for the night before holidays). It's a great resource for help with debugging your assignments.

We're also introducing the CLaIR (for Conceptual LaIR). This is a place to get conceptual help, vs debugging help that typically happens in the LaIR. Students can get help with class concepts and high-level assignment help. Assignment code and debugging should stay in the LaIR, but CLaIR helpers can help with section and lecture code.

Both the LaIR and CLaIR are housed on the second floor of Old Union, but the CLaIR has reduced hours (Sunday 8-10pm (except 2/15), Tuesday 8-10pm, Thursday 8-10pm).

To sign up for CLaIR help, speak to the section leader by the LaIR signup computer. This section leader will direct students to the appropriate help area (CLaIR or LaIR).

January 17th, 2016

This just in from Lawrence Murata, who is working with several other students to put on something called Beyond 106. He sent this in an email:

If you're new to tech, we want you! We're bring together engineers from Endless Mobile, Google, HealthTap, Palantir, and Clever to chat about their journeys in technology and social impact. You’ll learn about their work in health tech, education, mapping, and international development.

Oh, did we mention there’ll be free Ike’s? Don’t miss out! Please RSVP here.

January 13th, 2016

Women in Computer Science (WICS) is hosting a casual dinner on Wednesday, January 20th from 6:00pm - 7:00pm in the Women's Community Center.

Everyone is welcome to attend, and no RSVP is necessary!

January 10th, 2016

Several students have noticed some images (e.g. color-wheel.gif) are being clipped at the bottom while other (very small) images (e.g. smiley.png) aren’t displaying at all. This is actually a "feature" of the GWindow class, where the height you specify is supposed to account for the menu car as well. Two equally acceptable solutions:

  • don’t worry about the clipping or any small images, or
  • add a small constant to the image height when setting the window height so that you get enough space for the full image.

To be clear, all images are technically being clipped—even ones like pusheen.jpg and beyonce.jpg—but we don’t really notice it.

January 4th, 2016

Note that those interested in attending a second discussion section that teaches how the CS106X material can leveraged for social good should be sure to express interest by filling out this form. Preference is being given to CS106X students, but we only have space for 15 of you, and admission to the section is, for the most part, granted on a first-come-first-served basis.

Those who attend the CS+SG section (in addition to the traditional discussion section) every week can get one additional unit by signing up for CS199P for one unit under my (Jerry's) name. CS199P is a CR/NC independent study course that I'm permitted to use to grant credit for the pursuit of any CS endeavor. Those leading the CS+SG section will remind you to sign up for CS199P should you attend and want the extra unit.

January 4th, 2016

Here's an announcement from CS106 alum Vicki Niu:

StreetCode Academy is running new computer science classes and programs in East Palo Alto in January, and we need the help of awesome people like you!

StreetCode is an after-school program and community-centered "hacker space" where Stanford students work with EPA youth ages 14 - 24 to unleash their creativity through tech. We have roles for all ranges of commitments, experience levels, and interests (teaching, mentorship, logistics). If you're excited about StreetCode, we want you on the team, so please sign up here!

We'll be running two classes, both 8 weeks long, on Mondays and Wednesdays from 6:00 - 9:00pm during Winter Quarter.

  • Games and Apps: This beginner class will teach students CS concepts and give students experience building projects using App Inventor, a visual programming software that allows for creation of Android apps. Please reach out to Matt Mistele with questions.
  • Programming Fundamentals: This class is geared towards students coming from a range of experience levels. In this class, we will use Java and Processing to teach students many of the core CS concepts (similar to CS106A). Please reach out to Nathaniel Shak with questions.

There will also be several programs that we'll need help with on Tuesdays and Thursdays that are described in more detail on the form.

January 3rd, 2016
  • Welcome to CS106X Winter 2015-2016!

  • WHEN/WHERE: We're meeting MWF 1:30-2:20pm in Building 200, Room 002. When facing Memorial Church from the Oval, Building 200 (more generally known as History Corner) is in the front left corner of Stanford Quad.

  • WHO: Are you still shopping between A, B, and X? The course description is below, and will give you a sense of what we're about. I also recommend you take a look at the CS106 course placement document for excellent advice.

  • WHAT: Students coming to CS106X are expected to have substantial prior experience with programming constructs such as loops, functions or methods, arrays, console and file I/O, standard data types, and classes. In other words, students coming to CS106X are expected to know how to write code. In this course, we transform you from someone who knows how to write some code into someone who can wield the power of the computer in a more expansive, versatile, and fluent way. This course adds powerful new tools to your skillset: managing complexity through abstraction, using recursion to crack big, tough problems by breaking them into smaller solvable problems, and applying analytical tools to evaluate the efficiency of different software design choices.

  • Welcome to the next level, and welcome to CS106X!

Lecturer: Jerry Cain
Office: Gates 192
Office Hours:
  • Wednesdays, 2:45pm-5:00pm
  • Thursdays, 2:45pm-5:00pm
  • By appointment (email to schedule), or knock any time he happens to be in his office.
Lecturer: Truman Cranor
Office: Gates 190
Office Hours:
  • Tuesdays, 12:30pm-2:30pm
  • Fridays, 11:00am-1:00pm
  • By appointment (email to schedule), or knock if he happens to be in the office.
Website Design: : Jess Fisher