Ok the name, is funny .. But I decided to write a little app to monitor my wifi signal level.
The code is too ugly right now, I need to add noise, signal .. and a better OO API. Anyway, it tooks me 2 hours to write this, and that’s why I like Python.
Update
I spend a [...]
Tags: Python, Wifi
admin October 26th, 2004
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
Phil has finish to hack the SVN hooks to produce a RSS feed for the latest commits. This is pretty kool ? Now I don’t have to manage a mailing list for SVN commits.
I’m just wondering why his feed is out-dated on the python-weblog, and isn’t on the python-planet ?
Tags: Python, rss, svn
admin September 20th, 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
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 really enjoy to listen radio. Most of the radio use Realaudio stream. On Un*x, you usually can use realplayer. Now i want to convert this stream to mp3 in order to listen it on my mp3 player.
Howto:
First down the .ram file
open it to find the rtsp url (something like rtsp://XXXX/stream.rm)
ask mplayer to encode it [...]
Tags: mp3, Python
admin June 13th, 2004