A notch above a monkey

Hide email address from spammers with Javascript - a new attempt

In true Don Quixote fashion, I made a new attempt to make email harvesting more difficult. It won’t work forever, but it will work longer than previous one, which hasn’t fail yet either.

This time I use a bit different approach. Instead of replacing spam-proof, but not directly usable email addresses with mail links on page load, I create mail links on page load, but populate them when mouse moves over them. This way they are still perfectly usable, but less likely to be abused. They are also less friendly, since you can’t see email address until you move your pointer over it. But that was the point, to prevent javascript enabled scrappers.

You can download new version or check a demonstration on alternative version of my homepage.

Python's most valued

Yesterday was a lovely sunny day. Sebastjan and I were sunbathing at a nearby cafe, sipping juice and talking as we often do about Python related things.

I noted how I’d hate to see Fredrik Lundh being swallowed by the black hole of Google, where too often good people go to never hear from them again. I simply can’t seem to write anything substantial in Python these days without relying on at least a piece of Fredrik’s code.

Sebastjan doesn’t share my pessimism and he might be right. Forgetting my possibly unsubstantiated fears for a moment, which Pythonista’s loss would in your opinion hurt our beloved language the most?

MochiKit

Sometimes I’m really glad my brains don’t let my mouth shoot off as quickly as it would like.

I was checking latest versions of Prototype , Dojo and MochiKit a couple of days ago and while I liked the first two, I had a much lower opinion of the third. In fact, I couldn’t understand why Turbogears has chosen MochiKit as its AJAX library and was about to write a post questioning just that.

I’m glad I didn’t. MochiKit still wouldn’t be my choice and probably won’t be when I’ll start using existing libraries instead of mine, but that doesn’t make it a bad choice. A lot of thought and effort has been put into its implementation and it shows.

There are obviously things I dislike about it and the major one being the way it loads dependencies. I despise document.write and I disagree with argument made in comments (Safari’s use of defer on generated scripts). But I guess this is something reasonable minds can disagree on.