Archive for December, 2009

I think I just invested in Pabst Brewing Company…

Monday, December 28th, 2009

Not too sure, but I did pledge $100 here:  http://buyabeercompany.com/.  According to Twitter they had just over $70M pledged on Christmas Eve.  Today the pledge counter is up to $224M.  Either this has tipped, or there are a couple of $250,000 “BrewMeister”-level pledgers.  (Or pledge posers..)

Oddly, the first time I had Pabst I was on a bicycle trip through China.  Someone thought it would be a great idea to buy twelve ounces of American ale for the foreign devil.

Best beer I ever had, warm and in a can and all.  Would love to own a bit of Pabst.

Defeating the flymake configuration error in Emacs php-mode

Tuesday, December 22nd, 2009

Getting the following message when trying to use Flymake with PHP?:

“Flymake: Configuration error occurred while running. Flymake will be switch OFF”

This threw me, though it probably shouldn’t have. If you’re seeing it as well, double check two settings in your php.ini file:

1. The error_reporting setting needs to include E_PARSE. I personally like to use error_reporting = E_ALL | E_STRICT. This shows everything that the PHP compiler thinks you are doing wrong.

2. Also double check your php.ini file for display_errors = On. I almost always forget about this when setting up on a new box because I tend to override php.ini with .htaccess values.

Finally, triple check your command line php settings with a quick $ php -i, which dumps the content of phpinfo() to the command line.

Cygwin More

Monday, December 14th, 2009

Everytime I install Cygwin I find myself rooting around for the “more” command. It’s been removed in favor of “less”, however I prefer “more”. It’s more or less (ha! Linux humor!) a simpler pager.

Install the util-linux package for a random collection of older utilities, including “more” and “whereis”.

Senator Bunning attacks the Creature from Jekyll Island

Friday, December 4th, 2009