Nov 8, 2013

New Blog

For anyone still subscribed to this, I've moved to a new blog. You should redirect your feed readers to that blog. I'll keep this around because it still gets a lot of traffic, somehow.

Dec 22, 2012

HP Pavilion Dv7 with Debian GNU/Linux

I recently sent my HP Pavilion Dv7 laptop back to the HP repair service while it was still under warranty due to what I think was a loose connector or cable between the graphics chip and the LCD screen, causing flickering colors when the screen was moved. This would happen at the BIOS, in the bootloader, and in both Windows and GNU/Linux, so I'm confident it was a hardware problem. (This exact problem had happened before, and I had sent it back to be fixed; the problem started happening again several months later and had been getting steadily worse.) Ever helpful, HP again fixed the problem and this time additionally decided to wipe my hard drive to the factory state.

Luckily, I had backed up all my important files, so nothing was lost. It did, however, give me the opportunity to install Debian again, and try to work out some annoyances I had had before.

Jan 13, 2012

"C" what I did there?

void passing_argument(int *something) {
  *something = 200;
}

int main(int argc, char *argv[]) {
  BOOL just_visiting = FALSE;

  int dollars_collected = 0;

  int *go = NULL, *something_else = &dollars_collected;
  passing_argument(something_else);
  if (dollars_collected == 200)
    goto jail;

  jail:
    if (just_visiting)
      return 0;
    while (1);

  return 0;
}

Disqus for freeSoftwareHacker();