Tag Archives: rant

EUNREADABLE

I’m having a bit of a ranty evening, obviously. But when I see code like this, I give up on the whole article. #include<stdio.h> int main(int argc, char *argv[]) { int i,j,k unsigned long acc=0; for(i=0;i<10000;i++) for(j=0;j<5000;j++) for(k=0;k<4;k++) acc+=k; printf(“acc = %lu\n”,acc); return 0; } Really, if you’re preparing your code for publication, take the […]

Cross Site Scripting

I’ve just been listening to Security Now about Cross-Site Scripting. It makes my blood boil. No, not all the ads and endless, aimless waffling. The talk about Cross-Site Scripting (aka XSS) being a problem because code and data can be intermingled in the page. No, it’s not. XSS is a problem because we have dumb […]