104 karma · joined Aug 7, 2009 (17y ago) · 35 submissions
comment 13y ago · link · parent
comment 14y ago · link · parent
In C++, make the compiler do your recursion:
#include <iostream>
template <int N>
void pr(const std::string &msg)
{
std::cout << msg << std::endl;
pr<N-1>(msg);
}
template <>
void pr<0>(const std::string &msg)
{
}
int main(int argc, char *argv[])
{
pr<100>("Hello World");
return 0;
}comment 15y ago · link · parent
What's not to love about Darth Vader answering "We are the United States government, we don't do that sort of thing." to the simple request for "Peace on earth, good will towards men" seen here: http://www.youtube.com/watch?v=rHsUYF5VfQ0
comment 15y ago · link · parent
Directly benefiting FreeBSD: http://wiki.freebsd.org/BuildingFreeBSDWithClang
They've contributed infinitely more than "nothing" back. Literally...
comment 16y ago · link · parent
I like a very simple rule: Customer retention is far more important than customer acquisition. It may be a flawed rule, I'm not sure since I'm not a successful business person. But it sounds good to me. It seems vitally important to retain your good customers.
comment 16y ago · link · parent
There are lots of good reasons. These days you just might be stuck in a mortgage because the value of your house has fallen below what you owe. Given the current "economic climate" it's very easy to have gone from a 70% LTV to 110% LTV.
comment 16y ago · link · parent
I do silly stuff all the time (I'm not calling this idea silly!) and I always take something away from it. This is a much better idea than the stuff I usually come up with.