Torino, a pretty theme for LaTeX Beamer

Beamer is a LaTeX class that allows you to easily create presentations. It contains several themes, but they are a bit ugly, so I wrote a new theme (named Torino) that I’m going to use for the slides for my graduation dissertation.

The look of the theme is based on a layout by Novell/SUSE and the nouvelle color theme uses the same colors of that one. There are other two color themes: chameleon, similar to nouvelle but green only, and freewilly, a blue theme that should look good even with crappy projectors.

The theme accepts some options that allow you to change the logo, the watermark, bullet lists, etc.

  
Chameleon

  
Nouvelle

  
Freewilly

A big thank you to Alessandro Finamore who helped me with the realization of the theme.

Lasagna with Leeks and Sausage

I usually prefer oven ready lasagna as it doesn’t need to be boiled before assembling the dish, but you can also use dried or fresh lasagna or prepare the pasta on your own. In the latter case you can use the lasagna recipe written by Fabio Rosciano.

If you are using non-oven ready pasta you have to boil it for some minutes and then drain it, removing completely the water.

The Italian translation of the recipe is on my cooking blog.

Ingredients for the béchamel sauce

  • 5 tbs. (75 g) unsalted butter
  • 3/4 cup (75 g) all-purpose flour
  • 3 cups (750 g) milk
  • salt
  • pepper
  • nutmeg

Ingredients

  • 1 box (9 ounces, 250 g) oven ready lasagna
  • 6 leeks, with 1 inch of dark green part, split, cleaned and sliced
  • 1 lb. (450 g) not cured, sweet, plain (without fennel or anise) pork sausage
  • 1 glass white wine
  • 2 tbs. olive oil
  • Parmesan cheese
  • salt

Prepare the béchamel sauce. Heat the butter over low heat until melted, then add the flour all at once and stir until smooth. Cook over low heat for 3 minutes stirring constantly. Add milk (at room temperature or hot) and cook for about 5 to 7 minutes, stirring constantly. Add salt, pepper and some nutmeg.

Prepare the filling. Cut the sausage casing lengthwise and remove it. Heat the olive oil in a large skillet over medium heat. Add the sausage and cook, stirring and breaking up the meat with a spoon, for 5 minutes. Add leeks, salt and wine, and cook for 15-20 minutes, stirring frequently.

Assemble. Arrange a layer of lasagna in a buttered baking dish, spread with some béchamel, some leeks and sausage mixture, and a thin scattering of Parmesan cheese. Repeat with remaining ingredients, ending with béchamel and a good sprinkling of Parmesan.

Pre-heat the oven to 375º F (190° C) and bake for about 25 minutes.

Molten Chocolate Cake

Yet another recipe for the GNOME Cookbook, the Italian translation of the recipe is on my cooking blog.

Molten chocolate cake is a dessert, probably created by Jean-Georges Vongerichten, that looks like a normal small cake but has an almost liquid center. It may look difficult to cook, but the recipe is indeed very simple and doesn’t require more than 20 minutes (excluding baking and cooling time).

This dessert is usually served hot but leftovers can be refrigerated and eaten cold the next day (the centers will have a mousse-like consistency) or warmed in microwave.

Ingredients

  • 3 1/2 ounces (100 g) dark chocolate, chopped
  • 1/3 cup (3 ounces, 85 g) unsalted butter
  • 2 egg yolks
  • 2 eggs
  • salt
  • 1 1/2 cups (180 g) powdered sugar
  • 2/3 cup (75 g) all-purpose flour

Instructions

Melt the chocolate and butter together in bain marie, that is in a bowl over a pot of hot water, and then let cool for a few minutes.

Whip eggs, egg yolks, sugar and a pinch of salt until you get a light yellow color. Add the melted chocolate and the flour.

Grease and flour 5 or 6 ramekins (or oven-proof glass cups) tapping out the excess flour. Divide the chocolate cream among the ramekins, cover with plastic wrap and place in the refrigerator for about one hour or until you are ready to bake.

Pre-heat the oven to 450° F (230° C) and bake for about 13 minutes. Remove from the oven, run a sharp knife around each cake and unmold onto serving plates. Sprinkle with powdered sugar and serve immediately.

Eggplant Parmesan

Here’s another recipe for the GNOME Cookbook, the Italian translation of the recipe is on my cooking blog.

Eggplant parmesan, “parmigiana di melanzane” in Italian, is a typical dish from southern Italy. The name has nothing to do with the city of Parma, as it is placed in northern Italy, or with the Parmesan cheese, as the original version used to contain the cheaper Pecorino cheese. Probably the name comes from the Sicilian word “parmisana” that is a slat of a Venetian blind, referring to the way eggplant slices are put in the baking dish.

