The Hacks of Life
Friday, May 26, 2006
Logging and Divide and Conquer for Performance
›
There are only two true debugging techniques: log intermediate results and divide and conquer the buggy code. They work well for performance...
Tuesday, May 23, 2006
Fun with global constructors
›
(Note: for the purpose of this discussion, "global" objects means: int a; static int b; class foo { static int c; }; int foo...
Thursday, May 18, 2006
Installing Panther over Tiger
›
I’m blogging this because I’ll never remember it otherwise. Here’s what I had to do to put Panther (OS X 10.3) back onto a disk that had ...
Friday, May 12, 2006
It Had To Be That Way
›
I just found an extremely rare bug in X-Plane caused by an uninitialized variable in a constructor; this code functioned in such a way th...
Sunday, May 07, 2006
std::string + __FILE__ = malloc
›
So you start off like this: #define CHECK_ERR(x) __CHECK_ERR(x,__FILE__,__LINE__) void __CHECK_ERR(const char * msg, const char * file, ...
Saturday, May 06, 2006
Cleanliness is next to…well, something
›
At a past company I used to debate the merits of various software engineering techniques with my coworkers. (When someone touched a heade...
Wednesday, May 03, 2006
safety_vector
›
Austin is undertaking a major refactoring of X-Plane right now. First a little C++: we have a lot of code that's hard-coded to work o...
‹
›
Home
View web version