Bread machine baguette

Baguettes are a wonderful thing, but making a proper baguette requires multiple touch-points over an extended length of time. It’s not difficult by any means, just time intensive. Since I own a bread machine I thought there must be a way to automate the dough. However the Internet does not

Read More »

Three things I’ve come to believe about post modern C++

In no particular order: Template metaprogramming is still evil, and C++11/14 hasn’t fixed anything about it. People argue metaprogramming enables “clean, elegant code,” as if a home built on a garbage dump won’t smell like garbage. If anyone else needs to repair or extend the foundation of your home they’ll

Read More »

The simplest BBQ brisket recipe on the Internet

I recently got a new BBQ smoker, after a 10+ year hiatus from BBQ. Temperature controlled, pellet fed. I had to try a brisket first. But since I was rusty at smoking meats, I read a few articles online about making the “ultimate brisket” and was a little surprised by

Read More »

Ultimate omelet

MASTERS OF BREAKFAST: Episode 1 The trick to the perfect omelet is to borrow a technique from frittatas: broil the omelet under high heat before you flip it. Broiling causes the egg to rapidly expand, yielding a fluffier, moister omelet. And it has the added benefit of decreasing the overall

Read More »

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 »

Projects

Categories
Archives