Usually eggplant slices are fried in oil but you can grill them to have a lighter (and faster to cook) dish.

Ingredients

  • 2 lbs. (1 Kg) eggplants (about 2 or 3)
  • salt
  • flour
  • olive oil
  • 1 small onion, finely sliced
  • 2 lbs. (1 Kg) canned peeled tomatoes
  • fresh basil, chopped
  • 1/2 lb. (250 g) cow’s milk (fior di latte) mozzarella cheese
  • Parmesan cheese

Instructions

Wash the eggplants, remove the stems, cut them in slices 1/4 of an inch (1/2 cm) thick, place the slices on a large platter and sprinkle with salt. Place a weight on top of the slices and let stand for at least one hour to make the eggplants tender and remove all bitterness.

Wash the salt off the eggplant slices and dry them. Flour the slices and fry in very hot olive oil. Brown eggplant slices on both sides and set aside to drain on a paper towel.

Brown the onion in olive oil over a low flame. Add the canned peeled tomatoes, mash them with a fork and let simmer for about 15-20 minutes, stirring frequently. When the sauce is ready adjust with salt and add chopped fresh basil.

Cut the mozzarella cheese into thin slices. Arrange a layer of eggplant slices in a baking dish, spread with some tomato sauce, cover with mozzarella and a thin scattering of Parmesan cheese. Repeat with remaining ingredients, ending with the sauce and a good sprinkling of Parmesan.

Pre-heat the oven to 375º F (190° C) and bake for about 20 minutes.

Empathy plugin for nautilus-sendto

I wrote a plugin for nautilus-sendto, so it can send files using Empathy; the code is not in SVN or in bugzilla (because it requires functions not yet merged with Empathy) but it’s already working.


Empathy contacts displayed in nautilus-sendto


Sending a file with nautilus-sendto (Ogg Theora video, 156 kB)

More screenshots and videos are available on the project website.

File transfer icon

I need an icon, under (L)GPL, for file transfers in Empathy as the current icon (stolen^Wcopied from gossip) is a bit ugly and 16×16 only. This icon would be used in the menu for the “Send File…” command, in the status icon when someone has offered a file and as the icon for the file transfer dialog.

Suggestions? Anyone who can help me?

Strawberries Tiramisù

At GUADEC John (J5) Palmieri announced the GNOME Cookbook project, this delicious dessert is my first contribution to the project, I hope you like it! The Italian translation of the recipe is on my cooking blog.

Ingredients

  • 4 eggs
  • 3/4 cup (150 g) sugar
  • 1 pound (500 g) mascarpone cheese
  • salt
  • 1 3/4 lbs. (800 g) strawberries
  • 1/2 lemon
  • 2 tbs. rum
  • 3/4 lbs. (340 g) savoiardi (lady fingers)

Instructions

Update: I have an updated version of this recipe on my cooking blog.

Whisk the yolks with half of the sugar making a cream, then add mascarpone cheese and rum. In a bowl whip the egg whites to hard peaks with a pinch of salt and add them to the mascarpone cream.

Wash the strawberries in very cold water and cut off the tops. Place in a blender 1 lb. strawberries, the lemon juice and the remaining sugar, and blend to puree.

Arrange a layer of savoiardi dipped in the juice in a serving dish and spread with some cream. Repeat layering with remaining savoiardi and cream.

Slice remaining strawberries and garnish the tiramisù with them.

Place in the refrigerator for some hours so the savoiardi can soften and absorb the juice.

File transfers and Empathy/2

With the old dialog you had a window for each file transfer but this could be a problem if you are transferring more than a couple of files at the same time. So this week I rewrote the file transfer dialogs and submitted the patch to add file transfer to Empathy (see bug #462172).


The new file transfer dialog

The new dialog is copied from Epiphany but I had to make some changes because we cannot open automatically each received file, so I added a Firefox-like clear button. The thing I don’t like in the window is that it communicates the current progress in three different ways: the percentage (“30 %”), the number of transferred bytes (“8.4 MB of 27.6 MB”) and the remaining time (“00.05”).


Sending a file


Receiving a file

Weapons of mass destruction

Every person going through the corridor where I was sitting yesterday seemed scared by the two strange things in the power sockets, be quiet! They are not weapons of mass destruction, just the best power adapters we found in Vercelli. And, in spite of them, we didn’t break any power socket unlike everybody else here at the Etap hotel.

Now it’s time to try to find a way to reach the Stansted airport in spite of the weather, this page is not very reassuring :'(.

Update: I’m now at home, a lot of trains were cancelled but luckily mine was on time.