Monthly Archives: May 2011

Data flow analysis and regular expressions

I have some unfinished business with regular expressions.  It arises in the rather peculiar application of static analysis of programs — the regular expressions represent the possible paths through a program.  (Perhaps it’s not all that peculiar to compiler experts, … Continue reading

Posted in Programming | Tagged , , | 1 Comment

Sock matching engine

During a wholly uncharacteristic bout of clothes tidying, I realised that sock matching was essentially the same problem as limit matching.

Posted in Programming, Reflections | Tagged | 1 Comment

On C++

I had a recent discussion on C++, as part of a wider topic of favourite and unfavourite languages. I was asked to give my opinions on it; in fact, I think I was asked to explain the motivation Higher-Level C.  … Continue reading

Posted in Programming, Rants, Reflections | Tagged , | Leave a comment

SC2 mod design notes

Following its release a couple of weeks ago, tonight I’ve imported the Game Development Document into the Project 6014 wiki.

Posted in Games, Project 6014 | Tagged , | Leave a comment

SC2 mod next steps

A month ago, I wrote about the SC2 mod project that I’m involved in.  From an outside perspective, it seems not much has happened since then.  And as someone who mostly participates in the roles of website administration and programming, … Continue reading

Posted in Games, Project 6014 | Tagged , | Leave a comment

QuantCup update

Yesterday I received an email update from the QuantCup challenge.  This was surprising, as it’s the first I’ve heard from them since attempting to register.

Posted in Programming | Tagged , , | 4 Comments

Open Hardware Monitor logging and fan control

I’ve updated my OHM working copy to r314, and generated a patch that adds the two features mentioned previously: Periodic logging of all sensor data to CSV. Control of GPU fan using a reference temperature.

Posted in Hardware, Programming | Tagged , | Leave a comment

Depth-first logic game AI

“An answer for you? Yes, I have.” “To Everything? To the Great Question of Life, the Universe and Everything?” “Yes. Though I don’t think that you’re going to like it.”

Posted in Games, Programming | Tagged , , | 3 Comments

XML grep

Do you occasionally have to search for particular needles in a haystack of XML files? Here’s a little script that might help.

Posted in Programming | Tagged , , | 2 Comments

On the awesomeness of text

Text is one of the most underappreciated technologies that computers give us. This post is about why it’s so awesome, and why we should consider using it more — even in places where the trend seems to be the opposite.

Posted in Programming, Rants | Tagged , | 1 Comment