Be Open Source
Archive for May, 2009
ack — better than grep, a power search tool for programmers
May 29th
ack is a tool like grep, aimed at programmers with large trees of heterogeneous source code.
ack is written purely in Perl, and takes advantage of the power of Perl’s regular expressions.
via ack — better than grep, a power search tool for programmers.
Una sola osservazioni sul caso Noemi-Berlusconi
May 28th
Leggo dal “Corriere della Sera” del 28 maggio 2009 ad opera di Beppe Severgnini:
[...] Ovvietà numero tre. Le abitudini e le frequentazioni di Silvio B. riguardano solo Veronica L. (che peraltro s’è già espressa con vigore sul tema)? Be’, fino a un certo punto. Il Presidente del Consiglio guida una coalizione di governo che organizza il Family Day, mica il Toga Party o il concorso Miss Maglietta Bagnata. Michele Brambilla – vicedirettore del “Giornale”, bravo collega e uomo perbene – spiega che, per il mondo cattolico, contano le azioni politiche, non i comportamenti coerenti. Io dico: mah!
[...]
La frase che ci siamo More >
Terminated: Il declino di Schwarzenegger
May 22nd
Col voto di martedì i cittadini della West Coast hanno respinto ad ampia maggioranza gli interventi fiscali (un’addizionale dell’1% sull’imposta di consumo, un aumento della tassa di circolazione e un incremento dello 0,25% dell’Irpef californiana) coi quali il governatore e il Parlamento dello Stato avevano deciso di colmare un deficit di bilancio di ben 21 miliardi di dollari. L’unica «proposition» approvata è quella che vieta ogni aumento retributivo per parlamentari e pubblici amministratori quando il bilancio è in passivo (ieri sono stati ridotti del 18% gli stipendi dei funzionari dello Stato con cariche elettive).
Java HttpClient and Load Balancer bad interactions
May 21st
Working for a very big customer, I found a very nasty interaction between Sun HttpClient (JDK 1.4) and Http Load Balancers.
In a complex network environment, sometimes you can experience low level TCP/IP comunication errors, because sometimes HttpClient get confused and hangs.
The bad behavior of Sun HttpClient is well known: some guys suggested me to use the Axis Web Client. Anyway you can solve the issue adding these three parameters to the JVM launch line
-Dsun.net.client.defaultConnectTimeout=5000 -Dsun.net.client.defaultReadTimeout=5000 -Dhttp.keepAlive=false
The first two parameters set globally the socket timeout to 5 seconds. The last parameter forces the JVM to avoid reusing http connections when doing More >
Cafe Claude – San Francisco
May 21st
If you are at San Francisco, I will suggest you Cafe Claude for a very good dinner.
I have tried there a seared ahi tuna and a very nica peppercorn sauce, leaving on the table only 40$, but with a very nice memory of it.
Changing Eclipse JVM
May 20th
Sometimes Eclipse Ganymede will not run if it is unable to find a jdk 1.5 or greater.
Sometimes Eclipse Ganymede hangs abruptly if you delete the jdk it was using and if you have set only a JDK 1.4 on your path (Eclipse needs a jdk 1.5 or greater…).
The solution is firing a command line and typing something like
./eclipse -vm c:/Programmi/Java/jdk1.6.0_13/bin
See also:
If available under the eclipse/jre directory, the Eclipse JRE will be used; otherwise the launcher will consult the system path variable. Eclipse will NOT consult the JAVA_HOME environment variable.
To explicitly specify a JVM of your choice, you can use the More >
Foto delle nozze
May 18th
Ciao, ecco un assaggio delle foto del matrimonio: [Show as slideshow]
[AGGIORNAMENTO Agosto 2009] Qui potete vedere altre foto del matrimonio
e circa il viaggio di nozze… Esplora Bora Bora
Comments / Commenti