about 1 month ago - 2 comments
Someone says this is an old lame trick. I think it’s simple and clever use of XOR.
How/Why does it work?
It’s built around the properties of the XOR ^ operator, who has the following properties:
A ^ B = B ^ A (commutative)
A ^ 0 = A
A ^ 1 = ~A
A ^ A = 0
So, you can [...]
about 2 months ago - 2 comments
This time it’s not something I make myself. Indeed, I still can’t “see” it 100%: I got it, but it’s a bit complex.
A cute little lady counting (bits? )
It’s a method to count the number of bits in a number in O(1), in just 5 lines of code. INHUMAN.
The “human” solutions
Of course, there [...]
about 2 months ago - 4 comments
My colleague and friend Luca (@lucabox) described a better solution to the problem of “Finding the first non repearing char in a string in O(n) time and O(1) space“. It uses smartly the space, making the solution nicer and slicker.
Or we are just 2 geeks that need to give more attention to their girlfriends [...]
about 9 months ago - No comments
Last episode of the latest “Passate Parola” episode of the great Marco Travaglio.
I wish it was in English: it would simplify a lot the life of who would like to understand the “Berlusconi’s Story”.
There are Italian subtitles though: it could be useful for someone that is able to read Italian at lease.
tweetmeme_url = ‘http://www.detronizator.org/2009/05/29/how-to-understand-berlusconi/’;tweetmeme_source = [...]
about 9 months ago - No comments
From “Who’s Minding the Store“, by Jerry Lewis
From “Decameron – La Macchina da Scrivere”, by Daniele Luttazzi (blog)
“Ciccotti e la Macchina da Scrivere”, by Tommaso Ciccotti
tweetmeme_url = ‘http://www.detronizator.org/2009/05/17/typewriter-an-idea-just-popped-into-your-mind/’;tweetmeme_source = ‘detronizator’;tweetmeme_style = ‘compact’;
about 10 months ago - 1 comment
After I received an email, this imaginary story came to my mind:
Kiddo>Mom, my friend G. Android came today at school and said “he is Open Source and it’s cooooool”. Not everyone understood in it and ignored him. Then we all got it, and he became very popular. Can I do it too? Pleeeeeease!!!
Mom>Ok S. Symbian, [...]
about 11 months ago - No comments
Ridicoli.
Questo siamo.
Un popolo di RIDICOLI che permettono ad un uomo RIDICOLO, Silvio Berlusconi, cancrena degli ultimi 20 e piu’ anni d’Italia, senza alcuna vergogna, remora, timore o paura, di fare il bello ed il cattivo tempo. E di RIDICOLIZZARE ogni Valore, Diritto, Legge, Organo Istituzionale.
Il tutto abusando, anzi dire i violentando, stuprando, le parole. Parole [...]
about 1 year ago - No comments
Normalmente non quoto Marco Travaglio: lo segue sicuramente piu’ gente di quanta segua me.
Ma questo video e’ davvero interessante per “capire” come mai Berlusca non e’ mai andato in carcere.
Source: Voglio Scendere.
tweetmeme_url = ‘http://www.detronizator.org/2009/03/09/immune-a-priori/’;tweetmeme_source = ‘detronizator’;tweetmeme_style = ‘compact’;
about 1 year ago - No comments
Un’altra piccola “perla” che dipinge Napoli come e’.
Niente “romanzazioni” ne “stereotipizzazioni”: “Napule” cosi’ com’e’ per i Napoletani.
Tristemente Bello.
Bravo Andrej Longo.
tweetmeme_url = ‘http://www.detronizator.org/2009/03/05/dieci/’;tweetmeme_source = ‘detronizator’;tweetmeme_style = ‘compact’;
about 1 year ago - 1 comment
Semplicemente, un grande e sonoro: LOL!
-_-’
PS L’Italia e’ sempre piu’ imbarazzante…
tweetmeme_url = ‘http://www.detronizator.org/2009/02/17/sentenziato-tizio-si-dimette-caio/’;tweetmeme_source = ‘detronizator’;tweetmeme_style = ‘compact’;