Skip to content →

Tag: LaTeX

M-geometry (1)

Take an affine $\mathbb{C} $-algebra A (not necessarily commutative). We will assign to it a strange object called the tangent-quiver $\vec{t}~A $, compute it in a few examples and later show how it connects with existing theory and how it can be used. This series of posts can be seen as the promised notes of my talks at the GAMAP-workshop but in reverse order… If some of the LaTeX-pictures are not in the desired spots, please size and resize your browser-window and they will find their intended positions.

A vertex $v $ of $\vec{t}~A $ corresponds to the isomorphism class of a finite dimensional simple A-representations $S_v $ and between any two such vertices, say $v $ and $w $, the number of directed arrows from $v $ to $w $ is given by the dimension of the Ext-space

$dim_{\mathbb{C}}~Ext^1_A(S_v,S_w) $

Recall that this Ext-space counts the equivalence classes of short exact sequences of A-representations

[tex]\xymatrix{0 \ar[r] & S_w \ar[r] & V \ar[r] & S_v \ar[r] & 0}[/tex]

where two such sequences (say with middle terms V resp. W) are equivalent if there is an A-isomorphism $V \rightarrow^{\phi} W $ making the diagram below commutative

[tex]\xymatrix{0 \ar[r] & S_w \ar[r] \ar[d]^{id_{S_w}} & V \ar[r] \ar[d]^{\phi} & S_v \ar[r] \ar[d]^{id_{S_v}} & 0 \\\
0 \ar[r] & S_w \ar[r] & W \ar[r] & S_v \ar[r] & 0}[/tex]

The Ext-space measures how many non-split extensions there are between the two simples and is always a finite dimensional vectorspace. So the tangent quiver $\vec{t}~A $ has the property that in all vertices there are at most finitely many loops and between any two vertices there are a finite number of directed arrows, but in principle a vertex may be the origin of arrows connecting it to infinitely many other vertices.

Right, now let us at least motivate the terminology. Let $X $ be a (commutative) affine variety with coordinate ring $A = \mathbb{C}[X] $ then what is $\vec{t}~A $ in this case? To begin, as $\mathbb{C}[X] $ is commutative, all its finite dimensional simple representations are one-dimensional and there is one such for every point $x \in X $. Therefore, the vertices of $\vec{t}~A $ correspond to the points of the affine variety $X $. The simple A-representation $S_x $ corresponding to a point $x $ is just evaluating polynomials in $x $. Moreover, if $x \not= y $ then there are no non-split extensions between $S_x $ and $S_y $ (a commutative semi-local algebra splits as a direct sum of locals), therefore in $\vec{t}~A $ there can only be loops and no genuine arrows between different vertices. Finally, the number of loops in the vertex corresponding to the point $x $ can be computed using the fact that the self-extensions can be identified with the tangent space at $x $, that is

$dim_{\mathbb{C}}~Ext^1_{\mathbb{C}[X]}(S_x,S_x) = dim_{\mathbb{C}}~T_x~X $

That is, if $A=\mathbb{C}[X] $ is the coordinate ring of an affine variety $X $, then the quiver $\vec{t}~A $ is the set of points of $X $ having in each point $x $ as many loops as the dimension of the tangent space $T_x~X $. So, in this case, the quiver $\vec{t}~A $ contains all information about tangent spaces to the variety and that’s why we call it the tangent quiver.

Let’s go into the noncommutative wilderness. A first, quite trivial, example is the group algebra $A = \mathbb{C} G $ of a finite group $G $, then the simple A-representations are just the irreducible G-representations and as the group algebra is semi-simple every short exact sequence splits so all Ext-spaces are zero. That is, in this case the tangent quiver $\vec{t}~A $ in just a finite set of vertices (as many as there are irreducible G-representations) and no arrows nor loops.

Now you may ask whether there are examples of tangent quivers having arrows apart from loops. So, take another easy finite dimensional example : the path algebra $A = \mathbb{C} Q $ of a finite quiver $Q $ without oriented cycles. Recall that the path algebra is the vectorspace having as basis all vertices and all oriented paths in the quiver Q (and as there are no cycles, this basis is finite) and multiplication is induced by concatenation of paths. Here an easy example. Suppose the quiver Q looks like

