Claudio Saavedra

claudio@codemonkey.cl

Back in time

2008

Jan, Feb, Mar, Apr, May, Jun

2007

Jan, Feb, Mar, Abr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec

2006

Jan, Feb, Mar, Abr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec

2005

Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec

2004

Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec

2003

Sep, Oct, Nov, Dec

Friends

Free Software

Projects

My employer

Syndication

RSS
Sat 2008/Aug/30
  • I forgot to turn off the coffemaker yesterday. I just discovered that all the water boiled and all the concentrated coffee stayed on the base of the pot. Eek!

  • I'm developing a new addiction. Besides my well documented lemon pie dependency, I'm discovering I love cinnamon rolls. Now if I only learn to cook them..

Wed 2008/Aug/20
  • I'm having an ugly flu that has kept me since Monday in bed, and not feeling really well. Hopefully I'll feel better soon, as I have tons of interesting stuff ahead to do (and I'm too young to die, of course).

Sat 2008/Aug/16
  • My sister Catalina sent me an SMS yesterday evening to tell me that she just had one of her friends installing Debian on her computer, removing Windows XP on the go. And no, she is not a geek.

    Considering that my dad is an Ubuntu user, this makes for three GNU/Linux users in the family.

Thu 2008/Aug/14
  • Anyone out there with a few spare minutes willing to give my hackergotchi a revamp? I particularly like this picture by Germán and think it could result to be really nice and definitively funnier than the current one. I'd really appreciate it!

Tue 2008/Aug/05
  • After some people insisted on it, I reordered and rebased the work in progress code to get some clutter action in the image viewing widget in EOG. Not that it's all ready, but hopefully this will motivate others to contribute and will motivate me to dedicate a few hours/week to get it in a sane state.

    So, the story is as follows: bug #532183 has a patch to add an EogView interface (or abstract class) that widgets like EogScrollView must implement (or derive from). First step is to finish it and get it into trunk.

    Then, bug #546504 has the initial code for an EogClutterView class that implements EogView. Currently, there's only nice transitions between images, there's no zoom, no scrolling, etc, but it's good enough for an evening of pictures, wine, cheese, and good company.

    So, be nice with it, give comments, and even better, contribute to it. A hardware accelerated GNOME image viewer depends on you!

Thu 2008/Jul/31
  • Just wondering how came that nobody told me about that beautiful CTRL-x o mode in GDB!

  • Thank you Cody Russell for having fixed bug #56070!

Mon 2008/Jul/28
  • Today's 20 minutes python hack. I have always loved to organize my pictures in directories with the structure yyyy-mm-dd-some_caption. Today, I got Antía's pictures for past GUADEC and was definitively not interested in sorting them by hand so, 20 minutes of python, and:

    claudio@dijkstra:/media/seagate/fotos$ picsdir.py Antia/ . guadec_antia
    creating dir ./2008-07-11-guadec_antia
    creating dir ./2008-07-14-guadec_antia
    creating dir ./2008-07-10-guadec_antia
    creating dir ./2008-07-13-guadec_antia
    creating dir ./2008-07-08-guadec_antia
    creating dir ./2008-07-07-guadec_antia
    creating dir ./2008-07-27-guadec_antia
    creating dir ./2008-07-15-guadec_antia
    creating dir ./2008-07-17-guadec_antia
    creating dir ./2008-07-09-guadec_antia
    creating dir ./2008-07-12-guadec_antia
    claudio@dijkstra:/media/seagate/fotos$

    Get the small script, if you think it's useful for you. Probably, not. It's not the most beautiful code on earth, but the whole idea was to spend less time coding than in sorting (wasn't that the original goal of computer programming, after all?).

    Thanks to pyexiv2 for doing all the real work.

Thu 2008/Jul/24
  • On how we blew up the place during the GUADEC cocktails party, I can only say...

    The Drooling Macaques Band 2008
    Original picture by Mario Gonzalez

    From left to right, Edward Hervey, John Palmieri, Lucas Rocha, me. Kudos for the others as well!

Sun 2008/Jul/20
  • I uploaded some of the pictures I made in Istanbul during GUADEC. See the flickr set for some of them. This one, taken near the New Mosque, is one of my favorites:

    reading

Tue 2008/Jul/15
  • Let's try to summarize activity for the past two weeks.

    Monday 30th: Picked up from the A Coruña airport by Juanjo and Calvaris. Went to the A Grela offices, met the Igalia crew again. Had lunch with some of the guys. Some work done. During the evening, took a walk with Eva through Ciudad Vieja, the beaches, and the Calle Real. Andres joined for some tapas.

    Tuesday 1st: Picked up from the hotel by Juanjo. Went to the Uni da Coruña, visited the CITIC offices. Met there Mario, Jota, and Montse. Back to A Grela, conference meeting with Alex. More work done. Lunch with the guys, during the afternoon more work and meetings. Went to Mario's parents house for a churrascada. Met there Edu, Chema, and other Igalians.

    Wednesday 2nd: Picked up from the hotel by Juanjo, gone to A Grela. Some work, planning, organizing the travel to Fuenlabrada with Berto, Mario, Victor, and Felipe. During the evening, made some pictures on the beaches, the Calle de hercules. Met Calvaris and Laura at the Praza do Maria Pita, went for some Turkish advices to the local Kebab restaurant. The good Turkish there told us a lot about Istanbul and places to visit. Nice Dürüm, by the way.

    Thursday 3rd: Picked up very early by Mario, checked out, taxi to the airport and off to Madrid. Flew alone but waited in Barajas for Mario, Berto, Felipe and Victor. Took the metro to Nuevos Ministerios, there Cercanias to Atocha, and then to Fuenlabrada Central. Arrived at the GUADEC-es venue right in time to attend Germán's talk on GNOME and Innovation. Great stuff; I'd really love the GNOME people to listen Germán's views on innovation. Met Garnacho, KaL, and all the old spanish friends. During the evening, guided visit through Madrid downtown. Later, dinner with all the people. Met the good Jorge González and the Majadas siblings. At Midnight, traveling voodoo in order to make it to Fuenlabrada. Two hours later, at the hotel.

    Friday 4th: More GUADEC-es. Finished my talk on eog plugins. Emotive recognition to the translation work by Javi Serrador, nice to see him fine and to see his mother proud. Later, met Loreto at Atocha. Happy to see Luca again, he is growing up fast! The Igalians joined Germán, Domingo, and Garnacho for some tapas at Madrid's downtown. Back at the hotel right in time to pick the last cercanias train to Fuenlabrada.

    Saturday 5th: Left pretty early in the morning direction Barajas with Victor. Terminal 2 is a mess, had to do voodoo in order to check in in time. Good flight to Vienna, bought a book in german in the Schwechat airport. Flight to Istanbul, overflew Budapest, a bit of nostalgia to see the Danube and some of the islands again. Met Philip Van Hoof and some Nokians (Karl, Ivan, Rodrigo, and others) in Atatürk airport. Taxi with Mario and Philip to the hotel in Sirkeci. A small walk through Sultanahmet area, dinner, and pictures. Istanbul is awesome! Met some gnomies at the bar besides the hotel, chat with Hub, Bastien, Hughsie, and others. It already feels like GUADEC!

    Sunday 6th: Left the hotel early in the morning with Mario, some tourism at the Blue Mosque, Hagia Sophia, and Sarayburnu. Had lunch, then visited the Basilica Cisterna. Met Philip and walked through Sirkeci, Eminönü, to Kabataş. Back to the hotel really tired. Dinner with Alex and Dape, who arrived during the afternoon. Had fun listening a fellow hacker chatting with a gorgeous ukranian girl about free software, linux, filesystems (!), network protocols (!!), reiser fs (!!!), and the Hans Reiser's story. Juanjo, Antía, Sergio, and the other igalians arrived later.

    Monday 7th: GUADEC starts, nice to see everyone again. The Bahçeşehir Üniverstesi is a bit apart from Sirkeci, tram + 20 minutes walk do fine. Lunch at the uni cafeteria, sadly, no Turkish coffee but nescafe crap. Had some meetings. During the evening, dinner somewhere near the hotel.

    Tuesday 8th: More warm up talks. The schedule is a bit messy and I couldn't attend some talks, but things are fine. Lunch at a restaurant recommended by Germán. Cheap but nice food. No Turkish coffee. During the evening, welcome party in the Taksim area. Nice to talk with André, Jens, Ádam, and others again. Back to the hotel in a race-taxi at god-knows-which-speed. Arrived safe, fortunately.

    Wednesday 9th: Core days start. After so many days sleeping so few, it gets hard to stay awake. Nice talks, better networking. Excellent keynote by Leisa Reichelt. During the afternoon, set up the equipment for the Drooling Macaques Band at the roof of the University building. Practiced some songs with Garnacho, Lucas, Chris Lord, Edward Hervey, John Palmieri, and others. Awesome jam with Volkan, one of the finest drummers in Turkey. During the party, played with the guys some nice rock tunes and blew up the place. People seemed to like my guitar skills more than what I would have expected. Back to the hotel, dinner with Lucas, Germán, Pedro, and the Igalians.

    Thursday 10th: I finally didn't bring my laptop to the University anymore. Pretty unreliable internet access and not many places to plug the laptop, so I better use the n810 for basic stuff. Really good keynote by Kris on GTK+, (un)surprising proposal by the GNOME release team about GNOME 3.0. More talks. Lunch with Pedro near the Uni, good talk about GNOME Chile and some upcoming events. Federico told me where to find Turkish coffee! Awesome keynote on WebKit by Alp Toker. Love to see what they've been doing. Had dinner with Antía on our way to Kabataş, to the party by Collabora in the Lüfer boat through the Bosphorus. Totally scared about the icecream deathmatch -- I would've feel totally crappy if something would've been wrong (as I'm guilty for having recorded the previous edition), but everything went well.

    Friday 11st: Last core day, some good talks. Loved the lightning talks and totally regretted not to have prepared one. Enjoyed the foundation's AGM, and later the interesting keynote by Federico. Foundation announced next GUADEC to be held in Canary Islands --sad that it won't be in A Coruña, but at the same time, confident that Alberto and the canarians will do a good job. Closing party in the Ghetto in Taksim was a blast. When kicked out from it, found another place with many others. Party until pretty late.

    Saturday 12nd: Afterhours day. Decided to visit the Grand Bazaar and Spice Bazzar; and skip the morning talks. Went with Germán and Ivan. Bought much more than what I thought I would, including turkish coffee, Çay (turkish tea), some souvenirs for friends and family. Dinner near the Spice Bazaar, back to the hotel, and then to the University. Good talk by Alberto on GTK+ marketing, good points on what GTK+ people is doing wrong to advertise GTK+, but ironically, no GTK+ hackers around. Not their fault, nor Alberto's fault: this talk was too good to be an after hours one. Later, went to Üsküdar with Alberto, some Igalians, and Germán. Saw a nice turkish musician play live at a cafe while drinking some apple tea. Back to the hotel, enjoyed the last waterpipe and beers, slept one hour.

    Sunday 13rd: Wake up at 4am, picked up by a taxi, and off to the Airport with Juanjo, Alex, and Germán. Flew to Munich, but didn't have enough time to have a walk in the city. Breakfast, slept in the airport, flight to Madrid. Met Germán at the Oso y Madroño. Had some food in the Cafe Comercial. Went to the Santiago Bernabeu stadium, but too late to get in. Off to the airport right in time to take the plane back to Chile. Had an good flight, and for the first time, I could sleep during most of the flight. You can imagine why, don't you?

Mon 2008/Jul/14
  • Yesterday, I woke up in Istanbul, Turkey; had breakfast in Munich, Germany; and had dinner in a nice bar in Madrid, Spain.

    Today, I write this at my desktop in Santiago de Chile. The interesting bits from the two weeks on the road, pictures, and more, in the near future.

Fri 2008/Jul/11
  • Dear Rob Bradford: If you can't accept promptly people's requests to be part of the GUADEC 2008 Flickr group, then pretty please, make it a public and non moderated group. We all really want to upload pictures and watch those from others. Thanks.

Thu 2008/Jul/10
  • I definitively haven't had the energy to write anything during the last week and a half. The days in A Coruña, Madrid, and now Istanbul has been one of the most wonderful experiences ever. And there's still a lot of things to do during the next days.

    A Coruña is a pretty nice city. The first day there, Eva took me to the Ciudad Vieja and gave me a pretty interesting lesson on Galician history. We ended the evening de marcha, having some tapas with Andrés.

    The next days were composed of work, meetings, barbecues, and pictures. That, until Mario, Berto, Víctor, Felipe and I flew to Madrid for GUADEC Hispana '08. The conference was pretty cool, as usual (thanks to KaL and the others for the fine work they did).

    At Atocha

    Now I'm in Istanbul, Turkey, attending GUADEC. But this is material for other day, as I'm deadly tired right now.

Tue 2008/Jul/01
  • This is how A Coruña welcomes its visitors:

    Benvido a A Coruña

Sat 2008/Jun/28
  • It's that time of the year again. Tomorrow, I'll leave for a pretty tight but extremely exciting trip in Europe, from one corner in the west, to the other in the east of the continent. Really tight, but I'm sure it's gonna be a hell of fun.

    First stop is A Coruña, where I'll meet the Igalia crew for a few days, in order to get to know them a bit more personally, learn a bit more about the company and my future home, and of course, a little bit of work.

    Next stop is Madrid, where I'll attend the fifth GUADEC Hispana. This year's conference will take place in the Fuenlabrada campus of the Universidad Rey Juan Carlos, and it really promises interesting days. I'll give a small talk on how to extend the Eye of GNOME Image Viewer, so if you are interested on having fun with images, metadata, and that sort of stuff, you're more than welcome.

    You probably imagine my final destination: Istanbul, in Turkey, where most of the GNOME people will gather for GUADEC, the GNOME Conference. I'm really excited, because I always wanted to visit Istanbul, and mixing together a bunch of good friends, the project I love, and one of the most beautiful cities in the world, can't possibly be bad at all.

    It's gonna be like nine flights in less than 15 days. Not bad, uh?

Fri 2008/Jun/20
  • Since a few months, my dad has been using Ubuntu in his new desktop computer. And he is a happy user.

    He had been using Windows 98 in his old computer for quite a long time, so it wasn't a difficult task to convince him that Ubuntu wouldn't be difficult to learn for what he was used to do: write documents, prepare spreadsheets, play Tetris and Freecell, and listen music. So, when we got his new computer ready, I downloaded and installed Hardy Heron on it.

    The experience has been really pleasant. Now he fully understands what GNOME is, and what do I do with my free time. He also jokes a lot every time something doesn't work immediately for him and tells me he is going to call Pedro to complain. I laugh everytime at that.

    He now listens to his music with Rhythmbox. He was used to the good old Winamp, but once he understood the library organization of music in Rhythmbox, he told me that this is far superior. I've also helped him to set up a Last.fm account, and now he scrobbles his listening habits. Also, he listens to the Last.fm streams with the Last.fm client. Last but no least, he is an avid Gnometris player.

    During the first weeks, I had to help him installing the software updates. I insisted to him that it was important to run them regularly, so that his system becomes more and more stable. Yesterday I realized he hadn't asked me for assistance in a long time, and asked him about it. It was really pleasant to hear him tell me that he's been doing all the software updates without needing my help at all.

    When I think of all this, I realize how far we've come. People may think that GNU/Linux is only for geeks, but seeing my dad, enjoying using his computer without worrying about viruses, without being afraid of messing with the system, and actually being able to do his daily routine at the computer, makes me feel proud. We all should feel proud.

    So, what's your story? Does any of your non-computer-literate relatives/friends/significant other uses GNOME or other Free Software environment? I would love to read others' experiences.

Wed 2008/Jun/18
  • A few weeks ago I was invited to give a talk about the GNOME Desktop at the Primera Jornada Linux in the Instituto DuocUC, Plaza Oeste. Sometimes I feel that it may become boring for people to attend this kind of talks, but in this talk, when I asked the crowded audience to raise their hands if they had ever used GNU/Linux or GNOME, only a very few did it. That means that there's still a huge amount of people who doesn't know about what we do and who could be potential users – enough motivation to give advocacy talks again and again.

    Advocacy

  • I'm loving my work. Still need to organize better my time – working at home can prove to be really challenging if you don't set your work hours responsably – but I'm improving.

Wed 2008/Jun/04
  • Can you trust the tracking systems of your local postal service?

    I don't get how could it be possible that the documents left Curicó one hour after they arrived in Santiago.

    And we pay for this kind of service. Oh, dear...

Fri 2008/May/30
  • This morning I found a small bug in GCC, but the GCC hackers are always one step beyond us: they had already fixed it in 4.3.0.

Sun 2008/May/25
  • Exciting times ahead! Tomorrow will be my first day working at Igalia, one of the coolest Free Software companies in the world, where I'll be joining some very good friends in the Innovation team and will work in projects involving GNOME, GTK+, and maemo. Isn't it awesome?

    During the first months, I'll be working at home in Santiago, but once the paperwork and visa are ready, I'll move to A Coruña, in Galicia. I'm very excited because I'm sure I'll face many new challenges, but at the same time, pretty confident that I'll be doing really cool stuff together with incredible people.

    Igalians

Mon 2008/May/19
  • About accommodation during GUADEC

    If you plan to attend GUADEC, this is surely of your interest. The accommodations page in the GUADEC 2008 website has been updated. The organizers recommend a series of hotels, so you are encouraged to check out which one fits better your interests for the days at Istanbul.

    Also, we've set up an accommodation collaboration wiki for people to find mates to share rooms. If you plan to attend and have already someone to share the room with, add yourself anyway, in order to give others an overview of the attendants preferences.

Sat 2008/May/10
  • For some reason, Facebook's presence bar makes epiphany really slow during scrolling. If you, like me, don't use the presence bar, add this to your personalized style sheet:

    @-moz-document domain(www.facebook.com) {
    	body #presence { display: none; }
    }

    This will hide the presence bar and bring smoothness back.

Mon 2008/May/05
  • So, two afternoons hacking and the clutter frontend for EOG is a bit more fancy. Click on the image for a screencast:

    Clutter powered EOG

    I wonder if it's a good idea to make this a windowed mode. I've need to bend a bit the EOG API and do a few strange things to make the clutter canvas replace the EogScrollView and I don't like it too much, so I'll probably make it only a fullscreen mode.

    I haven't published the code yet because there are a few glitches I would like to iron out first. Also, I'm not sure whether this should go with the yet unreleased eog-plugins module or as a module by its own. I should talk with Lucas about it.

Mon 2008/Apr/28
  • Last night, after having recovered enough sleep after FLISOL, I started working on a clutter frontend for EOG. The progress after a couple of hours learning about clutter and hacking (click on the image for a screencast):

    Clutter powererd Eye of GNOME

    Not sure where I want to get from here, but I have some ideas. Making the thumbnails view a widget on top of the clutter canvas, accelerated zoom and image rotation, and stuff like that, are what come to my mind right now. Let's see if I get something.

Wed 2008/Apr/23
  • My dad was discharged yesterday and is now at home. Besides the additions to his daily dose of pills and the increased frequency of his clinic visits, everything is back to normal.

  • On Saturday, FLISOL, the Latin American Free Software Installation Festival, will be held at different locations in our continent. My alma mater is organizing the Maule edition and I've been invited to give a user oriented talk about the GNOME Desktop, so I'll be traveling to Talca.

    I'll also give a hand to the people willing to install Debian GNU/Linux on their computers and to the brave ones trying to build GNOME from sources. I encourage you to attend and have a nice time learning how to use your computer without proprietary tools and why this matters.

    FLISOL sign at the Universidad de Talca

Sun 2008/Apr/20
  • Some Chileans are getting it wrong, again. And the worst is that these Chileans, to some extent, claim to carry the free software advocates and promoters flag.

    During the last weeks, I received SPAM from two different entities that promote, in different ways, free software in my country: Corporación Linux and GNUCHILE. I was very surprised when I received the emails from them, which showed that they don't understand how much the FLOSS communities and developers all over the globe reject and disapprove the usage of massive unsolicited email.

    The first SPAM came from Corporación Linux, a Chilean company that gives support on Linux and other free software technologies. I don't know much about this company, but I'm first of all surprised of their usage of both the name Linux and the Tux Penguin. After some research, I found out that you actually need permission from the Linux Mark Institute to do this, so I notified the Institute about this possible trademark abuse (note the emphasis on "possible" –I'm not really aware of the permissions they may have to use the Linux logo and name, and that's why I notified LMI in the first place).

    The second SPAM came from GNUCHILE, a Chilean foundation devoted to the spread of the GNU operating system and Free Software in general. The contents of the SPAM seem noble: it's only an invitation for people to attend the FLISOL in Santiago, next week. Still, it's discouraging to see them using SPAM for this: the end doesn't justify the means.

    I'm concerned, because this is the kind of issues that may give the wrong impression about the people behind FLOSS. I'm sure that most of the real Chilean contributors, advocates, and developers of FLOSS are against SPAM, as a matter of principles. Therefore, seeing these people using it makes me feel like we are moving backwards.

Mon 2008/Apr/14
  • Dad was moved out of the Acute Care Unit last Friday, but has not been discharged yet. In the general sense, he is pretty fine now. Some tests still need to be done and he should stay in complete rest, so he won't be discharged before Friday.

  • I've been pretty lazy during the last weeks, and specially now because of my dad's situation. I haven't feel in the mood to do much in any front. I suppose it's natural after many months of stressful work. I think that plugging me off of computers and taking a few days away would be optimal, but I don't think I can afford it in the short term.

    To compensate, I started reading an Erich Kästner's book I bought in Dresden and never finished. It's great to realize that I still can read German fluently, even when Kästner is not Goethe and therefore his writing is reachable.

    I also started watching Numb3rs, even when desrt warned me that it's yet another series and there's nothing special about it. Now I agree with him, but I have to say that I like the way they show math as a useful resource everywhere. A few years ago there was a CSI hype in Chile, and a lot of high school graduates started studying forensic sciences as a consequence. I really wish there would be a similar Numb3rs hype and more people started studying maths or computer science but, of course, that's just a dream.

Thu 2008/Apr/10
  • Yesterday, I had to take my dad to the ER of Hospital Salvador, where he was diagnosed with a cardiac arrhythmia. The doctors decided that he should stay in the hospital while they find a suitable treatment and his heart rate stabilizes.

    I visited him today and he's in a very good mood, although his heart still beats at a irregular rate. They'll be running more tests on him, and he'll probably be moved out of the acute care unit in the next days, so I'm pretty calm at the moment.

    The situation overall has been a little stressful, though, as it's the first time I have to assist him in a medical situation. Even when he's 65, he has always been very independent and responsible of his health, so all this came to me as a huge surprise.

Tue 2008/Apr/01
Thu 2008/Mar/27
  • I finally graduated as a Computer Engineer. A huge thank you to my family and all the people who supported me during all this time and, specially, during the time I worked in my final project and dissertation.

    Ingeniero

    I'll be publishing my work and releasing the code pretty soon.

Tue 2008/Mar/25
  • I love beamer, but there is this small issue that makes it impossible to use properly in a non english nor german presentation: The example, theorem, definition, and similar environments are hardcoded to english. If you need to do a talk in German, beamer author was kind enough to provide with Beispiel, Lemma, Definition, and others. But if you need to do a talk in any other language, then you are on your own.

    If anyone knows how to cope with this and be able to redefine the titles for these environments, I'd really appreciate it.

    Update: an inspection of beamer templates has lead me to realize that beamer uses a strange way of translating. You need a package called translator that is in beamer CVS, but it's not totally documented, nor packaged in a useful form.

    Update 2: To get your beamer talk properly translated to Spanish, do the following:

    1. Download the files translator.sty and translator-language-mappings.tex. Install them in the proper way for your distribution (instructions for Debian here). You can optionally download the documentation and place it in the proper place, of course.
    2. Get my dictionary of mathematical terms from here. If you need to translate other stuff, get the original ones from beamer's CVS.
    3. Put the dictionary files together with the files downloaded in (1).
    4. Use spanish as a parameter for the document class definition. Beamer will take care of passing that parameter to the translator package.
    5. Compile. Enjoy.

    Now you should be able to defend your dissertation with a properly localized talk. Good luck with that!

Sun 2008/Mar/23
  • Following up my entry on GBookmarkFile and the desktop, I wrote today a small program to clean up a given bookmarks file. Given a XBEL file, it'll remove all the entries for nonexistent files.

    I used it to clean up my own ~/.recently-used.xbel, which shrank from 5.3MB to 1.8MB. Notice that this will remove all entries for files that cannot access, including the entries for items in removable media that is not plugged in. I think that this could be improved by using g_file_query_info, but it's Sunday and I want to go out and take a walk. :-)

    Get it from here. Patches and comments are, of course, welcome. Use it under your own risk!

Sat 2008/Mar/22
  • One thing, that EOG users have been complaining lately about, is the large time spent during image switching. Thanks to sysprof, I had discovered a while ago that a considerable part of that time is spent in saving the GBookmarkFile used by GtkRecentManager to ~/.recently-used.xbel.

    The first thing I did, to alleviate users, was to delay the saving operation of the GBookmarkFile to a low priority idle call. This way, when a user switches between images, she first notices the image change before the bookmarks file is updated, which gives a good responsiveness impression.

    Problem is, that when a user wants to switch between images really quickly, she is going to notice the slowdown anyway. So, either a complete change in the way we handle recently used files is needed, or real optimizations should be done.

    Felix and I found some things that could be optimized during the creation of a GBookmarkFile file. We filed bugs about it (#518160, #523877), and Emmanuele has been very helpful on this, so there'll be some improvements in the saving time. Good.

    However, I still have the feeling that letting ~\.recently-used.xbel grow without control is very, very wrong. In my laptop, this file is about 5MB, which accounts for ca. 9000 files(!). Also, loading it completely every time an application gets the default GtkRecentManager and saving it each time a user selects a different file, is also very suboptimal. We really need to do something about this.

Thu 2008/Mar/13
  • Dissertation delivered. Now to prepare for the defense.

Wed 2008/Mar/12
  • It's both fun and a bit of pathetic that now that our timezone for the rest of the month is not CLST (Chilean daylight saving time) but CLBT (Chilean Bachelet time), I receive lots of mails from the future.

    If you live in Chile, do me a favor: set your timezone to BRT (brazilian time) for the rest of the month. Thanks.

  • Hughsie: maybe you are failing to pass the Turing test? :-)

  • And the community made it in time again...

    GNOME 2.22 is released!

    Enjoy it!

Tue 2008/Mar/11
  • Yesterday, we released the Eye of GNOME 2.22.0. This is a major release to be included in GNOME 2.22, to be released tomorrow.

    This is mostly a polishing release after the big rewrite we did for 2.20. There are tons of bugs fixed, many memory and performance improvements, and also a small bunch of features came in.

    I want to thank to everyone who contributed during the last 6 months with patches, testing, suggestions, translations, documentation, and the like. Special kudos, as usual, to my good friends Felix and Lucas.

  • Yesterday, a new t-shirt arrived from France. Thanks to Vincent (nowadays most known as Mr Ice-cream) for sending me one of those nice FOSDEM GNOME t-shirts (it arrived the right day!)

  • My dissertation is almost ready to be handed out. I need to polish a bit the results chapter, and will be delivering really, really soon.

  • Thanks to everyone who one way or another greeted me yesterday!

  • Now that I'm working on getting a highly polished document for my thesis, I thought I better share some of the non-trivial stuff I've been using to make it look pretty.

    • For documents in Spanish, hyphenation can be problematic. Some words may not be correctly hyphenated, so you need to add them to the preamble under \hyphenation. Every LaTeX user knows that.

      The problem is that if you need to add to that list any word in Spanish that has an acute or any accentuation mark, it may cause problems during compilation. To avoid that, use the fontenc package and specify the T1 encoding.

    • You may want to use pdftex to get a PDF summary. If the title of your document, or your name has also accentuation marks, you need to set unicode=true in the options for the package, and add your accentuation marks in the old TeX way: \'a, \'e, and so on. Otherwise, you'll be yet another one to fill the internet with documents with PleaseinsertPrerenderUnicode{x}intopreamble messages.

    • The default font size for tables, figures, and other bodies' captions is the same than the size for the document text. This may cause confusion for some of your readers, so it's better to use a smaller font for the captions. To get this, I added the following to the preamble:

      % Different font in captions
      \newcommand{\captionfonts}{\small}
      
      \makeatletter  % Allow the use of @ in command names
      \long\def\@makecaption#1#2{%
        \vskip\abovecaptionskip
        \sbox\@tempboxa{{\captionfonts #1: #2}}%
        \ifdim \wd\@tempboxa >\hsize
          {\captionfonts #1: #2\par}
        \else
          \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
        \fi
        \vskip\belowcaptionskip}
      \makeatother   % Cancel the effect of \makeatletter
    • I needed to add enumerated examples, for clarity. This is not hard to do, but here's how I did it anyway. You can use for this the asmthm package, and create a new theorems class. The following in the preamble of your document

      \newtheoremstyle{example}
      {\topsep}
      {\topsep}%
      {}%         Body font
      {}%         Indent amount (empty = no indent, \parindent = para indent)
      {\bfseries}% Thm head font
      {.}%        Punctuation after thm head
      { }%     Space after thm head (\newline = linebreak)
      {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}%         Thm head spec
      
      \theoremstyle{example}
      \newtheorem{example}{Ejemplo}[chapter]
      

      will allow you to do something like

      \begin{example}[gramática para un lenguaje]
      Considérese el lenguaje de todas las palabras compuestas únicamente
      por pares de paréntesis balanceados, descrito recursivamente como: ...
      \end{example}

      to get something like

      Ejemplo 2.1 (gramática para un lenguaje). Considérese el lenguaje de todas las palabras compuestas únicamente por pares de paréntesis balanceados, descrito recursivamente como: ...

    I collected the ideas for these tricks and some code snippets from the web. I don't recall exactly where from, so no links this time.

Fri 2008/Mar/07
  • Dear Spanish translator of Debian's su(1) command:

    Could you please bring me back the space after the colon on the Password prompt? In Spanish, a space after comma, colon, semicolon and so on, are mandatory. kthxbye.

    Update: Filed in Debian's BTS.

Mon 2008/Feb/25
  • I got a nice suprise today in the mail: Lucas sent me a lovely Eye of GNOME T-Shirt!

    EOG hacker and his EOG
		T-Shirt

    This is one of those small acts of kindness that make me love the free software community. Thank you a lot, dude!

Fri 2008/Feb/22
Thu 2008/Feb/21
Sat 2008/Feb/16
Fri 2008/Feb/15
  • Last month, I went to Valparaíso. I stayed for a few days, and took the chance to visit a bit more of the lovely puerto. This time, I took walks on the Cerro Alegre, Cerro Concepción, Cerro Bellavista, Plaza Sotomayor, and other interesting places.

    I almost visited La Sebastiana, one of Pablo Neruda's houses. I declined visiting it, for the same reasons I got really upset when I visited Isla Negra while I was still in high school. Prices for students are reasonable, but only valid during weekdays. So, if you are a student from a different city who can only travel to Valparaíso during the weekend, you have to pay a normal fare, which is pretty unfair. I had forgotten about that (high school was like 7 years ago), but had the same feeling this time. So I rather not visit it.

    Valparaíso is really colorful. With a sucky camera like mine it's hard to depict the beauty, but either way, I made a few pictures.

    Cuatro botes

    Ascensor Espíritu Santo

    I love the colors but I hate the pole

    With Betti and Marie we went to Viña for the day. That city was really crowded and there was way too many people around. I wonder why people is so obsessed with making vacations in Viña, when it clearly sucks to share every m2 with three or four people. I'm glad the girls lived in Valparaíso, and not there.

    summer?

    Bettina already flew back to Dresden. Marie will leave next Tuesday. I'm thrilled to think that it's unlikely that we will meet again, once she's gone.

Fri 2008/Feb/08
  • I couldn't help it. I had to hack a bit today.

    A report coming from Launchpad showed that EOG needs a lot of memory to load big bitonic TIFF images. These images shouldn't really use so much memory, as, in the best case, only 1 bit is needed to store each pixel. An image of 15000x5000 pixels then would only need about 9 MB in memory, but due to some limitations in libtiff and GdkPixbuf, we require 4 bytes per pixel, meaning that instead we need about 286 MB. Certainly a waste, but not much that we can do at the application level.

    Something surprised me, though. Loading a 5 MB TIFF image in EOG for the first time almost killed my poor laptop. But, loading it a second time, showed that even when ridiculous amounts of memory were required, the responsiveness was better and load time was much less. So, I decided to investigate what was going on there.

    I used valgrind's massif to check what was going on. Opening the evil TIFF image from a newly created directory, produced this output:

        MB
    552.7^                             ,.. .. .., . .. .. .,.#...                 
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                          @  @:: :: ::@ : :: :: :@:#:::             :   
         |                ,    @....@  @:: :: ::@ : :: :: :@:#:::             .   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |                @    @::::@  @:: :: ::@ : :: :: :@:#:::             :   
         |            .. ,@    @::::@  @:: :: ::@ : :: :: :@:#:::             : ..
       0 +----------------------------------------------------------------------->Gi
         0                                                                   12.07

    The first band, at around 280 MB, represents the memory used when the image is first loaded. The second one appears when EOG loads the thumbnail for the image. As you can see, it's the double than the first one!

    Problem here is that the thumbnailing code in eog-thumbnail.c comes from eel. The API for this is something like

    GdkPixbuf *eog_thumbnail_load (GnomeVFSURI *uri, GError *error);

    which means, that EOG passes a URI to the loader, which, in case the thumbnail doesn't exist under ~/.thumbnails, needs to load the image from the given URI and create the thumbnail. Something here is wrong, isn't it?

    Well, that API makes sense in nautilus (I suppose that this eel code is from nautilus, not sure, though), because nautilus never has an instance of the image already loaded in memory. EOG, on the other hand, sometimes may have the image already in memory, so in these cases, it's not necessary for GnomeThumbnail to load the image again in order to thumbnail it.

    So, I decided to change the API a bit, and instead have a

    GdkPixbuf *eog_thumbnail_load (EogImage *image, GError *error);

    that will work as follow: first, try to load the thumbnail from ~/.thumbnail. If it doesn't exist or it isn't valid, check if the EogImage instance has already the pixbuf loaded. If it does, scale it, tell GnomeThumbnail to save the scaled version as the thumbnail, and use it as such in the application. If it doesn't, tell GnomeThumbnail to create the thumbnail from the URI, the usual way.

    The same test case after this patch reduces the memory usage to the half during thumbnailing. Massif's output:

        MB
    286.8^            #                                                           
         |           @# : ...   ....... .,.. .  .@  :....,.. ..,.., .,....,.....  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         |           @# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::  
         | ,. . ., .,@# : :::   ::::::: :@:: :  :@  :::::@:: ::@::@ :@::::@:::::.:
       0 +----------------------------------------------------------------------->Gi
         0                                                                   16.63

    I know what you are thinking. Using 280 MB for a bitonic image still sucks, but I don't think we can do much more at the application level. The good thing is that this beast gave me some hints on what to do to make EOG a bit faster.

    Still a lot of other places in EOG where to look for improvements and optimizations, but I should go back to finishing my dissertation before February ends first.

    (yes, I wrote all this here only as a way to procrastinate even more)

Thu 2008/Feb/07
Wed 2008/Jan/30
  • Now that I'm living in Santiago again, I'm enjoying again the beauty of the cultural life here. This is one of the things I was missing the most while I lived in Curicó, where there are really few cultural activities and the quality of them is not really the best.

    Jazz: Mauri, Moisés and I attended one of the days of the the Semana Jazz in Las Condes, where Cristián Cuturrufo played some classics. As a little surprise to the audience, Alvaro Henriquez joined and sang a tune.

    Also attended two of the three days of the Festival de Jazz Providencia '08. I'm not really happy with the level of the guest artists, but at least Ravi Coltrane was pretty cool. Not that he is as virtuous as his father, but at least he plays well, and the musicians who played with him, specially the pianist, were really talented. Unfortunately, I missed the presentation by Dave Holland the last day, but I heard very good comments, and I have no doubts it must have been pretty good.

    Theatre: I saw two Chilean plays during the Santiago a Mil Festival: Fin del Eclipse, a nice play about theater inside theater, and H.P. (Hans Pozo), a play about one of the most thrilling murders of the last times in Chile.

    Music: Last week, the Orquesta Sinfónica de Chile performed Beethoven's 9th Symphony in D minor, Op. 125, "coral". We got tickets for the last row of the most apart section of the Teatro de la Universidad de Chile, but nevertheless, we enjoyed the symphony a lot. I had never attended a performance of the 9th and I can say that it's really an experience.

    And the best of all is that ticket prices here are very cheap and even some of them completely free! All the tickets I bought costed less than 5 €, which is a really good price for the quality of the events. It's so nice to be here!

Fri 2008/Jan/25
  • Today, I'm leaving to Valparaíso to spend the next days with Marie. I'll take the laptop with me to be able to proof read some chapters of my dissertation but won't use Internet at all and I won't even read my e-mail. Wohoo!

Fri 2008/Jan/18
Sat 2008/Jan/12
  • On thursday, Marie, Betti, and Linda came to Santiago. I played the tourist guide for the n-th time, and took them to Cerro San Cristobal, had a nice evening (despite the jotes), and made a few pictures, as usual.

    From the top of the hill:

    Watching Santiago

    The typical reflection of the Torre Entel.

    Eterna Reflexión

Fri 2008/Jan/11
  • Today I reached what I think it is the last milestone in the development of my dissertation's project. This means that now I'll devote most of my time redacting the core chapters, and only a few hours/week coding what's left. Eitherway, I need to write some fancy tests to demonstrate what I achieved and draw the results of the work, but I feel that I got to the point where I can feel safe and sure that this will have a nice ending.

Go backward in time to January 2008.

Sat 2008/Aug/30 12:42:06 +0300