Archive for July, 2009

open letter to HTML test designers

Friday, July 17th, 2009

just about every HTML competency test i’ve ever taken includes the question: “which of these will open a link in a new window”.

one of the answers will of course be the correct one:

target=”_blank”

but invariably one of the “incorrect” answers will be

target=”new”

and i just have to point out: if there isn’t already a window open with the name “new” (which more than likely there will NOT be) – that “incorrect” answer will also open a new window.

the question is never phrased as “which is best” or “which is correct”, but always “which of these will work”, implying that there is only one correct answer and the other options will not ever be valid, and that’s just wrong.

so, HTML test designers, stop making ambiguous questions, you jerks.

sketchbook archive update

Friday, July 3rd, 2009

i was having some trouble upgrading my coppermine gallery, so i decided to screw it and use nextgen gallery as my image gallery. it’s good because it’s directly integrated with wordpress, and it was pretty easy to hack the search function so that the wordpress search will pull image results too.

here’s a hint: try searching for “shooting”, “sword” or “mecha”. you won’t be disappointed.

wordpress hacking and wpfooterz

Thursday, July 2nd, 2009

so zarkill.com recently fell victim to a hack that inserts linkspam into the template. i had been running an old installation and didn’t do many of the recommended steps to secure the software so i was like “oops my bad, i’ll go ahead and upgrade”. (thanks for the tip from brendan, a friendly stranger.)

so i did, and figured that was the end of it, but then BAM! the next day, there was more linkspam in the template. so i was like WTF, and started looking for some answers.

there are a lot of general guides to protecting your wordpress installation, but there was nothing specific about “wpfooterz” which appeared in the code comments before my particular linkspam. i saw a few people asking about it on forums, but no one had any real answers except “google it”, which just made me go “what do you think i’m doing, you dick”.

but i did find a few articles which suggested some things to look for – for instance, malicious code can be inserted into your theme that can make the linkspam come back even after you delete it all. so i started downloading my theme files so i could run a text search on them. lo and behold, before i was even finished downloading, my symantec antivirus actually flagged one of the files as a “hacking tool” – so i figured that must be the problem.

the file was called “locals.php” which must have been inserted into my theme folder during the time i was running an unsecure old installation. it is not a legit theme file. but since upgrading wordpress doesn’t overwrite themes, it survived the update and continued to re-insert the linkspam into my template.

i removed this file and HOPEFULLY that will take care of the problem. i hope this public service announcement will help anyone else who keeps getting the “wpfooterz” linkspam, because i couldn’t find any other specific info about it.

look for the locals.php file, which is full of malicious code, and get rid of it. then make sure you’ve got the most up-to-date version of wordpress and i guess it never hurts to go ahead and change your admin password. also i’ve learned that it’s a good idea to have an admin username other than “admin”, and make sure your wordpress tables have a prefix other than “wp_”.

hope that helps someone.

drawing pad from 1992-1993

Wednesday, July 1st, 2009

i’ve added another gallery to my sketchbook archive – this one is a large-format drawing pad that’s mostly from 1992 with some drawings from 1993. there are two exceptions – a horrible early attempt at an anime-style girl that is probably from 1990 or 1991, and the “unbreakable comb” drawing which is dated 1994.

this gallery also includes some watercolors and pastels.

as with other large items, because these pages are bigger than my scanner, some of the drawings are cropped. as i’ve said before, i’m ok with this for two reasons:

  1. who do i think i’m talking to? who is going to care? no one, that’s who
  2. i tried to crop the pages so i would lose as little as possible, so it’s fine

view the sketchbook gallery