Little hack to make a bit harder for spammers to parse email address on the web.
def cryptEmailAddress(addr):
r = []
for l in addr:
r.append(’&#%d;’ % ord(l))
return string.join(r,”)
>>>cryptEmailAddress(’jkx@larsen-b.com’)
‘jkx@larse….’
And simply put this in a href mailto: and enjoy :) Check the article’s pages on this website for a example.
Tags: crypto, email, javascript, Python
admin October 6th, 2004
Ok let’s go. I’m working on Alinea2 right now. Alinea is the stuff that power this website and others. I’ll hope to get it working quickly.
Beside, this is a big work.. I loose my time with CSS hacking right now ! I guess I should stop this but .. i don’t.
from AlineaLib import motivation
motivation.enable()
Let’s go [...]
Tags: Blog, Python
admin October 2nd, 2004
After a long trip around the Python web developpement tools, it’s time to fix. In a previous post (please read all comments before ..) we have talk for a long time about various web frameworks. Here is my personnal conclusion:
A web framework has nothing to do with templates. It need to allow to wrap templates [...]
Tags: Python, twisted, Webware
admin September 15th, 2004
Who said that Plone is a too complicated ?
Check out the Plone Concept Map to be sure you know what you mean !
– Enjoy the road :)
Tags: plone, Python, Zope
admin September 4th, 2004
In a recent post Ian explain he get a lot of trouble w/ the configuration of his mail system. I ran into the same issues a little time ago. Now i’m using postfix and courier-imap and maildrop to dispatch the mail between. This setup is really easy because Postfix just accept incomming mail, and maildrop [...]
Tags: mail, Python, spam, sysadmin
admin September 1st, 2004
Ok after the parrot challenge, perl coders loose.. so they receive the pie. 2 in fact :)
Tags: fun, perl
admin August 9th, 2004
As nobody notice that, the new apt-proxy use python (not perl as the old one). This is really a good news because i love Python and the new apt-proxy has some better performance than the oldest perlish one. The key value here is the Twisted Matrix framework, now apt-proxy can download multiple .deb at the [...]
Tags: debian, Python, torrent, twisted
admin July 14th, 2004
There is a bunch of Python based web framework. So much that it’s a really hard choice to do. Most of them came w/ a special templating language, and a different approach.
Dilemma 1
I really think most of the frameworks, have nothing to do with templating. We should give up with that mixOmatic. A framework is [...]
Tags: Python, twisted, Webware, Zope
admin June 20th, 2004
I have been working for impaired people for a while, and today i need to write a little program that use ‘Text to Speech’. This should say to the user what is happening in the house like ‘TV is on’ and so on .. It tooks me 2 minutes to discovers pyTTS, which is [...]
Tags: Python, tts
admin May 25th, 2004
Python is a object oriented programming language
After a couple of years, using Perl and PHP, now i use Python for a couple of things.
Please look at this sections for more infos on Python.
Misc
Network
Webware
Zope
I’m currenlty working on http://www.pythonfr.org website. So i hope you will find some french documentation in soon. (Any help is really welcome right [...]
admin May 21st, 2004