Self-tutoring about PHP: the tutor mentions its exponent operator. In PHP, 32 is 3**2. This seems to work unless the base is negative. For instance, 2.6**2.9 and 10**(-2/3) will come out correctly, but (-8)**(1/3) won’t, in my experience. Source: php.net

Self-tutoring about dot net programming: the tutor mentions case insensitivity in regex. In my experience with dot net forms, (?i) starts case insensitivity in a regular expression. If you want the whole pattern to be matched without case sensitivity, just …

Comp Sci: .net (aka dot net) programming: case insensitive regular expression Read more »

Self-tutoring about how to deal with cross-origin denial: the tutor mentions a workaround. I was experimenting with html canvas, specifically getImageData and putImageData, when I got a cross-origin complaint. The computer wouldn’t execute either getImageData or putImageData because, from its …

Web programming: cross-origin blockage with getImageData or putImageData Read more »