Archive

Archive for the ‘Student Projects’ Category

UCOSP Has Grown

November 7th, 2012
Comments Off

One of the last things I did before leaving the University of Toronto was start UCOSP, which gives students in CS a chance to work in cross-country teams on open source capstone projects. I learned recently from Karen Reid and Michelle Craig that it has grown considerably: 20 different Canadian schools are involved in the 2012-13 academic year, and next term, the list will also include Stanford, MIT, University of Texas, Cornell, University of Singapore, University of Tokyo, University of Sichuan, University of Helsinki, Tampere Univ of Tech, Imperial College of London, and Jagiellonian University. Kudos to the organizers: it’s great to see it thriving.

Student Projects

UCOSP

October 1st, 2012
Comments Off

This term, 58 students from 16 universities are working on 8 projects as part of UCOSP. I’m really pleased this has continued to thrive, and impressed once again by all the great work the students, mentors, and organizers are doing.

Student Projects

Slide-Drive is Live

August 16th, 2012

I had the privilege this summer of working with Jeremy Banks, a Google Summer of Code student whose project, Slide-Drive, explored what a web-native presentation tool might be. Jeremy’s work, which is a continuation of David Seifried’s (described in these posts), tries to solve a double-barrelled problem:

  1. Desktop presentation tools (like PowerPoint and Impress) allow people to mix text and graphics freely, just as they would on a whiteboard, but don’t play nicely with the web. If you export a PowerPoint presentation, what you get is a bunch of image files that are opaque to search engines and accessibility tools. More importantly, perhaps, any hyperlinks in them are lost, and any CSS styling you apply to the page has no effect on what’s in the slides.
  2. With HTML-based slideshow tools like S5 and deck.js, on the other hand, text is text, but they severely restrict what can go in a page—basically, you’re back to paragraphs, bullet points, and tables. If you want to draw an arrow from one word to another as you would on a whiteboard, you have to fall back on embedded images (with all the limitations discussed above).
  3. Neither class of tool takes advantage of HTML5′s multimedia features. For example, if you want to connect a slideshow to a voiceover, you have to either create a movie, which means your content is just pixels painted on the screen once again.

Slide-Drive’s approach is to use SVG for the slides rather than PNG or JPEG images, so that hyperlinks work, text can be selected and copied, accessibility tools and search engines can “see” the text, and so on. Synchronization with other media (like a voiceover soundtrack) is done using Popcorn.js (think “jQuery for video”) and Butter, a browser-based multimedia editing tool. This recorded Slide-Drive presentation will show you how it all works, but if you want to see it in action, you can run the presentation in your own browser. (Warning: the source file is large, so it may take a while to load.)

Slide-Drive isn’t ready for everyday use just yet: there turned out to be a lot of nasty surprises lurking in the darker corners of the SVG standard, various browsers’ handling of fonts, and other areas discussed in Jeremy’s blog. But we’re more excited than ever about this approach’s potential; as I said a few weeks ago, some of these ideas could and should be part of any next-generation web-based ebook-slash-teaching-platform. If you’d like to explore it with us, please check it out.

Student Projects

Cross-Country Student Projects This Fall

July 9th, 2011

Karen Reid has posted some news about this fall’s cross-country undergrad capstone open source projects (now you see why we call it “UCOSP”).  Google has once again agreed to be the program’s major sponsor, and Waterloo’s Reid Holmes has joined Karen, Michelle Craig, and Alberta’s Eleni Stroulia on the steering committee.  It promises to be another great term.

Student Projects

UCOSP: That’s Me in the Middle

October 4th, 2010
Comments Off

Andrew Louis has posted a great summary of the Fall 2010 UCOSP code sprint, which took place this past weekend here in Toronto.  Over 50 students and mentors from all across the country spent two and a half days talking, coding, learning, laughing (sometimes at me), and getting to know the city and each other.  This term’s projects include:

Andrew, Karen, Michelle, and Eleni did a great job of pulling everything together, and I enjoyed meeting the two students from Waterloo who have joined the team I’m working with, but it did feel kind of weird to be a bystander instead of in the thick of things. On the plus side, it was very cool to have an ex-student explain to me (very politely) why I’m wrong to insist that unit tests must always stay off-disk.  Maybe the best way to summarize the overall goal of UCOSP is to say that we’re trying to turn students into peers; here’s hoping many more come back to correct me in future :-) .

Student Projects

Three Rules for Supervising Student Programming Projects

August 25th, 2010

