Izikistan

Christmas on the Mall

31 December 2009

Our new Christmas day tradition is to make a trip down to the Mall to check out the National and Capitol Christmas trees. There was still plenty of snow left on the grassy parts of the Mall, adding to the festive atmosphere. After getting our fill of mingled church and state we went on a scavenger hunt for someplace open for drinks and snacks. After striking out at a couple of places we ended up Le Bar at Sofitel, exactly where we ended up at last year. Maybe next year we’ll go straight there…

Slushy path near the Capitol Snow on the Mall

Capitol Christmas Tree In front of the Capitol

Posted @ 6:04 pm. No Comments.

SnOMG!

21 December 2009

That last post sure looks pretty silly after the huge pile of snow that just fell on us. We ended up with about 20 inches with deeper drifts in places. We dug out our sidewalk and cars yesterday, but the street still hasn’t been cleared. Thanks to our fearless neighbors it’s all packed down though, slippery but passable.

Plenty of snow Snowshoeing on Mapleview
Buried BMW Measuring the snow Snowy backyard

Posted @ 1:30 pm. No Comments.

Slushpocalypse

15 December 2009

Our little shared joke in the DC area in the winter is that whenever it snows the littlest bit the world is coming to an end. This season’s first earth-destroying event arrived a week or so ago, bringing us a nice layer of slushy snow that stuck around for a day or two.

Snowy fernBlizzard in Silver SpringSnowy helicopters

Snowy bench

Posted @ 9:04 pm. No Comments.

Turkey soup

20 November 2009

Turkey soup

We got a turkey a whole week before Thanksgiving for some reason, so I brined and roasted it as practice for doing it again at a friend’s house next week. It turns out even a 15 pound turkey has quite a bit of meat on it, so I’ve been making turkey dishes all week.

Turkey soup is really easy to make if you can manage to make some turkey stock after carving the bird. To make stock, just simmer the carcass in water a while. You can add things like peppercorns, allspice, onion, celery, carrot, etc. if you want to and are not completely burned out on cooking. I cool the stock a while then strain it into something for the fridge. You can remove the fat from the top the next day.

For the soup, soften some vegetables like onions, celery, cabbage, and so on in butter over medium-low heat. Add some chunks of turkey and some stock and simmer a little while. I serve it with grated cheese and homemade Worcestershire sauce.

Posted @ 6:52 pm. No Comments.

Image overlay for YouTube embed

12 November 2009

If you want a specific preview image for your YouTube video, you’re pretty much out of luck. When you upload a video, YouTube chooses 3 frames from your video based on an algorithm that might or might not be random. There are tips around for trying to game their algorithm, but that might be a little unethical and it’s unreliable since they’ve changed the algorithm over time. I think at youtube.com they’re welcome to do whatever they want, but when I’m displaying an embedded video on my own site I should be able to present the video with my choice of preview image – they’re my users and if I want to Rickroll them I should be able to!

So, I found this idea for placing an image over an embedded video, but it failed with a JavaScript error. This answer at stackoverflow got the code working correctly.

The method uses two “div” containers, one containing the replacement preview image and one containing the video embed code. The video is hidden using inline CSS and a bit of JavaScript toggles the image hidden and the video visible when the image is clicked. The image should be the same size of the video and should probably have some sort of “play” symbol so users know to click it. Here’s the code for the containers:

<div onclick="thevid=document.getElementById('thevideo'); thevid.style.display='block'; this.style.display='none'"><img src="vidthumb.jpg" style="cursor:pointer" /></div><div id="thevideo" style="display:none">

(put the YouTube embed stuff here)

</div>

A nice addition would be some way to give users with JavaScript disabled a plain link to the video at YouTube.

Posted @ 4:03 pm. No Comments.