August 1st, 2008
A week ago, four causes were created with an interesting idea. Each of these people put themselves in the running to have their head shaved bald in support of the American Cancer Society’s Shave to Save program…
Read more…
Posted by Kristján
August 1st, 2008
One of our primary goals at Causes is to make it easier for anyone to become an activist. Why then, are we building Facebook and MySpace applications?
Activism is an inherently social endeavor: the decision to begin donating or volunteering is one that historically has flowed through networks of friends. The practice of grassroots organizing [...]
Read more…
Posted by Kevin
July 14th, 2008
When I was studying Physics at UCSD, a number of my friends and I were fond of saying that we were in Physics because we were too lazy to be engineers. We asserted that we were doing more difficult work (as documented by the struggles of engineering students who occasionally joined our classes), but in [...]
Read more…
Posted by Kevin
July 11th, 2008
Python has a useful function called repr, which takes an object and returns a string with valid Python code for reproducing that object.
Example:
>>> a = [1, 2, 3]
>>> repr(a)
‘[1, 2, 3]‘
Ruby, however, has no such function built in. After running into a couple of problems where we wished we could use repr (more on those [...]
Read more…
Posted by Kevin
June 30th, 2008
Despite the power of formal debuggers, with their ability to peer into the depths of what is going on in your code, many of us still debug with what is sometimes called the “printf debugger”.
With the name coming from C, this practice of sprinkling printf (or moral equivalent) statements throughout your code can be used [...]
Read more…
Posted by Kevin