Solving the strcat() Woes

In C, the common and canonical way to concatenate strings at runtime is to use strcat(). For most cases, this works perfectly fine - here's a simple example: const char *intro = "Hi "; const size_t len = strlen (intro) + strlen (name); char *greet = malloc (len + 1); if (!greet) { // handle error } strcpy…

Core Audio Failure

So just a few minutes ago, a dreaded problem that I thought had been fixed reemerged from the shadows. The audio on my MacBook Pro Retina cut out. Being an MBPR, I kind of expect this sort of shit not to happen, but oh, no, it happens at the worst…