Sunday, December 30, 2007

Tips for DSP.

Use conv and use fft(x,N), where N=length(xhat)=length(x)+6*(length(H0)-1), use a million taps and pray.

fork() in php

I've recently developed a small facebook application, that gets movies you rated on imdb and displays them on your facebook profile.

The app relies on a cronjob that every 5 hours refreshes all the profiles of every user, that is a very slow task. I am using a web cron website, that will run a cronjob for free. The problem is that it has a 30 minutes timeout. My page takes about 3 minutes to go through all the 58 users I have (and I hope it'll grow!) so the way I trick web-cron.org is to have a script calling another script and then return. Php doesn't allow fork() when run in apache, but one can do something similar by using this hack.

How cool.

This made me laugh.

Friday, December 28, 2007

Cheap ram

The cheaper sodimm ram I found is 1GB 667MHz DDR2 Non-ECC CL5 SODIMM, for £8.99. I think two of them are going inside my laptop as soon as I come back.

Wednesday, December 19, 2007

friends lists.

Yes, yes yes. Facebook has done friends list. As soon as they roll out custom privacy settings for each list then we can start adding as friend all sort of people. This is good.

Monday, December 17, 2007

Web cam button.

I spend a bit of the morning hacking a patch to translate the button event of the webcam to the kernel input system. Now one can use a script to toggle the video send pressing the button


out_connection = remote_bus.get_object('com.Skype.API', '/com/Skype')

out_connection.Invoke('NAME mySkypeController')
out_connection.Invoke('PROTOCOL 5')

answer= out_connection.Invoke('SEARCH ACTIVECALLS')
vid = out_connection.Invoke('GET CALL ' + answer.split()[1] + ' VIDEO_SEND_STATUS')
if vid.split()[3] == 'RUNNING':
print out_connection.Invoke('ALTER CALL ' + answer.split()[1] + ' STOP_VIDEO_SEND')
else:
print out_connection.Invoke('ALTER CALL ' + answer.split()[1] + ' START_VIDEO_SEND')

Thursday, December 06, 2007

Facebook good news.

Finally facebook has decided that messages will come to your email in full (instead of "xxx has sent you a message, click -here- to see it"). This is far more useful.

Monday, November 19, 2007

Sunday, November 11, 2007

Skype dbus interface.

I find useful to have im programs running in the background, and to focus them with some kind of keybinding. I I wrote this little python script to show the skype window:

#!/usr/bin/env python
import dbus

remote_bus = dbus.SessionBus()

out_connection = remote_bus.get_object('com.Skype.API', '/com/Skype')

out_connection.Invoke('NAME mySkypeController')
out_connection.Invoke('PROTOCOL 5')
out_connection.Invoke('FOCUS')

Then in fvwm add something like:
DestroyFunc showSkype
AddToFunc showSkype
+ I Next ("skype") close
+ I none ("skype") exec exec /usr/local/sbin/showskype.py

Friday, November 09, 2007

Skype for linux.

It looks like they have listened, and slowly video support is coming also to skype for linux (is there in the last beta 2.0.0.13). I now just need to find a webcam (steve).

THES.

I think the THES is just biased. I don't believe them at all.

Wednesday, October 24, 2007

Finally, IMAP.

Gmail is rolling out IMAP support! wow. No more mess of emails, this is very good. Anyway, I can't activate it yet (but someone can).

Monday, October 22, 2007

Orange and the motofone.

Now, I've lost my phone. Or they've stolen it, I don't know. Anyway, yesterday I got a new one, the king of all phones, the motofone f3. This phone does nothing except phoning. Even SMS is a bit difficult. But I don't care, it was £9.99 and it works great (exp audio quality).

But now the king thing, Orange. I bought the new phone with a free sim card. Want the old number back? you phone up orange, give a few details and they give you the old number on that SIM, in 10 minutes, without any waiting time at the call center!! When I did the same job with vodafone I had to pay 10euro!

Wednesday, October 17, 2007

Die Fälscher.

It's quite a good movie, that I've seen for free last week (thanks to some preview tickets). I am not sure why someone would want to do a movie like that, as it is not very strong accusation to the whole nazi thing, nor is very impressive, nor can stand anywhere near "the pianist" or "Schindler's List" (but probably it doesn't even try to). Anyway, it's quite a good movie.

Friday, September 28, 2007

Skype 4.

Skype finalmente si e' messo a funzionare decentemente anche su linux....per cui mi trovate (raramente) come mionome.miocognome .

Thursday, September 20, 2007

Sex and the city: the movie.

I am not really into the thing, but...they are filming it.

Valigie.

Il fatto che il grosso della valigia sia pronta in tipo 5 minuti fa capire che in realta' non l'ho mai disfatta.

Saturday, September 15, 2007

IDE connectors.

Today (in my procrastinating ON mode) I decided to fix on my bedroom server (TM) the problem
primary ide channel no 80 conductor installed

Now, I just replaced the cable with a proper 80conductor one that I had lying around, and I discovered an inconvenient truth: my two HDs only function if one is master and one is slave. Not "one" as in "either", "one" as in "that very one". They don't care about jumper settings. THey ignore cable select. They function only in that specific mode. Can't see why.

Wednesday, September 12, 2007

Led Zeppelin @ O2.

Mmm...

Singer Robert Plant, guitarist Jimmy Page and bassist John Paul Jones will play at the show to remember the late Atlantic Records founder Ahmet Ertegun.

The one-off concert, the trio's first performance for 19 years, will take place at the O2 arena on 26 November. Tickets will cost £125 and be allocated by ballot.

[...]

The place of Led Zeppelin drummer John Bonham, who died in 1980, will be taken by his son Jason.


125£ at the Millennium Dome...will probably be great, but maybe not worth it. Any chance we get some "crew" tickets?

Monday, September 10, 2007

Secondo le scritture.

Dopo circa 20 anni di Messe, c'e' voluta una messa inglese per farmi capire (non so come mai mi viene in mente adesso!) il significato di "secondo le scritture".

Io pensavo volesse dire "stando alle scritture", e mi sono sempre chiesto come mai uno che fa una professione di fede dovesse fare questa precisazione. Cioe', dovrebbe essere Verita' (TM) senza bisogno di dire "secondo le scritture".

Mentre gli inglesi traducono: "in accordance with the scriptures". Il testo latino infatti dice "secundum Scripturas", dove secundus implica proprio l'idea di "seguendo".

Mi chiedo come mai non abbiano tradotto nel Credo italiano con "compiendo le scritture" o qualcosa del genere. In realta' in Italiano "secondo" ha anche questo significato dal latino (tipo in "agire secondo le regole") ma a dire il vero' lo trovo un po' meno comune di "stando a".

Ma forse sono io.

Thursday, September 06, 2007

Avvocati in divisa.

La domanda di oggi e': "esiste un telefilm piu' insopportabile di Jag?"

Wednesday, August 22, 2007

Three happy friends.

the only suggestion is "do not start watching". It's not as bad as 24, but bad enough: you can't stop.

Sunday, August 19, 2007

Song of the day.

A dire il vero mica mi piace, Mika. A parte "Love today", che si aggiudica il (non molto ambito) titolo di SOTT.

Tuesday, August 14, 2007

More pictures.

here

they are taken during the dress rehearsal, so some bits of the set weren't really finished (i.e. Doc's truck).

Wednesday, July 25, 2007

West side story.



Da domani si inizia...updates coming.

Better than 24.

"Queer as folk" (I've only watched some of the UK verison, but I think there is also a US one).

Tuesday, July 24, 2007

Quarta eccedente.

Ieri sera, nelle prove per West Side Story, mi sono accorto di colpo che a 'sto po'ru mat fanno cantare quarte eccedenti... :\

Sunday, July 01, 2007

On 24 (again 2)

In the 2nd series thanks God there is no more "mywifeanddaughter"....but there is "trust me, it's going to be ok".

I think sometimes people who write these series just copy&paste some lines...it's going to be ok.

Saturday, June 30, 2007

On 24 (again)

The only one thing in 24 that is quite good is Nina Mayer. She is the smartest (by far) character on the show, she knows what she wants, and she is also good looking. Maybe is worth watching for her.

24.

The problem with 24 (I'm talking about the first series, it's the only one that I have seen...and I'll try to keep it like that!) is that it constantly insults your intelligence.

It's addictive and full of unexpected turns, but each one of them makes you say "naaaaaa, it's not like that". "WTF? s/he could have done that 5hours ago!". (or maybe tomorrow, get a rest). If you get two moles that high in a government agency (think of money and time) you do not want to waste both of them like this.

C'mon, the whole thing makes no sense at all. We're that not stupid.

The other problem I have with it is that after hour 4 I think you have already heard "mywifeanddaughter" a million times. By hour 12 you start hoping they kill one of them, so that at least they'd talk about the two separately.

The other other problem is that if you have a good piece of the plot (let say, for the sake of argument, "kidnapping+super rescue") you can't repeat it 3 times in a day. I know it's good, people love it etc, but you can't see the same plot 3 times in 24hours.

The other (x3) problem is that if each hour 2-3 people are shot, on that day about 50 people will have been killed. (+200 on a plane for no apparent reason). Naaa.

Finally, Jack Bauer is Chuck Norris.

No thanks.

Tentar non nuoce.



Geekissimo e Ollo store ti regalano un Nokia N95

Io non ho mai vinto alla lotteria (ma neanche tanto giocato a dire il vero) dai tempi della lotteria del minibasket...

Friday, June 29, 2007

Casino.

Oggi ero in mezzo a piccadilly c'erano milione di poliziotti, strada sbarrata, sirene....traffico bloccato...insomma casino.

Poi ho capito che era questo.

Wednesday, June 27, 2007

Quote rosa.

Ascoltavo prima Veltroni che diceva che meta' del partito democratico saranno donne. Io metterei come prioritĂ  assoluta quella di avere il 100% di persone competenti.

Sunday, June 24, 2007

Garanzie.

"Antonio Manganelli nuovo capo della polizia". Ale', dopo questa ci vuole un papa che si chiama "Amodio".

Friday, June 22, 2007

My next laptop.

This would be it. Scommetto che tra meno di un anno ci saranno almeno 20GB in flash memory, e magari costera' ancora meno.

rai.tv

Rai.tv e' partito un po' zoppicante, che non si vedeva su linux (pieno di controlli ActiveX etc). Adesso l'hanno un po' sistemato, con il risultato che...posso vedere blob.

Meglio di Schwarzenegger

Quando ho saputo che Fred Thompson magari si candidava come presidente USA, per un attimo ho sperato che fosse Jack McCoy.

Dicevamo...

C'e' stato un breve silenzio stampa un po' a causa di cose da fare (prima) e poi a causa di una bella intossicazione alimentare (salmonella?).

Non mi e' venuto in mente di scrivere qualcosa dal bagno.

Thursday, June 14, 2007

Movie list.

From time to time I vote on imdb the movies I've seen (recently or not). I thought I might share the list...

Wednesday, June 13, 2007

Fine della fiera.

Boia faus, siamo arrivati in fondo alla fila. Ah-h.

Ora un po' di relax, un po' di dramsoc, un po' di altre cosette...si ritorna a casa verso la fine di Agosto.

Tuesday, June 12, 2007

The last one.

(10:38:13 PM) Pietro: who cares
(10:38:14 PM) Pietro: I mean
(10:38:16 PM) Pietro: is the f* last one.

Thursday, June 07, 2007

Understanding the Vaio EC.

This is about the embedded controller in my vaio s4, just some info on how memory is used there.

0x17: last address written

0x93: FAN0: fan speed. (you can set this directly, but will be reset in 1 second by something I don't know)
0x94: IRST: bit 8, cd power. You can't write this directly, see the CDPW method
0x96: BRIT (does nothing)
0x97: CONT, CTR method
0x9B: SIRQ: some how is set to 8,

0xA6-7 (16 bits): B1V0: voltage in the battery
0xC0-1 (16 bits): A1TP: temperature
0xC4-5 (16 bits): A1PT: passive trip point
0xC6-7 (16 bits): A1CT: critical trip point
0xC8-9 (16 bits): A2TP: some other temperature sensor

Tuesday, June 05, 2007

Incontri, o no.

Ieri per la strada, davanti a Gloucester Road Tube Station ho incrociato Ivan Scalfarotto. (Credo, non e' che sia proprio sicuro, pero'.)

Song of the day.

Jethro tull - Wond'ring Aloud

( poi un giorno faremo un po' di dietrologie su

...I'm tasting the smell
of toast as the butter runs.
Then she comes, spilling crumbs on the bed
and I shake my head...


ma non oggi)

Il poli delle meraviglie.

Prendo spunto dai titoli di Bisio per postare questa chicca:


I am not entirely sure of what they mean, but it just appeared on the bathroom door.

Monday, June 04, 2007

Punto informatico.

Oggi punto informatico ha questa bella frase:
Con un thermal design power (TDP) di soli 9 watt ed core clock di 1 GHz, il Sempron 2100+ si presta ad essere utilizzato in sistemi thin client, pint-of-sale (POS), chioschi e set-top box.

In una sola frase ci sono:

"ed core"
"pint-of-sale" (che e', ti vendono pinte di birra??)
"chioschi" (lol, dal giornalaio....sara' anche la traduzione corretta di kiosk...ma fa ridere!)

va beh, sono puntiglioso.

Friday, June 01, 2007

Conditional probability

This is a follow-up to yesterdays exam, that caused some discussion afterwards. This is what I believe is correct.

The circle is the total number of students that take the exam, the sectors are the tree professor, and the small circle in the inside is the students that fail. We will call the number that fail fx and the number that pass !fx. The subscript x indicates under which professor the exam was taken. Let's call F the event the any student that fail and !F the event that a student doesn't fail.



The whole circle represents (F+!F), call it 1 (normalized). The whole green sector, i.e. A, is the number of students that take the exam, times the probability of A, that is (F+!F)*P(A) = P(A).

The darker green region, i.e. FA, is the number of students that take the exam with A and fail, i.e. P(A) * (fa)/(fa+!fa). This is clearly dependent on the number of students that take the exam with A (or, equivalently, on the number of days A is examining, i.e. P(A))

We know that if the examiner is A then 12% fail. What this means is that fa/(fa+!fa) = 0.12. This is not the same as FA. In fact this information (the fraction of students that fail with professor A) doesn't depend on the number of students A is examining. Therefore, if we want to define it in terms of F ∩ A, we'll have that 0.12 = P(F ∩ A)/P(A). that is the definition of P(F|A).

Another way of looking at it is to consider the inner circle, i.e. P(F). Since A,B,C form a partition

P(F) = P(F ∩ A) + P(F ∩ B) + P(F ∩ C).

This is P(F) = P(F|A)*P(A) + P(F|B)*P(B) + P(F|C)*P(C). This is not P(F|A) + P(F|B) + P(F|C).

If we wrongly consider 12% as P(FA), then the total number of students that fail will not depend any more on the events A, B, C happening, i.e. even if professor A doesn't turn up at all, the same number of students will fail (even if the % of students failing with professor C and B is lower!). This is incorrect.

Let's now have an event D, i.e. the event that one - and only one - student fail. The total probability of D will be:

P(D) = P(D|A)*P(A) + P(D|B)*P(B) + P(D|C)*P(C).

as D is a special case of F, D is a subset of F.

We know that P(F|A) is 0.12, so clearly if we have n students taking the test with A, the probability of only one student failing with A will be 3*(0.12)(1-0.12)n-1. This, again, does not depend on A happening, because is "given" that A has happened. In other words it is not P(D ∩ A), it is P(D ∩ A)/P(A).

EDIT: damn, I got the nCr bit wrong. Thanks Daniel for telling me.

Tuesday, May 29, 2007

Moto menu.

If you want to change date&time in my motorola, you need to go under Settings (fair enough) -> Initial Setup -> date & time (right).

Where did the "Initial Setup" come from?

Monday, May 28, 2007

2.6.21

2.6.21 with NO_HZ brought the temperature of my laptop down by 4C, that is enough to shut up the fan most of the times. Good!

Friday, May 25, 2007

Exam time.

I definitely think that 11 exams in 23 days is too much. Anyway, 3/11 gone.

Wednesday, May 23, 2007

Come distruggere una canzone di Battisti

In poche semplici mosse. La prima e' fare una accordo con le quinte in sul levare del secondo quarto, via liscio, battere-levare-battere-accordaccio, sostituendo un rullante spettacolo con una chitarra distorta. Poi vuoi mettere la stessa canzone senza la linea col jazz?

Monday, May 21, 2007

GTK dynamic key bindings

Put the following in your ~/.gtkrc-2.0 file (create the file if it doesn’t exist):

gtk-can-change-accels=1

now you can change bindings in menu like this:

Open a menu, move the cursor above the menu item you want, press the shortcut you want to assign. This shortcut will appear next to the menu label. You're done (fabulous)!

To remove a binding that you don't want, press CTRL+backspace on that menu.

Some findings on the Vaio

We have a ACPI method called CSXB, don't know what it does but:

42 loads the default values in the bios
41 hard locks the whole system.
50 somehow changes the video memory, i.e. the fonts in the terminal
become bigger and the screen is shifted down, I can't really describe it.

Also I wrote all numbers up to 2000-something, and as a side effect now
I don't have the sound during the logo at the boot (hurray!) regardless
of the volume of the speaker (I suspect that was 43 or 40 fault, but I
am not sure) and after writing all these numbers it wouldn't boot
anymore (battery led flashing fast). I had to remove the battery to make
it boot. Now is all normal, but I decided that was enough playing for now!

Also I have to methods CBMF and RBMF, RBMF is always 1, except when
reading from CBMF, that gg it becomes 3 (for only one reading).
Writing 0 to CBMF, RBMF is 3 (for one reading), writing 1 to CBMF
becomes 1, writing 2 and above it becomes 2. I have no clue of what this
does.

Poche parole.

Invece di aspettare che si riempano 190 pagine di giornali italiani, si scenda in piazza, si faccia uno sciopero dei controllori di volo, e poi lo si veda filtrato da Santoro, uno si guarda il video originale (via mante blog), e si fa le sue opinioni.

Monday, May 14, 2007

Tuesday, May 08, 2007

Hard core revision.

This makes me revise better:

DestroyFunc ToggleTitle
AddToFunc ToggleTitle
+ I State 1 toggle
+ I Current (State 1) WindowStyle Title
+ I TestRc (NoMatch) WindowStyle !Title
+ I UpdateStyles
+ I Current (Maximized) maximize true

This function toggles the title bar in fvwm, and re-maximize the window if it was maximized before removing the title bar.

Friday, April 20, 2007

Abolire il limbo.

Oggi si sono svegliati e hanno detto "non c'e' piu' il limbo". A dire il vero ci avranno pensato per qualche secolo, rimuginato un po' e hanno detto "non c'e' piu'". (o meglio, "non c'e' mai stato").

Secondo me e' importante ricordare che ogni tanto anche quello che e' "Vero" poi diventa "Falso" (o meglio "boh"). Poi ci saranno riflessioni ben piu' profonde, ma alla base c'e' che almeno tutte le cose che non sono consacrate come "dottrina della Fede" sono solo "riflessioni teologiche".

Fatte da autorevoli e meritevoli personaggi che possono prendere qualche granchio.

Thursday, April 19, 2007

un operaio, uno di noi.

Non so piu' a quale Zelig, pippo kennedi, ottavo nano o che ne so, ma c'era un'imitazione del Berlusca che diceva "io sono stato un operaio", io sono stato zappatore, io sono stato casalinga, telefonista, cantante, minatore, addestratore di furetti, insomma, le aveva fatte tutte.

Beh, ora e' tesserato del Partito Democratico.

EE2 Exams.

Exams in iCal format...looking forward to the 13/06! ;-)

Thunderbird 2.

Today the new Thunderbird 2 has officially been released, *wow!*, and looks pretty sleek and nice. (Not sure I like the "folder" icon so much, though). A great nifty little feature, is "place replies in the folder of the message being replied to", so you can keep "threaded" conversations (like gmail).

Wednesday, April 18, 2007

Acqua.

Ho sempre pensato che le cose difficili da trovare qui buone (e senza pagarle un capitale) fossero salumi, formaggi, vini, polenta e usei, cose cosi'. E invece no, la cosa che manca di piu' e' l'acqua.

Possibile che sia cosi' perfida?

Bella cravatta.

Tuesday, April 17, 2007

Like a Rolling Stone 2.

....un'ora dopo...

Rolling Stones quasi tutti vivi (mancano alcuni pezzi qua e la', doh!).

Ma possibile che si e' salvata la Pausini?

Momenti tragici.

Hai presente quando stai ridimensionando una partizione?
Tipo da 90GB farla passare a 150GB?
Hai presente quando sei tipo al 90%?
Hai presente un hard-lock, tutto freezed?
Ecco.

Saturday, April 14, 2007

Binary trees.

Today I was working on a small replacement for std::map, that I am not allowed to use. I ended up doing something like this:

/** the [] random access method will return the Node that
* has that key, or create a new one.
*/

Node* NodeTable::operator[](std::string key){
TreeNode** tmp = &root_of_three;

while (*tmp) {
if (key > (*tmp)->key_) {
tmp = &(*tmp)->rNext_; // right branch
} else if (key < (*tmp)->key_) {
tmp = &(*tmp)->lNext_; // left branch
} else { //key == tmp->key,
return (*tmp)->getVal(); found!
}
}

*tmp = new TreeNode(key);
return (*tmp)->getVal();
}

I am not sure this is the fastest possible solution...

Friday, April 13, 2007

Quotes.

He's the sort who can't know anyone intimately, least of all a woman. He doesn't know what a woman is. He wants you for a possession, something to look at, like a painting or an ivory box. Something to own and to display. He doesn't want you to be real, and to think and to live. He doesn't love you. But I love you. I want you to have your own thoughts and ideas and feelings, even when I hold you in my arms. It's our last chance...

- A Room with a View

Thursday, April 12, 2007

Coincidenze.

Oggi in aereo ero seduto vicino alla stessa persona a cui ero seduto vicino all'andata, 10 giorni fa.

Libero

L'altro giorno ho rifatto la carta di indentita': stato civile, non "celibe", non "single" ma...

stato civile: STATO LIBERO.

Sunday, April 08, 2007

Gnome.

Questa e' di un po' di anni fa, ma sempre spassosa.

Here's a damn big clue: the reason I find gnome limiting is BECAUSE IT IS.

Linus Torvalds

Happy Easter.

ecco.

Monday, April 02, 2007

Un piccolo passo.

Notizia prima di partire: EMI distribuira' musica senza DRM.

Ma su iTunes costera' di piu' (1.29$ invece che 99$). Credo che questo sia un errore strategico (quello del prezzo), dovevano rimanere a 99c, ma e' comunque un passo avanti.

Sunday, April 01, 2007

Windows and Spanish mass.

For some reasons, for Windows faults I went to the Spanish mass. Yesterday I rebooted on Windows (that stores on the BIOS clock the local time EU/Rome), and it reset my clock (I want it to store the GMT time, Unix common practice).

So today I thought it was 12 (it was 11), and I went to the wrong Mass. In Spanish.

Saturday, March 31, 2007

gaim-remote show.

A handy trick to show and hide the gaim buddy list window:

gaim-remote GaimBlistSetVisible?show=1

you need a working session of Dbus.

Wednesday, March 28, 2007

DICO e Vescovi.

Sono finalmente riuscito a trovare il testo completo della famosa nota.

Ora, in parte mi pare sensato, specialmente quando si dice:

Siamo consapevoli che ci sono situazioni concrete nelle quali possono essere utili garanzie e tutele giuridiche per la persona che convive. A questa attenzione non siamo per principio contrari. Siamo pero' convinti che questo obiettivo sia perseguibile nell'ambito dei diritti individuali, senza ipotizzare una nuova figura giuridica che sarebbe alternativa al matrimonio e alla famiglia e produrrebbe piu' guasti di quelli che vorrebbe sanare.


Mi pare una posizione politica (si, "politica") sensata: non c'e' bisogno di una nuova figura giuridica, facciamolo con il diritto esistente.

Ma poi:
In particolare ricordiamo l'affermazione precisa della Congregazione per la Dottrina della Fede, secondo cui, nel caso di ''un progetto di legge favorevole al riconoscimento legale delle unioni omosessuali, il parlamentare cattolico ha il dovere morale di esprimere chiaramente e pubblicamente il suo disaccordo e votare contro il progetto di legge'' [...]

Il fedele cristiano e' tenuto a formare la propria coscienza confrontandosi seriamente con l'insegnamento del Magistero e pertanto non puo' appellarsi al principio del pluralismo e dell'autonomia dei laici in politica, favorendo soluzioni che compromettano o che attenuino la salvaguardia delle esigenze etiche fondamentali per il bene comune della societa


"il dovere morale", "non puo'"?? Non credo che essere cattolici voglia dire "obbedire" a cio' che la "grande madre Chiesa" suggerisce. La Chiesa suggerisca pure, ma il dovere morale del parlamentare e' votare di testa propria.

Woodcock.

Ma qualcuno ha mai tradotto woodcock?

Top keywords.

Di solito me ne frego delle statistiche del blog, oggi dopo tanti mesi ho dato un'occhiata e...le top keywords con le quali la gente arriva su questo blog sono:

latex enumerate
cugini di campania
firefox beep
tesina armonia
titoli assurdi

E va beh, queste si possono anche capire. Mi spiace invece per i signori che sono arrivati qui con queste altre keywords, non credo abbiano trovato nulla per il loro interesse:

sudoco gratis, pelossissime, acqua ossigenata sbiancante, antonella ruggiero torrent, scompisciare power point, pompini assurdi, endrius sampler 2006, i miei due centesimi sul sesso anale, spaccare il culo ai passeri significato.

Tuesday, March 27, 2007

Saturday, March 24, 2007

LINGUAS use flag.

Sometimes you want to have a per-package LINGUAS setting, i.e. in mplayer, where the linguas chooses the language of the user interface. Anyway, the trick is to add in package.use a line like
media-video/mplayer -linguas_it

Wednesday, March 21, 2007

Noodles and E numbers.

I sometimes eat some cheap and good ("poca spesa e tanta resa") noodles, but tonight I've checked the E numbers they have in the Ingredients. These are those kinds of food additives that are approved by the EU.

Anyway, I have a little java applet on my mobile, Enumbers, that tells you what these numbers mean, and tonight I was pretty scared. I'm not too fussy about this, but a bit of care must be taken probably.

E320: may trigger hyperactivity, serious concerns about carcinogenicity (provoke cancer), caused tumors in lab animals, banned in Japan, McDonald's don't use it.
E621: not that bad, better not for children or asthmatic people
E635: not that bad, can cause skin rashes
E310: it is used in foods, cosmetics, hair products, adhesives, and lubricants. can cause blood disorders.


All good?

Dialogo.

Giornali come Liberazione e Manifesto oggi aprono sostenendo che il dialogo con i talebani ha funzionato e che questa è la strada giusta (ogni riferimento a Gino è voluto).
Cioé i talebani hanno ucciso l'autista di Mastrogiacomo, sgozzandolo. La moglie del poveraccio, incinta, ha abortito per lo shock. E cinque talebani arrestati sono stati rilasciati in cambio del giornalista di Repubblica. Senza contare che ovviamente anche stavolta circolano voci di un sostanzioso pagamento di riscatto (ovviamente solo su giornali di Centrodestra).
Allora, mi domando: cosa vuoi dialogare con gente che ti taglia la testa?


Citazione da non solo rossi, che mi pare significativa.

Tuesday, March 20, 2007

Thursday, March 15, 2007

Arcadia.

Arcadia is on this week, tomorrow and Saturday again. The production is very good, the set is very nice and lighting is fabulous. I've seen it 4 times now, and the more you see it the more you can appreciate the witty dialogues and subtle humour. Reviews have been very positive, and we had a lot of people coming to watch it in the last two nights. You are still in time to grab a ticket!

Saturday, March 10, 2007

Wednesday, March 07, 2007

The deer hunter.

Quelli che fanno bei film hanno una resposabilita': i bei film uno li guarda, dall'inizio alla fine. Ecco, non si dovrebbero fare bei film troppo lunghi, altrimenti mentre lo guardi pensi "che bel film" per 3 ore, e poi diventa noiso.

Cmq Apocalypse Now gli fa una pippa.

Monday, March 05, 2007

Pliz visit Italy.

This is our Minister of Welfare and Cultural Activities.



Then don't say I have an accent!

("the website" is this)

24.

E' brutto da dire, ma Sabato sono stato in piedi per 23 ore. E quando dico "in piedi" vuol dire "non-seduto!"

Per fortuna c'e' n'e' solo una all'anno di ste cose!

Sunday, February 25, 2007

Tech rehearsals.

Bored to death Waran labelled the outputs in the following way:




This is how James connects the iPod bodge to the wavefronts (and then lights it)

Saturday, February 24, 2007

Busy days 3.

Mi sono accorto che non ho fatto un post per 12 giorni, mentre in realta' mi pareva di aver postato ieri. Forse perche' queste settimane sono state un po' piene di giorni tipo Giovedi'

9-13 lezioni
13-14 pranzo+inizio altre cose
14-18 lezioni ancora
18-23 band night (con cena sul mixer)
23-24 vendita biglietti per un musical organizzato dalla mia hall.

aiut.

POP - 80s.

Uno dei film piu' divertenti dell'anno, "Lyrics & Music" mi ha fatto scompisciare. Soprattutto perche' Hugh Grant in italiano e' insopportabile mentre in realta' parla con un inglese spassosissimo.

Consigliato per gli amanti degli anni 80 il video clip" iniziale.

Monday, February 12, 2007

Film da vedere.

Post che e' piu' per me che per chiunque legga, questi sono alcuni dei film che devo vedere:

North by Northwest
Double Indemnity
El Laberinto del Fauno, che era al cinema poco fa e me lo sono perso
Memento
Scarface
Strangers on a Train
Ran
Annie Hall
Zelig
Amores perros

La lista verra' aggiornata...

Basta poco.

Il fatto di rilasciare il singolo solo su internet e' spettacolare, anche se e' solo su iTunes o shop vari, ci vuol poco a procurarselo (anche senza p2p), ad esempio su YouTube.

Il problema e' che la canzone fa abbastanza pena, io che Vasco lo consideravo un poeta, poi mi scrive

ci si fotte allegramente
come se fosse niente
darei fuoco a casa tua
se mi passasse il mal di denti

Ma si puo'?
basta poco
per essere intolleranti
basta poco
basta esser solo un po' ignoranti

Ma cosa vuol dire?? Bah.

Thursday, February 08, 2007

Neve! 2

Oggi a Londra c'era la nevicata piu' grande dal 1999. Io nel 1999 non c'ero, per cui non e' che fosse cosi' grande.

Tuesday, February 06, 2007

Progetto Finito.

Grazie a tutti quelli che mi hanno testato il sito (qui e altrove).

Con oggi la cosa e' finalmente finita. Amen.

Saturday, February 03, 2007

Website testing.

Sono stato un po' in silenzio negli ultimi tempi a causa della deadline del 2nd year project, che mi ha preso un sacco di tempo e di energie. Comunque e' finalmente (quasi) finito, percio' sarei grato se poteste testare con i vostri browser esoterici il sito del progetto, tanto da capire se funziona.

In teoria la schermata dovrebbe essere simile a questa:



Il sito e' stato testato per adesso con:

Firefox 1.5 e 2 (win e linux)
Internet Explorer 6 e 7
Safari
Links2 (testuale)

Sunday, January 21, 2007

Bristol.

Fossi un tastierista e avessi tempo da perdere...proverei ad usare Bristol via midi...

Wednesday, January 17, 2007

How it's made: guitar strings.



alla fine si riconosce senza dubbio la d'Addario! Con tutte le cose che fanno automaticamente non pensavo che le arrotolassero a mano!!

5150.

Dopo molto tempo finalmente mi ricordo di postare due foto fondamentali:



Tuesday, January 16, 2007

Linguaggio.

Mi accorgo sempre di piu' che a parlare una lingua che non si conosce (inglese) l'effetto piu' immediato non e' che si migliora l'inglese fino al livello dell'italiano, ma che si peggiora l'italiano fino a ridurlo al livello dell'inglese.

Piu' che altro come numero di parole che si sanno usare ancora.

Sunday, January 14, 2007

Starbucks keynote.

La parte piu' divertente del keynote e' quando Steve Jobs chiama Starbucks in diretta e gli fa "I'd like to order 4000 lattes to go please...... Just kidding, wrong number. Bye".

iPhone.

Non vedo l'ora che esca un iPhone-linux...linux sull'arm gira, basta fare un po' di drivers...prima o poi qualcuno lo fara'. Promesso.

Fixing some xterm crazyness.

I started to get a bit annoyed of the fact that ctrl+left in Vim didn't work, and instead produced a new line and a d.
From the output of cat -v, and then ctrl+left I can see that somehow my urxvt sends a ^[0d sequence, that unfortunately is perfectly valid in Vim, and causes a new line and a d, infact.

So I did an extensive remapping in vimrc that unfortunately blogger is too stupid to let me paste, but maybe they are useful for someone. Something like:

map [esc]0d [C-left]

where [ and ] should be replaced with the greater and lessthen symbols. (that I can't managed to get in blogger, God knows why)

Wednesday, January 10, 2007

Saturday, January 06, 2007

Thou shall not kill 2.

Aggiungendo una cosa a quanto detto prima, mi ha fatto venire in mente una certa somiglianza con

No animal shall kill any other animal (whitout cause)


In realta' non so se mi spaventa di piu' la pena di morte o il tirar in ballo cosi' spesso Dio nei discorsi politici. (In ogni caso le due cose non stanno proprio bene insieme)

Musica sacra.

Sono stato sempre abbastanza scettico sulle schitarrate in Chiesa, ma stasera a Messa suonava una che cantava con una voce tipo Joan Baez.

Mi e' parsa molto appropriata.

Friday, January 05, 2007

Home sweet home.

Arrivando qui mi sono accorto che, facendo bene i conti, ho vissuto piu' qui che a casa mia.

Thursday, January 04, 2007

Thou shall not kill

Qualcuno mi ha fatto notare che fa abbastanza stridore che in un paese con la pena di morte si canti God bless America. Quale parte di "Thou shall not kill" non e' chiara?

Wednesday, January 03, 2007

Coefficienti.

Rispetto ad un discorso che si faceva l'altra sera, su una linea di trasmissione il coefficiente di trasmissione indica il voltaggio trasmesso ad un carico (incidente + riflesso, V+ + V-) rispetto a V+. Quindi e' 1+K, dove K e' V-/V+.

E' utile perche' il carico sente non solo l'onda incidente, ma anche quella riflessa (i famosi fantasmini sullo schermo della TV).

Tuesday, January 02, 2007

Polvere.

Ho appena sistemato nel mio scaffale "l'enciclopedia per ragazzi" in dieci volumi a colori, stampata da Mondadori nel 1936.

Con polvere originale del 1936.

Monday, January 01, 2007