MySQL Service won't start on Windows 7

Posted on Tue 12 July 2011 in blog

So today, I attempted to install MySQL on Windows 7. From the MySQL Download site, I grabbed the latest version of their .msi installer, mysql-installer-5.5.13.2.msi. I went through the installer, and found that the last step, starting the MySQL services (mysqld) was failing. The service existed …


Continue reading

Windows 7 "Unidentified Network" woes

Posted on Tue 21 June 2011 in blog

There are hundreds of posts in forums and in blogs with people complaining about not being able to click the "Public Network" link and change an "Unidentified Network" to the Private profile:

Unidentified network - Public network

In this case, it was my VirtualBox Host-Only connection, but this could really apply to any private network …


Continue reading

(x % 2), What's all this and-ing and or-ing?

Posted on Thu 24 February 2011 in blog

While trying to understand some x86 disassembly, I came across one particularly confusing bit of code (modified for this example):

mov   eax, edx
  L0:
     and   eax, -2147483647        ; 80000001H
  L1:
     jns   SHORT L4
     dec   eax
  L2:
     or    eax, -2                 ; fffffffeH
  L3:
     inc   eax
  L4:
     mov   DWORD PTR _r$[ebp], eax

I …


Continue reading