Sean O'Donnells Weblog
Well the scum bag spammers finally made me do it. I added captchas to the comments plugin in Vellum tonight. Up until now I had been using a simple blacklist of forbidden phrases and urls, and it had killed the majority of the spam quite nicely. Until Mr. "I'm not up to much today" started spamming the blog on a daily basis, always with different text, different ips and different urls to different scum bag products. So a black list was not going to cut it with him. manual removal didn't work , as the blog was always spammed again in a matter of hours. So hopefully the captchas will put paid to him. Time will tell. I apologize if the captchas annoy or inconvenience anyone, I'm not their greatest fan myself. But it was this or spend time everyday wiping off the spam.
I've been working on an application that needs to convert old fashioned HTML to XHTML. Almost all of the libraries I have come across that do a good job are just wrappers around HTMLTidy, and very few of them can simply be installed with a simple apt get. I did not feel particularly good requiring them as a result. I hate to think of someone tearing their hair out just trying to get my stuff installed before they can use it.
Check out the following example
>>> from twisted.web import microdom
>>> x = microdom.parseString("<div>hello<br>world</DIV>",beExtremelyLenient=1)
'<?xml version="1.0"?><div>hello<br />world</div>'
defmacro.org just posted a wonderful tutorial called The Nature of Lisp. If you have ever wondered what puts that creepy evangelical light in the back of a lispers eye read this and you too will be enlightened. I only wish I had found this back when I started playing with lisp, it would have been a short cut through a lot of tears and pain.
Are you sick of hearing about the MPAA suing small children and grandmothers, . Tired of seeing messages every time you go to the cinema warning you not to be a thief? Being watched by cinema staff with night vision goggles? Region encoded DVDs. Criminal Penalties for watching your dvds on your hardware using your operating system?
Then its time to put up or shut up. A Swarm of Angels are planning to make a £1,000,000 movie, by getting donations of £25 from individuals. The movie will be released under a creative commons license. No bull and power games. No paying €10 at the cinema, €40 for the dvd. No more telling your friends they cannot have a copy. No more region crippling, no more visiting 1984 every time you go to the cinema.
It might not change the movie industry overnight, but its an important first step. The team looks pretty impressive, so the movie could work out to be pretty cool, and I'm a huge Warren Ellis fan. This could almost make up for the stillborn Global Frequency series.