Monthly Archives: April 2007

Power of emacs

Looking around in the internet for some useful emacs stuff and reading some emacs blogs, I found out that there is an emacs lisp package to use XML-RPC blogging APIs from emacs.

So in fact you can post and edit your blog entries using emacs.

Crazy stuff

By the way, this post was written using emacs.

Emacs, UTF-8 and German Umlaute

I use Ubuntu 7.04 Feisty Fawn and emacs-nox 21.4.1. As the GNOME environment uses UTF-8 but emacs doesn’t recognize it, I couldn’t insert german umlaute du to the emacs keyboard-coding-system. To solve this problem I added the following lisp code to my ~/.emacs file. It figures out if the language environment is set to UTF-8 and changes the necessary variables.

(if (string-match “UTF” (getenv “LANG”))
(progn
(setq locale-coding-system ‘utf-8)
(set-terminal-coding-system ‘utf-8)
(set-keyboard-coding-system ‘utf-8)
(set-selection-coding-system ‘utf-8)
(prefer-coding-system ‘utf-8))
)

Random Stuff III

One of my favorite hobbies might be writing stuff using random numbers (well at least what programmers call a random number, it’s not 100% random).
So I can add some additional random generated images:

.

At the moment it requires a lot of calculating, but it’s just a concept, nothing special. The script spends most of the time by trying to figure out which pixels to draw and which to recalculate as they don’t fit the distance threshold. At least it’s easier than clicking all those dots in photoshop.

Pimp my rights

Der Open Music Contest machte es vor, der CCC zog nach und veröffentlichte bereits im Juli letzten Jahres einen Musiksampler, der ausschließlich Creative Commons lizensierte Musik enthält. Im Gegensatz zum Open Music Contest sind auf dem CCC Sampler auch bekannte Bands wie beispielsweise Thievery Corporation vertreten. Die MP3 Version des Sampler gibts hier. Continue reading