March 11th, 2008

charlie bit my finger

another one of those videos that people send you a link and you watch it and think "ha ha ha." then you watch it again a few weeks later and it's still kinda funny then another 10 people send you the link and you don't think it's funny any more then a year ...
March 4th, 2008

A T-shirt that never caught on

shirt.jpg Here's an old one I created the design before going to Pubcon in 2006. No one ordered it. you can get one here btw, in case you can't fill in the obscured words, it says "I met httpwebwitch at Pubcon and all I got was this fucking T-shirt ...
February 22nd, 2008

I’m a Guestwhore.

Rae Hoffman, aka Sugarrae, had me over for a guest post on her popular blog. She calls her guest bloggers "guestwhores", in keeping with a recurring theme on her blog (if you're a regular reader, you'll get it). For the occasion, I prepared a little guide to canonicalization. ...
February 21st, 2008

DOM style properties: FF vs IE

For my own convenience and that of my loyal readers (both of you! hi!), Here is my table of style objects for Firefox and IE. When you're manipulating styles via Javascript, it helps to know whether a style property exists in the 2 browsers worth supporting. Here is that list. Some ...
February 21st, 2008

returning a random row from MySQL

Something this useful: you'd suppose MySQL would do it efficiently. Return a random row from a table. the conventional way to do it is: select * from mytable order by rand() limit 1 that's fine on very small tables... but as you apply it to larger datasets, it gets quite expensive. I applied ...
February 11th, 2008

my first WMW home page feature

Shortly after reaching 4 years and 1000 posts, I finally got one onto the home page. httpwebwitch featured on the WMW home page That was my morning thrill
February 10th, 2008

Indian “Thriller”

Once again, a post that merely says "look at this cool thing I found on YouTube". Anyone who argues that the world isn't a fascinating place only has to contemplate this... "Doing the thriller" is one of those bizarre cultural things... I ...
February 5th, 2008

Radiohead finally does something worthwhile

A whole pantload of people are discovering Joy Division for the first time, because Radiohead did a cover of "Ceremony". Educate yourself. This is the original: Followed soon after by ...
January 29th, 2008

The most useless thing I’ve read a thousand times.

It's this: uselesserror.png OK, first complaint. My script does not have a Line 368. It only goes up to 211. I know what you're trying to say, it's that after parsing the DOM and code, something went wrong on my own internal imaginary Line 368 which you can't ...
January 22nd, 2008

Javascript: show and hide a table cell

Challenge: You want to show/hide some table cells. Problem: To hide a table cell, you set its style display property to "display:none". Easily accomplished. To show it, you set the style display property to either "block" in IE, or "table-cell" in Firefox. There's the challenge - if you set the cell style to "display:block", ...