Personal info for ragnar

This person is currently certified at Journeyer level.

Name: Ragnar Hojland Espinosa

Homepage: ragnar-hojland.com

Notes: self note: 'diary not here'.

This person is:

Recent diary entries for ragnar:
RSS

6 Feb 2005  »

Well, since I finally managed to remember the password: That's all for now :)

13 Nov 2004 (updated 13 Nov 2004)  »

It's been long time since my last diary update and it still feels as it was last month.. life is busy around here. On the squeak side... I got too disgusted on the gtk thing a few months ago and left it to dry in the sun in case someone wants to pick it up.. it's nice, tho, to see that the Wx thing from Rob Gayvert is still going on. I have a couple of ideas for things to do with squeak whenever we manage to get a standard looking widget set. Notice I say a standard looking, because more and more I like the idea of having non-native widgets in the image.

19 Aug 2004  »

Had some time today and needed a rest, so I had a look back at the gtk code and pounded on it a bit. I easily got it to a point where it handled multiple argument callbacks in squeak such as:

e _ self newEntry text: 'a Label'.

e callbackFor: 'move-cursor' add: (GtkCallback newWithTarget: self selector: #testEntryAction:arg2:arg3:).

and required minimal effort to add new fuctions (effort involves editing one line)

Then I happily I thought it'd be a nice idea to make a little class browser to see what else was needed.. and stumbled upon gtk_list_store_new. This little ugly beast is varadic, which I obviously have no way to handle.

The alternative is gtk_list_store_newv, taking a pointer to an array of arguments instead, which is only a bit better than the varadic fuction. I say this because unfortunately I have no way to handle it with the current C/perl glue code "design" (In order to fish the values out of squeak I need to know their types, and in this case I need the types of value in a value)

Next to check is wether there are newv functions like this, and if (heh:) they take different kind of parameters. if not I could make some sort of special case.. or let squeak pass the type along with each argument in the array.

This is what I get for not knowing the gtk API. It always pays off to think and study the enemy in advance, even for quick hacks.

22 Jun 2004 (updated 22 Jun 2004)  »

A cow-orker thought the mouse that roared was really a cat.. and now that I think of it, it does look like a cat. Is it a mouse, or is it a cat? I'd like a cat, I'm a cat person. We get lots of cats on the green zone near the office.

Lots of animals, huh? :)

21 May 2004  »

I came back from sick leave after 3 weeks (1 of holidays) and when I started picking everything up I found that my little GOODS+Seaside+SOAP+Perl experiment was failing miserabily, with GOODS segfaulting. After some tests I managed to corner the bug to something related to GCC (3.3.x).. now everything works nicely again :)

German was trying the LDAP thingie on Active Directory and it was freezing. Turns out AD uses long concrete form for lengths even when it's not necessary (happily wasting 4 bytes for each element in a packet) and I wasn't adding the length of the length of the length (a byte).

13 older entries...

This person has certified others as follows:

Others have certified this person as follows:

[ Certification disabled because you're not logged in. ]

[ Home | Articles | Login/Account | People | Projects ]