Archive for July, 2005

multipart/alternative spam

Saturday, July 30th, 2005

Weird. I just got a multipart/alternative spam, and all the plaintext part said was Get a capable html e-mailer. You’d think you’d need more brains than that to survive as a spammer…

Please Don’t Feed the Trolls.

Wednesday, July 20th, 2005

You know another thing that would be good in a blog? The ability to mark a comment as “troll”. Give it a bit of styling—perhaps a cartoonly little “Please don’t feed the trolls” sign, or give people the option to hide them altogether. On the other hand, I can see where a blog owner might be tempted to abuse that. Hmm.

The Netherlands is filled with Web Geeks.

Monday, July 18th, 2005

Holy Cow. I’m looking through Google Zeitgeist, and the Netherlands’ #2 query in May was “ajax”. It beat out “lindsey lohan”, “star wars”, and “xbox 360″, losing only to “paris hilton”. Is the entirety of the Netherlands a bunch of web geeks? You’d never see that here in the US…

Also, the #8 search for the Netherlands was “referendum”, so not only are they web geeks, they’re politically-minded web geeks. Wow.

And, since I can’t help but laugh at it, the #5 search for Norway was “pokemon”. Heehee…


Thursday, July 14th, 2005

Okay, so I fixed the comment backslash thing. It required removing addslashes(...) from something, amazingly enough.

I just hope I didn’t leave myself open to that SQL Injection Attack thingy that page was talking about…

Now I’m gonna go through every single comment ever posted and remove them all. Funness.

Edit: Well, that’s… kind of nice. Apparently due to some strange misconfiguration, the backslashes are removed automatically when I go to the comment editing form. Unfortunately, it removes legitimate ones, too (unless they were escaped by a false one). I hope I didn’t break anyone’s post.

Subsets and Acronyms

Thursday, July 14th, 2005

I just noticed: XHTML is a subset of both HTML and XML, but {H, T, M, L} and {X, M, L} are subsets of {X, H, T, M, L}. In fact, because of the way adjectives work, that’s always true. Add an adjective to something, and you get a subset of it (pizza, cheese pizza), but if you take their acronyms, it works the other way around. Neat.

Sandboxing javascript for user comments

Sunday, July 10th, 2005

It would be nice to be able to sandbox user comments so that they could include more than just plain markup. For styles this is trivial: provide a [this-comment] selector, and cut out any selector that doesn’t start with it (would fail IFF a future version of css introduced a parent selector, but even then could be easily fixed). For scripts, I’d assume it’s quite a bit less trivial. It would be really nice for us web geeks, though.

I even wish I could offer a bounty on this. It would really be worth it, I think, if it were done correctly. Unfortunately I’m too young for most things financial—credit card, paypal, etc. Oh well. Hopefully someone will find it an interesting challenge.

Pagerank for feeds

Thursday, July 7th, 2005

Someone should make a feedreader (plugin) that implements a pagerank equivelant in the little world made up of the feeds I read. So if someone links to a post on a blog I don’t have the feed for, or if someone whose blog I don’t read links to a post, those mean nothing, but if someone whose blog I do read links to a post by someone else whose blog I read, my reader recognizes that and tells me (non-intrusively, of course).

Just one of those pseudo-AI things that fits into “computers are supposed to make our lives easier”. I thought it might help this guy (via Anne).

Disclaimer: I don’t even use a feedreader, so perhaps I haven’t been talking. But I think it’s a valid idea, and I haven’t heard of it being implemented yet…

Bug 300002

Thursday, July 7th, 2005

Bah, I missed bug 300000 by a few seconds :-( I wish I’d had two real bugs to file instead of just one, then I could have gotten it. Anyway, I filed Bug 300002 on my Idea for UI allowing HTTP authentication logout.

The right take on politics…

Friday, July 1st, 2005

I have to say, The Onion has exactly the right take on things:

“Man, if the Democrats are going to block every terrible idea Bush has, nothing’s ever going to get done in Washington.”

Extraneous backslashes

Friday, July 1st, 2005

Okay, this putting-a-backslash-in-front-of-every-apostrophe in the comments has gone too far. It has now messed up someone’s <code>...</code> snippets, and so it is time to fix the problem once and for all.

Wish me (with my complete and utter lack of PHP knowledge) luck.