00:13 italian politicians declarations00:27 berlusconi speaks01:02 killing of a disabled girl01:20 found dead old lady mummified01:30 killing of an italian girl01:40 mediaset (Berlusconi company) is in active02:00 woman kills his disabled son03:12 killing of a skipper

04:40 scary amount of immigrants05:02 italian political fights

06:00 Berlusconi declarations, saying that opposition is like Hitler or Robespierre, and they will increase taxes07:50 more Berlusconi declarations08:40 Berlusconi's company shareholders meeting, optimistic Berlusconi's son, propaganda of his companies

11:20 process of a woman accused of killing of his son13:50 mummified woman hidden by his relatives15:16 father of a girl dead drowned talks about her daughter17:20 man sets himself fire with his daughter19:20 killing of a girl

20:58 football player eats a banana thrown to him, to say no to racism22:24 obese woman loses weight to get married24:17 famous singer beats his wife27:00 Italian prisons are overcrowded - pledge for amnesty29:30 Berlusconi's political enemy makes declarations against another enemy of Berlusconi31:23 current Prime Minister declarations reported by others (no images shown of him) - quite boring and confusing35:55 European elections : some declarations from each major party - again very boring and confusing38:40 Italian comedian back from hospital40:21 gossip on celebrities

42:30 weather forecasts43:10 end

On the whole, roughly 40% is crime news (and very grim crimes)... the effect is to depress any rational thinking, and make the spectator regress to a very primitive stage of awe and terror and sense of impotence. Everything outside is threatening (immigrants). Rational thinking is depressed, all what remains is humoral belly processing.

