Business Savvy

January 28, 2007 on 5:09 pm | In Family | No Comments

My daughter is clearly a maverick genius. At 20 months, she is already reading Business Week, which shows that she is a genius. But it’s the way that she reads it that clearly marks her as a maverick. She always reads it upside down! In case you’re still not convinced, almost every fortune cookie she eats — and she loves ‘em — predicts that she will be wealthy/successful/etc.

I’m looking forward to retiring early… ;)

X over SSH

January 15, 2007 on 4:00 pm | In Computers | No Comments

Recently, Code Crusader started crashing when I tried to run it remotely on my Linux desktop from my OS X laptop, even though it worked just fine on the Linux desktop. Debugging revealed that I was getting BadAtom errors from an XChangeProperty() call. More testing revealed the terrifying fact that other programs, like xprop, also crashed with BadAtom errors! Finally, some googling revealed that the latest version of SSH requires the -Y option instead of the -X option for X connection forwarding. Blargh! :roll:

The good part of all this is that I now know a lot more about how to debug X programs. Use XSetErrorHandler() to store errors in a queue, and then use XSetAfterFunction() to install a function that first calls XSync(..., False), and then checks the queue and dumps core.

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^