Cherry blossom tree Quite a satisfying way to finish this day
All articles
chrss (chess by rss) update 20
- Updated the user registration process, so hopefully it's a bit friendlier
- Users now have a chance to resend their activation email if they have trouble activating their account
- Tweaked filters for games on user's page:
- "active" - games that it's your turn in or have had a move in the last …
A little SQLObject performance guide
For those that aren't aware, SQLObject is an Object-Relational Mapping (ORM) library for Python. I use it in chrss (my chess by rss web app) as part of Turbogears. Ian and Kyran also use it as part of the ShowMeDo site.
Chrss and ShowMeDo have quite different levels of traffic …
Turbogears and mobile mini-site logins
I'm in the process of to writing a simple mobile version of chrss (chess by rss). This is spurred by the arrival of my new Nokia 6300 (which comes with Opera Mini). I'm aiming to end up with a mini-site running at http://chrss.co.uk/mob/ or similar.
The …
chrss (chess by rss) update 19
- Bug fix for PGN (Portable Game Notation) output (as noted by Calibius)
- Faster PGN generation (evaluating only the legal moves I need to consider to avoid ambiguity, rather than _all_ legal moves)
- URLs in comments should now automatically appear as click-able links
- Ability to "rotate" the board, to view it …
chrss (chess by rss) update 18
simple bread crumbs added to aid navigation:
highlighting games that it's your turn to move in:
PGN (portable game notation) output for games:
improved test coverage
Python Magazine
Just been reading the free copy of October's Python Magazine (direct link to pdf).
Doug Hellmann's "And Now For Something Completely Different" column, was particularly good. He covered a few of the nice higher level modules for parallel processes. The processing module looks like quite a good sweet-spot for ease …
Turbogears, Breadcrumbs and get_object_trail()
Whilst reading this thread on the Turbogear's Google Group someone (asm on the list) posted a link to adding breadcrumbs to Turbogears apps.
After a little more reading I found a page on the Turbogears site itself about this subject too: http://docs.turbogears.org/1.0/BreadCrumb
The really …
Monkey patching Python's SMTP lib for unit-testing
I'm about to discuss monkey patching in Python. Always consult an adult before monkey patching.
A little while back Jeremy Jones talked about Testing, Logging, and the Art of Monkey Patching in which he demonstrated using monkey patching to replace the use of tcp sockets. Thus removing the need to …
chrss (chess by rss) update 17
This update adds two features:
- you can now offer a draw to an opponent
- comments are now included in rss feeds for games and users
The first new feature was needed so I could finish this game. A bit like when I had to add the ability to resign a …