Fading Memories

About

Ramblings about books and other things that will soon fade from my memory.

Boudewijn Rempt

index | rss1.0

There's more...

Creative Commons License
The original artwork is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

Categories, too

Find


Archives

Other things here at rempt.xs4all.nl

2005-04-18

Saint Basil the Great on Usenet

A thoroughly up-to-date saint, is Saint Basil the Great. Here is his opinion on Usenet (του Αγιου Βασιλειου περι του Πνευματοσ βιβλιον):

There is no lack in these days of captious listeners and questioners; but to find a character desirous of information, and seeking the truth as a remedy for ignorance, is very difficult.  Just as in the hunter's snare, or in the soldier's ambush, the trick is generally ingeniously concealed, so it is with the inquiries of the majority of the questioners who advance arguments, not so much with the view of getting any good out of them, as in order that, in the event of their failing to elicit answers which chime in with their own desires, they may seem to have fair ground for controversy.

(KPdf, by the way, is incredible nowadays. Not only does KPdf handle bookmarks, table of contents really well, it also handles Greek letters, can even copy the Greek in the pdf I'm reading now to the clipboard and finally renders the text just beautifully.)


2005-04-17

Another portrait

I think this is going to need another layer, and even so it's not a good likeness. But I feel I have made some progress in thinking in shapes and colours, instead of lines and volumes. And it was fairly quickly done: and hour and a half from sketch to the current state:

I was obviously inspired by those images of Rembrandt's, of his reading mother, and Durer's ditto. I have cropped the image, there's a sketch of a book, too. Irina posed for me; I succeeded in rendering someone who might be related, but who's at least forty years older and has a quite different character.

Still, I'm getting at the stage where the painting is convincing; now for the stage where the likeness is convincing.


2005-04-14

Unsung heroes

One of the most exhilarating things about working on an application in the KDE cvs is seeing the .desktop files expand and expand and expand with translations. Everytime I see another language pop up I feel honoured that someone has just taken my hackwork serious enough to spend serious time on it.

So I really want to say thank you! to all translators who have worked on Krita and who are working on Krita. Thank you! Hartelijk dank! Mille remerciements! Vielen dank! Muito obrigado! Ευχαριστώ πολυ! Большое спасибо! धनयवाद गछु! Xie-xie nin! (Sorry, no Chinese input method on the Kubuntu system.)

And if you have worked on Krita in a language I haven't learned yet -- thanks to you too!

(But if the translator into Zulu reads this: I strongly suspect that "I GNU Umboniso Weprogremu Esabisanayo" means "The GNU Image Manipulation Program" -- and that name fits better with the Gimp, than with Krita.)


2005-04-12

No hacking

No hacking tonight; I'm standing by Irina who is writing query letters to agents for her novel. And I'm compiling Qt 4 beta 2 in a daemon process. I think I'm going to have fun with Qt 4, although in general I really don't like having to spend time updating code that I could have used for new features.

But I did catch one or two memory errors today, Bart made floodfill faster. I do hope we'll be able to fix the rotate/shear/scale code before the release...

Anyway, since I'm rambling... I've been using Kubuntu for a week or two now. I lost my SuSE install in a domestic accident involving a new kernel and a daughter claiming attention just when SuSE thought it had me monopolized.

Kubuntu... I like it, in a touchy-feely sort of way. It's quite friendly. But I really miss the enormous load of functionality of Yast -- I need to do way too much by hand, from the dma settings of the dvd drive to the switching on of the secondary network interface.

And there are little niggles. Nothing somebody who hasn't been a pampered command-line veteran since 1993 (when Linux was still fun, and not a battleground where whiny whippersnappers whine to win, and the platypus ruled supreme) will notice. No coloured directory listings. Vim forgets where it was between invocations. The tab-completion doesn't know what's a directory and what not. SuSE has a much, much more comfortable commandline installation...

Other things missing are fish, java out of the box, flash out of the box, ogg123 -- I like Amarok, I really do, but 10 out of 20 GB of music on my hard disk is copied from vinyl records and carry no metadata except for their directory path. This does not make for easy listening with Amarok. And there are no daily updates as with apt4rpm and SuSE. But that's maybe for the best, seeing what happened to me...

On the other hand, SuSE had trouble working with my sound card, was much slower in booting and shutting down, and didn't have the nifty kdm theme of Kubuntu.


2005-04-10

Bad Java...

I wonder why Java libraries are often of such an execrable quality? I have been working professionally with Java for about half a decade now, and truly, most Visual Basic OCX's are better...

Read more ...


2005-04-09

faces

Are hard. Not with pencil, charcoal or pen and ink. I can do that. But because I started out as a sculptor, I want to use my fingers and my hands. I want to push stuff around. With the aforementioned materials, that is pretty hard. Pencil and charcoal admit of a little finger work, pen and ink not at all. (Stumping is, I recently learned, the correct term for rubbing graphite or charcoal particles around until a life-like effect has been achieved, and is now generally frowned upon.) The very fact that there is so little stuff to push around, means that it is easier to get rid of the sculptor in me and just draw what I see.

With oil paint, that's harder. It's such delightful plastic, mess stuff -- it just begs for the judiciously applied finger nail, the scratch with a pointy stick, the aggressive thump in the right direction. And it doesn't work that way. Apparently, with oil paint, you need to observe to colours, the tonal values and the way they blend into each other. And then try to achieve a thorough technical knowledge of which type of white is good for mixing, which for highlight and which for underpainting and more like that. It's hard, that's what I wanted to say. But I'm a little stubborn and not a little foolhardy, so I try to persevere. And I want a nice portrait in oils of my daughters.

Attempt #1:

I carried this painting a little beyond this snapshot; but I did so using mixed white for glacis; and that just doesn't work. The whole attempt was spoiled by a spotty, rusty fungus-like layer over Naomi's face. I tore the thing up, which I perhaps shouldn't have done. But it did me good...

Attempt #2:

In this attempt I made the mistake of trying to draw instead of paint. Menna's face -- the one on the right -- is not too bad, but the rest is just horrible. Inaccurate in colour, line and composition, and with no real dash. It was a mistake not to paint the background first, I noticed with my third attempt. A strong background, as in the first attempt, really helps to define the faces, as opposed to the white of the canvas-like paper.

Attempt #3:

This is better. In dim light, it actually looks not too bad. It's just not a good likeness of Menna, whose immensely joyful grimace at the time the photograph was made is hard to believe -- it was a Church feast the snap was taken. Still, the painting has form, and a measure of dash.

Maybe that's part of the problem: I ought to work to a living model. Anyway, I'm learning -- and that's always fun.


Praise from sir Hubert

I used to take my old Powerbook G4 firewire with me on holidays -- to have some music and to offload the contents of my digital camera into iPhoto. I used to be completely satisfied with iPhoto. I admit that iPhoto is a bit slow, but it did the job. And I don't mind using OS X now and then. It's a slow mess of inconsistent application styles coupled with really bad font rendering -- something I've blogged about before -- but it's got the its menubar in the right place, it's instant on and it doesn't invite those long hacking sessions that are so inappropriate when on holiday.

But I'm really trying to find excuses to take a Linux laptop -- perhaps even the Powerbook, but running Kubuntu (which I'm also using on my main laptop following a slight accident with SuSE and a new kernel that I don't have time to resolve now). Not to fix bugs in Krita during the beta period, mind -- no, in order to be able to use Digikam and its plugins. Digikam is really the very last word in photograph archive maintaining and image editing.

I don't know where Gilles and Renchi find the time for the amount of work they do -- but the result is impressive. A smooth, well-documented, beautiful application that beats everything I've ever seen before in this area. Including iPhoto. There CImg-based image restoration plugins have completely got Krita's tentative plugin beat and the find-similar images plugin is a godsent. And it's all a real pleasure to use.

Now I only have to make sure I don't spend the holidays hacking Krita even if I've taken a Linux laptop. Maybe just remove the KOffice source tree... That should work.


2005-04-08

F-Day

Sunday night, at 23:59 GMT (or so I suppose, it'd be a mean trick if we'd keep to Christchurch time) KOffice will freeze. I'm still working on adding at least one painterly feature to Krita -- Raph Levien's Wet Dreams water colour simulation, originally intended for the Gimp -- but I need to hack some things into Krita's internals for that.

Tonight, I took the evening off, and watched Douglas Fairbanks in Thief of Baghdad for the second time, with much pleasure. And I found a really old copy of the Gimp somewhere -- a copy dating from the earliest, Motif, days. The Gimp was fast in those days, at least, for starting up. Version 0.54.

It's funny, Krita still cannot do some of the things this version of the Gimp could do in 1997 -- no bezier path selections, for instance, It had better documentation, too.

On the other hand, the Gimp didn't have layers in 1997, just floating selections, and Krita now has a nice new layers box:

Although I need a better icon for the lock. And I need to implement actual layer locking. But that can be done after the freeze -- it's a bug fix, after all. The watercolour paint layer needs to be done now. The colour picker selection tool, by the way is done, and I'm pretty satisfied with the way it works. And Adrian and Bart have both committed a host of fixes in the last weak. We're well set to have a stable, reasonably feature-full paint app/image editor for KDE by June 6.


2005-04-02

I was on the wrong track...

I started a year ago or so with a Krita plugin that closely mimicked the select/colorrange dialog in Photoshop. Of course, before I could start to actually implement the stuff behind that dialog I needed to implement selections. At that point in time, Krita's selections were limited to a rectangle defined by a QRect. In more modern paint apps, selections are bit masks, or even byte masks -- giving you a range of "selectedness". I implemented the byte mask variant (note to self: use Vigra to implement a plugin that can crack an image into selections that correspond to each object on the image and add a possibility to have more than one selection per layer -- one layer for each object.)

However, that particular dialog is not an example of good design. It is modal to start with, it combines a tool -- a selection colour picker -- with a few simple selection algorithms -- select by red, green, blue, yellow, magenta, cyan or shadow. highlight, mid-tone in a dialog which also includes a fuzziness slider, an inversion checkbox and a preview panel.

In Krita, I'll add the select color/tone options to the application menu, and make a color picker selection tool just like we have a selection brush and eraser, with a fuzziness slider and a plus/minus/replace choice in the tool option pane. The hoops I'm jumping through now to use a tool from a dialog box won't be necessary. What a relief -- a good, Krita like way to add useful functionality, getting rid of a semi-modal dialog box and simplifying the code in one fell swoop. Now I only have to do it...

It's a bit of a pity of my nice selection preview code, though. But no doubt that'll get in handy somewhere else.


A little break

I've been coding almost non-stop for about three or four weeks now. From 8:15 to about 17:15 Java hacking for Tryllian, and from 20:00 to 23:00 Krita hacking. And sometimes I could interleave the coding a bit: a quick dive into Java during a long Krita compile or a small bugfix in Krita while the Java unittests were running. I've added the Cimg-based image restoration plugin I have written about before (I see from the cvs digest that Gilles Caullier has added the same functionality to Digikam -- nice!), an almost-working select-by-colour dialog, a few tests and some performance enhancements.

Today I took the day off, more or less. I bought a climbing rose, raspberries and gooseberries, dahlias, lilies and strawberries for the garding and spent the morning with Menna and Naomi in the garden -- Rebecca being laid up with a touch of flue (poor girl; Friday night is our regular movie night, and she was not well enough to watch, and Menna and Naomis stayed up to watch "A Woman in Paris", that well known super-super film by Charles Chaplin).

And in the afternoon I let the kids play their latest game on my laptop while I slept the sleep of the just. I had intended to some hacking tonight, but first I wanted to test the latest version of Krita with my wacom tablet. It turns out that SuSE still does not give me out of the box support with version 9.2, so I had to jump through hoops and consult websites, but I got it working finally. We've had a bit of a regression, as I had feared, because drawing isn't quite so beautiful as it was. No doubt it'll get fixed in the beta...