Posted in daily on Dec 23rd, 2006
Sometimes Google does strange things.
I was told today that this blog shows up on the first page of search results for the term “בלוג” (which is blog spelled in Hebrew). Here is a screenshot for the lazy disbelievers (taken on December 23, 2006):
Hmm. I thought it should be hard to get on the front [...]
Read Full Post »
Posted in howto on Dec 21st, 2006
I am running several phpBB-based forums, and they all started receiving serious amounts of spam recently. It seems that the spammers are now able to break the captcha in the registration and even pass the e-mail activation. I found a very simple solution for this. And from that moment on - the spam stopped.
The idea [...]
Read Full Post »
Posted in daily on Dec 21st, 2006
Ok. I’m usually not posting such stupid stuff. But I couldn’t hold myself this time.
I came into my bed room where I had this bed-linen with pictures of lizards, turtles, chameleons and other creatures. Then I saw something quickly moving from the sheet to the blanket. Looks like it came to life from the [...]
Read Full Post »
Posted in linux, python, tutorial, unix on Dec 12th, 2006
If you are like me, spending a lot of time in the command line, you might be looking for ways to edit the command lines more efficiently. Many interactive UNIX programs implement line editing by using GNU’s readline library. This means that all these programs, which include the different shells, Python and many others, offer [...]
Read Full Post »
Posted in Filters, turbogears on Dec 7th, 2006
Filters is a Python package that provides shell-like data processing operators for generation of web content. Filters is designed to work together with a template-engine like Kid and Genshi.
What is a filter?
We’ll start with an example.
${ identity.is_anonymous() | tg.yesno() }
The output of this will be the value returned by is_anonymous() after being processed by the [...]
Read Full Post »
Posted in turbogears on Dec 4th, 2006
This post is deprecated and superseded by this post.
I’ve had a look recently at Django’s templates. I know most of my readers are fans of TurboGears, so if you are one of them, hold yourself from throwing tomatoes at me - I was only playing with it. It was nothing serious.
Then, I came back [...]
Read Full Post »