Another 30% is Berlusconi's propaganda - the effect is elating: in the midst of this dark world, Berlusconi is a phare of success, rationality and hope.
After all Catholic Church has done the same for centuries: first they terrorize you with images of sins and hell, then the promise you salvation. The whole experience is RELIGIOUS: Hell (crimes), Purgatory (Italian politics), Paradise (Berlusconi's world).

This treatment is done repeatedly, in successive waves.... crimes and Berlusconi success... more crimes and more Berlusconi propaganda.

Some 10% is gossip, and 20% is Italian politics.
Italian politics is boring and confusing... what is clear is that Berlusconi is good, the rest is bad or ambiguous.
Some positive values are fostered: racism is bad, but only when it's against a famous football player. Nobody seems to care about poor immigrants.
Weather forecast are at the end, like milk in supermarkets: most people want them, and they have to go through all the rest to get them.

The Crisis doesn't exist.No international news - there is no world outside Italy. No Ukraine crisis. No wars in half a planet occupied by USA troops.

Fascism was different: they would never publish any crime news: no crimes were committed in Fascist Italy. Publishing a lot of crime news has also the effect of making you think that this is a very imperfect world, and needs some radical change (i.e. Fascism).

This book is DEFINITELY loaded with information on all aspects of performance-related stuff on:

JVM tuning (heap, GC, permgen)

JIT compiler

diagnostic tools (vmstat, jmap, jcmd)

MultiThreading issues, Synchronization

Tuning JEE

XML parsers

JDBC

and it covers also Java 8.

However, don't try to read it front to back, it's definitely HEAVY stuff.
Sadly, it doesn't contain many real life examples and code that one can run to experiment a little.
Personally I learn best when I can actually play with the code and run some tests myself.
This book is definitely not "cookbook" oriented.However, it's definitely worth keeping in your library.

I have taken a short trip through Italy, the first since a long time - 5 years at least.

A few shocking changes.

People in Rome look really dejected, sad and VERY aggressive. Services are very poor and neglected.
I had to take bus number 90, I have been running right and left without finding the stop and asking 10 different people where the stop was... finally they show me a place, there was no sign of stop, but local residents knew that habitually the bus stops there....

I get the bus, after 10 minutes the bus stops and everybody gets off angry and insulting the driver and walking 100 meters to another stop.... it turns out that the bus had a failure and made an emergency stop, but no announce was done... people started also insulting each other, especially an old Italian man insulting a young black man...

People have become openly racist, they hate immigrants and have no moral restrain in insulting them.

Trains have become extremely expensive, almost all regional trains have been suppressed and replaced by high speed / high cost trains. This when the vast majority of the population struggles to make ends meet. Local trains are simply disgusting, VERY dirty and in a quite poor shape.

Some stations, like Torino Porta Susa, Milano Centrale and Bologna, who once upon a time were lovely, simple, enjoyable stations, have now turned into modern nightmares. They are a confusing labyrinth where you have to walk disproportionate distances to get to the trains, with hardly any signals, no benches to sit and wait, no services, no waiting room, everything very impersonal and unwelcoming.
This lack of infrastructure is intentional, to push the passengers towards the bars and shopping centers where they are supposed to consume. This is Hard Core Capitalism, baby.
Most platforms are underground, no natural light, just concrete and glass. Utterly depressing. There was stench of solvents, I could hardly breathe, I had to leave and wait in the upper floor.

more than in a train station, one would think he is in an airport... a VERY ugly one...

no plants, no art, no nothing, you are only left to contemplate this neo-fascist symbol of power, it feels like Nazi Germany

They are not working at the High Speed train Torino-Lyon... needless to say it will be just a monstrous waste of public money to deliver a concrete energy-inefficient nightmare.
What Mussolini didn't manage to destroy, this Troika-run government is devastating fast and furious.

Needless to say, most of the times the trains - especially the local ones - were desperately late. From Torino to Roma I gave my seat to an old lady - overbooking, 86 seats for 110 tickets - and traveled 6 hours sitting on the floor. The return trip, Rimini to Aosta, 530 Km in 8 hours for 86 Euros... call it High Speed... 20 years ago it was faster...

When you open an SR with Oracle Support you must answer a lot of embarassing questions, like "Database/Version".
Open a connection with SQLDeveloper and run "SELECT * FROM V$VERSION;"
This is what you get:

If you are behind a http proxy, you might find convenient to install http://www.proxifier.com/, you have 31 days trial . Eclipse is so bloody crappy that most of the time it can't connect to the internet even if you try all the possible options (direct/manual...). Eclipse SUCKS.

Thursday, April 24, 2014

More or less everybody know that if SSL encryption operations are slow, the culprit must be the source of entropy from /dev/random, and that you can replace it with /dev/urandom.

Everybody know that you can do this in 2 equivalent ways:

either you enter securerandom.source=file:/dev/urandom in $JAVA_HOME/jre/lib/security/java.security

or you start the JVM with the argument -Djava.security.egd=file:/dev/urandom

What really is striking is that although this value might already be set by default on Windows, one should actually set as a value "/dev/./urandom" on Linux systems, otherwise APPARENTLY the setting is not actually accepted by Java and it defaults again to /dev/random

How in 2014 we still have to manually take care of these things, it's a mystery. And whether this is actually true, another mystery.

Monday, April 14, 2014

Good man David wrote a script to log all the calls to Java with the parameters passed:
mv /usr/lib/jvm/jre-1.7.0-oracle.x86_64/bin/java /usr/lib/jvm/jre-1.7.0-oracle.x86_64/bin/java_
vi /usr/lib/jvm/jre-1.7.0-oracle.x86_64/bin/java

chmod 775 /usr/lib/jvm/jre-1.7.0-oracle.x86_64/bin/java
At this point, all calls will be logged to /tmp/log_puppet_weblogic/log.txt and the stdout of each command will go into a separate file in /tmp/log_puppet_weblogic/ folder.
This is particularly useful to trace all the WLST calls.

Sunday, April 13, 2014

I have dedicated almost all my free time in the last one year to study the history of the Holocaust. I have read dozens of books and screened hundreds of interviews of survivors.

Some conclusions that I find basically sure are:

Nazism has been internationally engineered with financial weapons of destruction (the Versailles treaty, the high unemployment and devastating inflation of the Weimar republic) and implanted in Germany, with the sole purpose of making Europe implode from within and bring USSR down with it. The winner (USA) takes it all.

Hitler built his political success in the 1933-1939 on huge financing from international loans (still looking for actual facts)

The annihilation of the Jews was perpetrated by the Germans, but with the complicity of all other countries, who denied any way of escape to them. USA granted only 19K visas per year. All countries signed an agreement to deny any kind of visa to Jews

No attempt whatsoever has been done by the Allied to hinder the annihilation process: they could have easily bombed the railways and the camps, they never did. They did bomb some camps, but only in the production areas, never the imprisonment areas - when they did, it was to kill all inmates.

The Brits, when they liberated the camps - like Bergen Belsen - overfed on a mass scale the survivors, bringing them to immediate death. Most survivors died not of malnutrition, but of nutrition inappropriate for their debilitated body. It's hard not to think that this was deliberate, since it happened quite systematically.

All political and military leaders, the Red Cross and the Church knew it all, but they turned a blind eye - actually often the Catholic Priests even helped the Nazi identify the Jews

Hitler didn't invent anti-semitism: it was deeply rooted in the German population after centuries of Catholic and Protestant propaganda. Hitler merely amplified this feeling.

With few rare exceptions (Czech, Italians, Danes, Belgians), local populations widely participated in the looting and killing of Jews

Hitler dedicated more energies to the annihilation of the Jews than to the war itself. The destruction of 1 million Hungarian Jews took place when the war was already 100% lost. Was he crazy, or his agenda was dictated from elsewhere? And from where? assuming that Hitler was just a puppet, who was the real Puppet Player, and how could they control so strictly the German politics?

The destruction of European Jewry brought more damage than advantage to Germany, because the Jews were mostly very skilled in all sort of arts and trades ("essential workers") and their belongings ended up mostly in private hands, rather than in the State.

most Nazi criminals either escaped - with the help of the Church and the Occupying Armies - or went to work for the Allied intelligence. Nuremberg Trials was just a make-believe.

The biggest mystery for me is: excluding that the annihilation of the Jews was dictated by ideological reasons (economy is the real motor or human actions), what larger geopolitical purpose could it serve? Just to manufacture a pretext to occupy Palestine and make a US military basis in the Middle East? To further weaken Europe and make it more dependent on USA? Mmmmm...

Why am I so involved in this research? Because I am sure it will happen all over again, and in a not distant future, and in this same Old Europe.Wait for the Economic Crisis to get worse...maybe Muslims will be the next Jews... who knows what the Economic Masters of this Planet are brewing for us... nothing nice for sure.

dedicated to the heroes of the Warsaw Ghetto Uprising

In the most optimistic vision, the prosecution of the Jews was just a trick to unify the Pure Germans and a means to transfer Jewish wealth to them, in order to increase the Regime's popularity. No wonder most of the Germans would support Hitler. Jews nowadays and for instance the migrants who cross for instance the Sahara (and we know next to nothing about them) and then the Mediterranean sea, and we know a bit more about them: it seems that in the Sicily channel fishermen catch human remains together with fish, but at most media mention the migrants who manage to arrive to Lampedusa.

The migrants are a weapon of mass distraction, the average Italian says : "they take away the little job and houses we have", and he doesn't see all what the Troika is taking away and that the migrant themselves are victims and the consequence of the passage of African Natural resources (mainly oil and gas) in new hands. Check the average per capita income of Libyans before and after Qaddafi and then tell me who gained from a regime change in Libya.

The day after tomorrow, if and when the enormity of this massacre will emerge (by and large far more than the 6 millions killed by Hitler), someone will surely question how all this could happen in the general indifference, actually bordering with approval. This indifference is functional, for us, to the Business As Usual, exactly as for the Germans in Hitler's time it was essential to ignore the Holocaust in order to carry on with their daily lives.

The Extermination of Jews was a huge Ethnic Cleansing, as the World has known many before and after.
But the official historiography - the one in the school history books, the one written by the winners - presents this Ethnic Cleansing as "THE" Ethnic Cleansing, the all time worst, the Absolute Evil.
The winners of the WW II say: we have defeated The Absolute Evil, and don't even dare to discuss this.

However, with Hitler is was a great Evil who was defeated, but it was not the Worst Evil of all times, neither The Absolute Evil. Take Lampedusa, Afghanistan, Syria, Iraq, Gaza, all the refugees camps in Lebanon for example. They are all Warsaw Ghettos, GeneralGouvernment, Exodus, Resettlement, Final Solution, Konzentrationslager, slaughter of the Intelligentsia.

Saturday, April 12, 2014

while quite a few people use the abstraction of slf4j (I wonder how many users of logback also checked slf4j, since the recommended way to use logback is to go through slf4j...)

Anyway having used myself log4j for several DECADES, I can only recommend upgrading to logback, it's effectively rich with new features and substantially very similar to good old log4j...

Elasticsearch seems to be still quite a niche technology... personally I foresee a great growth (I normally fail all my forecasts anyway... in 1986 I forecast no future for Windows.. and in 1995 no future for Java...)

Tuesday, April 8, 2014

This is one of those rare books who focuses not much on technology, but on methodology, and does it with simple examples that everyone can follow.

Starting from a few simple examples, it will hammer in your head the various reasons why imperative programming often (not always) is dangerous and verbose, and illustrates how to solve the same problem in an elegant, concise and readable functional way using Java 8.

To be perfectly honest, in a few cases I still believed that the imperative way was more readable - at least to my eyes - than the slightly cryptic functional way... yet I got the message, use lambda functions on Collections is the way to go, and not only in Java...

Friday, April 4, 2014

One of the most shocking aspects of working with Puppet is that it goes to a great length at providing a High Level Interface to Resources, but it provides literally no facility to abstract access to configuration values.

All is a hiera() and Hash/Array manipulation, from which to painfully extract subset of data with totally garbled and complex manipulations of the Hashes, Keys and Values, interspersed with some create_resources() to be able to cycle over a collection of homogeneous resources.

People who come from ANY Object Oriented, functional and fluent-interface programming languages, like Groovy or Java 8, can only scream in horror in front of the total inelegance, un-refactorability, un-maintainability and lack of encapsulation of the Puppet DSL.

To this, add that YAML is not generally associated to a schema - hence you can't validate that you haven't broken your model somewhere in your hundred of YAML files - on per each host - and you have the mother of all Spaghetti Western Code.

For all these reasons, please Puppet Gods, heed my call, dump that pathetic DSL and adopt some OO language.