Monthly Archives: October 2006

boost::bind makes my brain hurt

why?
typedef … K;
typedef std::map<k , HANDLE> map_type;
map_type map_;

std::for_each(map_.begin(), map_.end(),
boost::bind(&map_type::value_type::second, _1)); // this works
std::for_each(map_.begin(), map_.end(),
boost::bind(WSACloseEvent,
boost::bind(&map_type::value_type::second, _1)));
// this barfs inside boost::bind … incomplete type

I’m terrible at sports

and now I know why. It’s all my birthday’s fault.
It’s nice to be able to put that to rest. whew.

wordpress, css, and images

So, a while back I switched from using a hand-written (in PHP) theme to using this awesome little piece of code that generates a semantically useful page that can then be CSS styled. On another site still under development, I wanted to use a graphical header, but without changing the header.php. My thought [...]

Funny stuff

Tom Wilson, who played Biff in the back to the future movies, has a little ditty for you:

From: Michael & Evo
Link: Keith Garner

“Hey dada?”

“Yeah?”
“I have a loose tooth!”
“AWESOME!”