[tex]\xymatrix{\vtx{} \ar[r] & \vtx{} \ar[r] & \vtx{}}[/tex]

then the path algebra is 6 dimensional as there are 3 vertices, 2 paths of length one (the arrows) and one path of length two (going from the leftmost to the rightmost vertex). The concatenation rule shows that the three vertices will give three idempotents in A and one easily verifies that the path algebra can be identified with upper-triangular $3 \times 3 $ matrices

$\mathbb{C} Q \simeq \begin{bmatrix} \mathbb{C} & \mathbb{C} & \mathbb{C} \\\ 0 & \mathbb{C} & \mathbb{C} \\\ 0 & 0 & \mathbb{C} \end{bmatrix} $

where the diagonal components correspond to the vertices, the first offdiagonal components to the two arrows and the corner component corresponds to the unique path of length two. Right, for a general finite quiver without oriented cycles is the quite easy to see that all finite dimensional simples are one-dimensional and correspond to the vertex-idempotents, that is every simple is of the form $S_v = e_v \mathbb{C} Q e_v $ where $e_v $ is the vertex idempotent. No doubt, you can guess what the tangent quiver $\vec{t}~A = \vec{t}~\mathbb{C} Q $ will be, can’t you?

5 Comments

Shameless Self-Promotion

It looks like I’m off the hook and can relax (after a few months of rewriting/correcting/learning LaTeX-quirks). To all of you NeverEndingBooks readers : the bookproject has ended and will appear sometime this fall. It will be around 600 pages thick and cost just under 100$. This is about 4 times the amount NeverEndingBook-ers paid over at Lulu.com. To all (?!) those who did : treasure the two volumes, they will become (extremely rare) collectors’ items, one fine day. Here is the final cover-design :

Compare it to the covers produced two years ago by the NeverEndingBooks-design department (thanks again Jan and the rest of the crew).

The final fight was over the promotional material. The copywriters did include the captivating sentence “A Novel Approach to Difficult Cases in Mathematics and Physics”… Here’s my reply

I realize Im a difficult (some say hopeless) case, but there is little point advertising this. Here a few alternatives that may require spicing-up

“A gentle introduction to one of mathematics’ (and even physics’) hottest topics”
“A novel approach to noncommutative geometry”
“Get rid of singularities by going noncommutative!”
“The first readable text on an over-hyped topic…”
etc. etc.

I can do better if I have to, so please tell me and I’ll open up a bottle of wine.
Whatever you do, please remove the difficult cases-sentence from all material.

atb+apologies :: lieven.

UPDATE (august 1st) : if you want to order the book for your university-library, have a look at the promo flyer. All my suggestions (apart from the last one) are included…

One final comment about all of this. The project started as a bookproject with the AMS in 1999 and was abandoned (for a variety of reasons, all of them only relevant to myself) sometime early 2002.

Here’s the one thing that will hurt for some time to come. I wanted to dedicate the book to “the women in my life : my mother, Ann, Gitte&Bente”. Unfortunately, my mother will never see the book. The current dedication is :

This book is dedicated to the women in my life
Simonne Stevens (1926-2004), Ann, Gitte&Bente

10 Comments

mathML versus LaTeXRender

No math
today. If you’re interested in the latest on noncommutative geometry,
head over to the NCG-blog where Alain Connes has a post on
Time.
Still, Alain’s post is a good illustration of what Ill be rambling about
TeX and how to use it in a blog.

If you’re running a math-blog,
sooner or later you want to say something more than new-age speak like
‘points talking to each other’ and get to the essence of it. In short,
you want to talk math and it’s a regrettable fact that math doesnt go
well with ASCII. In everyday life we found a way around this : we all
use TeX to write papers and even email-wise (among mathematicians) we
write plain TeX-commands as this language is more common to us than
English. But, plain TeX and the blogosphere don’t mix well. If you’re
expecting only professional mathematicians to read what you write, you
might as well arXiv your thoughts. Im convinced the majority of people
coming here (for whatever reason) dont speak plain-TeX. Fortunately,
there is technology to display TeX-symbols on a blog. Personally, I was
an early adapter to
LaTeXRender and even today a
fair share of page-views relates to the few
posts I did on
how to get latexrender working on a mac. Some time ago I
switched to mathML and now I’m
regretting I ever did…

