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 Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
馃寪
English Italiano
github linkedin rss
  • Better unix life: mass replace and xargs

    calendar Jun 7, 2007 路 1 min read
     blog-objectsrootcom en evergreen  路 api perl unix
     路
    Share on: twitter facebook linkedin copy
    Better unix life: mass replace and xargs

    Use the sed -i command

    sed -i.BAK 's|foo|bar|g' files # -i does in-place replacement
    perl -pi.bak -e 's|foo|bar|g' files                # or
    perl -pi.bak -e 's|foo|bar|g' `find /pathname -name "filespec"`

    Perl is the preferred way, but on some production system you must use the old good sed. For some tips on sed take a look to its faq. Another very powerful command is xargs. Xargs is a rapid聽 way to process files containing spaces, using聽 a聽 combo with find:


    Read More
  • Closure in Java: fast and nice!

    calendar Feb 26, 2010 路 4 min read
     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
  • Erlang: a lesson to learn…again!

    calendar Jun 25, 2015 路 5 min read
     programming_languages  en erlang evergreen featured knowledgebase lang  路 erlang good great-ideas
     路
    Share on: twitter facebook linkedin copy

    Erlang is a great language.

    [2019-UPDATE] Erlang 22 is OUT, so I wanna to come to the party!

    On April 2015, Erlang father’s聽Joe Armstrong give us a very interesting lesson I want to tell about.

    There was a long thread titled “Erlang and Akka, The Sequel” on the erlang mailing list, reasoning about the need of some standard pattern on Promises and Future. A lot of JavaScript libraries deal about that (also jQuery has its implementation). I want to report the Joe Amstrong reply because it give us a very clear understanding on the reason Erlang is different and you should at least try it once.


    Read More
  • TDD Reloaded

    calendar Jun 26, 2024 路 4 min read
     en evergreen lang software  路 java tdd
     路
    Share on: twitter facebook linkedin copy
    TDD Reloaded

    Test driven development is a beast to tame. I like TDD but in the past it was quite difficult to achive, at least in a pure-consultant approach with a "turn key" framework behind.


    Read More

Recent Posts

  • Breve guida agli ETF
  • Salvadanaio remunerato di Satispay Conviene?
  • Interludio sul value investing
  • Anubis: DDos Protection

Latest comments

    Disclaimer

    Gioorgi is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to amazon.com, audible.com, and any other website that may be affiliated with Amazon Service LLC Associates Program. As an Amazon Associate we earn from qualifying purchases.
    Last updated:2025-06-14 16:44
    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top