March 12, 2008

A Flickr-based Introduction to Ruby on Rails 2.0

nitially released in 2004, the Rails web application framework became the perfect killer application for the Ruby language and an extremely powerful tool for rapidly developing web applications based on

Determine the Direction of Stack Growth

A simple way to determine the direction of stack growth is to compare the address of a function parameter with the address of a local variable in the function. Of

Create Your Own Exception

Here’s an example of how to create an exception. You can extend this example as needed for your own applications. The important principle is the exeption’s mechanism, not its subject: