Mar 072011
 

JavaAppsEnDatabaseI’ve received from Paolo Proni the slides that he presented at the ignite session at codemotion in Rome.
I thank Paolo and i gladly publish this short presentation that introduces the concepts behind the design of Easy Driver.

You can download the pdf from here.

What’s Codemotion ?

For four years running, Javaday Roma has been the only event of its kind in Italy in terms of content, participants and enthusiasm. Year after year, the exciting atmosphere of Javaday has . won over participants and sponsors. To keep being a top draw for developers, Javaday has evolved to become Codemotion.

Codemotion takes Javaday a giant step further: it’s open to all languages and technologies, becoming a catalyst for more creativity and more job opportunities. Everyone can reap the benefits of our new, broader focus: we’ve jumped from one product (Java, once Sun, now Oracle) to the entire field of programming.

Continue reading »

Flattr this!

Mar 022011
 

tuxI want to start publishing a list of the most read articles of Linuxaria in the previous months, we start today with the most read stories of January 2011:

7) Compression programs on Linux

Or zip VS gzip VS bzip2 VS xz

In a previous article about the tar program I mentioned gzip and bzip2 compression methods as options to create a tarball (and I forgot xz).

To make amends today I will introduce the main methods to compress the file and I’ll do some tests to see how they behave.
I will consider zip, gzip, bzip2 and xv, i will not test compress another compression program present on Linux systems but now dated and surpassed by the other programs. Continue reading »

Flattr this!

Feb 282011
 

iptstate-2.0-lookup-ssToday I’ll show you two tools to be used int the terminal to monitor your network and the active connections: iptstate and pkstat

IPTState

IPTState is a top-like interface to your netfilter connection-tracking table.

Using iptstate you interactively watch where traffic crossing your netfilter/iptables firewall is going, sort by various criteria, limit the view by various criteria. But it doesn’t stop there: as of version 2.2.0 you can even delete states from the table!

The only requirements are a curses library (usually ncurses), and libnetfilter_conntrack version 0.0.50 or later.

Continue reading »

Flattr this!

Feb 172011
 

tux-terminalAmong the commands available from the linux terminal there’s also cut, very useful for processing strings and characters in general.

The cut command is one of the oldest Unix command. That means that it is more then 40 years old. And it shows. It is important to understand that this is a Unix command and behaves in “Unix way”.  For example, it  uses IFS (Input Field Separators) to determine where to split fields.  You can check it with set | grep IFS. You can also set it, for example, to:

IFS=" tn"

The cut command takes a vertical slice of a file, printing only the specified columns or fields. The columns are selected using the standard IFS or one specified. Continue reading »

Flattr this!