Jen Dodd recently posted an article titled “3 rules for running events“, plus one metarule that I particularly appreciated: “Stop deluding yourself.” In the same spirit, I’d like to offer up three rules for running student programming projects. To set the stage, here’s the number of student programming projects I’ve organized, supervised, or otherwise been guilty of since David Wallace first asked me to look after a couple of summer interns in Edinburgh half a lifetime ago:

Students Supervised per Year

Year 1987 1988 1989 1990 1991 2002 2003 2004 2005 2006 2007 2008 2009 2010
Number 2 4 12 14 26 7 13 35 42 34 38 78 110 49

Yes, the numbers for 2008 and 2009 are crazy, but those are the years I ran consulting projects at the University of Toronto and started UCOSP. If you only count students I directly supervised, the numbers for 2008-09 drop back down to the high thirties—say, a dozen or so per term, three terms a year.

So what have I learned in those 23 years?

Rule 1: It’s Not Thirteen Weeks, It’s Three

This was the hardest one for me to learn, and it’s almost always the hardest to get across to both students and their clients. University terms may be thirteen weeks long, but students are usually juggling five courses, and many have part-time jobs as well. That means they can only put eight hours a week into their project without sacrificing grades somewhere else. If you figure a full-time work week is 35 hours, that means students actually spend 8×13/35 = a bit less than three weeks working for you. In that time, they have to:

  • figure out what problem they’re actually going to solve,
  • learn some new technologies,
  • digest the existing code base,
  • get to know their teammates,
  • build something, and
  • jump through whatever hoops are required for getting a grade, like writing a final report or some documentation that no-one will ever read.

That’s an awful lot to squeeze into three weeks: very few open source projects expect their GSoC students to start checking things in after three weeks of full-time work, but students in school are expected to be done in that time. Prof. Karen Reid says that she usually divides the term into three pieces:

I find that I spend the first 3 weeks working hard to get the students up to speed and essentially demanding that they get something real done in the first 3 weeks. In other words, my students are more successful if they push hard at the beginning. After that, they usually have a good idea of what they need to do for the remainder of the term and I can kind of let them set the pace. Then I spend the last 3 weeks defining what it means to be done.

There’s another catch lurking in here too. The iron triangle of project management is scope, schedule, and resources. In a student project, both the schedule and resources are fixed (13 weeks and N students respectively), so the only thing that can give is scope. There are two ways to reduce it: lower quality, or fewer features. Lowering quality is self-defeating—the students you want in a project course are the ones who take pride in their work and care about their grades (which aren’t necessarily the same thing), and they’re not going to like being told that the only way to pass a course is to produce crap.

That leaves the number and scope of features as the only free variable. Problem is, neither students nor clients are going to be excited about fixing a couple of minor bugs or adding one small new feature. If you want to get people on board, you have to aim higher, and be willing and able to reduce scope as the term goes on without making anyone feel like the project has failed—which brings us neatly to our second rule.

Rule 2: It’s Not About Technology

It really isn’t. When I ask students I’ve supervised in the past what they learned in their project, they never mention technology—never. They might have learned Ruby on Rails, or CUDA, or touch-screen interface design, or database performance optimization, but that’s not what they remember afterward. What sticks is how to run a project: how to run a progress meeting, review someone else’s code, manage their time, present their work in five minutes or less, and negotiate scope with a client.

I’ve tried teaching these things in regular software engineering classes, but it has never worked. (This is one of the reasons I have so little use for standard undergrad software engineering textbooks: you can talk about riding bicycles all you want, but the only way to learn how to do it is to do it.) On the upside, once I students understand that I’m trying to teach them process, rather than technology, the problems I mentioned in the previous section are greatly reduced: cutting the set of features we’re going to deliver, for example, becomes an exercise in scope negotiation rather than a failure on the students’ part.

So what goes into a rational student-oriented development process?

  1. A weekly status meeting (face-to-face if possible, online if not). Whoever is running it (me for the first few, one student in turn thereafter) is responsible for drawing up an agenda and posting a summary afterward. They’re also responsible for checking that the previous week’s to-do items were completed, and for keeping the meeting on track (politely, but firmly). The first meeting each term usually runs 90 minutes or so; by the end of term, we can do them in 45 minutes or less.
  2. Version control, ticketing, a blog, an archived mailing list, an IRC channel, and (most recently) code review—in short, the same infrastructure you’d use for a small open source project. You’ll note that “wiki” isn’t on the list: we’ve set them up in the past, but no one has ever made much use of them. You’ll also note that five of these six items are about communication—all six, actually, if you think of version control as a way to share files.
  3. Demos and presentations. I emphasize this less when project teams are distributed across several universities, but if they’re collocated, I expect every team to present or demo weekly or every couple of weeks. I usually don’t give grades for each presentation or demo except to cure procrastination.

