Categories
General

Slow-roasted pork ribs

Slow-roasted pork ribs

It’s winter, so while firing up the grill may sound fun, I’d rather fire up the oven. There are a lot of ways to cook pork ribs in the oven. I like the method in James Beard’s Theory and Practice of Good Cooking of roasting until they’re just cooked or still a little pink, but sometimes I want a more crispy on the outside and falling apart on the inside rib. Spare ribs are probably the best choice for this because they’re usually cheaper than baby back ribs – since I’m cooking them a long time tenderness doesn’t matter and the extra connective tissue will dissolve and get tasty. Country-style ribs, which usually appear to be strips of pork shoulder, also work great, as do…strips of pork shoulder.

To get started, set the oven to around 400 F. Leave your ribs together as much as possible to maintain juiciness, cutting them up just enough to fit into your roasting pan. Rub them down with a mixture of any or all of the following:

  • salt
  • pepper
  • cumin
  • coriander
  • grains of paradise
  • chili powder or flakes
  • allspice
  • thyme
  • oregano

Obviously, what you choose to use in your rub depends on how you want your ribs to taste. Just salt and pepper are a good place to start. Rub on your spices to fully coat both all sides of the ribs. Throw them in the roasting pan and into the preheated oven. After about 30 minutes at 400 F turn the heat down to about 250 F and roast for another hour. Towards the end you can baste them with balsamic vinegar, mustard, or hot sauce for a tasty glaze.

Categories
General

Sidebar login with extras

It’s nice to get registered users to log in as soon as they hit a group blog so they’re all set when they want to comment. Otherwise, when they comment they’re probably just going to fill out the form for non-users, triggering moderation and frustration. I figured that a sidebar login form might do the trick. Lucky for me, I found a nice tutorial at wpdesigner.com to do exactly that. Unfortunately, it wasn’t quite up to date, using user levels instead of capabilities, and lacking the new nonce-ified wp_logout_url.

Here’s what my login form looks like:

loggedin

And when a user is logged in:

loginform

Download the updated sidebar_login.txt to modify and use in your own sidebar. Again, thanks to wpdesigner.com for showing where to start!

Update: I decided I prefer showing the display_name instead of user_login at the top of the sidebar. To switch just change $current_user->user_login to $current_user->display_name. You could also use some combination of the user’s first and last names – see the wp_get_current_user Codex page for details.

Categories
General

Rotate video for YouTube

The problem: You recorded a video in portrait format accidentally, most likely because you were using a digital camera and didn’t think about it. For fun, let’s say the video is already at YouTube, so you’re starting with a Flash video file.

The solution: Download the Flash video using something like the DownloadHelper Firefox Add-on. Convert it to an AVI video using VLC. Rotate the AVI video using mencoder, part of the mplayer project. Re-upload it to YouTube.

Convert FLV to AVI:

Choose Convert/Save in VLC. Select the FLV file you want to rotate. On the next screen, check the File box and choose an output file name. From the convenient Profile dropdown menu choose MPEG-4 / DivX. Click Save and the conversion should get started.

Rotate the AVI:

I think mencoder is designed to be difficult to use. Instead of reading the man pages I usually consult Google to see if someone else has already figured the cryptic string of command line arguments necessary to do something. In this case, Scott Hanselman figured it out almost 2 years ago! Here’s the command to rotate an AVI 90 degrees clockwise:

mencoder -vf rotate=1 -o OUTPUT.AVI -oac copy -ovc lavc INPUT.AVI

For some reason, I ended up with a too-fast frame rate. To fix that, I opened the rotated AVI in avidemux, adjusted the frame rate until the clip duration was close to the original, and saved it. Properly, I should have done another conversion to get some black bars on either side of the tall video, but when I uploaded to YouTube those got added automagically.

Update: I got ahold of the original video, in Quicktime format. VLC converted that to an AVI easily, and this time there was no frame-rate change when I rotated with mencoder.

Categories
General

Pulling a crab pot

A video from last summer of my dad and his friend pulling a crab pot in Kachemak Bay.

Categories
General

New Orleans and Baton Rouge

I’d only been to New Orleans for Jazz Fest so it was interesting to go there for aimless fun. We pretty much just walked around, shopped, and ate. We stayed at the W New Orleans, which would have been nice enough if we weren’t aware of the W in the French Quarter. Maybe the rooms there suck (I’m sure they don’t), but it’s got a sweet courtyard bar area. We spent most of our time wandering around the French Quarter, and the patch between the quarter and the W is a little ugly, so it would have been nice to stay there.

Piano man