Skip to content →

neverendingbooks Posts

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

way too ambitious

Student-evaluation sneak preview : I am friendly and
extremely helpful but have a somewhat chaotic teaching style and am way
too ambitious as regards content… I was about to deny vehemently
all assertions (except for the chaotic bit) but may have to change my
mind after reading this report on
Mark Rowan’s book ‘Symmetry and the monster’ (see also
my post
)

Oxford University Press considers this book
“a must-read for all fans of popular science”. In his blog,
Lieven le Bruyn, professor of algebra and geometry at the University of
Antwerp, suggests that “Mark Ronan has written a beautiful book
intended for the general public”. However, he goes on to say:
“this year I’ve tried to explain to an exceptionally
good second year of undergraduates, but failed miserably Perhaps
I’ll give it another (downkeyed) try using Symmetry and the
Monster as reading material”.

As an erstwhile
mathematician, I found the book more suited to exceptional maths
undergraduates than to the general public and would strongly encourage
authors and/or publishers to pass such works before a few fans of
popular science before going to press.

Peggie Rimmer,
Satigny.

Well, this ‘exceptionally good
year’ has moved on and I had to teach a course ‘Elementary
Algebraic Geometry’ to them last semester. I had the crazy idea to
approach this in a historical perspective : first I did the
Hilbert-Noether period (translating geometry to ideal theory of
polynomial rings), then the Krull-Weil-Zariski period (defining
everything in terms of coordinate rings) to finish off with the
Serre-Grothendieck period (introducing scheme theory)… Not
surprisingly, I lost everyone after 1920. Once again there were
complaints that I was expecting way too much from them etc. etc. and I
was about to apologize and promise I’ll stick to a doable course
next year (something along the lines of Miles Reid’s
‘Undergraduate Algebraic Geometry’) when one of the students
(admittedly, probably the best of this ‘exceptional year’)
decided to do all exercises of the first two chapters of Fulton’s
‘Algebraic Curves’ to become more accustomed to the subject.
Afterwards he told me “You know, I wouldn’t change the
course too much, now that I did all these exercises I realize that your
course notes are not that bad after all…”. Yeah, thanks!

Leave a Comment

the secret life of numbers

Just read/glanced through another math-for-the-masses book : [The secret life of numbers](http://www.amazon.co.uk/Secret-Life-Numbers-Pieces-Mathematicians/dp/0309096588/sr=81/qid=1168541999/ref=sr_1_1/203-3776750-7074362?ie=UTF8&s=books) by [George G.
Szpiro](http://www.citebase.org/search?submit=1&author=Szpiro%2C+George+G.). The subtitle made me buy the book : **50 easy pieces on how
mathematicians work and think** Could be fun, I thought, certainly after
reading the Amazon-blurb :

Most of us picture
mathematicians laboring before a chalkboard, scribbling numbers and
obscure symbols as they mutter unintelligibly. This lighthearted (but
realistic) sneak-peak into the everyday world of mathematicians turns
that stereotype on its head. Most people have little idea what
mathematicians do or how they think. It’s often difficult to see how
their seemingly arcane and esoteric work applies to our own everyday
lives. But mathematics also holds a special allure for many people. We
are drawn to its inherent beauty and fascinated by its complexity – but
often intimidated by its presumed difficulty. \”The Secret Life of
Numbers\” opens our eyes to the joys of mathematics, introducing us to
the charming, often whimsical side, of the
discipline.

Please correct me when I’m wrong,
but I found just one out of 50 pieces which remotely fulfills this
promise : ‘Cozy Zurich’ ((on the awesome technical support a lecturer
in Zurich is rumoured to receive)). Still, there are some other pieces
worth reading, 1. ‘A puzzle by any other name’ ((On the
Collatz problem)) 2. ‘Twins, cousins and sexy primes’ ((How
reasearch into the twin primes problem led to the discovery of a
Pentium-bug)) 3. ‘Proving the proof’ ((On Kepler’s problem)) 4.
‘Has Poincare’s conjecture finally been solved’ ((Of course it has
been)) 5. ‘Late tribute to a tragic hero’ ((On Abel’s life and
prize)) 6. ‘God’s gift to science?’ ((Stephen Wolfram
bashing)) to single out a few, embedded in a soup made out of the
usual suspects (knots, chaos, RSA etc.). But, all in all, I fear the
book doesn’t fulfill its promises and once again it demonstrates how
little ‘math-substance’ one is able to put in a book for a general
audience. But let us end with a quote from the preface that I really
like :

Whenever a socialite shows off his flair
at a coctail party by reciting a stanza from an obscure poem, he is
considered well-read and full of wit. Not much ado can be made with the
recitation of a mathematical formula, however. At most, one may expect a
few pitying glances and the title ‘party’s most nerdy guest’. To the
concurring nods of the cocktail crowd, most bystanders will admit that
they are no good at math, never have been, and never will be.
Actually, this is quite astonishing. Imagine your lawyer
telling you that he is no good at spelling, your dentist proudly
proclaiming that she speaks n foreign language, and your financial
advisor admitting with glee that he always mixes up Voltaire with
Moliere. With ample reason one would consider such people as ignorant.
Not so with mathematics. Shortcomings in this intellectual discipline
are met with understanding by everyone.

Leave a Comment