antimac.org
Dan's homepage

Archive for April, 2011

Pearl Jam – Untitled

Monday, April 25th, 2011

Pearl Jam has a ton of untitled songs, usually improvs that Ed works in before MFC or at the end of Daughter.  This one was nestled between Not for You and Corduroy at their show at The Gorge in 2005, and is easily one of my favorite unofficial PJ songs.

http://antimac.org/etc/pearljam-untitled.flac

Enjoy!

Fixing “Starting MySQL…Manager of pid-file quit without updating file.[FAILED] “

Thursday, April 21st, 2011

Trying to get MySQL running under CentOS and SELinux?  Try disabling the latter, or doing the following to allow MySQL to startup with access to precious system files:

1) install selinux-policy-targeted-sources from your OS vendor
2) add the following two lines to /etc/selinux/targeted/src/policy/domains/program/mysqld.te:
allow mysqld_t random_device_t:chr_file read;
allow mysqld_t urandom_device_t:chr_file read;
3) cd to /etc/selinux/targeted/src/policy and issue the following command:
make load

Worked for me!

Fixing “error C2220: warning treated as error – no ‘object’ file generated”

Thursday, April 14th, 2011

Ever work with Airplay SDK or just your own bit of code and run into this error message?  If so, you probably have a casting error (of omission)  on the line given by MSVC’s error log.  Try explicitly casting everything and recompile!

Edit: Basically, warnings are treated as errors (duh), so make sure you are abiding by the strictness of your compiler regarding casting and other problems.