07 October, 2011

Java 7

Great enhancement: binary literals and underscores:

int netaddr = 0b11000000_10101000_00000000_00000000; //192.168.0.0
int netmask = 0xFF_FF_FF_00; //255.255.255.0

03 October, 2011

MySQL Workbench crashes on startup under Windows 7 64-bit

MySQL Workbench crashes on startup.

This problem appears because of normal users install 64-bit libraries (.Net Framework and Visual C++ Redistributable) for 64-bit Windows 7.

But MySQL Workbench compiled with 32-bit binaries and required 32-bit libraries. So you have to install Microsoft Visual C++ Redistributable x86 (!not x64).