churchofchai

a view into the sordid life i lead

Tuesday, August 17, 2010

OSX Snow Lepard and Sendmail/postfix woes

Getting sendmail to work on OSX is a bit of a nuisance since its seems instructions are different on every version of 10.x. On 10.6 (snow leopard), it's finally a simple process:

sudo portfix start|stop

Simple.

Saturday, March 06, 2010

Installing Drush on Macports

Getting drush (the Drupal shell) to work on macports is a bit of a pain due to the php5/php52 conflict issue. Here's what I had to go through to get it to work:

$ sudo port install drush
--->  Computing dependencies for drushError: Unable to execute port: Can't install php52 because conflicting ports are installed: php5
Before reporting a bug, first run the command again with the -d flag to get complete output.
$ sudo port deactivate php5
$ sudo port install drush
$ sudo port deactivate php52
$ sudo port activate php5
$ sudo pear install Console_Table-1.1.3
$ drush

Xdebug requires Zend Engine API version 220090115.
The Zend Engine API version 220090626 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org for a later version of Xdebug.

/opt/local/libexec/drush/includes/table.inc: Permission denied
Drush needs a copy of the PEAR Console_Table library in order to     [error]
function, and the attempt to download this file automatically failed.
To continue you will need to download the 1.1.3 package from
http://pear.php.net/package/Console_Table, extract it, and copy the
Table.php file into Drush's directory as
/opt/local/libexec/drush/includes/table.inc.
Drush could not execute.                                             [error]

$  sudo cp /opt/local/PEAR/Console/Table.php /opt/local/libexec/drush/includes/table.inc
$ drush

Saturday, May 23, 2009

Why the long silence?

I've been tumble-blogging over at churchofchai.tumblr.com, and that was actually more fun and less work for a bit. I'll be back here in a little while tho' i think.

Monday, November 03, 2008

An Incredible Story

Be sure to read this story to the end...it's well worth the read and to forward to all those who you feel deserve the thought.....

AN INCREDIBLE STORY


 

In 1986, Peter Davies was on holiday in Kenya after graduating from Northwestern University .

On a hike through the bush, he came across a young bull elephant standing with one leg raised in the air.  The elephant seemed distressed, so Peter approached it very carefully.

He got down on one knee, inspected the elephants foot, and found a large piece of wood deeply embedded in it.  As carefully and as gently as he could, Peter worked the wood out with his knife, after which the elephant gingerly put down its foot.  The elephant turned to face the man, and with a rather curious look on its face, stared at him for several tense moments.  Peter stood frozen, thinking of nothing else but being trampled.  Eventually the elephant trumpeted loudly, turned, and walked away.  Peter never forgot that elephant or the events of that day.

Twenty years later, Peter was walking through the Chicago Zoo with his teenaged son.  As they approached the elephant enclosure, one of the creatures turned and walked over to near where Peter and his son Cameron were standing.  The large bull elephant stared at Peter, lifted its front foot off the ground, then put it down. The elephant did that several times then trumpeted loudly, all the while staring at the man.

Remembering the encounter in 1986, Peter could not help wondering if this was the same elephant.  Peter summoned up his courage, climbed over the railing, and made his way into the enclosure.  He walked right up to the elephant and stared back in wonder.  The elephant trumpeted again, wrapped its trunk around one of Peter legs and slammed him against the railing, killing him instantly.

Probably wasn't the same elephant.

This is for all of my friends who send me those BS heart-warming stories.

Ok, now that I've managed to piss everyone off .. yeah, it's fake and I just had to do it!! :) Now I'm ready to be stoned for my sins :)

Tuesday, September 30, 2008

Indians "Deeply Love" Bush

Sunday, September 28, 2008

Obama and McCain are negative, but the devil's in the details

I'm pissed that Obama's going negative.

The "media" has recently been given to saying that Obama runs 77% negative ads vs. McCain's 56%. Given that the last few emails I've received from the Obama campaign have been pretty damn idiotic (using Karl Rove as an information source?!) I tended to agree that Obama's been having dinner with Cheney and Co.

Turns out the truth is far more interesting:
Op Ad: Obama More Negative Than McCain?

The really annoying thing here is that it took me 30 minutes of research to figure out whether there's anything real to the 77% number. This US politics thing really is a PITA!!

Saturday, September 27, 2008

Ay-rab's are takin over Mayricuh



I'm not sure if that should come first or this:

Monday, September 22, 2008

MD5's and OSX

Sucks that I have to keep looking this one up, so here's the one-liner:

$ md5 file-name | grep md5sum

If the checksum is returned in the next line, things are good. Otherwise not so much.

Sunday, September 14, 2008

Constructive sentences

Le Shrub proved that there's no reason to be able to construct a coherent sentence to get the job of ruling the morons free world US.

But Sarah Palin takes the cake. She's able to construct sentences, but it's sentences that are made by the construction company which decided that you can use caulk and duct-tape and nails and a compressor and a few rebars and zipties and a heat gun and a nail-screwer-thingie and a battery operated whizziewhig to build a sky-scraper. It's exactly like building with a diablo or lego set, but just a bit more sturdy.

It's impressive that she remembered words from talks (Abraham Lincoln?!) and managed to string them together in grammatically correct sentences. Too bad they still make no sense.

Wednesday, May 07, 2008

wiki-fication

The last 2 corporate (or pseudo-corporate) gigs that I did were SORELY in need of a common documentation interface, and my solution was the wiki. The first involved a slightly uphill battle. Come to think of it I shouln't even call it a battle. It was more like an unexpected upheaval. It started off with SharePoint, and my implementation of MediaWiki turned out to be more popular. The second used Trac. The success of that project is still being weighed. I think it's a failure because I did not do the legwork necessary to make people aware of the benefits and also did not structure it correctly.

I wish I had had the series of lectures from http://ikiw.org/21days before I started, but I completely concur with the suggestions. In any case, every corporate wiki implementer should go through these videos: