Sunday, December 30, 2012

Rebecca vs Madeleine, Mrs de Winter vs Judy

There are some similarities between the plots of the two Hitchcock's movies Rebecca and Vertigo, often considered amongst his best (the latter often as the best of all movies, actually).


In Rebecca Maxim loses her wife. We never see this woman but she is described as an extremely beautiful, intelligent and educated woman. In Vertigo Madeleine appears as an extraordinarily charming and elegant woman, whose loss Scotty, as Maxim with Rebecca, isn't able to go beyond.

In Rebecca, Maxim's new wife, who appears of humble origin, so humble we don't even know her name, struggles to bear the comparison with Rebecca, and it appears at first that Maxim is still bound to Rebecca's memory. The same happens in Vertigo: when Scotty meets Judy, he's struck by the girl resemblance with Madeleine, and Judy has to undergo the humiliating process of becoming Madeleine.

In both movies there is a deception. In the former movie we discover that Rebecca was actually an
indifferent woman incapable of love, in the latter we discover that Judy was actually posing as Madeleine to prepare the stage for a homicide.

In Rebecca Manderley, Maxim's rich and isolated residence, is crowded with high towers, while the tower of an isolated mission is the place of  turning point events in Vertigo.

In Rebecca the housekeeper, Mrs Danvers, a very strict and severe woman, sets Manderley on fire. Mrs de Winter is able to flee safely for a happy ending. In Vertigo instead, a nun suddenly appears at the top of the tower, and Judy, trying to run away, falls down and dies. A sort of nun is intrumental for the end of both movies.

Finally, the acting styles of Joan Fontaine and Kim Novak bear some resemblance to each other. When they express anguish because the man they love appears to be bound to a woman they feel they can't compare to, they express it in a similar way. It may be be that Novak took inspiration from Fontaine while learning acting.

Sigmund Freud


If Hitchcock went over to the same themes twice, well, maybe it was because they were near to his heart.

These themes allow a psychological interpretation. The first woman is a man's mother. She's the beautiful, young, overwhelming woman a man meets just after birth. The latter woman is a real woman, humble and perfectible.
Alfred Hitchcock

The connection between the eyes, vision, and the early image of one's mother emerges in Scotty's acrophobia (vertigo), which is clinically thought to emerge because of an excessive prevalence of vision over the other senses. I should recall that Oedipus, as a self-punishment for killing his father and marrying his mother, blinds himself with two pins, as if vision were to be blamed. I also remark that Hitchcock, in one of the his last interviews, said he felt particularly happy and calm when looking to a clean horizon without the tiniest cloud, again stressing the role of vision in his mood, a vision of perfection without defects.

I may add that the isolated tower stands for male penis, and the meaning is that the incestuous relationship goes into troubles when it comes to sex. In Rebecca the towered isolated residence is destroyed at the end, meaning that Maxim gives up his screwed attitudes to accept life with a real woman (also in Vertigo there is a moment when it appears that Scotty and Judy may live happily together, but the chance is lost when Judy wears the necklace that reveals to Scotty the deception he was caught in).

The nun symbolizes that the obstacle to the improper relationship is of moral nature.

Finally, the deception may mean that maternal love, at least as it is seen and felt from the perspective of a child, is actually a deception, and that lingering too long on it, leads to troubles. 

Friday, December 28, 2012

Lesser minds

I would like to express my impression after reading the book "Ingegni Minuti - Una storia della scienza in Italia" ("Lesser minds - A story of science in Italy") by Lucio Russo ed Emanuela Santoni. I say impression because the authors don't put forward any hypothesis, they just describe facts, but sometimes facts speak for themselves.

The book is characterized by a remarkable historical depth and wealth of documentation. It goes over the full history of science in Italy, starting with the appearance of the first texts about the abacus and the rediscovery of classical science in the Renaissance, through the decadence of scientific investigation in Italy with the end of the XVII century, till the partial reprise the occurred after the unification and after the Second World War.

A thesis that underlies the whole book is that scientific investigation is greatly impoverished and can't flourish if it's separated from the technical and economical needs of the society in which it occurs.

Recovery after WWII

Coming to the point. After the Second World War, Italy recovers with surprising vigor. It's a period of great vitality in many areas, from cinema to literature, from industry to scientific research.

CNRN (Comitato Nazionale per la Ricerca Nucleare), later renamed CNEN (Comitato Nazionale per l'Energia Nucleare) is among the institutions that lead the technical and scientific endeavors. It is directed by Felice Ippolito. The ISS (Istituto Superiore di Sanità), directed by Domenico Marotta, takes Italian Biology to the forefront of international research.

Enrico Mattei
In the meantime, in the sector of energy sources, Enrico Mattei leads a campaign to search for oil and gas sources under the Italian soil and sea. At the same time it strikes direct contracts with producing countries in the Middle East, bypassing foreign established Corporations (the Seven Sisters).

Last but non least, Italian industry enters the most advance sectors, such as electronics. In 1959 Olivetti produces the first Italian computer, called Elea 9003.

A series of startling facts

At the beginning of the sixties, various unexpected events take place. Between 1962 and 1964, both Ippolito and Marotta are accused of fraud and discredited. On October the 27th 1962, Enrico Mattei dies when the airplane he was flying on is hyjacked and crashes. 

In 1964 Olivetti sells its Divisione Elettronica to General Electric, giving up the chance of competing in a scientific/industrial area then in frenetic expansion.

Buzzati Traverso
During that year, in April, Buzzati-Traverso writes on the newspaper L'Espresso:
"A new witch-hunt has been let loose in Italy, putting discredit on the hole scientific community and thus compromising a sector that, after many difficulties and struggles, was recovering well, and that, on the other hand, is essential for the country. What is being sought? That Italy remains outside of the great world movement of the scientific revolution? That the best scientists leave the country?"

In 1973 Giuliano Toraldo di Francia, a physicist, sums up the situation of science in Italy in these terms: "Italy is regressing instead of developing [è un paese in via di sottosviluppo, a humorous sentence difficult to translate]".


So, the impression I have after reading these facts, is the that at the beginning of the Sixties a deliberate policy was adopted to hold back Italy, far from the front line of scientific research and crucial industrial sectors, cutting the link between research and production, necessary for the health of both. Besides, it is not difficult to imagine the this unfortunate choice was born outside Italy, as other obscure events in the history of the country in those years. Who should Italians thank?

Saturday, November 24, 2012


I was trying to play Lucio Battisti's "Con il nastro rosa", so I set out to find the chords.

Contrary to what usually found googling, the song is in C#m, not Bm. Besides that I think the third chord is, or may be, a wonderfully harmonic B6/7.

So here is my tablature

All chords sound pierced by a G#. In fact, it is played at the beginning of each bar during the musical break.

Playing the songs in Em yields easy chords:

I suspect that our beloved artist first discovered this beautiful progression of chords pierced by a note, and then created a song around it.

Saturday, November 17, 2012

Gnome 3

Since there are many negative comments out there about the new version of Gnome, the desktop environment for Linux and Unix, I would just like to voice my opposite opinion: I really like it and enjoy it, as regards both aesthetics and usability.

I think that command-line fans should appreciate it. You can do most using the keyboard, more than in conventional windows environment. For example to launch the browser (Iceweasel), I just press Super+Ice+Enter. To open the file explorer (Nautilus), I just press Super+File+Enter. Once you get used to it it's very handy.

Search, for everything, files, programs, contacts, and so on, is very well integrated: just type Super+key words+Enter.

Besides, you can organize your windows in different workspaces. Not that this is really new, but Gnome 3 brings it to a new level.

And the graphics, well, that's simply amazing.

Thursday, November 1, 2012

Complex truth

Casually I've read the Wikipedia pages about the atomic bombing of Hiroshima and Nagasaki.

One may hold that it was a cynic and useless demonstration of force and superior war technology that just claimed the life of tens of thousands of innocent people.

Reading better, one finds that

  • The United States had lost one million of soldiers between June '44 and June '45.
  • After Germany had surrended, Japan was given an ultimatum which was rejected
  • Japanese were preparing for conventional war defence of their home from an invasion that would have taken place starting from autumn '45 and the Japanese military was accepting the prospect of losing up to 20 millions of people  in this desperate defence.
  • In Okinawa Allies losses to Japanase losses ratio was about 1 to 2, so the invasion of Japan would have costed the Allies an enormous toll.
Under the light of these considerations one may conclude that the bombing of Hiroshima and Nagasaki was less than many other possible evils.

Often truth is complex and to appreciate it requires a little of analysis. Instead we would often prefer to jump to easy conclusions, using just our instincts and guts. Also we would like there were a solution without drawbacks but sometimes there's none.

Sunday, October 28, 2012

Lucio Battisti

When humans will live on other planets of faraway stars, the will still be listening to Lucio Battisti.

Sunday, September 9, 2012

Campania felix

Back from a journey through Campania. I already miss it, were it not for the pizza and the coffee.

Thursday, August 30, 2012

If you do science fiction, please do it right

I'm watching Outland,  a 1981 film directed by Peter Hyams and starring Sean Connery.

In one of the first scenes (the second, actually) you see Jupiter as seen from Io. It occupies most of Io sky. So, I asked myself if it really looks like that.

Simple trigonometry yields the angle under which  Jupiter is seen:

r = radio of Io
R = radio of Jupiter
d = distance of the center of Io from the center of Jupiter

angle = 2 * arcsin (R / (d - r))

Looking up the data on the Wikipedia the result is

r = 1821 Km
R = 71492 Km
d = 41700 Km

angle = 19 degrees.

Note. If you don't feel at ease measuring size with angles, well, consider that Hellenistic Greeks already did it in the 3rd century B.C.. The approach was long misunderstood later, to be rediscovered and re-understood during the Scientific Revolution. The idea is that the angle is the apparent size: if you also know the distance than you'll know the real size too.

Which is a little less the one fourth of the angle (90 degrees) from the horizon to the point in the sky above you head.

So I think the movie is wrong. And, if you do science fiction, please do it right.

PS. This is how Jupiter should be seen from Io. Supposing you're watching the screen from 50 cm far, doing trigonometry the other way round, yields about 17.5 cm for the apparent diameter of Jupiter (I assembled three images using GIMP and did a perspective transformation of an Io image).

PSS. I asked Celestia, an open source 3D astronomical object visualization software. Here is the result. I was wondering if Europa and Ganymede, other two nearby Jovian satellites, could contribute to an even more appealing picture, but Celestia showed me that they actually appear as tiny spots from Io.

Tuesday, August 14, 2012


This is Andy, I drew it as a new wallpaper for my own Android phone.

Saturday, August 11, 2012

Java Language in 2015

Consider these APIs, frameworks and patterns:

1) JNDI (Java Naming and Directory)
2) JMX  (Java Management Extension)
3) JPA (Java Persistence Framework)
4) Spring
5) DI (Dependency Injection) and Inversion of Control (IoC)

