open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
Projects icon
Software Projects Arduino Misterio Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
github linkedin rss
  • Http1.0 on firefox

    calendar Jun 6, 2013 · 1 min read
     en  · http
     ·
    Share on: twitter facebook linkedin copy

    To force Firefox on http 1.0 proceed as follows:


    Read More
  • Closure in Java: fast and nice!

    calendar Feb 26, 2010 · 4 min read
     programming_languages  en evergreen lang  · closure functional-java functional-programming html http java
     ·
    Share on: twitter facebook linkedin copy

    Working for two very important Banks, I have the need to play with Closure in Java. I have a lot of trouble looking at a good description of the subject, until I read a post on StackOverflow.

    I have decided to re-cook this subject, adding a my specialized Example also.

    Let’s start!


    Read More
  • Nested Tag Library for struts 1.x

    calendar Feb 12, 2010 · 1 min read
     en knowledgebase  · apache example html http tutorial
     ·
    Share on: twitter facebook linkedin copy
    Nested Tag Library for struts 1.x

    Example:

    http://www.laliluna.de/struts-nested-iteration-tutorial.html

    Reference http://struts.apache.org/1.3.10/struts-taglib/dev_nested.html

  • Erlang Book Review

    calendar Jul 19, 2009 · 7 min read
     en erlang featured lang reviews software  · books development erlang framework functional-programming guide http ideas internet java oreilly performance programming-languages
     ·
    Share on: twitter facebook linkedin copy
    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.


    Read More
  • Evolving concurrency, like memory management did

    calendar Jun 11, 2009 · 3 min read
     en erlang featured software  · development features framework http ideas internet java lang news performance python
     ·
    Share on: twitter facebook linkedin copy
    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 last five years computers are becoming even more parallel. Intel is pushing multi-core achiteture also on commodity personal computers. Neverless the computing power is ofter not well used: one again, hardware is a step head of our day-by-day software development. Remember when the 80286 came into light. The 286 was able to provide a multi-programming architecture but without memory management protection. We had to wait 386 hardware to see software working on preemptive multi-tasking, because software cannot cope with unprotected memory. In one word, it costs too much to develop a operating system without the new features the 80386 bring to us. What about concurrent programming? Can we look similarities in the  concurrency field?


    Read More
  • Java HttpClient and Load Balancer bad interactions

    calendar May 21, 2009 · 2 min read
     en knowledgebase software  · apache bug complex http java performance system unix web
     ·
    Share on: twitter facebook linkedin copy
    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.


    Read More
  • Javascript and Smalltalk

    calendar Feb 15, 2008 · 3 min read
     blog-objectsrootcom en software  · ajax ant build car code development easy features fix future git good hard html http interface java javascript jquery performance ping programming project sage script simple small smalltalk squeak system tip ui usa vi war web
     ·
    Share on: twitter facebook linkedin copy
    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.


    Read More
  • About macosx

    calendar Feb 6, 2008 · 1 min read
     blog-objectsrootcom en  · apple arc funny html http interface macosx oreilly pd pdf rim system ui web windows world
     ·
    Share on: twitter facebook linkedin copy
    About macosx

    We read in wikipedia:

    "Mac OS X is the successor to the original Mac OS, which had been Apple's primary operating system since 1984 [...] The first version released was Mac OS X Server 1.0 in 1999, and a desktop-oriented version, Mac OS X v10.0 followed in March 2001"
    The funny thing about MacOSX launch was the huge hype on the retail box: it was named "The world's most advanced operating system" and really it was very huge leap ahead.


    Read More
  • Dynamic languages troubles

    calendar Jan 30, 2008 · 3 min read
     blog-objectsrootcom en software  · again ant api arc build business car code complex database design easy eclipse example fix hard hosting http ibm import java lion microsoft perl php plugin project projects python ruby simple small smalltalk sql system tools trouble ui unix war web world
     ·
    Share on: twitter facebook linkedin copy
    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.


    Read More
  • Will Zend slash rubyonrails?

    calendar Dec 9, 2007 · 2 min read
     blog-objectsrootcom en  · build code design easy eclipse engine example framework funny http ibm java jug lamp nerd pd pdf perl php project python ruby small system ui web
     ·
    Share on: twitter facebook linkedin copy
    Will Zend slash rubyonrails?

    Let the Zend Framework introduce itself as a Borg would do: 


    Read More
  • Advanced Bash Scripting

    calendar Apr 17, 2007 · 1 min read
     blog-objectsrootcom en software  · again arc example good google http opinion script scripting search simple small war
     ·
    Share on: twitter facebook linkedin copy
    Advanced Bash Scripting

    Is it amazing things you can do with a simple Bourne Again Shell  (bash).


    Read More
  • Java Session Fancy Printing

    calendar Mar 27, 2007 · 2 min read
     blog-objectsrootcom en  · http java list sage
     ·
    Share on: twitter facebook linkedin copy
    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 = request.getParameterNames();          
                
                ArrayList l = new ArrayList();
                String att;
                while (attr.hasMoreElements()) {
                    att = (String) attr.nextElement();
                    l.add(att + " -> " + request.getParameter(att));
                }
                
                msg.append("=== Request ( " + l.size() + " ) ===\n");
                Object a[] = l.toArray();
                Arrays.sort(a);
                for (int i = 0; i < a.length; i++) {
                    msg.append((String) a[i]);
                    msg.append("\n");
                }
                msg.append("===   ===   ===\n");
                
                // Process the Session
                HttpSession session = request.getSession();
                // msg.append("\n");
                
                Enumeration e = session.getAttributeNames();
                
                TreeMap t = new TreeMap();
                String k;
                while (e.hasMoreElements()) {
                    k = (String) e.nextElement();
                    Object oggetto;
                    try {
                        oggetto = session.getAttribute(k);
                    } catch (Throwable notSerializableException) {
                        oggetto = "NON DESERIALIZZABILE. Chiave:" + k;
                        
                    }
                    t.put(k, oggetto);
                }
                            
                Object orderedKeys[] = t.keySet().toArray();
                msg.append("=== Session  ( " + orderedKeys.length + " " + (usertempz != null ? "+ 1UT" : " NO UT!") + " )===\n");
                Object elem;

                for (int i = 0; i < orderedKeys.length; i++) {
                    elem = t.get(orderedKeys[i]);
                    msg.append(orderedKeys[i]);

                    msg.append("\t-> ");
                    if (elem != null) {
                        nicePrintSessionObj(msg, elem);
                    } else {
                        msg.append("null");
                    }
                    msg.append("\n");
                }
                return msg.toString();
            } catch (RuntimeException e) {
                return msg + "\nERR: Cannot print session/request!!" + e.getMessage();
            }
        }

  • Smoking Gio

    calendar Mar 26, 2007 · 1 min read
     blog-objectsrootcom en  · ant bad car http pd vi video web
     ·
    Share on: twitter facebook linkedin copy
    Smoking Gio

    My first webcam video....
    See and have fun: http://www.youtube.com/watch?v=53CIgqpD0S8


    Read More
  • Stendere la Biancheria

    calendar Mar 3, 2007 · 1 min read
     blog-objectsrootcom it  · ant http net usa vi
     ·
    Share on: twitter facebook linkedin copy
    Stendere la Biancheria

    Ma come fare a gestire la biancheria in questi casi? Ebbene il vostro mentore (cioè io...) ha la soluzione. Grazie a Radio Deejay, ho scoperto il seguente fantastico servizio:  http://www.stendibiancheria.net/
    che vi dice quando vi conviene stendere la biancheria.  Questo modesto servizio, migliora le probabilià di essere più puliti del solito, ed evita che i panni bianchi si sporchino senza una valida ragione.


    Read More
  • Celeste

    calendar Aug 17, 2006 · 2 min read
     blog-objectsrootcom en  · ant apple arc bad code development email engine example giovanni google http list reader sage script smart squeak steve system test tutorial ui vi
     ·
    Share on: twitter facebook linkedin copy
    Celeste

    Celeste

    Celeste is a mail reading and organizing program. The name "Celeste" is a reference to an earlier mail reader named Baba, which was written at Xerox PARC by Steve Putz and John Maloney.

    Nowadays, Celeste is maintained by Giovanni Giorgi (me).

    Latest Feature

    A new revision is planned for the end of September 2006, and code name will be "Sonic". Sonic will include a smart mailing-list filter and a better "leave message on server" option. I implemented years ago an auto-filtering system in AppleScript. The filtering engine used the RFC2369 and some other tricks to detect yahoo mailing list. Sonic will have also an auto-filter for google mailing list too.

    The leave message on server option is quite bad now. It creates a lot of duplicated messages.
    The new implementation will avoid dowloading twice a message, using a mix of messageId and timestamp to detect duplicated messages.


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Recent Posts

  • La ruota del Destino
  • Darth Android
  • Vps Provider
  • Chat
  • RSS Readers
  • Vibe Coding: easy to say, difficult to survive
  • Basic V2 rocks

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top