Mind you, I’m convinced that mathML is the
‘proper’ way to get TeX to the internet but there are at the moment some
serious drawbacks. For starters, it is highly user-unfriendly. You
simply cannot expect people to switch browsers (as well as installing
extra fonts) just because they come to your site (or you have to be a
pretty arrogant git). Speaking for myself, Im still having (against my
better judgment) Safari as my default browser, so when I come to a site
like the n-category cafe I just
skim the plain-text in between and if (and only if) the topic interests
me tremendously I’ll allow myself to switch to Flock or Firefox to read
the post in detail. I’m convinced most of you have a similar
surfing-attitude. MathML also has serious consequences on the
server-side. If you want to serve mathML you have to emit headers which
expect everything to follow to be purified XHTML. If I ever forget a
closing tag in a post, this is enough to break down NeverEndingBooks to
all Firefox-users. I’ve been writing HTML since the times when the best
browser around was something called NCSA Mosaic so Ive a
pretty lax attitude to end-tags (especially in IMG-tags) and Im just
getting too old to change these bad habbits now… It seems I’m not the
only one. Many developers of WordPress-plugins write bad XHTML-code, so
the last couple of weeks I’ve been spending more time fixing up code
than writing posts. If you want to run a mathML-wordpress site you might
find the following hints helpfull. If you get a ‘yellow screen of
death’ when viewing your site with Firefox, chances are that one of your
plugin-authors missed a closing tag in the HTML-rendering of his/her
plugin. As a rule of thumb : go for the IMG-tags first! I’m sorry to
say, but Latexrender-Steve
is among the XHTML-offenders. (On a marginal note, LaTeXrender also has
its drawbacks : to mathematicians this may seem incredible but what
Latexrender does to get one expression displayed is to TeX an entire
file, get the image from the ps-file turn it into a gif and display it,
so one gets a GIF-folder of enrmous proportions. Hence, use Latexrender
only if you have your own server and dont have to care about memory
constraints. Another disadvantedge was that the GIFs were displayed with
a vertical offset, but this has been solved recently (use the ‘offset
beta’ files in the distribution)). Wrt. to that offset-beta version, use
this latex.php file instead (I
changed the IMG-line). Some plugins may not serve the correct headers
to display mathML. So, if you want to allow readers to have a
printer-friendly version of your mathML-post, get the WP-print plugin BUT
change to this wp-print.php file in order to
send the proper headers. Sometimes there are just forgotten lines/tags
in the code, such as in the [future calendar plugin](http://anthologyoi.com/wordpress/plugins/future-posts-calendar-
plugin.html). So, please use this version
of the future.calendar.php file. And so on, and so on. The joys of
trying to maintain a mathML-based blog… So, no surprise I’m seriously
considering to ditch mathML and change to normal headers soon. One of
the things I like about LaTeXRender is that it can be extended, meaning
that you can get your own definitions and packages loaded whereas with
mathML you’re bound to write iTeX, which Ill never manage. But, again,
mathML will be the correct technology once all major browsers are mathML
capable and the font-problem is resolved. Does anyone know whether
Safari 3 (in Leopard, that is Mac OS 10.5 to the rest of you) will be
mathML-able?

Leave a Comment

the father of all beamer talks

Who was the first mathematician to give a slide show talk? I don’t have the
definite answer to this question, but would like to offer a strong
candidate : Hermann Minkowski gave the talk “Zur Geometrie der Zahlen” (On the
geometry of numbers) before the third ICM in 1904 in Heidelberg and even
the title page of his paper in the proceedings indicates that he did
present his talk using slides (Mit Projektionsbildern auf einer
Doppeltafel)

Seven
of these eight slides would be hard to improve using LaTeX

What concerns
us today is the worst of all slides, the seventh, where Minkowski tries
to depict his famous questionmark function $?(x) $, sometimes also called
the _devil’s staircase_

