Home Again

(kitties!, but the kitties don’t love me, festive!)

Red-nosed Casper

Yes, Casper would rather be with the reindeer than inside in the warm with me. Possibly because we made Misty wear a Santa hat yesterday.

Counting Down, Time Goes By So Slow

(hey, a distractions reference, boxset on pledgemusic now, or so i hear)

As it gets closer to going home, there comes a point where I start making mental countdowns in my head and lock myself away in an attempt to speed time up. Unfortunately, I started that process last weekend, and I still have another five days until I go to the airport. And I’ve been packed since Tuesday (and I’m not kidding: I have to put my Advent Calendar in the case on Friday morning, but that’s about it). So, er, to everybody I’ve essentially disappeared from in the past fortnight: sorry.

(I have just discovered that X-COM: Enemy Unknown is now out for the iPad too, so that’s not going to help one bit, really. Though at least I know what I’m doing on the plane home to the UK now!)

Next update: hopefully from Oxfordshire. Are We Festive? has cleared 100k tweets, though I’m wondering if I should add some additional keywords to the tweet filter in the next few days to see how festive things can get…

Public Service Announcement

(hp sauce, it is not, colonial heathens, down with this sort of thing)

This is mainly a warning to all those currently residing in the Colonies, but if you are travelling abroad, it could be a vital piece of information. Consider this photograph:


Yes, it looks like a bottle of HP Sauce. But there’s something odd about it. The layout is wrong, the label is the wrong shade of blue, and it is labelled ‘Steak Sauce’ in an attempt to gesture that it may be used as a substitute to a product on these shores known as A1.

You may ask yourself: well, it’s still HP Sauce, isn’t it? What could possibly go wrong?

Dear Reader, I once thought the same as you, standing in the middle of a supermarket, mourning the lack of dark chocolate digestive biscuits. And I thought, ‘it has just been relabelled, surely.’ It went into my basket, and then into the fridge, until later that weekend it was pressed into service for a bacon sandwich. A typical task that HP Sauce excels at (there will be no digression into Daddies’ sauce here).

The first bite.

Instead of the sour taste of classic HP, I was hit with a sense of sweetness that made my teeth itch. The rest of the sandwich was consumed with increasing resentment as the cloying sugar taste spread across the bread and the pointless sacrifice of crisp bacon. I attempted to seal the accursed bottle up, but as the cap is half the height of the proper version and about a quarter of the weight, it ended up flying across the kitchen, leaving a trail of sweet brown ooze as it skipped along the tile.

Incensed, I looked at the ingredients, contrasting it with the empty UK bottle I was about to throw out:

UK: Tomatoes, Malt vinegar, molasses, high fructose corn syrup, spirit vinegar, sugar, dates, modified cornflour, rye flour, salt, spices, flavourings, tamarind.

US/Canada: White vinegar, high fructose corn syrup, tomato puree, molasses, dates, orange juice concentrate, spices, onion, tamarind concentrate, apple juice concentrate, garlic, ground chili peppers, caramel color (sic), mustard flour

Well, that explains things, doesn’t it.


Thank goodness for returning home next week so I can stock up on supplies. Including digestives.

Are We Festive?

(kafka, redis, d3, docker, going too far? me?)

Are We Festive?

The idea came from me thinking how I was going to wind my sister up this year. I like amping up my FESTIVENESS every year, and I’ve only got worse since I left the UK. Now, I’ll be back in BIcester in a few weeks, and I have a few extra surprises to come, but I thought I would construct something that would show Bonnie that the world is quite festive and she should let go of her inner grinch. And a website would be just the thing!

Behind the scenes, it’s pretty simple. I’m hooking into the Twitter Streaming API, tracking every mention of ‘Christmas’ and sending a few bits of information from the tweet into a Kafka cluster. After that, I have a few scripts that run the tweets through a sentiment analyzer, classify them according to date, and produce daily and total sentiment averages. Everything then gets sent to Redis to be pulled out by a simple Sinatra server for the webpage.

Said webpage is a smattering of D3.js to create the two gauges displaying the averages, along with a simple polling function to update the page with the latest information. Plus snowflakes!

It didn’t take too long to put together, which is good, as I’ve found myself pretty busy these past few weeks. Everything got assembled as Docker images, which meant developing and uploading to AWS was a breeze (no fun surprises between development and production!). Sadly, I didn’t have enough time for all my original plans, so I had to drop my idea of having a world map and populating it with regional data, allowing us to see the most festive country as Advent unfolds. But that, along with a re-write of the processing logic in either Storm or Samza, could be a project for next year!

Meanwhile, Bonnie’s response after being sent to the website:

You need help.

She might be right.

Oh no, not the puppy!

(eeeeevil ok, thanksgiving)

No blog last week, but I can highly recommend John Wick when it finally reaches your local cinema. The age-old story of ex-hitman loses wife and puppy and then goes on a mad killing spree, interspersed with members of The Wire and Lovejoy. Because who doesn’t like Lovejoy? We laughed out loud at the sheer ridiculousness many times. You’re probably going to have more fun with this rather than Interstellar, that’s all I’m saying.

As for this week, it was Thanksgiving! Which means I have to repost this, especially since Krugman was lax this year and just kept on talking about economics:

Having got that out of the way, I had a great time; this year I headed down to South Carolina to spend the holiday with Tammy, Robert, and all their family (well, children and parents anyhow!). I helped cook my first turkey, used a proper blowtorch to make s’mores (hurrah for the Searzall!), and even though I left half of my equipment (and ice-cream!) sitting on the counter in Durham, I think we had a good time. I also made a dessert with carrageenan that didn’t cause revulsion and terror! (actually, the deconstructed pumpkin pie turned out pretty well, despite leaving the Vita-Mix at home - the maple flaky crust was pretty tasty, and the pumpkin domes held up well…)

Oh, and I saw Turbo. Strangely, it probably had stronger characterization than John Wick, though was less fun overall due to fewer bouts of random violence. And no Ian McShane. Maybe Turbo 2: Turbo Harder, Faster, Stronger! will have a spot for a larger, swearing, British snail. Maybe.

It was good not spending the holiday alone, and great to be with friends, but being around a close family did make me miss mine a little. Happily, it’s less than three weeks until I fly home to the UK! There, I will buy ALL THE MALTEASERS SPREAD that exists. Oh yes.

Tomorrow, you might even get another blog entry. You’re spoiled! Yes you are!

buy my books
Instant Zepto.js
Scaling Node.JS (coming soon)