search for: thescripts

Displaying 2 results from an estimated 2 matches for "thescripts".

2007 Apr 05
1
sizeof(std::string)
Currently we carefully try to pass std::string by const reference everywhere, which is a good idea if one assumes it's an object of non-trivial size. Bjarne Stroustrup's guideline is "more than a couple of words): http://www.research.att.com/~bs/bs_faq2.html#call-by-reference I've noticed that under GCC at least (I tried 2.95, 3.3, and 4.1) std::string just holds a pointer to
2006 Jul 14
14
[URGENT] Need help getting rails app back up desperately
I''m desperate. A few hours ago I was checking my server because we are running a survey for a new client and everything looked good for that app but I noticed another Rails app was quite large (twice as normal) so I decided it was time for a restart. Big mistake. Upon restart the application gave me a 500 error. Checking the logs I found a stack level too deep error that after hours I