Home
How to read Whatsapp messages on your own computer
(Reading time: 1 minute)
Intro
Some weeks ago I started to use Whatsapp Messenger and immediatly I'm worried about how I could save the messages on media that was less mobile and maybe even a little more durable than a martphone. Searching on the web I found this nice tool that decrypts the encrypted database of WhatsApp and exports all messages in a convenient html file readable with any browser.Read more: How to read Whatsapp messages on your own computer Add new comment
Raismth - Plugin per firefox per vedere i canali rai
(Reading time: 1 minute)
Finalmente si è sbloccata la situazione che non permetteva agli utenti linux di vedere i canali RAI in diretta dal proprio computer, il porting su linux di silverlight (moonlight) era stato abbandonato ad aprile 2011 e non più aggiornato. Ma dal 26 marzo scorso è disponibile sul portale delle estensioni per firefox Rai Smooth Streaming Player (rsmth per gli amici), un addon che permette, finalmente, di vedere i canali RAI dal proprio computer. L'estensione si appoggia ad un player esterno e dopo pochi passi di configurazione garantisce un ottimo risultato. Si possono usare anche VLC o Totem
Riferimenti
Riferimenti
Double Factorial
(Reading time: 1 minute)
The double factorial is a mathematical operation defined recursively as:
\[n!!=\left\{\begin{matrix}1\ if\ n\leq 0\\n(n-2)!!\ otherwise \end{matrix} \right. \]
eg.
\[ \textit{8!!=8*6*4*2*1= 384 } \]
An algorithm can be implemented very simply in a recursive way, where the method calls itself many times. That is an implementation:
public static long doubleFact(long n){
if(n>=52)return 0;
if(n<=0)
return 1;
else
return doubleFact(n-2)*n;
}
public static long doubleFact(long n){
if(n>=52)return 0;
if(n<=0)
return 1;
else
return doubleFact(n-2)*n;
}