Crypto-Gram, January 2012 (in EPUB and MOBI format)

English

Crypto-Gram is a famous free monthly newsletter written by the security expert Bruce Schneier. The original is available at Bruce Schneier’s website; this is the same content in MOBI and EPUB format, suitable for e-book readers.

Download

Posted in cryptogram, ebook, english | Tagged , , , , , | Leave a comment

Crypto-Gram, December 2011 (in EPUB and MOBI format)

English

Crypto-Gram is a famous free monthly newsletter written by the security expert Bruce Schneier. The original is available at Bruce Schneier’s website; this is the same content in MOBI and EPUB format, suitable for e-book readers.

Download

Posted in cryptogram, ebook, english | Tagged , , , , , | Leave a comment

Crypto-Gram, November 2011 (in EPUB and MOBI format)

English

Crypto-Gram is a famous free monthly newsletter written by the security expert Bruce Schneier. The original is available at Bruce Schneier’s website; this is the same content in MOBI and EPUB format, suitable for e-book readers.

Download

Posted in cryptogram, ebook, english | Tagged , , , , , | Leave a comment

Crypto-Gram, October 2011 (in EPUB and MOBI format)

English

Crypto-Gram is a famous free monthly newsletter written by the security expert Bruce Schneier. The original is available at Bruce Schneier’s website; this is the same content in MOBI and EPUB format, suitable for e-book readers.

Download

Posted in cryptogram, ebook, english | Tagged , , , , , | Leave a comment

Fix Plymouth on Ubuntu after installing NVIDIA or ATI proprietary drivers for Ubuntu 11.10 Oneiric

English

While I’m not currently using Ubuntu, I’ve been told that my script to fix Plymouth for Ubuntu 11.04 Natty works for Ubuntu 11.10 Oneirc too; lately I’m pretty satisfied by the OpenSource ATI driver, and I think that you should really give it a try as well.

Anyway, if you need it, here’s the script:

http://paolobernardi.wordpress.com/2011/05/01/fix-plymouth-on-ubuntu-after-installing-nvidia-or-ati-proprietary-drivers-for-ubuntu-11-04-natty/

Posted in english, linux | Tagged , , , , , , , , , | 2 Comments

Introduzione ad Hadoop

Italiano

 

Introduzione

Hadoop è un sistema di calcolo MapReduce distribuito per processi di tipo batch estremamente scalabile e in grado di maneggiare terabyte o petabyte di dati senza colpo ferire.

Il modello di calcolo MapReduce deve il suo nome a due celebri funzioni della programmazione funzionale, map e reduce, delle quali rispecchia in un certo senso il comportamento. In una computazione MapReduce infatti i dati iniziali sono una serie di record che vengono trattati singolarmente da processi chiamati Mapper e successivamente aggregati da processi chiamati Reducer.

Questo modello di calcolo si presta ottimamente alla parallelizzazione anche spinta, tuttavia viene da chiedersi quanti problemi reali sia possibile risolvere usandolo. In realtà sono molti più di quelli che si potrebbe pensare: attualmente MapReduce viene utilizzato nelle elaborazioni dei dati generati da enormi applicazioni web (es. Google, Facebook), ma anche per studi di genetica e di molti altri campi.

Un sistema Hadoop è formato da diversi componenti che implementano rispettivamente un filesystem distribuito ed il sistema di calcolo MapReduce. Il filesystem distribuito, chiamato HDFS, non è conforme alle specifiche POSIX perché consente di creare, cancellare, spostare file ma non di modificarli. Questo compromesso ha consentito di ottenere ottime prestazioni senza avere i problemi di implementazione dei filesystem distribuiti consueti. In HDFS i file sono suddivisi in blocchi (generalmente da 64Mb l’uno… sono commisurati alla mole di dati per cui è stato pensato Hadoop!) distribuiti tra più nodi del cluster, anche replicati, per garantire maggiore sicurezza. All’atto del calcolo MapReduce Hadoop cerca di fare eseguire a ciascun nodo i calcoli sui blocchi che ha sul proprio disco: in questo modo si ottiene una data locality altissima ed un traffico di rete molto basso.

I processi Mapper elaborano i dati di input, che nel modello di calcolo di Hadoop sono logicamente suddivisi in record (ad esempio un record può essere una linea di un file di testo o qualcosa del genere) e producono una coppia chiave-valore per ciascun record. Queste coppie chiave-valore (di norma ci sono più coppie aventi la stessa chiave) prodotte dai Mapper sono poi passate ai processi Reducer che aggregano le coppie corrispondenti alla stessa chiave; il risultato dei Reducer è un insieme di coppie chiave-valore aventi una sola coppia per chiave e viene generalmente scritto su un file di output nello stesso HDFS.

Continue reading

Posted in italian, linux, my software | Tagged , , , , , , | Leave a comment

Crypto-Gram, September 2011 (in EPUB and MOBI format)

English

Crypto-Gram is a famous free monthly newsletter written by the security expert Bruce Schneier. The original is available at Bruce Schneier’s website; this is the same content in MOBI and EPUB format, suitable for e-book readers.

Download

Posted in cryptogram, ebook, english | Tagged , , , , , | Leave a comment

How to change Thunderbird 6 default browser

English

Lately I’ve been playing with Opera. Despite my love for Firefox I found that I really like it, so I’ve started using it as my main browser on a daily basis.

I don’t use an integrated desktop environment (right now my desktop is a mix of Fluxbox, Xfce and LXDE, among other things), so I don’t have a centralized graphical tool where I can set the default browser.

In particular, finding out how to set the default browser used by Thunderbird when I click on the http links in my emails was kinda tricky, but thanks to mozillaZine I did it. Here’s how:

  1. select Preferences from the Edit menu;
  2. go to the Advanced tab and push the Config Editor button;
  3. swear that you’ll be careful! ;-)
  4. search for the following entries and set them to true by double-clicking them: network.protocol-handler.warn-external.http, network.protocol-handler.warn-external.https, network.protocol-handler.warn-external.ftp;
  5. that’s it! The next time you’ll click on an http link in an email you’ll see a popup window where you’ll be able to set your default browser.

 

Posted in english, linux | Tagged , , , , , | 1 Comment

Crypto-Gram, August 2011 (in EPUB and MOBI format)

English

Crypto-Gram is a famous free monthly newsletter written by the security expert Bruce Schneier. The original is available at Bruce Schneier’s website; this is the same content in MOBI and EPUB format, suitable for e-book readers.

Download

Posted in cryptogram, ebook, english | Tagged , , , , , | Leave a comment

Crypto-Gram, July 2011 (in EPUB and MOBI format)

English

Crypto-Gram is a famous free monthly newsletter written by the security expert Bruce Schneier. The original is available at Bruce Schneier’s website; this is the same content in MOBI and EPUB format, suitable for e-book readers.

Download

Posted in cryptogram, ebook, english | Tagged , , , , , | Leave a comment