Vortexmind: free your mind Blog

Who controls the past, controls the future. Who controls the present, controls the past.
marzo 7, 2006

LAMP – OpenSource e Bug free?

Author: Vortexmind - Categories: Applications, News, Technology, Webdesign - Tags: , , , , , , , , , , , , , ,

LAMP ? duh!Ok. Scusate la stupidata della lampada. Come ben saprete LAMP si riferisce ad un insieme di tecnologie software open-source per far girare siti web dinamici (Linux, Apache, MySql, Perl-PHP-Python). Girando in rete ho trovato questo interessante articolo. A quanto pare una ricerca sponsorizzata dal governo USA ha portato a risultati incoraggianti: lo stack LAMP avrebbe la più bassa percentuale di bug per riga di codice, su un totale di 17.5 milioni di righe di codice analizzate appartenenti a 32 progetti open-source. Più precisamente, si sono riscontrati mediamente 0.434 bug ogni 1000 linee di codice. L’analisi dello stack LAMP avrebbe invece totalizzato 0.29 bug ogni 1000 righe di codice. Dei software facenti parte dello stack, il peggiore è risultato essere PHP. In generale, il software “migliore” è risultato essere il popolare media player XMMS (0.051/1000) mentre la maglia nera è andata al tool Amanda (1.2/1000). Abbandonando le percentuali e passando ai termini assoluti, la maggior numerosità di bachi è stata riscontrata nel sistema grafico X (1681 difetti), la minore se l’è aggiudicata ancora XMMS (6 bachi). L’analisi è stata effettuata su 40 delle più critiche vulnerabilità di sicurezza e sugli errori più comuni presenti nel codice. Tuttavia non sono stati resi noti nei dettagli gli errori trovati. Sicuramente non si può dire che questa metrica misuri con assoluta certezza la sicurezza delle applicazioni (magari un programma potrebbe avere un solo baco grande come un grattacielo in grado di piallare il sistema in poche rapide mosse), sicuramente però è un risultato incoraggiante.

febbraio 28, 2006

Apache mod_rewrite tweaks

Author: Vortexmind - Categories: English, Tutorial, Webdesign - Tags: , , , , , , , , , ,

Due to high demand, I’m going to write a straightforward mod_rewrite guide to group together the solutions to the most common problems. Again, this article is NOT a detailed guide about mod_rewrite: if you need such a thing, you should go to Apache’s website which brings a complete document about this issue. I will update this tutorial when I get new info about this “Apache 2 swiss army knife”. But first, let’s just introduce the topic by seeing what mod_rewrite is… Read it all..

febbraio 26, 2006

Apache .htaccess tweaking tutorial

Author: Vortexmind - Categories: Applications, English, Informatica, Technology, Tutorial, Webdesign - Tags: , , , , , , , , , , , ,

In this tutorial we are going to improve our website by tweaking out the .htaccess file. Why I wrote this article? Because on the net I have found many articles about this little beast, but every one of them dealt with a specific issue and not look at the overall usage of these files, or they are just too big when you need to do a thing in little time. So I’m trying to collect all the useful bits of data in a monolithic but slim tutorial, which will be updated as I collect more information. But first, let’s see what .htaccess file is… Read it all..