Archive for June, 2007

Introduzione Alla Fuzzy Logic

Tags:
Categories: Misc

Mettendo in ordine i miei vecchi backups, ho trovato la mia tesina di maturitá, che riguarda un´introduzione alla logica sfumata, con esempi, e scritta in modo semplice e facile da comprendere. La metto a disposizione di tutti, magari qualcuno é interessato ^^
Argomenti:

  • Cos´é la Fuzzy Logic / logica sfumata
  • Il problema della logica binaria classica
  • Oltre al terzo escluso
  • Oltre al terzo escluso ed alla probabilitá
  • Il paradosso del mentitore risolto con la Fuzzy Logic
  • I Fuzzy Sets / gli Insiemi Sfumati
  • Fuzzy Logic e Ricerca
  • Esempi di Applicazioni moderne che utilizzano la Logica Fuzzy

Fuzzy Logic: tesina (PDF)

Fuzzy Logic: Slides Integrativi (PDF)

 
 

New permalink structure: short wordpress urls

Tags: , , , , , , ,
Categories: Activism?

As you maybe already know, my permalink structure of the blog was of type http://daniel.graziotin.net/year/month/day/title-of-the-article/
I’ve just updated the permalink structure to this new one: http://daniel.graziotin.net/title-of-the-article/

This is nothing difficult, you can set it in Wordpress control panel (Options->Permalinks)

The problem was that, if I just updated the settings in WP control panel, all the links which pointed to my articles, written in forums, mailing lists, etc, would have been broken. I needed a mod_rewrite rule. And I’m a noob about mod_rewriting.
After some googling, I found this awesome mod_rewrite Cheat Sheet which brought me to the solution (after about 30 x /etc/init.d/apache2 reload :-) ):


RewriteEngine On
RewriteBase /
RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)/$ $1/ [R,NC,L]
RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)$ $1/ [R,NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


You just need to add two new lines in your mod_rewrite rules, as you see:

RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)/$ $1/ [R,NC,L]
RewriteRule ^200[0-9]/[0-1][0-9]/[0-3][0-9]/(.*)$ $1/ [R,NC,L]

The line basically means:
take the urls which starts with a year (200x) / continue with a month / continue again with a day / contain some text / (with or without the final slash / )
re_write the url just like this: /contain some text/

Yeap, it works! You can try it!
This is my famous article about thermal problems of Amd Turion X2 cpus and Linux (this is the link that Google knows) http://daniel.graziotin.net/2006/12/02/hp-nx6325-and-friends-thermal-problems-solved/
The link will be redirected to http://daniel.graziotin.net/hp-nx6325-and-friends-thermal-problems-solved/.

Cool, isn’t that? In this way, you can change your permalinks structure without loosing your google rank :-P

 
 

Some definitions for Introduction to Programming (Java)

Tags: , , , , ,
Categories: Activism?, Unibz

This document contains some precious definitions about Introduction to Programming, with Java as programming language supported. All of these definitions do not come from my mind, I just wrote a summary of the exhaustive teaching material of prof. Diego Calvanese of the free University of Bolzano. You can read his whole work at this url: http://www.inf.unibz.it/~calvanese/teaching/06-07-ip/lecture-notes/

I hope you will find the following interesting and useful. Enjoy it!
Read the rest of this entry »

 
 

Portfolio

Tags:
Categories: Misc

Ho aggiunto una nuova pagina al blog: Portfolio.
Contiene una lista delle descrizioni di tutti i lavori che sto svolgendo, screenshots e links compresi. Dateci un’occhiata!
Ho pure aggiornato il mio curriculum