ETag header missing in HTTP No Content responses in Internet Explorer

February 26th, 2012

If you’re one of that exceedingly rare breed who regularly check or subscribe to my blog, you probably want to give this post a miss. This one is more for people who find me through Google. A specific solution to a specific, geeky, problem.

Background

First a little scene setting…

Server side

I have a REST API that uses ETags for, amongst other things, concurrency control. That is, the version of an entity is (opaquely) identified by an ETag. You need to specify that ETag when you try and make any changes to that entity. If someone else changes the entity before you do, your ETag won’t match, so your update will fail, and you won’t unintentionally roll-back their change.

The REST API returns no content (HTTP 204) in response to a successful PUT request to edit an entity, and includes the new ETag representing the version of the updated entity.

Client side

I have a Dojo web tool that uses xhr.put to submit edits to the REST API. In order to make further subsequent edits to an entity without reloading the page, it stores the ETag that it gets back in the response header after every PUT.

The problem

In short, Internet Explorer. 🙂

Read the rest of this entry »

Posting to IBM Connections from WP7

February 24th, 2012

IBM Connections is something we use at work: an internal, intranet-hosted social network for work stuff.

I use stuff like the wikis, file sharing, and bookmarks, quite a lot. But I don’t make status updates as often as I could.

I wonder if that’s because I couldn’t do it from my phone? I know that I certainly started using Facebook a lot more since getting a phone with support for posting to facebook and twitter built-in.

So I set up a way for me to post to Connections from my phone with just one tap on the home screen.

Well, one tap, plus all the taps to actually type the status message… plus another tap on the Send button. But you get the idea.

Read the rest of this entry »

A week off for half-term

February 18th, 2012

This week has been school holidays in Hampshire, so I took a week off to entertain the rampaging monsters otherwise known as my children.

As always, it’s been a fun mix of things. With a three year old and a seven year old, the general plan is to try something a bit different every day so they’re not bored by the end of the week.

We did a few arts and craft things. We made our own candles, melting down candle wax chips from Hobbycraft in a saucepan, adding colouring and pouring them into moulds. We did some sewing, making stuff like animal-shaped cushions.

We spent an afternoon mucking about with a camera and a microphone. Faith loves singing into a small USB microphone we’ve got, so we recorded her singing some of her favourite songs. Grace tried making a stop motion animation using her Sylvanian Families. It ended up being 25 seconds long, but between taking all the photos, and recording the voices and sound-effects, it took her ages!

Read the rest of this entry »

Making an evaporograph

February 17th, 2012

It’s still half-term, so time for another random “what can I do with the kids that’s vaguely science-y and only needs stuff that we have around the house”.

We made an evaporograph.

No, I’d never heard of it before, either.

But it was pretty cool which is why I’m blogging it myself instead of leaving Grace to write it up 😉

Read the rest of this entry »

Making a voicebox

February 16th, 2012

I didn’t really know what a voicebox was beyond knowing that Ned on South Park used one.

But it’s half-term week, so Grace and I tried to make our own out of straws, tape and a balloon. And it sort of worked!

Here’s how it worked…

Read the rest of this entry »

Tracking how my kids’ handwriting changes

January 31st, 2012

A few years ago, I wrote a post about how you can make a font based on a sample of your own handwriting.

I did it to help Grace, at the time aged three, to make a font of her writing as part of a present for Amy.

Graham suggested doing this every year, and as it turns out, that is what I ended up doing.

It’ll be a nice thing to have when she’s older – a record of what her writing used to be like. And it’s fascinating to see how her handwriting develops year-on-year.

120131-grace-comparison

We’ve got a few of them now, so time to share how it looks so far.

Read the rest of this entry »

What has Watson been up to since Jeopardy?

January 24th, 2012

It’s been about a year since the computer system IBM Watson entered a TV quiz show against two of the best people to play the game, and won.

You knew that already, right? If not, skip reading this and go watch some of the footage instead. It’ll be more interesting.

But what has been done with Watson since?

Watson still makes the news even if not as much as during Jeopardy!. And with updates on twitter, facebook and YouTube there’s a lot of info out there about the project.

With all those updates, it’d be useful to bring some of it together into an overview of what sort of work has been taking place in the last year.

Read the rest of this entry »

“FAITH”

January 21st, 2012

FAITH

Or, “what happens when we’re in the park with a digital camera and some time to kill”. 🙂

Read the rest of this entry »