Pages

Wednesday 23 May 2007

PVR on line

Per l'Italia è disponibile in beta questo sito che è fondamentalmente un videoregistatore online. Si può programmare e poi i video vengono resi disponibili in podcast (formato mp4). Molto utile anche la possibilità di avere il feed RSS delle vostre registrazioni.

Aggiornamento dopo averlo provato per un po`: l`idea è veramente azzeccata, interfaccia molto semplice (forse anche troppo) e rss estremamente utili, i file vengono conservati per 2 giorni di default, 3 al massimo.
Problemi: spesso sono presenti artifacts nel video, ma, cosa molto più fastidiosa a volte il video si perde dei pezzi qua e là, roba di secondi ma che non ti ci fa capire più niente. In generale un buon servizio che può migliorare. Tutto fa pensare che diventerà presto a pagamento e staremo a vedere i prezzi...

Tuesday 22 May 2007

Adattatore per dita

Decisamente qualcosa da avere sempre a portata di mano :)

Definitely something that might be handy :)

Friday 18 May 2007

About finland

Interessante post di simoniito sulla Finlandia.
Interesting post from simoniito about Finland.

Thursday 17 May 2007

Sex Crimes and the Vatican

Ho appena finito di vedere il documentario della BBC.


La denuncia del documentario è più che altro rivolta al Vaticano che copre i fatti e mette a tacere vittime, amici e parenti, e sposta i preti di parrocchia in parrocchia pur sapendo che nella nuova parrocchia risuccederà quel che è già successo nella vecchia.

Quando si dice predicare bene e razzolare male.

Alcune parti del transcript:

Un ex monaco benedettino addetto in America proprio a far rispettare il decreto del Vaticano dice che: "If a pay off is needed, or if some kind of a settlement is needed, it's done. We had a $7 million budget in 1996 to do such things"

Il commentatore: "A US report tells us that almost four and a half thousand US priests have been accused of raping or sexually abusing children."

"In 2002 the American Catholic church responded to mounting scandal by setting up an independent body called the National Review Board. Its first job was to study the scale of the problem."

Judge ANNE BURKE (National Review Board 2002-2005) compara la segretezza della chiesa con quella della Mafia.

Former Oklahoma Governor Frank Keating: "To resist grand jury subpoenas, to suppress the names of offending clerics, that is the model of a criminal organisation, not my church"

RICK ROMLEY (Former Phoenix District Attorney): "I'd written to Cardinal Sodano, who is the Secretariat of State, and I basically asked him could he instruct these priests to come back, and they just basically returned it, and they said they item's been returned because the sender has refused to accept the correspondence. They did not even open it, they didn't even acknowledge or give me any type of response. They just refused to accept it."

Quindi... 7 milioni di dollari di budget (circa 6 milioni di euro) per pagare chi voleva denunciare. 4500 casi solo in america. Favoreggiamento nei confronti di preti fuggitivi. Occultamento delle prove.

...ora capisco l'importanza della "Famigghia"...

La cosa che più mi fa venire i brividi è il fatto che le vittime, bambini, adolescenti siano semplicemente messi sotto silenzio, senza alcun aiuto, gente che si porterà dentro questi fatti per tutta la vita, che non dimenticherà mai quello che gli è successo. E che sarà sicura di una cosa soltanto: che il suo carnefice non sarà mai punito.

Questo è di un cinismo agghiacciante... nel documentario lo chiamano Damage Control da parte della Chiesa. Io lo chiamerei vomito.

Wednesday 16 May 2007

emailfilter.py

Little contribution to the trac project:

Patch to emailfilter.py

* Translates reporter email address to username if match is found in DB
* Detects replies and add comments based on that
* Sets fields directly from email body using set_: notation
* Sends notification of ticket changes
* Takes ENV variable from cmd line
* Parse attachment(s) and adds it to existing ticket

Tg5 & Lapo Elkkan

Tg5

Ieri: servizio su "vallettopoli"

"Lapo Elkkan ... che l'anno scorso aveva avuto un malore a casa di un travestito"

(era stato trovato in overdose in circostanze non meglio chiarite)

Oggi: servizio su Lapo Elkkan

"Lapo Elkkan: the best dressman in the world"

Allora Lapo Elkkan, chiaramente un drogato che pippa coca un giorno si e l'altro pure è the best dressman in the world. Invece per i tre albanesi che hanno sequestrato l'autobus vicino Trecate (non che li voglia assolutamente giustificare) il giornalista si è preoccupato di sottolineare ben 2 volte che avevano pippato coca...

Ridicoli...

Mi chiedo perchè ora è in atto questa rivalutazione forzata di Lapo da parte del Tg5...

Configure pam on Debian to authenticate against an ldap server (sarge and etch)

There are tons of guides on how to use pam to link your debian to ldap, this is just another one, made as simple as possible.


Configure access to a Debian machine using PAM and LDAP

We assume here that you already have an LDAP server up, running and configured.

When configuring and/or re-configuring libnss-ldap and/or libpam-ldap it's always better to do it using dpkg-reconfigure rather than editing files by hand since the right services are then restarted automatically.

Install the needed modules:

apt-get install ldap-utils libpam-ldap libnss-ldap nscd


Configuring libnss-ldap

Sarge

enable automatic configuration updates by debconf yes

LDAP server host address yourldap.com

distinguished name of the search base o=yourorganization

LDAP version to use 1 #( where 1. 3 2. 2)

database requires login no

make configuration readable/writeable by owner only yes

Etch
LDAP server Uniform Resource Identifier: ldap://yourldap.com

Distinguished name of the search base: o=yourbase

LDAP version to use: 1 #( where 1. 3 2. 2)

Does the LDAP database require login? no

Special LDAP privileges for root? no

Make the configuration file readable/writeable by its owner only? yes

Configuring nss

Edit file /etc/nssswitch.conf
passwd: ldap compat
group: ldap compat
shadow: ldap compat
Configuring pam_ldap

Sarge

LDAP Server host. yourldap.com

The distinguished name of the search base. dc=whatever

LDAP version to use. 1

Make local root Database admin. no

Database requires logging in. no

1. clear 2. crypt 3. nds 4. ad 5. exop 6. md5

Local crypt to use when changing passwords. 2

Etch
LDAP server Uniform Resource Identifier: ldap://yourldap.com

Distinguished name of the search base: dc=whatever

LDAP version to use: 1

Make local root Database admin. no

Does the LDAP database require login? no

1. clear 2. crypt 3. nds 4. ad 5. exop 6. md5

Local crypt to use when changing passwords. 2

Editing pam configuration files

Add to /etc/pam.d/common-account
account sufficient pam_ldap.so
session required pam_mkhomedir.so skel=/etc/skel/ umask=0022

Add to /etc/pam.d/common-auth
auth sufficient pam_ldap.so

Add to /etc/pam.d/common-password
password sufficient pam_ldap.so
Add to /etc/pam.d/common-session
session sufficient pam_ldap.so

If you want to restrict access with some complex string add to /etc/pam_ldap.conf
pam_filter |(uid=oneuser)(uid=anotheruser)(objectclass=specialAccount)

REMEMBER TO RESTART NSCD and SSH EVERY TIME YOU CHANGE SOMETHING!