Archives for December 2011

December 2011 (11)
SMTWTFS
« Nov Jan »
123
45678910
11121314151617
18192021222324
25262728293031

Like this Archive Calendar widget? Download it here.


The Body Farm (TV series)

A couple of months ago I purchased The Body Farm on DVD from Amazon.co.uk. In theory it sounded promising enough: a series spinoff of Waking the Dead, with one of the characters from that series moving on from the break-up of Boyd’s cold case crime unit. It stars Tara Fitzgerald as Dr Eve Lockhart. […]

READ MORE

JavaScript for C# developers: the Module Pattern (part 2)

Last time I talked about the simple module pattern. This is where you create a function that returns an object with behavior and state and that behavior and state is implemented (and made private) by using a closure. We showed this by using the module pattern to create a stopwatch object. […]

READ MORE

JavaScript for C# developers: the Module Pattern (part 1)

If you recall, JavaScript closures are an extremely powerful concept in the language. By using JavaScript’s rather peculiar scoping rules, closures are a way of creating private variables and functionality for an object. The module pattern builds upon this feature. […]

READ MORE

PCPlus 301: The science of speech recognition

On rereading this just now, I just had to laugh. Two reasons I suppose. First of all, the article is really about Markov chains (my original title was just that), and I spend just 3 paragraphs right at the end talking about speech recognition. I think my editor was a smidge too enthusiastic about the speech recognition part. Secondly I note that I talk about random walks in a couple of places – even Gambler’s Ruin – a topic I skirted just recently here. It certainly sounds like I knew back then what I couldn’t work out a few days ago; so maybe there’s something to all this forgetting stuff as you grow older. […]

READ MORE

True credit-card-sized calculators – Casio SL-800

As it says in my bio for this site, I’m a calculator collector. Mostly Hewlett-Packard LCD calculators it must be said, but every now and then I pick up something from another manufacturer. […]

READ MORE

Euclid and continued fractions

Back in my days at Kings College, there was a movement to try and make sure that we mathematics students could write. There was a general worry that because we expressed ourselves tersely and symbolically in the language of mathematics we would forget how to express ourselves correctly in the language of English. So, while I was there, we had to write two essays, one at the end of our first year and one at the end of the second. The essays should be on a mathematical subject, maybe even with a proof or two, but it had to be preponderantly a narrative. (If you think about it, this is the same worry that developers might not be able to express themselves clearly and concisely to their users, which is why there’s so much emphasis on “written and verbal communication” in job descriptions.) […]

READ MORE

POPA and Glif: photography accessories for the iPhone 4/4S

I’ve been playing around a bit with Kickstarter recently. One of the projects I offered to fund was originally called Red Pop, a gizmo that attached to your iPhone to (a) give it a better grip like a normal camera, and (b) have a nice physical button on top to take photos. They reached their funding, got asked by Red to rename it to avoid any confusion (which they did, to POPA), and then eventually released it. (The following photo is courtesy Beep Industries.) […]

READ MORE

PCPlus 300: 10 mistakes every programmer makes

The call went out: November 2010 was going to be the 300th issue of PC Plus. Our articles had to be better than ever before and preferably some kind of top N list to go along with the issue’s theme (the lead article for example was 300 Advanced PC Tips). […]

READ MORE

The PacMan problem

I came across this mathematical problem the other day: […]

READ MORE

JavaScript for C# developers: calling functions and the ‘this’ variable

I can’t believe that I haven’t posted an article on how to call functions in JavaScript and what this gets set to for each of the various invocation patterns. It’s one of those things that catches people out periodically, so it’s well worth discussing at length. […]

READ MORE