I am Bender, please insert Clipboard.

Last on for today, I promise.

I have moved beyond the mouse!
- I use awesome the tiling window manager with the fitting but hard-to-google name.
- I use vimperator (as of today with 90% less LAAAAAG) the vim of the browsers (uzbl is not quite there)

One last thing that has led my hand to the touchpad was pasting the clipboard.
Not that I couldn’t have found out the right keys to press, no, but habit is a
hard-to-kick habit… and a two-fingered tap is just not that much trouble.

Today I was tired of it though. Not the tapping itself but the ‘getting the
mouse pointer in the right window’. So I looked it up and it is ‘Shift-Insert’.
Simple as that.

Copy URL from vimperator with ;y<hint> then wget “<Shift-Insert>” to download
the file, all without rodential interference.

Enjoy.

TAG, you're it!

Today the shops were open for business despite it being a Sunday and I grasped
the opportunity to buy a mp3-cassette adapter so I won’t have to endure
ad-infested radio on my morning-commute.

That event led me to an issue I’ve been putting off for some time now.
I own a Sandisk Sansa MP3 player and all in all I’m very pleased with it.

The only thing it does not do is play files according to their location in the
filesystem on the player, everything needs to be properly tagged to be useful.

Some files are not. Now in the past I’ve used exfalso to tag my music, but
today I wanted a quick and dirty command line fix for things and so I’ve
leveraged the power of the bash and mp3info to do my bidding.

Like so:

find . -iname "*.mp3" | while read mp3 ; do
    artist=$(mp3info -p "%a" "$mp3")
    title=$(mp3info -p "%t" "$mp3")
    if [ -z "$artist" -o -z "$title" ]; then
        echo "No Artist or Title on: $mp3"
    fi
done

The fixing was also done with mp3info.
Fix artist for all files in a folder:
- mp3info -a “Farin Urlaub” *.mp3

Fix title with a little help from a shell:
- for x in *; do t=$(basename “$x” “.mp3″ |awk -F’-’ ‘{print $3}’); mp3info -t “$t” $x; done

You get the idea…

I’ll try it out tomorrow morning.

G’night

District 9

Yesterday I went to the cinema.

Actually we went to the Frankfurt Book Fair and walked around there for a
couple of hours but it was so crowded that I couldn’t really enjoy the
experience.

Books just don’t work like that, I didn’t even go to look at the shiny new
ebook readers.

Never mind that now, we had found a cinema in Frankfurt which shows original
versions of current movies. Exclusively originals. I like.

So we went there and watched District 9
(http://en.wikipedia.org/wiki/District_9)

I liked it. A lot.

I thought the xenophobia theme came on a little strong but I liked the overall
tone of the movie. I liked the fact that it didn’t take place in the US of A
(Wikipedia says the story is inspired by historical events in South Africa…).
Now some people cannot see the merit of explicit violence in movies but I think
it fit right in there. The Wikus character was great, because he wasn’t really
likable, egoistic, a bureaucrat, a liar, just a human.

I want to see more SciFi like that.

Hello, how is the fsync today?

So I run a bleeding edge operating system on my one and only home computer.

It’s an Eeepc 901 with a teeeeny SSD on which lives a Debian GNU/Linux with an
unstable/experimental flavor to it.

I also like to surf the web. I do it all the time when I’m sitting in front of
my machine.

Every now and then I run apt-get update && apt-get upgrade && apt-get -t
experimental upgrade.

OK, people who know me would say I do that far to often and in fact i type
that string out compulsively once or twice an hour.

In itself all of these facts might seem banal but mix them together and they
form a highly explosive mixture!

The frequent and heavy I/O operations from the apt operations, induced by my
upgradeitis, clash with the flurry of fsyncs firefox (or rather the
underlying sqlite) uses to assure the safety and integrity of my precious
browsing history. All of this is then delegated to the poor ext3 filesystem on
the slooooow SSD in my 901 and results in an unbearably slow user-experience.

Then I did this: http://ubuntuforums.org/showthread.php?t=1103926

Now all is good :)

(Yeah I know, my data will be lost if I FSU but I’m a big boy now…)

Kabeldeutschland DNS hijacking

Today I made a typo.

The fact in itself is unimpressive but lo and behold there was a web page there at slashd9t.org, who would have thought a crafty spammer had gone through all that trouble to… WAIT A MINUTE.

Big and proud they caught my eye the crest and name of my very own internet provider. The bastards had redirected my failed DNS request to a bloody search page!

I don’t want that. OpenDNS apparently does something similar which annoys me even more, since I wanted to switch there on a whim.

I found this page describing how to circumvent internet censorship by changing your DNS server: http://www.ccc.de/censorship/dns-howto/.

I’ll accept that as a welcome side-effect.

Meh again…

urxvt and back again

Hello world,

there once was a time, when I was using rxvt to do my daily terminal work, which is more or less all my work. As I tend to have quite a couple of terminals open at any one time and am quick to spawn new ones on a whim to do some temporary work, I liked the idea of the urxvtd daemon and urxvtc client to speed up terminal spawning.

I don’t know when exactly, but some day vim broke. I couldn’t get it working under rxvt any more.

My main problem are arrow keys (Yeah I know, who uses arrow keys in vim anyways).

They produce garbage along with ctrl-<arrow key>.

Everything works fine in plain old xterm.

I gave the whole thing another go today because I wanted to have click-able links but nooooo, nothing works.

I fiddled and googled for an hour or so but eventually gave up. Highlighting the link and pressing ‘P’ in vimperator just isn’t that much of a hassle.

Meh…

Atomic energy

There is no linux-image-2.6.31* in debian unstable yet, so I thought I’d just build my own.
Easy enough, one would think, as there is make-kpkg, which turns the whole thing into a breeze and I could simply reuse
the 2.6.31-rc .config.

The whole thing has left me to realize a couple of things though:

1. An Atom netbook as the primary and sole PC sucks.
2. Atoms are sloooow.
3. 1 Mbit is sloooow.

Thus I need:

1. to buy a new computer with a real monitor… eventually
2. to upgrade my ‘broadband’ to 6 Mbit or so…
3. more coffee…

It isn’t even done compiling yet and I’ve left it sitting here for more than an hour.
Customizing the .config and cutting out some unneeded stuff from the distribution build would probably help speed things up.

Also, I got a pirate party button today. I’ll wear it.

Selesai

The ‘get your diploma’ spam is now irrevelant to my interests.

New wordpress

Due to paranoia I’m now running the latest and greatest wordpress version. Rejoice.

golem.de works like a charm

Two things before I get back to learning.

1) I have been enticed by the Nokia N900.
I’m still not convinced it will deliver the kind of freedom I want,
but it’s apparently a damn nice toy.

So there I was, ready to be impressed by an article about the N900 on golem.de
when I realized that I could not watch the video.

One thing I _hate_ about the ‘Web 2.0′ is the fact that _everyone_ is using Flash video players.
I have a video player on my machine, thank you very much, and it performs much better
than anything a browser-plugin could ever deliver.

So what did I do?

This: http://userscripts.org/scripts/show/57038

2) Most of the things I do with a computer nowadays include a console.
Now blogging is one of them: http://ljcharm.sourceforge.net/

UPDATE: I use txt2html –extract to markup posts