What Now?

I have had some readers ask what is to become of this blog. Well, it started out discussing Office Development, then it covered Threat Modelling, and most recently it has been about HDi. There have been several posts about the Pet Shop Boys and then there was this little post, too. That’s the cool thing…

5

Fun Friends for Functions, Part 2: Handling Exceptions

Previously we looked at how you can bind a function to a set of arguments and then call the resultant function at some time in the future. This technique is very powerful, but as-is it is a ticking bomb. As Amy points out in her blog post on exception handling, you always need to be…

0

Fun Friends For Functions

And now for a more techy post. In ECMAScript, functions are considered first-class objects. “What,” you might ask, “differentiates a ‘first-class’ object from a merely ‘economy-class’ object?” Well, the main thing is that functions in ECMAScript are treated just like any other type of data (strings, numbers, arrays, etc.) in that they can be assigned…

0

HD DVD Emulator for Xbox 360!

It’s finally here! The Xbox 360 HD DVD Emulator went live today, enabling content authors to test their HD DVD content in a real-world consumer player before committing it to a shiny disc. This can save a lot of time and a lot of money for those folks building advanced HD DVD titles. It might…

1

Maintaining Callback Semantics

One of the key programming concepts in HDi is the use of asynchronous processing with callback functions. The HDi platform exposed to title authors is not multi-threaded (which helps reduce the complexity of writing applications), but many of the functions of the player are asynchronous in nature. For example, all the I/O in HDi (both…

0

Sliced bread ain’t got nuthin’ on this!

Forget being the best thing since sliced bread – this is the best thing ever. Well maybe not quite that good, but it’s still darn cool! Finally – FINALLY! – you can get decent IntelliSense for JScript inside Visual Studio! Holy hotcakes, Batman! This is so awesome you have to download Visual Studio 2008 Beta…

3

Using Timers Effectively in HDi

The use of timers in HDi applications is very common, and there are a few things you should keep in mind when using them to avoid performance issues when playing back your title. I will categorise these as: The autoReset problem The closure problem The re-use problem The general-abuse problem   The AutoReset Problem This…

3

Simple ACA dumper

Quick one today – if you have an ACA with some files in it, you can use the createaca tool (provided as part of the Jumpstart Kit) to list the files inside it. Trouble is that the output is not very helpful; it contains too much information. So here is a simple JScript file you…

0