A blog. A place to prattle. Actually, somewhere to jot down (semi-) useful information.
Quassel IRC and PostgreSQL
Submitted by alex on Sun, 11/07/2010 - 21:33
Quassel IRCFor quite a while now I've been using Quassel IRC as my IRC client of choice. It is somewhat unusual as it is built on a client/core basis - there is a core that runs on a server and is permanently connected to IRC, and a client that connects to the core and lets you interact with IRC. In this way you can connect from anywhere and have access to all the backlog etc. It is still missing some quite major components (such as scripting, dcc, ...), but for now I like it enough to put up with that.
Another difference to most clients is that the backlog (and settings etc.) are held in a database and not in text files. This has both advantages and disadvantages - it is quicker for most operations, but less easy to e.g. search or publish logs (for searching see Quasselsuche. It requires that you run a web server, but works very well.). Quassel supports two database backends - SQLite and PostgreSQL of which the the default is SQLite. SQLite works just fine, but PostgreSQL scales better, so over time (and sooner if you are in a lot of/high traffic channels it can make sense to change. My SQLite database recently started approaching 1 GB, so I thought I'd switch and see how it went.
Fancy bash prompt
Submitted by alex on Sun, 04/07/2010 - 20:31Git comes with a nice little tool that you can use to make it give info such as the current local branch you are in when in a git repository directory. Here's mine (which also includes various colours):
XBMC imon settings
Submitted by alex on Sun, 04/07/2010 - 18:24
iMon-remote
I use XBMC on my HTPC, and it is great. I'm using a case that has a built in iMon IR receiver and vfd readout, which also lets me turn the system on from off (which isn't common with lots of PC remote controls). XBMC needs to be set up to work with these.
As my HTPC runs on linux (Arch linux to be precise), this first of all means setting up lirc and lcdproc. My case also has a volume knob and some media control buttons on the front that need setting up too. There are plenty of guides out there on how to set these up, so I'm not going to here - I'm just going to give my config files that might be useful for others.
Git
Submitted by alex on Sun, 04/07/2010 - 13:10
Revision control systems. Interesting eh? For a long time, CVS was the standard, only for it to be superseded by SVN and others. Recently there has been a lot of talk about so called distributed revision control systems such as Git.