And that’s about it. On some projects, I’ll ask students to draw up a plan for the term at the end of their second or third week (i.e., once they’ve learned something about the problem—if they have to do it at the start of term, waterfall-style, all they can do is write some science fiction and hope I won’t hold them to it). On others, there’s some formality around handing off their code to their client, such as submitting it as a patch, doing a presentation at the client site, or showing off their work to all comers at a local pub.

Other people handle process differently, of course. Andrew Ross, of Ingres, says:

I tend not to have regular weekly meetings with my teams. Instead, we have meetings as needed to discuss things that can’t be covered acceptably in emails/IM’s/IRC/calls. We do the latter constantly. The more important underlying concept is keeping students from drifting away and losing contact.

Rule 3: Steady Beats Smart Every Time

I once had three students working on separate projects during the same summer term. Two had straight A’s; the third was struggling to maintain a low ‘B’ average, but he’s the only one I would have hired back, because he was the only one I could actually rely on. One of the ‘A’ students had spent his whole life acing exams, and didn’t know how to do anything else. He panicked when asked, “What do you think we should do next?” Literally—you could see his pulse race and his mouth dry out. The second had the same fatal flaw I had when I was twenty: he’d do the first three quarters of every job in record time, but getting the next 20% out of him was like pulling teeth, and the last 5% never got done all.

The third student, though, was as reliable as a grilled cheese sandwich. If he told me on Monday that something was going to be done on Friday, it was done on Friday; when I asked him, “Where are you?” he always gave me a straight answer: no “almost done”, no “just another couple of bugs” if he hadn’t actually started. It took me a couple of months to appreciate him, but once I did, I started looking for that same quality in every student I interviewed.

Of course, this isn’t to say that every student with low grades is a gem waiting to be uncovered, or that everyone with an ‘A’ average is unreliable. Far from it: grades are a fairly reliable indicator of ability and persistence, especially grades in courses that no one loves. But the correlation is a lot weaker than I, a former ‘A’ student, once believed.

Keep in mind that even the steadiest students will doubt themselves sometimes. Quoting Karen Reid again:

I find I spend a lot of time reassuring students who are climbing the learning curve. Having different levels of expectations for students depending on their background is something I have to explain to students used to the same evaluation standards.

And “steady beats smart” applies to supervisors as well as students. If you’re unreliable—if you miss meetings, promise to do things but don’t get around to them, or pretend to know more about technical matters than you actually do—your students will respond in kind. If you can’t or don’t commit at least 3-4 high-quality hours a week for each project you’re running, it would be better for everyone if you did something else. (This is, by the way, one of the many reasons I prefer team projects to individual ones: the number of hours required per project grows only slowly with the team size, at least up to half a dozen students, so you can reach more students without sacrificing everything else.)

And finally, a metarule:

Have Fun

Students won’t ever enjoy a project more than you do. After all, they have to do all the hard work, like tracking down bugs, while you get to do the fun stuff like argue over what it’s all supposed to do. And if you’re not having fun, they will quickly start to treat the project like just another course. It’s very hard to pull out of that downward spiral, so don’t get into it: no matter what happens, grit your teeth and have some fun. Go out for ice cream; borrow a projector and introduce them to Tron, WarGames, or Startup.com. They’ll remember that long after the course is over, too, and so will you.

Later: a recent study confirmed what most of us probably knew already: what makes people happiest (or saddest) are group events and achievements, not individual accomplishments.  Maybe that’s why students enjoy team projects, and come away appreciating most what they learned about teamwork rather than technology…

Learning, Student Projects

UCOSP Goes to OSCON

August 5th, 2010
Comments Off

UCOSP is “Undergraduate Capstone Open Source Projects”, a program whereby undergrad (and grad) students from universities all across Canada can work together in distributed teams on software development projects for course credit. It’s running again this fall with backing from O’Reilly, Google, and the Canadian Association of Computer Science, and back in July, Andrew Louis (one of the organizers) went to OSCON, the major annual Open Source Conference. His blog post describes what he learned there about efforts elsewhere to get more open source into CS education; there are lots of good pointers, and plenty to think about.

One of my few regrets about leaving academia is that I won’t be working as closely with students on things like this as I used to—it was always tremendously rewarding. If you’d like to be involved as a student, a project mentor, or an academic sponsor, please head over to the UCOSP site and get in touch. I promise you’ll be glad you did.

Student Projects