The devil’s
staircase is a fractal curve and can be viewed as a mirror (taking a
point on the horizontal axis to the point on the vertical axis through
the function value) having magical simplifying properties : – it takes
rational numbers to _dyadic numbers_, that is those of the form
$n.2^{-m}$ with $n,m \in \mathbb{Z} $. – it takes quadratic
_irrational_ numbers to rational numbers. So, iterating this
mirror-procedure, the devil’s staircase is a device solving the main
problem of Greek Mathematics : which lengths can be constructed using
ruler and compass? These _constructible numbers_ are precisely those
real numbers which become after a finite number of devil-mirrors a
dyadic number. The proofs of these facts are not very difficult but
they involve a piece of long-forgotten mathematical technology :
_continued fractions_. By repeted approximations using the
floor-function (the largest natural number less than or equal to the real
number), every positive real number can be written as

$a = a_0 +
\frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3 + \frac{1}{\dots}}}} $

with all $a_i $ natural numbers. So, let us just denote from now on this
continued fraction of a by the expression

$a = \langle
a_0;a_1,a_2,a_3,\dots \rangle $

Clearly, a is a rational number if
(and also if but this requires a small argument using the Euclidian
algorithm) the above description has a tail of zeroes at the end and
(slightly more difficult) $a$ is a real quadratic irrational number
(that is, an element of a quadratic extension field
$\mathbb{Q}\sqrt{n} $) if and only if the continued fraction-expression
has a periodic tail. There is a lot more to say about
continued-fraction expressions and I’ll do that in another
‘virtual-course-post’ (those prepended with a (c): sign). For the
impatient let me just say that two real numbers will lie in the same
$GL_2(\mathbb{Z}) $-orbit (under the action via Moebius-transformations)
if and only if their continued fraction expressions have the same tails
eventually (which has applications in noncommutative geometry as in the
work of Manin and Marcolli but maybe I’ll come to this in the (c):
posts).

Right, now we can define the mysterious devil-stair function
$?(x) $. If a is in the real interval $[0,1] $ and if $a \in
\mathbb{Q} $ then $a = \langle 0;a_1,a_2,\dots,a_n,0,0,\dots
\rangle $ and we define $?(a) = 2 \sum_{k=1}^{n} (-1)^k
2^{-(a_1+a_2+\dots+a_k)} $ and if a is irrational with continued
fraction expression $a = \langle 0;a_1,a_2,a_3,\dots \rangle $, then

$?(a) = 2 \sum_{k=1}^{\infty} (-1)^{k+1} 2^{-(a_1+a_2+\dots+a_k)} $

A
perhaps easier description is that with the above continued-fraction
expression, the _binary_ expansion of $?(a) $ has the following form

$?(a) = 0,0 \dots 01 \dots 1 0 \dots 0 1 \dots 1 0 \dots 0 1 \dots
1 0 \dots $

where the first batch of zeroes after the comma has length
$a_1-1 $, the first batch of ones has length $a_2 $ the next batch of
zeroes length $a_3 $ and so on.

It is a pleasant exercise to verify that
this function does indeed have the properties we claimed before. A
recent incarnation of the question mark function is in Conway’s game of
_contorted fractions_. A typical position consists of a finite number of
boxed real numbers, for example the position might be

$\boxed{\pi} + \boxed{\sqrt{2}} + \boxed{1728} +
\boxed{-\frac{1}{3}} $

