$thissucks = 0;
I thought that was hilarious, but its even funnier when I realized it was in a block of variable definitions preceded by a comment saying "should probably start using more meaningful variable names"
Dusty
]]># do the initializations...
do_inits();
# retrieve parameters for this report (from gjbprun)
retrieve_parms();
#delete the stored parameters
del_parms();
# do the sql preps
do_preps();
Then later:
# Call the procedure student_hdr
student_hdr();
This part isn't dumb, its just kind of funy:
$endoftime = '99990101';
talk about meaningful variable names... (I know exactly when I'm gonna die. My birth certificate has an expiry date)
Dusty
]]>List list = null;
try {
list.add(new Object())
} catch (Exception e) {
log.warn(e)
}
return list
Surprisingly it never worked quite right
]]>int send_feces (int fd)
{
...
char *feces = "<html><body><font size=+3>Your IP looks like that of a hacker, thus I repel you.";
...
and he doesnt stop there :
int send_witty (int fd)
{
char *witty = "<html><body><font size=+3>Only a girly-man would make a request such as you have just made.</html>";
...
Came across this the other day
if (s.trim() == "" && s != null)
hah! that took me a bit... but I got it.
]]> /* Are they on our shitlist? If so, send feces.
*/
if (ip_block_all[prefix])
send_feces (fd);
if (ip_block_sub1[prefix] == second)
send_feces (fd);
if (ip_block_sub2[prefix] == second)
send_feces (fd);
I almost died laughing... and I really wish I had the opportunity to write a send_feces function...
Anyone have any other diamonds-in-the-rough like this?
]]>