Removing trailing whitespace in Eclipse

Submitted by Druss on Sun, 2007-06-24 17:30

I suck at regex. But the fact that Eclipse leaves trailing whitespace everywhere is pretty fucking annoying. Although, this will apparently be solved in 3.3, that's still a month or so away (IIRC). Anyways, while I normally just use a   $ regex search (whitespace switches don't like working in Eclipse's find dialog) to repeatedly weed out the bastards, today, I came across a more robust expression. Here goes:

Find: [\t ]+(?:(\n)|$)

SotD: Ayreon - Valley Of The Queens

Submitted by Druss on Mon, 2007-06-18 19:26

Today's Song Of The Day is Ayreon's Valley of the Queens, a breathtakingly beautiful vocal-centric piece. A quiet song, its beauty lies in the harmonies provided by the wonderful Anneke van Giersbergen coupled with the poignant lyrics which paint a moving picture (I'm a sucker for all things fantasy after all). I'm seriously hooked onto Ayreon at the moment.

The lyrics follow:

My journey's over,
I'm standing on the edge,
And close my eyes
To this world of lies.

Eclipse + Subversion : RA layer request failed + could not read status line errors

Submitted by Druss on Tue, 2007-06-12 20:17

Server: Apache 2.0.52 + SVN 1.4.3 + mod_dav_svn enabled. Most repositories also use a bunch of post commit hooks to automate tasks.
Client: Eclipse 3.2.2 + stock subclipse callisto install.

Error message:

commit -m "commit message." files
RA layer request failed
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repo/path/!svn/vcc/default'
svn: PROPFIND of '/repo/path/!svn/vcc/default': Could not read status line: connection was closed by server. (http://example.com)

Parse error: syntax error, unexpected '[', expecting T_PAAMAYIM_NEKUDOTAYIM in ...

Submitted by Druss on Mon, 2007-06-04 02:23

So, what do you make of the error message in the title? I ran into this while coding in PHP and thought that I must've installed a dodgy version of PHP or might have been h4xx0r3d. But a quick google revealed that PAAMAYIM_NEKUDOTAYIM represents the :: operator in Hebrew.

Crazy dudes.

KDE: autostart programs upon login

Submitted by Druss on Thu, 2007-05-24 12:14

The following applies only for KDE 3.x and was the original article:

KDE for all its eye candy and general slickness really sucks on some basic points. One of these is with auto-starting programs upon login. Suggestions to get this working almost always involve having the use the command-line or following a prolonged series of steps for a task which should ideally involve no more than a few clicks. Usually, most people suggest the following as a solution even to newbies:

SotD: Bjork Earth Intruders

Submitted by Druss on Tue, 2007-05-22 23:04

The Song Of The Day is Björk's Earth Intruders. This is pretty much my first exposure to Björk (pronounced Byerk, like jerk), besides a vague memory of watching the video of Army of me back in the day. Catchy song, different style of vocals and lovely percussions + sound samples.

I've also been watching her videos including this cool one.

Tangling with the Samba

Submitted by Druss on Tue, 2007-05-22 13:47

I upgraded to Feisty over the weekend. Everything appeared to have gone through smoothly. However, I found that I could not access my Feisty shares from my other Linux / Windoze boxen. The connection just failed. I could however access other samba and windoze shares _from_ the Feisty box (which was living up to its name :S). So, I tried going into System Settings, Sharing to sort things out by fiddling with the options, making everything readable and writable by everybody, enabling guest account access and so on and so forth.

All to no avail.

Pages

Subscribe to languor.us RSS