http://bjoernstechblog.rueffer.info/page6/
last updated on 25 May 2018

Björn Rüffer/Björn's Blog

A simple example of a SWING GUI with clojure.

28 December 2010

Writing Java code is pain if you know how simple things can be in lisp. Clojure is a lisp dialect for the Java Virtual Machine and it can be used to do everything that Java would normally be used for.

Writing platform portable user interfaces is a pain, too, and Java seems to be one of the canonical choices for this task. Of course there are other choices like QT, wxwindows, Tcl/Tk, and so forth. However, except for QT these frameworks have a strange look and feel and some require platform dependent machine code. So back to Java. What... Read more.

Fixing Color Printing in Aquamacs Emacs 1.9

30 November 2010

30/11/2010 edit: This post is superseded by this one on the same subject. The new post provides a much cleaner solution.

Dark text on bright background – that hurt’s my eyes after a while. So I prefer to reverse this setting. Luckily, with Aquamacs that’s no big deal, just a simple M-x custumize-face RET default RET and you can easily change the basis of all modes.

So far so good. But recently I tried to print a text buffer containing the log of a meeting. For some reason the print preview showed me white text with some color... Read more.

Run commands non-concurrently

30 November 2010

Recently I found this fantastic tool that lets you pull mails from an IMAP account and push them into another one. Basically implementing a forwarding functionality for me for a certain university outlook mail server (ugly, I know) to a certain free mail service (lets call it gmail) which offers IMAP access and active “pulling” of mails from POP servers, but not from IMAP servers.

The tool I’m talking about is imapfilter. You can set it up such that cron runs it every such and such minutes, but beware that you never ever run two instances of the process... Read more.

Björn Rüffer — Copyright © 2009–2018 — bjoern.rueffer.info