bloggo ergo sum

Month: March, 2007

ksh stuff

Below is a little code I use with ksh. The wt() function can only be expected to work in an X-term. The code sequences are different for other terminal emulators. DIRSTACK=$PWD function dirs { print $DIRSTACK } function pushd { dirname=$1 cd ${dirname:?”missing directory name.”} DIRSTACK=”$PWD $DIRSTACK” } function popd { DIRSTACK=${DIRSTACK#* } top=${DIRSTACK%% *} [...]

More math, shift in blog direction

I’m planning to drive this blog in a slightly different direction. That is, I want to narrow down what I write about here to a few categories that interest me most, instead of shooting off in all directions with no depth in any of them. Of course, I still reserve the right to write about [...]

Joi Ito’s Web Math Joke

As Joi Ito said, too funny not to blog. I know it’s old, but I still laughed out loud: After explaining to students through various lessons and examples that [tex]\displaystyle \lim_{x\to 8} \frac{1}{x-8} = \infty[/tex]. I tried to check if she really understood that, so I gave her a different example; the result of which [...]

Latex on WordPress.com

I saw the recent announcement that wordpress.com now supports native latex equations. The posted examples are pretty sweet, and the syntax is just fine: . I thought to myself, “boy, I sure would like to have that on my blog. I bet it’s just a wordpress plugin.” That’s apparently not the case for wordpress.com. I [...]