Skip to content →

Tag: google

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

minute changes

These
lazy days between christmas and new-year’s eve are ideal to do finally
those things one would like to postpone indefinitely. Here is a list of
the tiny changes made to this blog : At last, an upgrade from WordPress version
2.0 to 2.0.5
. Something I always defer because of the warnings to
back up databases and all changed files and preferences (and as I have
these sporadic periods of changing the PHP-code to my taste, I tend to
forget the changes I’ve made). Still, things went smoothly as far as I
can detect, the only problem I encountered was following the
instructions to the letter, such as

Special Exception:
the wp-content/cache folder should be deleted.

when what
they really mean is that one should only delete the
contents of the cache-directory. So, I had a 5-second
scare starting up the homepage and being greated with an error message
saying something to the effect that WP couldn’t write to this directory.
Apart from security reasons, this upgrade was necessary to install
some WordPress Plugins.
Top of my wish-list being RS-
Discuss
.

RS Discuss is a brand new, tiny, lightweight
wordpress forum plugin that is entirely self-contained and integrates
tightly and seamlessly into your existing WordPress website. Despite its
size, it’s got everything that makes a forum a useful tool:
Full
integration with WordPress’ own user system
Multiple forum
setup
RSS feeds for forums, topics and user activity to keep
track
Search capabilities
Sidebar widget integration
Totally customisable, including different setups for different themes
Fully featured mdoerator controls including pinning and locking
topics
Clean uninstall if you don’t like it :)

So, if
you like to make your own contribution to this site (apart from
commenting), the forums (note to old schoolmates : i know it should
really be fora…) are open to all from the top menu :
forum
. At present I’ve only set up a forum dedicated to discussions
on noncommutative algebra/geometry but if you like other discussions,
you will find a way to let me know. Below each post you will now
find a collection of colourful logos. They enable someone who registered
to one of the may social-bookmarking sites to add the post to their
bookmarks. Here, I used the Sociable
plugin
. Last year I had a brief period experimenting with CiteULike
(see
this post
) and I intend to explore some of these bookmarking
systems further over the coming months. I’ve moved My Online Publication Page
over to this blog using the bib2html
plugin
. It is now avalable from the top menu
: biblio
. Every publication has its own BibTeX-popup link as well as
a link to the full PDF-file of the preprint version of the paper or book
(which may differ slightly from the published version). This page will
soon replace the older MOPP-page. I’ve moved the Archives of this
blog to the top menu :
archive
using the Smart Archives
Plugin
which gives a much better way to read though the past of
NeverEndingBooks. Actually getting this plugin to work did cost me some
time and (security)-worries, but these are solved, I hope. I you cannot
get it to work under WP-2.0.5, contact me and I’ll hopefully still
remember what I did. The default Calendar is replaced by an iCal-subscribable
calendar using the Event Calendar
Plugin
. So far, I haven’t added upcoming events yet, but it seemed
like a good thing to have when our masterclass-noncommutative geometry
starts next semester. Note to Self : Event Calendar is incompatible with
the Sociable-plugin, so deactivate it when you want to add a new event.
And then there are some totally useless plugins which I just couldnt
resist to install. Such as the mystatus plugin
which offers an easy way to let you know what keeps me bizzy these days
(you will find it in the left-hand sidebar) or the GeoPress
plugin
which enables me to add google-maps to whatever post I like.
For instance, as you may have guessed, I wrote this post from our home
and as google-maps of Antwerp have improved drasticly, you can zoom in
to my environment to any level of detail you feel appropriate…

INSERT_MAP

Added : this map seems to work with
Firefox, Flock and Camino under MacOSX but not with Safari. If you
happen to know why, please let me know.

Leave a Comment

Oberwolfach files

If you go
to Oberwolfach and the weather
predictions are as good as last
weeks
, try to bring your mountain-bike along! Here is a nice
1hr30 to 2hrs tour : from the institute to Walke (height 300m), follow
the road north to Rankach and at the Romanes Hof turn left to Hackerhof.
Next, off-road along the Hacker lochweg until you hit the road
Haaghutte-Mooshutte at an height of 855m (this should be doable in under
one hour). A few metres further, you have a view at the highest
mountains in the vicinity of the Institute : the Grosser Hundskopf
(947m) and Kleiner Hundskopf (926m) as on the left. Then, descend along
the Kirchhofweg over Moosbauerhof all the way down to the
Dohlenbacherhof where you hit the main road which brings you back to the
institute going SW. Please take a pump and repair material along, I
had 2 flat tires in 4 days. If you happen to have a GPS, you can
download the gpx-file.
You can feed this to Tom Carden’s Google Map
GPX Viewer
and study it in more detail (I made one wrong turn in the
descent and also briefly lost GPS reception in the forest near the top
causing the top waypoint (the lower waypoint is the Institute)).

If you
were not present and still want to see some of the talks or if you are
just curious in the outcome of Paul’s
frantic typing on his PowerBook, he has put his (selection of
talks)-notes
online
. Perhaps I’ll write down some of my own recollections of this
meeting later.

Leave a Comment