Archive for June, 2004

Feature Planning

June 9th 2004

I almost wish that I had added more features to the Juk section of the KDE
Feature
Plan
while I had a chance.

I was afraid that I wouldn’t be able to code all the features I had added
in time, but they turned out to be much less work than I expected. Now I
can’t add any more features for a few months (not without paying in bugfixes,
that is).

On second thought, that’s OK. JuK could use some bugfixing, especially
with the list views updating after editing a tag, and the Tree View Mode.

Posted by mpyne under KDE & Programming | No Comments »

My Blogging Tool of Choice

June 9th 2004

One word. VIM.

I also managed to have vim automatically apply HTML syntax coloring to my
Pyblosxom blog
entries. At first I had this sort of involved script function that didn’t
even work right. But after a little digging, I noticed that vim already
supported what I was trying to do natively.

If you too would like to use vim to edit your blogs, then add this to your
~/.vimrc, replacing $PATH with the actually path to your Pyblosxom
datadir. You can use ~ in your path as well. If you’d like to run more than
one command, you can separate them with pipes (|).

Edit: I am somehow not surprised that Planet KDE stripped my CSS
styles from my HTML tags.

autocmd BufRead,BufNewFile
$PATH/* set syntax=html

Posted by mpyne under Personal | No Comments »

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 »

Cats are weird

June 7th 2004

I was sorry to read about
Roberto’s kitten, especially since I have two cats of my own.

One is named Sabrina, and is rather large. The other is named Boots, and
is rather timid. You can see a few photos of them, graciously hosted by my
University.



Sabrina is on the left, Boots is on the right.

I
swear I don’t know why Sabrina likes licking out of the tub faucet.

She
also likes lounging in various assorted containers.

Regarding Sabrina, she’ll happily lay in damn near anything with at least 3
sides. This includes the bathroom sink, the bathroom tub (when she’s not busy
licking the faucet, that is), the stray Thinkgeek.com box
I have lying around, the shelves in the entertainment center, the cabinets
under
the sink, and oh yeah, my computer chair.

Boots isn’t nearly so weird. She’s just scared of all human contact. I
guess
the previous owner wasn’t a very nice guy, although Boots at least doesn’t
have
any physical deformities as a result.

Posted by mpyne under Personal & Pictures | No Comments »

First blog post like, ever.

June 7th 2004

And vim managed to crash while editing it. Go figure. :-P

Of course, it probably didn’t help that I’m psycho and using Vim-with-X
over
an SSH connection from my KDE CVS connection. I should probably report a
bug.

In other news, I need to go to the gym. This will probably be a recurring
theme, however. :-(

Posted by mpyne under Personal | 1 Comment »

« Prev