Author Archives: thesamet
The Curious Incident of the Chameleon in the Night-Time
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 … Continue reading
Efficient Editing In The Command Line: Part 1
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 … Continue reading
Filters 0.1 Released
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() … Continue reading
Django-like filters for Kid (and Genshi)
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 … Continue reading
Tutorial: How To Implement Tagging With TurboGears and SQLAlchemy
In this tutorial I’ll show you how to create a simple, yet powerful, tagging system using SQLAlchemy with TurboGears. As the concept of tags, and social tagging in particular, have become very popular, clients now demand “tagging-enabled” applications. So, here’s … Continue reading
Webilder 0.5 Released
Webilder is a great way to have beautiful wallpapers on your GNOME or KDE desktop. You tell Webilder what flickr tags to follow and relevant photos are downloaded to your computer. Very simple. So how Webilder is related to TurboGears? … Continue reading
How To Make IE Cache Less
Internet Explorer is known to cache the responses of GET calls. The problem occurs if your javascript functions request the same url over and over again. Internet Explorer will cache the response of the first call, and subsequent calls will … Continue reading
Four Tips on Identity Testing
I remember that day about a month ago, when it occured to me it is high time that I write some unit tests for my project. In the beginning, it felt like travelling where no man has gone before – … Continue reading
Testing Multi-user TurboGears Applications
Lately I’ve started to write many unit tests for my secret turbogears project. My secret project, like many other web 2.0 applications, can have a lot of users logged in at the same time and the actions of one user … Continue reading
How to Deploy TurboGears Applications on BlueHost
I have been a customer of BlueHost (a very friendly web hosting provider) since I’ve created the Python Challenge, about a year ago. A short time later, I’ve added to my account the domain thesamet.com which I use as my … Continue reading