http

Http1.0 on firefox

To force Firefox on http 1.0 proceed as follows: Open a window and go to “about:config” page Hack “network.http.version” property restart firefox

Erlang Book Review

After reading an interesting article on Erlang  and Java interoperability, I have decided to dedicate my spare time to Erlang. O’Reilly has just published a wonderful book on Erlang, so I decided to dive into it.

Evolving concurrency, like memory management did

As processors become faster and multiprocessor systems become cheaper, the need to take advantage of multithreading in order to achieve full hardware resource utilization only increases the importance of being able to incorporate concurrency in a wide variety of application categories. In this article we are evaluting a new approach to the concurrency. In the …

Evolving concurrency, like memory management did Read More »

Java HttpClient and Load Balancer bad interactions

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 …

Java HttpClient and Load Balancer bad interactions Read More »

Javascript and Smalltalk

There is a future for SmallTalk? I was a very strong fan of the SmallTalk language, but in the last five years I have seen more and more contraction of its usage in the IT field. The OLPC project, which uses also Squeak Smalltalk and its done by the core team fo Squeak, is not …

Javascript and Smalltalk Read More »

Dynamic languages troubles

I have read http://www.manageability.org/blog/stuff/chandler-failure and I think it is very danger way of exposing concepts.

In the article pointed out, the quite dead Chandler project is compared to the multi-billion Eclipse project. And then a too easy analysis is done against dynamic languages, where Java is the absolute winner.

I will try to fix some of the things said there, and to add also my two cents here :)

Will Zend slash rubyonrails?

Let the Zend Framework introduce itself as a Borg would do:  "Hi dear RubyOnRails. Hi all. I am the Zend Framework, a small work (about  5 tons of code) done by IBM and Zend to destroy you. You think php is not able to build big project?… do you? So you have dared to develop …

Will Zend slash rubyonrails? Read More »

Advanced Bash Scripting

Is it amazing things you can do with a simple Bourne Again Shell  (bash). I have just discovered you can open socket using a small redirection syntax, and emulate small checks you normally do with curl or wget. The bash shell manual is always poor about examples, and this is very very sad. In my …

Advanced Bash Scripting Read More »

Java Session Fancy Printing

    public static final String convertToString(HttpServletRequest request) {        StringBuffer msg = new StringBuffer();        try {             msg.append("*RequestURI:" + request.getRequestURI() + "\n");            msg.append("*ContentType:" + request.getContentType() + "\n");             msg.append("== Request Header\n");            Enumeration headers = request.getHeaderNames();            while (headers.hasMoreElements()) {                String headerName = "" + headers.nextElement();                msg.append(headerName + ":" + request.getHeader(headerName) + "\n");            }            msg.append("\n");                        Enumeration attr …

Java Session Fancy Printing Read More »

Stendere la Biancheria

Ciao cari singles.  Come avrete notato nella vostra eterna lotta tra il tornare da mamma' e andare a convivere dal partner, qualche volta si sta meglio per i fatti propri. Ma come fare a gestire la biancheria in questi casi? Ebbene il vostro mentore (cioè io) ha la soluzione.