Rick iOS & macOS & Hardware Developer I make things. Sometimes, I’ll talk about it here.

My Gorram Frakking Blog

California Requirements for Wiring an Oven

Just in case you wanted to know, the Section 422.16 (B) (3) of the California Electric Code for 2013 contains the following:

(3) Wall-Mounted Ovens and Counter-Mounted Cooking Units. Wall-mounted ovens and counter- mounted cooking units complete with provisions for mounting and for making electrical connections shall be permitted to be permanently connected or, only for ease in servicing or for installation, cord-and-plug-connected.

A separable connector or a plug and receptacle combination in the supply line to an oven or cooking unit shall be approved for the temperature of the space in which it is located.

So, if you wanted to replace your oven’s direct wiring with a plug (in case you were experimenting with something that required 240 V power), you’re good to go (assuming you do it right).


I took day trip out to Cardiff, Wales, where a lot of Doctor Who is filmed. Wales is beautiful, and I can't wait to go back. I saw the area where Torchwood Headquarters is, and enjoyed the Doctor Who Experience (which is surprisingly awesome). I also got it into my head that I wanted to see Amy’s duck pond.

Validating a Self-Signed SSL Certificate in iOS and OS X Against a Changing Host Name

We developed a device with which we communicate securely over SSL using a self-signed certificate. The device gets a dynamically-assigned IP address, and that is communicated to the iOS app via other means. By default, NSURLConnection tries to validate the SSL certificate against the hostname, but it was impossible for us to create a wildcard cert that would match.

Cheap Chinese Reflow Oven

I bought the T962A desktop reflow oven many months ago, and finally got around to using it. I ended up scorching boards and parts, so I decided to measure the actual temperatures reached on a few of the curves.

2012 vs 2008

The 2012 elections are over, thankfully. Here's a comparison of how the country voted using more representative visualizations, and comparing the results to 2008.

These maps come from Mark Newman, Department of Physics and Center for the Study of Complex Systems, University of Michigan.

Purple Electoral Map (click to enlarge):

Purple Cartogram (click to enlarge):