Peng Qi

My Scratch Book

  • (Towards) Teaching Tech Without A Dreary Deck

    We can probably all agree that outreach is an integral albeit oft-neglected part of our teaching and research lives, because not only does it generate interest in the broader community around us, but also it is great for promoting diversity in our research environments down the line. However, as I have come to realize, this is not as exactly easy as it seems to be, especially when you are talking to a young and less technical audience.

    Read more…

  • Better Homeworks

    No one deserves to face their creation with an out-dated look, especially if plentiful time and energy is devoted into that creation. For college students that are taking introductory courses, they might not possess the required experience or techniques to always make their deliverables look pretty (or that might), despite the amount of work they have put in to finish their homeworks or projects. In such a scenario, it is then the teaching staff’s job to make their work well paid for with carefully designed homework/project material, to maximize their sense of satisfaction and therefore encourage their engagement in the course.

    Read more…

  • xcodebuild Solution for OS X Mavericks

    Many CUDA developers on Macs that migrated to Mavericks might have experienced one (or as in my case, all) of the following, a) clang: error: unsupported option '-dumpspecs', b) xcodebuild says it requires Xcode but you have Xcode installed already, and c) CUDA examples don’t compile or prompts cudaGetDeviceCount returned 35, maybe more. Here’s a work-around to just that.

    Read more…

  • [Coursera] Machine Learning Notes - Week 1-3

    I recently enrolled in Stanford University’s Machine Learning open course on coursera.org, which is taught by esteemed Prof Andrew Ng. I’ll take some notes that are important to me (and probably many machine learning rookies), and hope this would help in later studies. (Disclosure of homework, homework solutions, and other materials are somehow a bad thing to do, for copyright problems or unfairness of prospective students of that course, but I guess notes would be fine.)

    Read more…

  • Notes on Matlab Parallel Programming

    Recently, I am doing research which involve extensive computation with Matlab. Luckily, most of this computation can be done in a parallel fashion, and this can be instantly accomplished with the Matlab parallel toolbox. During using this toolbox, I summarized some notes that need to be remembered, to accelerate future work.

    Read more…

  • Hyde Tutorial 2: The hyde Template Files

    This post, I think, is important for those who want to re-develop this template on their own site, and especially who has little background of hyde/Django/Python as myself. In this post, I’ll summarize all hacks that I did to the basic hyde template that made this homepage what it looks like now.

    Read more…

  • Compiling QSlim 2.1 under Windows / Visual Studio

    QSlim is a light-weight software developed by M. Garland, which can simplify mesh models swiftly, maximally preserving their geodesic properties. It is very important for model retrieval and other applications that require small data scale as well as relatively accurate geodesic properties to overcome the difficulties of non-rigid transform.

    Read more…

  • Hyde Tutorial 1: The Fancy Corner

    The ““, or as I call it — the “fancy corner”, is a special mark used on this site to mark out images that can be viewed in a larger version with a pop-up window. This blog will explain how this functionality is made possible with FancyBox and jQuery.

    Read more…