Archive for May, 2009

Where’s my Debugger?

Friday, 29 May 2009

If, when you are trying to perform “just in time” debugging, that is, opting to debug an application after it has crashed, and you are not offered the appropriate debugger, it might be as simple as adjusting an option setting.

For example, if

New instance of Visual Studio 2005

does not appear in your Visual Studio Just-In-Time Debugger dialog’s list of Possible Debuggers, then

open Visual Studio 2005

select Tools | Options… | Debugging | Just-In-Time

and tick the Native and/or Managed boxes

as appropriate.

Falling and Rising Roots

Friday, 8 May 2009

In my post on hypertetrahedral polytopic roots, I gave a few formulae for functions such as the triangular root.

Here I give some very similar formulae for some falling and rising roots.

(more…)

SVN Properties and MIME Types

Thursday, 7 May 2009

Here is a table of MIME types and other properties for the [auto-props] section of SVN config file.

(more…)

A Simple but Handy Formula for Reversing ‘Triangular’ Sums

Thursday, 7 May 2009

Sometimes it is useful to swap the order of the summations in a double summation. This isn’t completely obvious when the limits of one sum are dependent on another. Here’s the formula:

\sum_{i=h}^{k} \sum_{j=i}^{k} \varphi(i,j) = \sum_{j=h}^{k} \sum_{i=h}^{j} \varphi(i,j)

Note that inside the sum, we always have h \le i \le j \le k. On the left, i runs from h to k, and j runs from i to k (i.e. h \le i \le k and i \le j \le k). On the right, i runs from h to j, and j runs from h to k (i.e. h \le i \le j and h \le j \le k). Those are all summarised by h \le i \le j \le k.

(more…)

C++: Hide-by-name Semantics and Signatures

Wednesday, 6 May 2009

I’ve been using C++ for many years, yet there’s something fundamental that I’ve only just learned: It concerns something called hide-by-name semantics.

(more…)

Configurable XML Viewer

Wednesday, 6 May 2009

Suppose that you have an XML file that you wish to examine in detail. You can load that into a browser, and even collapse and expand nodes at will. Here is an XSLT stylesheet that can be used to do something similar, but with custom highlighting.

(more…)