Era molto che non avevo modo di proporre pezzi di codice veramente di valore. Ma il fato per oggi aveva qualcosa di spettacolare in serbo per me : ho tempo fino a questa sera per capire che cosa fa una certa classe (e le sue vicine) e capire se l’algoritmo contenuto in essa si adatta a un’altra piattaforma.
Ecco uno dei punti di più alta scuola contenuti in questa classe :
i++;
if(abyte0[i] == 45 && abyte0[i + 1] == 45)
{
do
{
for(i += 2; abyte0[i] != 45; i++)
if(abyte0[i] == 100 && abyte0[i + 1] == 111 && abyte0[i + 2] == 99 && abyte0[i + 3] == 105 && abyte0[i + 4] == 110 && abyte0[i + 5] == 102 && abyte0[i + 6] == 111 && abyte0[i + 7] == 58 && abyte0[i + 8] == 99 && abyte0[i + 9] == 104 && abyte0[i + 10] == 117 && abyte0[i + 11] == 110 && abyte0[i + 12] == 107 && abyte0[i + 13] == 45 && abyte0[i + 14] == 104 && abyte0[i + 15] == 101 && abyte0[i + 16] == 114 && abyte0[i + 17] == 101)
return true;
i++;
} while(abyte0[i] != 45 || abyte0[i + 1] != 62);
i += 2;
} else
if(abyte0[i] == 91 && abyte0[i + 1] == 67 && abyte0[i + 2] == 68 && abyte0[i + 3] == 65 && abyte0[i + 4] == 84 && abyte0[i + 5] == 65 && abyte0[i + 6] == 91)
{
for(i += 7; abyte0[i++] != 93 || abyte0[i] != 93 || abyte0[i + 1] != 62;);
i += 2;
}
Magic number for President!
Invidiosi eh? Tutti vorrebbero fare il mio lavoro oggi. E’ come andare alla fiera mondiale del masochismo, con il mal di denti.
Comments
Questa dovresti mandarla al Daily WTF…
Posted by Paolo Perrotta on 02/23/2007 08:42:01 PM
porco mondo! Hai proprio tutte le fortune tu…
)
Posted by domenico on 03/08/2007 10:16:07 AM
