Older blog entries for federico (starting at number 39)

Tue 2007/Aug/21

  • I installed openSUSE 10.3 (which has GNOME 2.19) on my desktop machine, and recycled my old home directory from GNOME 2.16. My first login greeted me with this window:

    Unfriendly keyboard window

    What's wrong with this dialog?

    It appeared in the upper-left corner of the screen. If you are going to ask me a question which I don't know how to answer, at least be nice enough to center the dialog on the screen.

    "Expected was model": bad grammar.

    How am I supposed to know the right answer? What's the difference between the "X setting" and the "GNOME setting" — is the X setting "pc104" and is the GNOME one "microsoftpro", or the other way around? Will it harm my computer to pick the wrong option? Will I be able to type if I pick wrong?

    I just know that my keyboard looks like this:

    IBM keyboard, frontIBM keyboard, back

    It's definitely not a "microsoftpro" keyboard since it says IBM at the top. About "pc104"... who knows? Do you really expect me to count the one hundred-something keys to make sure?

Syndicated 2007-08-21 18:42:00 from Federico Mena-Quintero - Activity Log

20 Aug 2007 (updated 20 Aug 2007 at 23:07 UTC) »

Mon 2007/Aug/20

  • Take the GIT user's survey 2007.

  • My Summer of Code students, trustworthy gentlemen that they are, have finished their work.

    Mathias Hasselmann implemented natural sizing and height-for-width geometry in GTK+. You know these problems? 1. You create a treeview, and the window is by default too small to contain it comfortably. 2. You write an image viewer, and scaling a widget proportionally to an image gets hard — or you create a wrapped label and it never seems to fit nicely. Mathias's code solves both problems. First, GTK+ widgets can now say "this is my preferred natural size" instead of just saying "this is my minimum size" (GtkRequisition). Second, widgets can now say "if I were X pixels wide, I would prefer to be Y pixels tall". No other toolkit does this well.

    Sayamindu Dasgupta implemented pre-configuration and lockdown for Nautilus and GtkFileChooser. A system administrator can now define default items which will appear in user's desktops (and which users will not be allowed to remove): with this you can create links to your university's web site or whatever. Also, a sysadmin can now confine the user to a set of restricted directories: don't want your users browsing outside of /home/username and /mnt/company-share? Simply restrict them to those directories. Nautilus and the file chooser will not even show other paths in the file lists. The restricted directories will appear as part of the shortcut panes in Nautilus windows and in GtkFileChooser dialogs.

    ... And this is where I discover that I am a total idiot for not taking a picture of both of my students while at GUADEC. For reference, Sayamindu is the guy who cloned himself and managed to help out simultaneously in every conference room with the microphones and projectors; Mathias is the guy who was running around in a yellow sweater, hacking on everything at once.

Syndicated 2007-08-20 16:37:00 (Updated 2007-08-20 23:07:36) from Federico Mena-Quintero - Activity Log

17 Aug 2007 (updated 18 Aug 2007 at 01:05 UTC) »

Fri 2007/Aug/17

Syndicated 2007-08-17 12:44:00 (Updated 2007-08-18 01:05:51) from Federico Mena-Quintero - Activity Log

Sun 2007/Aug/12

  • Fish in cilantro chutney

    Yesterday we made a tasty and rather quick dinner: grilled fish with cilantro chutney.

    Ingredients:

    • Three filets of white fish
    • One bunch of cilantro
    • A handful of peanuts
    • Five cayenne peppers (chile de árbol)
    • 1/2 teaspoon cumin
    • 1 teaspoon sugar
    • 1/4 teaspoon salt
    • 1 1/2 limes
    • A little olive oil
    • A little butter
    Ingredients Chop the cilantro. Skin the peanuts. Grind the cumin. Cut the peppers lengthwise in four sections and remove the seeds.
    Mortar Put the peanuts and chiles in a stone mortar, and grind them. Add the cilantro, cumin, and sugar, and grind everything to a paste.
    Chutney Transfer the paste to a serving dish. Add the salt and squeeze in the limes; mix everything together.
    Fish in pan Heat a frying pan. When it's really hot, add a little olive oil and a little square of butter; the oil will keep the butter from burning and smoking. Put in one filet of fish. While the underside seals itself, grind some pepper onto the top side. Turn the fish over when the bottom is done. Sway the pan around to make the oil/butter touch all the sides of the fish; this will make it nice and brown on the edges. (Cook one filtet of fish at a time — otherwise the pan won't be hot enough to seal the flesh and you'll get boiled soggy fish instead of a crispy exterior and a soft inside.)
    Finished dish Serve the hot fish. Put one big spoonful of the chutney on top of it; you can spread it over the fish as you eat it. Be sure to squeeze some lime juice on top of it. We made a side of brown rice with potatoes and a little garlic, and a simple salad of sliced cucumber, lime juice, and salt.

    (Chutney recipe based on Mangoes and Curry Leaves, a great cookbook which Sayamindu hand-picked for us while in Birmingham!)

Syndicated 2007-08-12 18:40:00 from Federico Mena-Quintero - Activity Log

