As you all know, Scheme is epic, and guile is a really nice environment for scheme programming. What bothered me for some time was that the REPL (read-eval-print-loop) lacked readline support. After some digging around in the official guile documentation I found a really simpel way to activate it. Guile is actually compiled with readline support, you just have to enable it manually due to licencing problems.

just issue these commands at the REPL:
(use-modules (ice-9 readline))
(activate-readline)

I’ve gone one step further, and created a .guile config file in my home directory, containing those two lines. That enables readline automatically, every time i start the REPL. Nice!

Toon

I recently discovered the awesome GNU Stow application (works on unix-like systems like GNU/Linux or Mac OSX). Stow is a symlink manager, that allows you to easily deploy and remove files to or from a directory.

Setup

Let’s say you have some configuration files in your home directory (eg: .bashrc, .vimrc and a config directory .vim) and you want to have them in git to be able to track your changes and such. It’s not a really good idea to make your whole home directory a git repo. That’s where Stow comes in. Just create a configuration directory, for instance ‘dotfiles’, and create a subdirectory for every app you have configs for. Then place the appropriate files into the right subdirectory, like this:

/home
    /{user}
        /dotfiles
            /vim
                .vimrc
                /.vim
                    ...
            /bash
                .bashrc

You can now make the dotfiles directory a git repository, and keep your dotfiles safe in git. But they’re not yet in the right place, so we’ll ask our symlink manager to fix that for us.

Create symlinks

  1. cd to the dotfiles directory
  2. You can make Stow symlink the files to your homedir like so:
    stow {package}
    where you replace {package} with the name of the subdirectory you created earlier.
  3. If you now want to remove a certain package’s config files, just do this:
    stow --delete {package}

How to install Stow

On Mac OSX

Use Homebrew:
brew install stow

On GNU/Linux

Install stow using your favorite package manager, e.g.:
apt-get install stow

That’s it!

Just wanted to add some things to my previous post.
As you could already read, i’m trying to survive using Windows OS while developing. I’m doing this by installing as much Free Software (Free as in Speech AND as in Beer) as i need to do my job.

This week i had to install some extra software packages to survive Windows Hell.

First off with two Firefox Add-Ons.
Firebug, the ultimate DOM/CSS inspector and javascript tool for web developers using firefox. It comes in handy for example when you’re trying to write CSS stylesheets for complicated websites.

Next up, also comes in handy when writing CSS: a color picker for the browser. ColorZilla is what i used. it’s not a very sleek looking tool but it does a good job picking colors 😉

Also, for all my image editing needs, i installed the GIMP, my favourite image editing tool. As you can tell from this list: i was doing a lot of graphical things this week, which i don’t really enjoy, but it’s part of the job.

Last but not least: i needed a packet inspector, so i downloaded WireShark, the most detailed graphical packet inspector out there.

That’s how i survived this week (along with all items from my last post)
(all of these also work on gnu/linux and mac osx systems)

regards
Toon