The Rules of the game are : (1) Both
players L and R take turns modifying just one of the numbers such that
the denominator becomes strictly smaller (irrational numbers are
supposed to have $\infty$ as their ‘denominator’). And if the boxed
number is already an integer, then its absolute value must decrease.
(2) Left must always _decrease_ the value of the boxed number, Right
must always increase it. (3) The first player unable to move looses
the game. To decide who wins a particular game, one needs to compute
the value of a position $\boxed{x} $ according to the rules of
combinatorial game theory (see for example the marvelous series of four
books Winning Ways for your Mathematical Plays. It turns out that this CG-value is no other than $?(x)$
… And, Conway has a much improved depiction of the devil-staircase in
his book On Numbers And Games

One Comment

bookmarks tuesday cleanup


Geeky Mom : Why am I blogging?
. Been there before. Sooner or later
all non-pseudonomenous bloggers are faced with the same dilemmas.
There’s really no answer or advice to give except : blog when you feel
like it, if not do something different, after all its just one of those
billion of blogs around.

Texmaker : another
LaTeX-frontend, possibly having a few extras such as : a structure-pane
including labels you gave to formulas, theorems etc. (click on them
brings you to them). Intend to use it now as I’m in another rewrite of
the never-ending-book..

Microformats : “Designed for
humans first and machines second, microformats are a set of simple, open
data formats built upon existing and widely adopted standards.” May
have another look.

Quicksilver : a recurring
link. At times when I feel learning key-strokes may save me a lot of
time I have (another) go at Quicksilver. Last week, Ive reinstalled this
blog more or less post by post and used keystrokes to send a line in the
SQL-file of the database dump of NEB as a clipping to Scrivener to
MultiMarkdown it further. I used the app Service Scrubber
to define my own key-strokes. Must have another go at Quicksilver soon.
Im sure it distinguishes ‚”power mac users” from the rest of
us.


List of GTDTools
: a good list of GTD-software. I’m probably just
too chaotic for GTD to improve my workflow but somehow I cannot resist
trying some of these things out.

LifeDEV : One of those sites that tells
me I should take GTD more seriously

DoIt : One of
these GTD-tools. It is said to go well with Quicksilver, so maybe, one
day.

Think
: Here a little seemingly completely useless tool which works well (at
least for me). No, it does not make you think, but at least it helps you
while you are thinking (or doing anything a bit focussed). Install it
and enjoy! The principle is that it just blocks out all other open
windows (and there are keystrokes (yes, again) to get you quickly in
and out.) Besides, it looks great. It’s in my dock and this says it
all

Thinkature :
a brainstorming tool. Dont know why I did bookmark this. Perhaps one
day, a few years from now

Stafford Talk :
a talk by Toby Stafford I came across by accident. Maybe there are other
interesting talks on the site?

Science Scouts : a great
idea! Give yourself badges for how well you do science (or talk/write
about science). Have to collect my badges soon. I’m sure this only
works for people with a scouting-history, but who
knows?

MacResearch : Here’s a site
that may become useful. MacResearch.org is an open and independent
community for scientists using Mac OS X and related hardware in their
research. It is the mission of this site to cultivate a knowledgeable
and vibrant community of researchers to exchange ideas and information,
and collectively escalate the prominence of Apple technologies in the
scientific research community. They have some interesting articles
and tutorials on e.g. DevonThink and BibDesk etc. Worth to
revisit.

Jennifer in love : well‚ should I say something about this?
probably best not.


Breakthrough CLI
: another pamphlet in favor of the Command Line! A
must read for those who perfer GUIs to CLIs.

<

p>CLI – the
site
: Rod is working hard on CLI-20. Whenever he releases version
2.0, neverendingbooks will be among the first sites to run it. I still
love the idea.

Why do I bother? : an n-category post I got briefly interested in,
but was somehow flooded by professional
math-philosophers

Newton Legacy Reviewed : just that, a first review
on the next bookmark.

the Newton
Legacy
: a free online book, a murder mystery with a physics touch.
Perhaps this is the best investment of time/energy : write a popular
science book rather than another paper. Read half way through it (sorry
but not the best prose Ive read so far), may continue but was held up
reading a (real) murder mystery Equinox featuring also Newton and
alchemy (must be in the air somehow), also not the best mystery read
so far

Stalking with Googleearth
: no comment

(to be continued)

Leave a Comment

mathML and work ahead

It has
been a difficult design decision, but I’m going to replace the LaTeXRender WordPress
Plugin
for mathML as the
default TeX-interface for NeverEndingBooks. I will keep LaTeXRender on
standby as I may have to use exotic packages or commands that iTeX does
not deliver, but for most math-related posts, MathML will do the job
nicely (as the n-category
cafe
shows every day (or even more often)). Not that I stopped being
a dilettante but I’m going to do most of my writings (including
blog-posts) using Scrivener (more on this
another time) and Scrivener supports MultiMarkdown and allows exporting to LaTeX and XHTML (using MathML).

I could never have pulled this off in such a short time without Jacques Distler
more or less on constant stand-by (thanks Jacques!). Looking at the
times his emails were send I have no idea in which time zone he lives
(let alone sleeps…). So, here a walk-through the changes :

As
I’m on WP 2.0.5 I’ll start with Frederick’ post. He tells me I have to install first the itex2MML binary as
explained by
Jacques
but I find that there is more recent
material
and therefore download the most recent imath2MML-package
and follow the readme. There is a Mac OSX binary but it’s not clear
for what processor (PPC/Intel/Binary) but a quick mail to Jacques learns
me that it’s PPC which is fine by me but on the spot he puts a
universal binary online, so whatever your Mac is you can just download
the binary, copy it to /usr/local/bin and make sure its chmodded
755.

Back to Frederick’s post, download and install the plugin itexToMML.php in the usual way
(fortunately I spot just in time that I have to change one line saying
where my itex2MML binary is (in Frederick’s file it is NOT the default
location)). You can verify whether the plugin and itex2MML do what they
are supposed to do by typing a LaTeX-command in a post and save it. The
output will not produce the desired formula but have a look at the
source file and see whether there is some mathML code in it. If so,
fine! If not, go back and check everything.

If this works, it is
“merely” a problem of getting your mathML served. Frederick suggests
to unpack wordpress_mathML.zip in the wp-includes directory (but you
better make sure you have made a copy of the original class.php and
functions-formatting.php files. In the end I decided against this
approach (that is, to replace only the functions-formatting.php but NOT
the class.php file). If you have two or more themes you want to
maintain, it is probably better to change the headers (because this is
what we have to do to get mathML served) only in those themes which are
XML-sound. In my case, the Command Line Interface theme most certainly is NOT!!!).

Go to your
theme-files and look for the header.php (or similar) file and replace
the default header by the code in the addendum to
this post
within php-tags. If you can go to your blog-page then you
are in good shape and things should work well (apart possibly from
layout considerations, see below). Of course, in my case i was greeted
by ” XML “yellow screen of death” (as Jacques calls
it) and I was convinced I did something wrong, so I tried out several
useless things for a couple of hours before it dawned on me that the
reason might just be that my blog-files were not valid XHTML (and the
new headers are very demanding on serving only well-form XHTML). I had
to modify all changes I made to sidebars etc. as well as rewrite parts
of my first posts (I used to take a rather liberal view on writing
blog-posts, writing a mixture between Markdown and improvised HTML and
in the process was very lax about closing IMG-tags and the likes).
But after some time and numerous corrections to the files I got the
main-page up and running (and even had the mathML served as a readable
formula) apart from the fact that I barely recognized my own site.

I printed out source files of the page with and without changed
headers and couldn’t find a difference. So, it had to do with the
CSS-style files, but why on earth would the new headers be picky about
CSS? But as a last resort, after narrowing the search down to one
CSS-line, I asked Jacques whether he had an idea what went on. His reply
will be remembered for quite some time :

A fascinating
question. The answer is that it *is* following the CSS directive, but
in XHTML, ‘body’ is not what you think it is. ‘body’ is just big enough
to contain its content. It does not fill the viewport. ‘html’ fills the
viewport. The solution (a solution) is described in
http://golem.ph.utexas.edu/~distler/blog/archives/000203.html

Many hours later, I still haven’t got a clue what
this is all about, but I blindly followed the hint and surely all
problems vanished. In short, another day wasted in front of a
computer-screen.

At the moment I’m back to old headers and
will not be writing mathML for some time as I have the vast job ahead to
validate all my previous posts to XHTML-standards (if not you would see
more yellows screens of death than anything else. So, here’s the
strategy I’ll be taking in the weeks ahead (I’ll sleep on it tonight
so if any of you think there is a better way, reply quickly)

  • rewrite each and every post in proper MultiMarkdown using iTeX for
    the most common math and only resorting to LaTeXRender for exotic things
    (such as Sudoku, Chess, Dvonn) and run these posts through Markdown
    (to get basic HTML and all links in place).
  • download these
    files to the WP-database (so that in the CLI-interface you will be able
    to follow all links, but will read all iTeX as TeX-commands (as the
    command line intended after all).
  • in the process change all
    broken links to the default permalink-structure (with index.php?p=231 or
    so).

Clearly, this is a work that will take a couple of
weeks but it may be fun to reread these old posts and possibly add new
information about the subjects. When I’m making these changes, I’ll
use the new headers so if you are using a smart browser look out for the
yellow screens. When they happen, either use a dumb browser (such as
Safari) or go into CLI-interface mode where everything should still
work. I plan to start with the oldest posts as this seems more fun to
me.

One Comment

command line interface

Way
back in 1999 I read Neal Stephenson’s pamphlet In the Beginning ! Was the Command Line and
decided I should and would have Linux running on my clamshell iBook.
Needless to say this was (a) a foolish idea and (b) not entirely trivial
in those dark OS 9-days. Still, I somehow managed with the help op PPC Linux and was
proudly wearing their T-shirt (at least for a couple of weeks in early
2000). Fortunately, as a brief OS X
history
recalls, OS X was released March 24, 2001 and put an end to
my Linux-folly and I’m pretty certain even Neal Stephenson is on Mac OSX
these days.

Needless to say I couldn’t resist installing the
Wordpress CLI-theme
the moment I spotted it! A command line
interface to your blog! awesome! If you want to have a go at the
original version, take a look at Rod McFarland’s blog.
Just type ‘ls’ to the prompt and you’ll be hooked. Or you can have a
look at the command line interface of NeverEndingBooks by going to the
left sidebar and clicking CLI under the ‘Command Line Version’ header
(don’t be afraid you can always come back by clicking on the
GUI-interface over there). My design is black on a light-gray background
and is no where near as cool as the original theme but it was the only
quick way around some limitations of the CLI-theme.

The
CLI-theme operates as a front-end via a small interpreter which draws
the information directly from the WordPress-database. As a result you
loose the effect of all post-processing by plugins such as Markdown and LatexRender two of
the plugins I use most! I could still live with the idea that pure LaTeX
was served to a CLI-environment between tex-tags, but surely I didn’t
want to loose all my links! The quick (and extremely dirty) way around
it was to resubmit the relevant part of the HTML-source files of the
GUI-frontend posts to the WP-database. And to serve the same LaTeX-gifs
to the GUI and CLI interface I needed the backgound to be rather light
gray (taking #BDBDBD gray would have been much nicer wrt. the cool
rasterized grayed-images but then some of the more recent LaTeX-gifs
became partially unreadable). Oh, and in the process I had to update the
permalink structure, thereby wrecking allmost all internal
reference-links (but I’ll sort them out soon, I promise).

So, a
lot of work for a rather meagre result. What do I like about the
CLI-interface (apart from old time nostalgia)? I really like the
searching facility. Just type ‘search yourword’ to the prompt and it
will give you all posts containing that word (much quicker than in the
GUI-interface) and if you remember at least one word from a post-title,
feeding it to the prompt will give you the entire post (or a list of
posts if the same word appears in different posts). Try out typing
‘Perelman’ to see what I mean. Besides, bots don’t seem to know what to
do with the CLI-interface so for the few days I had this theme as my
default theme I was alone on NeverEndingBooks mast of the time (which
helped a lot having to change that many posts). So, whenever I want to
have the site to myself I’ll just change the default theme from now
on.

Still, I did put back the old GUI as default because the
CLI-theme still has a few drawbacks. Such as, it is impossible to write
a sizable comment (not that too many of you do this, but anyway) and
some other quirks. Still Rod McFarland is working on a version 2 (and
even set up a google-group for
those who want to code along, and maybe I’ll join the effort) which
promises a great improvement and I’m rather confident that by version
3.14 it will be in a state that I’ll have the CLI-interface as my
default. Until then, I’ll keep up the two front-ends and allow you to
toggle as you like (your browser will remember your preference).

I realize most of you are youngsters and not of my cpu2
generation so have a hard time imagining how exiting a command line
prompt is. Fortunately, Neal Stephenson has made the full text of “In
the beginning ! was the command line” available as a
free download. Print it out and enjoy!

Leave a Comment