April 06, 2006

MediaWiki on Mac OS X 10.3/Jaguar

Yesterday I installed MediaWiki on Mac OS X 10.3/Jaguar. Apache is installed by default on OS X. So is PHP, but I couldn't get it to run. So I wound up installing binaries of PHP and MySQL.

I learned a lot, but maybe the most important thing was that on OS X, starting PHP tags must have the form:

Otherwise the code does not run. I saw quite a few confused netizens asking why their scripts suddenly didn't run when tried on OS X.

It took a couple of tries to get the MediaWiki first-time-configuration script to run. It kept asking me for a root password, in order to set up a new MySQL account. It took me a few tries to realize this was my MySQL password, not the BSD root user's password.

I didn't expect to need to configure the DNS. I just had an IP address, no hostname. When I put in the direct ip of my machine, fine. As soon as I switched to a subdirectory, 404. It was the UseCanonicalName directive in the httpd.conf file. Once I set that to off, everything was fine.

Continue reading "MediaWiki on Mac OS X 10.3/Jaguar" »

March 28, 2006

assigning something to yourself

What is the word (if any) for the action of assigning a task to yourself? Any language will do :)

"Have you seen that bug?"
"Yeah, I just assigned it to myself"
"Yeah, I just ________"

March 21, 2006

"it would have taxed the resources of his kingdom to have fashioned the thousands of parts for a single car"

"Had a Pharaoh been given detailed and explicit designs of an automobile, and had he understood them completely, it would have taxed the resources of his kingdom to have fashioned the thousands of parts for a single car, and that car would have broken down on the first trip to Giza.

"Machines with interchangeable parts can now be constructed with great economy of effort... the thermionic tube of radio sets, is made by the hundred million, tossed about in packages, plugged into sockets - and it works! Its gossamer parts, the precise location and alignment involved in its construction, would have occupied a master craftsman of the guild for months; now it is built for thirty cents."

--Vannevar Bush, 1945

March 19, 2006

"the alleys are the footnotes of the avenues" --David Berman