They all deal with objects (don't laugh...), with instances, as opposed to dealing with the classes these instances originate from.

Yes, it's curious that Object Oriented languages care so much natively about classes, but are very mean instead as instances are concerned, and in fact so many frameworks have been born to address this problem, since the language itself offers little support. Object Oriented language should be renamed Class Oriented language, I would reserve the the former denomination for a language that doesn't exist yet.

1) JNDI gives instances a name, a global name, so that they aren't anonimous instances anymore. While some objects are temporary, they live as long as a method executes, some other may live as long as the JVM lives. Besides, if you want them to become acquainted with one another, they should have a name.
2) JMX is about allowing knowledge and modification of the state of some well known objects from outside the JVM. Oddly, JMX has its own naming scheme and registry, and that's absurd: we would like to have just one mechanism to name instances.

3) Spring. It started as just a framework to initialize some instances from a configuration stored in a file and wire these instances together. It implements the DI and IoC patterns.

So, on the one hand there is some proximity with JMX, since, while the former (JMX) allows to modify the state of instances at runtime, the latter (Spring) allows to setup the initial configuration when instances are created. 

On the other hand, there is some proximity with JPA, since also JPA is able to reinitialize some instances from a stored state.

Also, Spring sports its own naming scheme and registry.

4) JPA allows to save and restore the state of some objects from a database.

5) IoC is when an instance is not created directly by the application code. The method signature 'public static void main (String []) argv' is the primordial IoC framework.  DI is when a reference to an instance is not acquired directly by writing in a program a reference assignment.

Bringing in it all together

What if.

We had just one mechanism (JNDI made simple?) to assign some well known object a name. But maybe not only a name, but also, why not, humans may enjoy a description and an icon.

We had just one mechanism (JPA?) to restore the state of instances from a known state, previously saved.

We had the possibility to modify from outside the JVM the state of known instances (JMX totally rewritten in POJO terms?)? This state could then be saved to the persistence store and it would again be there on a new bootstrap.

We could annotate a missing dependency (from an instance, not from a class!) and resolve it at runtime through a named well known object? Of course this is what Java Enterprise always had but with tons of unnecessary machinery. This shouldn't be Enterprise programming.

All this shoudn't be achievable through frameworks often not working very well with one another, it should be there at the heart of an Object Oriented platform.

PS: I've taken a look at DI and CDI. DI is fine for me. It should lie at the heart of the Java Platform. I'm more suspectful towards CDI. For example scope management smells like a workaround for bad programming practices. Event dispatching is more insteresting.

Things I would like to have in the Java Programming Language

1) The class name is the class object

If Foo is a class than Foo should be the class object, not Foo.class

2) Method literals

If class Foo has a method bar than

should be an instance of the java.lang.ref.Method class, i shoudn't have to write

Foo.class.getMethod ("bar", null)
3) Method literals (part II)

If object foo of class Foo has a method bar, than should result in an instance of a new class java.lang.ref.InstanceMethod which holds a reference to the bar object and to the method.

4) Method literals (part III)

If foo is an instance of the  java.lang.ref.Method, than foo () should result in method invocation, I should not have to use foo.invoke ().The same applies if foo is an instance of the new class java.lang.ref.InstanceMethod

5) Operator overloading on java.lang.Number instances.