Creating lesson files for Yamaha YPG-235

I recently picked up a YPG-235 off Craigslist. One of the reasons I sought it out was for the “lesson mode” (or “Yamaha Education Suite”) where it helps you learn songs by displaying the notes and pausing the song for you until you hit the notes. You can do the same with a

Read More »

Displaying a sequence of images in iPython Notebooks

You can rip a sequence of images into an mp4 and display it inline in an ipython notebook using a function like this: import matplotlib.pyplot as plt from matplotlib import animation from IPython.display import display, HTML def plot_movie_mp4(image_array): dpi = 72.0 xpixels, ypixels = image_array[0].shape[0], image_array[0].shape[1] fig = plt.figure(figsize=(ypixels/dpi, xpixels/dpi),

Read More »

Compiling OpenCV 3.1 on Ubuntu 16.04

16.04 uses gcc 5.4 by default. You’ll need to install gcc 4.9 and configure OpenCV to use 4.9 instead: sudo apt-get install g++-4.9 cmake -DCMAKE_C_COMPILER=/usr/bin/gcc-4.9 -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.9 . If you have CUDA installed you may want to disable compiling the CUDA libraries as well, or else suffer another hour+ of compilation

Read More »

Cheater chashu ramen

I’ve been on a quest this last year to find a home ramen recipe that’s easy, fast, and tastes somewhat authentic. So far my conclusion is such a thing doesn’t exist! Really good chashu takes 12+ hours (and requires a cut of pork belly–not always easy to find) and a

Read More »

Mailing lists considered harmful

I often catch myself telling people how much I hate mailing lists. It’s usually around the point in the conversation when I realize they’re giving me the “you’re a crazy person” look. Before you give me the same look, hear me out! How often have you said or heard: Who’s on

Read More »

Accessing the OBDLink SX USB Scantool on MacOS X

The OBDLink SX is an inexpensive USB OBDII scantool marketed by ScanTool.net. It’s sold as a Windows-only scantool and comes packaged with some very simple OBDII software. Not much exists on MacOS X for CAN monitoring, but I was still curious if I could access my car through my Mac.

Read More »

Crazy-simple Pot Roast

Lynne did a show recently where she mentioned off-hand that if you use your dutch oven on a cooktop instead of your oven you’ll get similar results and save a lot of energy. We’ve always done roasts in the oven and we had a roast in the fridge so I

Read More »

Matsutake Bisque

Fall is matsutake season in the Pacific Northwest. We went mushroom hunting last weekend and came back with a few pounds–they’re easy to find if you know where to look. 1 lb fresh matsutake mushrooms, sliced thin 1 medium yellow onion 4 cups beef stock 4 tbsp butter 3 tbsp

Read More »

Quick “Tonkotsu” Ramen

Inspired by this article at The Food Lab on making tonkotsu ramen at home, but not inspired by the crazy prep time (12+ hours), I thought I would attempt speeding the process up with a pressure cooker, substituting a little chicken broth and skipping the chashu pork. It turned out

Read More »

Projects

Categories
Archives