Archive for June 8th, 2004

cat `fortune`

June 8th 2004

Fixed a weird error in my build script just now, which was preventing
kdepim from compiling. Of course, I had let kdepim sit there not compiling
for about 2 weeks or so, wondering what it was the coders could be smoking.
:-(

Other than that, my build script seems pretty stable. I’d like it to make
a symlink to the latest log directory to make scanning for errors easier,
which I’ll probably implement after working on drag-and-drop retagging
for JuK.

But first, I’m hungry. It looks like dinner tonight will be Oreos dipped
in milk. :-)

Posted by mpyne under kdesvn-build & Personal | No Comments »

Top Ten Amusing Code Snippets from KDE CVS

June 8th 2004

tronical on KDE IRC gave me a link to an old file he had of the top ten
weirdest/funniest/stupidest pieces of code that were in KDE CVS at one time or
another.

Perhaps my favorite is this gem: emit newState(
i18n("%1").arg(name())

This, of course, reduces down to i18n(name()). But wait,
we’re
not done yet! The i18n() call returns a translated
string from the untranslated one passed as an argument. I know our KDE
translators are good, but how are they supposed to translate a string
generated programmatically??

I have been led to believe that there is a newer version floating around
somewhere. I think that’d be pretty nifty to see. :-)

Posted by mpyne under C++ & Funny & KDE | No Comments »