Sat 2007/Aug/11

  • This is the inside of the vault over the bathroom, the one that used hexagonal chicken-wire mesh. It was easy to give even tension to the mesh over the steel bars, so it did not buckle when applying the concrete on top. The inside of the vault still needs to be evened out and polished with a mixture of cement and sand.

    Bathroom vault

    In contrast, this is the vault over my office, which used rhombus mesh for plaster. This kind of stupid mesh stretches a lot, and very unevenly at that. So, it got very bumpy when the concrete got laid on top. We'll have to use some sort of pickaxe to even out the biggest bumps, and then cover everything with the polishing layer.

    Office vault

    The bathroom's vault (foreground) already has a layer of polished concrete on top, versus the office's vault (background), which is still rough on the outside. (Yes, our builders have taken to using rebar that sticks out of the roof as a holder for soda bottles...)

    Polished vault

  • I've been trying to figure out a Git-based workflow for working with openSUSE's patched packages. For example, openSUSE 10.3 is the bleeding edge distro being developed, with GNOME 2.19.x packages in it. These packages, modulo details, are the same as the ones that were in openSUSE—10.2, except they have newer source tarballs (to move from GNOME 2.16 to GNOME 2.19), and of course updated patches against those tarballs.

    I want this workflow to solve the following problems:

    • Each time the distro gets a major update of packages (like from GNOME 2.16 to 2.19), some old patches need to be dropped, some need to be re-diffed, and some need a complete rewrite. What if instead of doing all this grunt work, we did a periodic "git rebase" against the latest development packages — that way it may be easier to keep the patches up to date.

    • Having openSUSE 10.3 right now with a GNOME 2.19 desktop is really nice for development of upstream features. However, sometimes this work needs slight modifications to work in the distro. I'd like to have a Git branch with my work in progress, which could later be extracted easily as patches for upstream or patches for the distro.

    Something tells me that one could have a "pristine" master branch for the upstream tarballs, a "distro" branch (or "distro-version-x", "distro-version-y", etc.) for the distribution's patches, and any number of "personal" branches for development. I just haven't figured out a clever way of juggling that.

Syndicated 2007-08-11 18:51:00 from Federico Mena-Quintero - Activity Log

Thu 2007/Aug/09

  • The three finished vaults. They just need a final layer of polished concrete to make them waterproof. (The orange pipe is for electrical cabling.)

    Vaults

    The roof over our bedroom, with space for a dormer window.

    Bedroom roof

    I'm amazed at how easy it is to build these vaults: they require no formwork and they are self-supporting during construction. It took two days and a half to form the largest vault: set all the steel bars, tie them together, and stretch and tie the wire mesh over the bars. Pouring concrete took half a day for the initial, thin shell, and whole day for the thick crust. Total: four days.

    In comparison, the gable roof over our bedroom is about as big as the largest vault. Our workers spent four days setting up timber formwork (which was expensive to obtain!), and they did the pour on the fifth day — but needed an extra worker to mix the concrete and help carry it up to the second floor.

    So... the vaults required no formwork at all, and they were faster to build. They required less people to build, and were cheaper in terms of materials. And they can support a greater load than the gable roof, even though they have the same thickness!

Syndicated 2007-08-09 19:27:00 from Federico Mena-Quintero - Activity Log

Tue 2007/Aug/07

  • For a few months I've wanted to change the focusing screen on my D200. These DSLRs, for all their sophistication (and price!), have decided to do away with the really good focusing screens that were the default on mechanical, manual-focus cameras. They simply use ground glass screens which are nice and bright for autofocus lenses, but don't really help when you want to focus manually.

    Dave and Radek, both men of impeccable taste, had recommended the Katz Eye focusing screens, so I ordered one. It arrived while I was at GUADEC, and today I finally got off my ass to install the focusing screen on the camera. I had been procrastinating, thinking that I would have to disassemble the camera and do scary stuff inside — on my old Nikon F2 one could simply remove the viewfinder and pentaprism, pop out the old screen and install a new one, but the D200 doesn't have a removable viewfinder.

    It turns out that changing the focusing screen is really easy. You simply detach the lens, and pull a wire that sits on the roof of the mirror chamber. That wire is what holds the focusing screen in place. The new screen is equally easy to drop into place.

    And the difference is HUGE! The screen has a split prism in the middle, a microprism ring around it, and ground glass everywhere else. Now it's obvious when things are in focus, and photography is a pleasure again.

Syndicated 2007-08-07 19:16:00 from Federico Mena-Quintero - Activity Log

7 Aug 2007 (updated 7 Aug 2007 at 01:06 UTC) »

Mon 2007/Aug/06

  • Thanks to Alberto Ruiz and Andreas Nilsson we now have a beautiful icon for Sabayon!

    old icon new icon
    Old New
  • The finished second vault, and the third vault in progress of being formed:

    Vaults

    Hexagonal chicken-wire mesh, which our builders used for the third vault, is *much* better than the much finer rhombus mesh for plaster that we used on the first two vaults. It's easier to stretch and much harder to cut yourself while handling it. With the hexagonal mesh, the third vault came out much nicer than the first two — I'll get pictures soon.

    Oralia

    This is Oralia under the small vault, in what will become our reading alcove — it gets lovely sunshine in the afternoon. You'll notice Oralia's prominent belly, due to a baby inside. Eeeeeek!

Syndicated 2007-08-06 18:41:00 (Updated 2007-08-07 01:06:55) from Federico Mena-Quintero - Activity Log

30 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!