Older blog entries for garnacho (starting at number 18)

Kudos to evolution developers

It's all I have to say, they have created an excellent development platform with e-d-s and the plugins stuff:

The other day, while evo was downloading mail, I managed to break download operation, leaving me with about 1000 duplicated mails. Thanks to the cool work of the evo people, making a plugin for removing duplicated mails has surely taken me less time than removing the mails by hand (the code is barely 100 lines). There are still some issues to sort out, but they're mostly ui-wise.

You can get the code and the glue patch with evo here.

Getting a name

The plan I've briefly talked about in other ocassions (more details in the wiki) is getting a good shape, now I have a dbus-ified backend object for the shares list [1] and a library that allows just doing:

int
main (int argc, char *argv[]))
{
  GMainLoop  *loop;
  StbSession *session;
  StbObject  *shares_list;

g_type_init ();

session = stb_session_new (); shares_list = stb_shares_list_new (session);

g_signal_connect (G_OBJECT (shares_list), "changed", G_CALLBACK (foo), NULL);

... }

just to get a list of shared folders, sadly the hardest part right now is being to get a good name before creating a CVS module (libSTB isn't neither nice nor descriptive), so I brought up the issue in the #gst channel and some ideas for the name came up:

  • BackWrap (from Backends Wrapper)
  • GarBack (something about my back? I swear I didn't tell it! :)
  • LibNacho (again my surname got mixed, but this name is tasty)
  • GoBack (GObject backends?)
  • LibOObs (Object Oriented backends system)

Honestly, I have to admit that I like the last one, it's fun and descriptive, and I don't get disturbed if I read "boobs" somewhere (nor to touch them, if the carrier allows me to do so), but people may find it offending [2], so I guess that I'll have to keep thinking in a name and fall back on this one if I don't find anything better... any suggestion? :)

[1] Of course, in an experimental branch
[2] remember the "pair of testicles" issue?

Other GNOME stuff

both Guadec-ES and Guadec are getting nearer, I'm impatient :)

Concerts

It seems to be a good season for Heavy rock concerts in Madrid/Spain!, I've already got tickets for Porcupine tree + Anathema, Soul Sirkus, and Lorca rock Festival (in Murcia, featuring Dream Theater, Iron Maiden, Running wild and others), I'm missing another good music festival in favour of Guadec, and had to refund the In extremo ticket, due to their concert being cancelled...

Congrats to Jeff and Pia!

GNOME

At last (with the rest of the 2.10 packages) the gnome-system-tools 1.2.0 have been released, lots of hard work and bugfixing have gone in this release cicle, so I hope that people will appreciate it.

Software Patents

What can I say... it's a shame to live in the banana republic these days :(

And the big thanks goes to...

  • The GNOME hackers, translators, documenters and artists, they've done an awesome work in the last 6 months
  • Daniel P. Berrange, who has created all I was missing for experimenting with my crazy plans, I really hope that these bindings will be in FreeDesktop someday soon
Jeff: I can tell a couple of reasons for doing it in that "silly" way:

  • It will make the network tool a bit closer to the instant-apply model
  • It will allow this in a non-intrusive way ("why the f*ck have my config files changed if I didn't click the OK button?" :)

Danilo: I have to agree with you that dial-up is a bit buggy (it's hard to code something you can't test, and specifically in debian has switched from wvdial to pppconfig-like), but those aren't the reasons for this, the config is modified too in the distro specific config files when the user agrees to do so, as I answered to jeff, it's more related to instant-apply and user-frienlyness

In another GNOME related stuff, I got my Guadec talk rejected, it seems that my proposal wasn't interesting enough... *shrug*

Sometimes I wonder if people even understand what I'm talking about, of if they simply manage not to hear/read me

Yesterday after some thinking I managed to write down my thoughts about the possible future of the GST backends, it's in the GNOME wiki. Somehow Carlos was able to make public my thoughts before myself, this makes me think seriously that I should blog more often :)

Of course opinions are welcome

This morning Kiwnix told me about the sloccount application, it's a funny program which will perform some Software Engineering studies on your code and will show you how much your effort would cost.

As a little example, I did run it against my current network-admin code (it took me about a month and a week to rewrite it), here's the result:


Totals grouped by language (dominant language first): ansic: 4443 (100.00%)

Total Physical Source Lines of Code (SLOC) = 4,443 Development Effort Estimate, Person-Years (Person-Months) = 0.96 (11.49) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 0.53 (6.32) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 1.82 Total Estimated Cost to Develop = $ 129,331 (average salary = $56,286/year, overhead = 2.40). SLOCCount, Copyright (C) 2001-2004 David A. Wheeler SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL. SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to redistribute it under certain conditions as specified by the GNU GPL license; see the documentation for details. Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."

So I've done my work in about 1/10th of the estimated time, and in my spare time! I don't know whether this means that I'm really really smart, or whether Software Engineering estimates (or this program estimates) are non-functional stuff.

Anyway, I had a laught with this :)

life
Just arrived from a friend's house. we've seen "The pianist", a really sad movie, what it makes it even more sad is the fact that it's based in real facts. sometimes I shame to be part of the human race...

GNOME
the last days I've been mostly working on an authentication API which lets trusted users to run things with root privileges, it's half-way between su and sudo, relying on it's own setuid program. Some people has already told me that trusting in a new setuid program is a bad idea, but I think it's worth, some kind of improvement has to be done in this area regarding to linux desktops, after all, there are lots of tasks that a desktop (no console) user should be able to do and belong to the root user, and the good ol' sudo is much more suitable for command line.

23 Sep 2004 (updated 23 Sep 2004 at 00:22 UTC) »

I can say that today has been a somewhat productive, hacked again on my HIG dialogs API proposal, began hacking on a nautilus extension to show shared folders by using the shares-admin backend (screenshot of the current work here) and even had time to drink a couple of beers with friends :)

Regardless of this, I'd sometimes wish 30 hours days, I've got still lots of things in my TODO...

Update: oh, I forgot to tell, thanks to jimmac for this cool icon, it was exactly what I was looking for, and there it was :)

8 Sep 2004 (updated 8 Sep 2004 at 23:41 UTC) »

Time to be proud again, this time because of this one. It's the new shares-admin that I'm developing for GST 1.2, it's still a bit ugly, but it's improving day by day, it's already able to get and somewhat store the configuration :)

Related to coding too, I'd love to find some rest in CVS for this poor patch, I didn't even get any answer.

9 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!