Author: regehr

  • Raspberry Rockets

    One of the things I most enjoy about teaching embedded systems is that the students show up with a very diverse set of skills. Some are straight-up CS, meaning they can hack but probably are intimidated by a breadboard, logic analyzer, or UART. Others are EE, meaning that they can design a noise-free circuit or…

  • Minimum Pubs for a PhD in CS?

    Some of the faculty in my department would prefer that we don’t award a PhD to any candidate who hasn’t published at least three good papers. I’m curious if this is common and if people generally have strong feelings either way about this kind of requirement? Some web searching turned up not much information: UConn…

  • Gaining Confidence in Confidence Intervals

    Many computer scientists, including myself, end up doing research that needs to be evaluated experimentally, and yet most of us have had little training in statistics or the design of experiments. We end up teaching ourselves this material as we go, which often works pretty well. On the other hand, sometimes the issues are surprisingly…

  • Spiral Jetty

    Smithson’s Spiral Jetty is often totally submerged, or else high and dry as it was when I last saw it. Today a favorable lake level as well as warm weather and a feeling of having spent maybe one too many days around the house motivated us to take a day trip. The hazy air and calm water…

  • A Few Thoughts on Scratch

    Over the last year or so my older son, who is about to turn eight, has spent maybe one morning a month creating a video game using Scratch. This doesn’t seem like a lot of time to spend learning to program, but I’ve been trying to avoid pushing. Our usual mode of operation is that…

  • Fastest FizzBuzz

    The always-entertaining FizzBuzz problem came up again on Hacker News today, and for no other reason than I just got out from under a nasty deadline, I looked around on the net for interesting solutions, for which this Rosetta Code page is a gold mine. The Windows batch file and BSD make versions are hilarious,…

  • Writing Solid Code

    After 10 short years as a university-level CS instructor, I’ve finally figured out the course I was born to teach. It’s called “Writing Solid Code” and covers the following topics: Testing—There are lots of books on software testing but few that emphasize the thing I need students to learn, which is simply how to break…

  • Around Hanksville Utah

    Last weekend Sarah had a work trip so the boys and I spent a few days in the desert. The area around Hanksville–a tiny town right in the middle of Utah’s southeast quadrant that got electricity only in 1960–contains a lot of stuff I hadn’t seen yet, so we operated out of a motel there.…

  • How Did Software Get So Reliable Without Proof?

    Tony Hoare’s 1996 paper How Did Software Get So Reliable Without Proof? addresses the apparent paradox where software more or less works without having been either proved correct or tested on more than an infinitesimal fraction of its execution paths. Early in the paper we read: Dire warnings have been issued of the dangers of…

  • EMSOFT 2012

    I just got back from Tampere, Finland where I was one of the program chairs for EMSOFT, an embedded software conference. If I haven’t blogged about this much, it’s because I’m sort of a reluctant and not especially talented organizer of events. Happily, EMSOFT is just one third of the larger Embedded Systems Week, so…