Weblog | 2009
All articles published during 2009.
web2py virtualfields as an ORM (an sqlalchemy approach)
One of the finer new features in web2py is the ability to declare what is called a "virtual field". A virtual field is a function that gets called/calculated when the web2py DAL performs a select on the database tables. The neat thing about virtual
pygame font and py2exe
If you get the errors at the bottom of this post while trying to use pygame.font.Font or pygame.font.SysFont and py2exe here is a simple fix. Be sure to include 'pygame' as a package to your py2exe script. Also you will need to copy SDL.dll and SDL_
Subversion to Mercurial Conversion Completed.
I have completed converting all of my subversion projects to mercurial repositories. I used Sam Hart's guide located here
Pygame Event Input Wrapper
The goal of this class is to make input easier, and globally accessible to the entire game for each loop. This also keeps track of whether an input has just been pressed, is being held down, and when it is released. Usage Wrapper for the pygame input m
Version Control Systems Compared - Subversion vs Mercurial vs Git vs Bazaar
### What I need in a version control system
Rotate Sprite Towards Point
Smoothly turn a sprite towards a desired located based on a turning speed. Implemented in python for use with pygame, however the concepts can easily be taken to any other programming language. Class a_sprite()
Online Personal Finance Tools
These are the sites that I reviewed www.geezeo.com www.mint.com www.rudder.com I would have reviewed a few other websites, but with a little helpful research on google, these have been ruled out
A BetterBetterPythonConsole - GEdit Plugin
I am taking a python class this semester and have come to find that the [BetterPythonConsole][1] is a time saver. However it is quite annoying that it does not save your documents! It got laughingly confusing when I would make a change to my source code