<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Urania &#187; Juan</title>
	<atom:link href="http://iparrizar.mnstate.edu/~juan/urania/author/juan/feed/" rel="self" type="application/rss+xml" />
	<link>http://iparrizar.mnstate.edu/~juan/urania</link>
	<description>A blog named for the muse of Astronomy containing musings by an astronomer</description>
	<lastBuildDate>Fri, 06 Nov 2009 01:44:27 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Scisoft OSX 2009.5.2 Released</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2009/05/15/scisoft-osx-200952-released/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2009/05/15/scisoft-osx-200952-released/#comments</comments>
		<pubDate>Fri, 15 May 2009 21:31:02 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[SciSoft OSX]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2009/05/15/scisoft-osx-200952-released/</guid>
		<description><![CDATA[This first Scisoft OSX release of 2009 has appeared. Despite the brief entry on the VersionTracker website which said that this update rolled in the recently released STSDAS and TABLES IRAF package updates. from reviewing the CONTENTS file distributed with the install, I found Nor Pirzkal made quite a few additional updates in this release. [...]]]></description>
			<content:encoded><![CDATA[<p>This first <a href="http://web.mac.com/npirzkal/Scisoft/Scisoft.html">Scisoft OSX</a> release of 2009 has appeared. Despite the brief entry on the VersionTracker website which said that this update rolled in the recently released STSDAS and TABLES IRAF package updates. from reviewing the <code>CONTENTS</code> file distributed with the install, I found Nor Pirzkal made quite a few additional updates in this release. The changes from <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/09/23/scisoft-osx-intel-200891-released/">Scisoft OSX 2008.9.1</a> are:</p>
<ul>
<li><a href="http://www.eclipse.org/">Eclipse</a> 5.0.0 has been added to the distribution. Eclipse is an Integrated Development Environment (IDE) for programming. I don&#8217;t find it to be terribly useful, and in fact find it fairly awful in its implementation for IDL, but I am sure there are many people who disagree (enough to foster development of five major versions of it).</li>
<li><a href="http://www.gnuplot.info/">Gnuplot</a> has been updated to version 4.2.5 from 4.2.3</li>
<li><a href="http://astromatic.iap.fr/software/eye/">Eye</a> 1.4.1 has been added to the distribution. Eye is a program designed to allow you to use an artificial neural network to construct SExtractor filters for &#8220;adaptive filtering, feature detection and cosmetic corrections.&#8221;</li>
<li><a href="http://astromatic.iap.fr/software/swarp/">Swarp</a> was updated to 2.17.6 from 2.17.1</li>
<li><a href="http://astromatic.iap.fr/software/weightwatcher/">WeightWatcher</a> was updated to 1.8.10 from 1.8.7</li>
<li>The <a href="http://www.python.org/">Python</a> distribution was updated to version 2.5.4 from 2.5.2 and the following python packages were updated:
<ul>
<li><a href="http://ipython.scipy.org/moin/">ipython</a> updated to 0.9.1 from 0.8.4</li>
<li><a href="http://numpy.scipy.org/">Numpy</a> updated to 1.3 from 1.1.1</li>
<li><a href="http://www.stsci.edu/resources/software_hardware/pyfits">pyfits</a> updated to 2.1.1 from 1.1 (or this could be a typo in the old CONTENTS)</li>
<li><a href="http://matplotlib.sourceforge.net/">matplotlib</a> updated to 0.98.5.2 from 0.98.3</li>
<li><a href="http://www.stsci.edu/resources/software_hardware/pyraf">pyraf</a> updated to 1.7.1 from 1.6</li>
<li><a href="http://www.stsci.edu/resources/software_hardware/pyraf/stsci_python">stsci_python</a> updated to 2.8 from 2.6</li>
<li><a href="http://www.stecf.org/software/PYTHONtools/astroasciidata/">AstroAsciiData</a> updated to 1.1 from 1.0</li>
<li><a href="http://www.scipy.org/">scipy</a> updated to 0.7.0 from 0.6.0</li>
</ul>
</li>
<li>The <a href="http://www.stsci.edu/resources/software_hardware/stsdas">STSDAS</a> and <a href="http://www.stsci.edu/resources/software_hardware/stsdas">TABLES</a> <a href="http://www.iraf.net/">IRAF</a> packages were updated to version 3.10 from 3.08</li>
<li><a href="http://www.fftw.org/">fftw</a> library version 3.2.1 added. This will be useful to me since we have been using fftw in the computational physics class I have been teaching this semester.</li>
<li>I noticed the <a href="http://sourceforge.net/projects/aquaterm/">Aquaterm.app</a> application (used for graphics display by PGPLOT and Gnuplot) is now pre-installed in <code>/Applications/scisoft/i386/Applications/</code>.</li>
</ul>
<p>Some minor glitches I have noticed in this distribution</p>
<ol>
<li><strong>Permission Problems Persist:</strong> When the installer installs Scisoft OSX, it appears that a bug in Apple’s Installer program triggers a change in ownership of the /Applications directory to that of the second user on the system. I strongly suggest checking the ownership of the /Applications directory afterward and if isn’t owned by an administrative user, set it as such using: <code>sudo chown username:admin /Applications</code> (where “username” is the primary administrator&#8217;s username, in most cases, your username) to perform the repair. I know Nor spent a bit of time trying to resolve this without success last summer, so its a glitch that will probably persist.</li>
<li><strong>Older SAOImage DS9 included:</strong> I noticed that the <a href="http://hea-www.harvard.edu/RD/ds9/">SAOImage DS9</a> distributed with this version of Scisoft OSX is version 5.3b, whereas the current version is 5.6.1, so I manually installed the current ds9 command line binary into <code>/Applications/scisoft/i386/bin/</code> and the current Aqua application into <code>/Applications/scisoft/i386/Applications/</code> and everything is working fine there.</li>
<li><strong>HEASARC fv.app not installed</strong>: The <code>fv.app</code> application in the <code>/Applications/scisoft/i386/Applications/</code> is actually a second copy of <code>studenthera.app</code>, misnamed. Not sure how that happened, but I manually installed the current version of <a href="http://heasarc.gsfc.nasa.gov/ftools/fv">HEASARC fv.app</a> there without an issue.</li>
</ol>
<p>All in all, a bunch of small updates, but it gets the package mostly up-to-date again. The current version of Scisoft OSX is available for download from the <a href="http://web.mac.com/npirzkal/Scisoft/Scisoft.html">Scisoft OSX</a> website, but I have made the package available on my <a href="http://iparrizar.mnstate.edu/~juan/urania/scisoft-osx-download/">Scisoft OSX mirror</a> as well, in case it is faster for people.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2009/05/15/scisoft-osx-200952-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X11 Updated, but requires unavailable OS X release!</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2009/04/24/x11-updated-but-requires-unavailable-os-x-release/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2009/04/24/x11-updated-but-requires-unavailable-os-x-release/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 14:18:24 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2009/04/24/x11-updated-but-requires-unavailable-os-x-release/</guid>
		<description><![CDATA[I just noticed that the XQuartz folks released X11 2.3.3, but when I attempted to install it, it said I needed Mac OS 10.5.7 installed, which hasn&#8217;t been released yet. I have confirmed this on the release notes page. The full release notes seem to describe to major changes, updated support for OpenGL and some [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed that the <a href="http://xquartz.macosforge.org/">XQuartz</a> folks released <a href="http://static.macosforge.org/xquartz/downloads/X11-2.3.3.dmg">X11 2.3.3</a>, but when I attempted to install it, it said I needed Mac OS 10.5.7 installed, which hasn&#8217;t been released yet. I have confirmed this on the <a href="http://xquartz.macosforge.org/trac/wiki/X112.3.3">release notes page</a>. The full release notes seem to describe to major changes, updated support for OpenGL and some bug fixes regarding Caps Lock and mouse tracking.</p>
<p>Interestingly, the XQuartz wiki notes that</p>
<blockquote>
<p>[MacOS] 10.5.7 updates the X11 server to match what shipped with 2.3.2. Most of the userland, however, only saw security updates. The version reported by X11 in 10.5.7 is 2.1.6 to distinguish it from the 2.3.x series which contains a much newer userland.</p>
</blockquote>
<p>I have the feeling that the update to MacOS 10.5.7 will be released very soon now.</p>
<blockquote><p>[<strong>UPDATE:</strong> In fact, it took almost two weeks, but MacOS 10.5.7 was released on Tuesday, May 12, 2009.]</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2009/04/24/x11-updated-but-requires-unavailable-os-x-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X11 for Leopard now supporting Full Screen</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2009/03/30/x11-for-leopard-now-supporting-full-screen/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2009/03/30/x11-for-leopard-now-supporting-full-screen/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 23:21:14 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2009/03/30/x11-for-leopard-now-supporting-full-screen/</guid>
		<description><![CDATA[There are some older school astronomers on Macs who cut their teeth on Linux and as such really prefer the full-screen X-Windows display for running astronomical data reductions. This way of running X11 has been unavailable since MaxOS 10.5 (which switched from X11 code bases). Well, to quote Macros Huerta&#8217;s MacSingularity Blog:

Well, I’m way late [...]]]></description>
			<content:encoded><![CDATA[<p>There are some older school astronomers on Macs who cut their teeth on Linux and as such really prefer the full-screen X-Windows display for running astronomical data reductions. This way of running X11 has been unavailable since MaxOS 10.5 (which switched from X11 code bases). Well, to quote <a href="http://macsingularity.org/2009/03/27/x11-supports-full-screen/">Macros Huerta&#8217;s MacSingularity Blog</a>:</p>
<blockquote>
<p>Well, I’m way late to the game on this, but our long national nightmare is over &#8211; Xquartz for Leopard support full screen!</p>
</blockquote>
<p>The <a href="http://xquartz.macosforge.org/trac/wiki">Xquartz</a> folks latest edition of Xquartz (<a href="http://xquartz.macosforge.org/trac/wiki/X112.3.2.1">version 2.3.2.1</a>) includes full-screen support. Now, personally, I like the way X11 integrates with Aqua, but for those who prefer to use only one windowing system at a time, you can now do it on MacOS X Leopard. You can <a href="http://xquartz.macosforge.org/downloads/X11-2.3.2.1.dmg">download it here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2009/03/30/x11-for-leopard-now-supporting-full-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Papers for iPod (and Mac)</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2009/02/20/papers-of-for-ipod-and-mac/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2009/02/20/papers-of-for-ipod-and-mac/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 16:40:43 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[MacOS X]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2009/02/20/papers-of-for-ipod-and-mac/</guid>
		<description><![CDATA[I have been a very happy user of Papers for organizing downloaded Journal articles for about a year. The program, by the Dutch software firm Mekentosj BV, makes it easy to search for journal articles on ADS and arXiv (although the arXiv support seems a bit twitchy at times), download them, and place them into [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://iparrizar.mnstate.edu/~juan/urania/wp-content/media/icon-glow.jpg" width="114" height="114" alt="icon_glow.jpg" style="float:right;" />I have been a very happy user of <a href="http://mekentosj.com/papers/">Papers</a> for organizing downloaded Journal articles for about a year. The program, by the Dutch software firm <a href="http://mekentosj.com/">Mekentosj BV</a>, makes it easy to search for journal articles on ADS and arXiv (although the arXiv support seems a bit twitchy at times), download them, and place them into a searchable database. The program does occasionally show is roots as a biomedical oriented tool, but it functions very well for this astronomer.</p>
<p>Yesterday Mekentosj released version 1.9 of <a href="http://mekentosj.com/papers/">Papers</a> for the Mac as well as a new <a href="http://mekentosj.com/papers/iphone">iPod Touch/iPhone based version of their software</a> (<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=304655618">Apple iTunes store link</a>) I have purchased it and can confirm that the synchronization works as advertised, I am now carrying all the papers I have read in the last 10 years in my shirt pocket. Nice!</p>
<p>Here’s the (slightly edited to reflect stuff of interest to astronomers) press release from Mekentosj</p>
<blockquote>
<p><strong>Papers 1.9 for Mac &#8211; sync your library of science with your iPhone</strong> &#8211; Published on 02/19/09</p>
<p>  IMMEDIATE RELEASE</p>
<p>  Mekentosj BV has announced Papers 1.9, the Apple design award-winning application that helps scientists on the Mac manage their personal library of scientific articles. The free update brings over 60 improvements, including an improved workflow for working with collections, support for French and German library proxies. But most of all, it allows you to synchronize your PDF library with the newly introduced Papers for iPhone and iPod touch.</p>
<p>  Aalsmeer, The Netherlands &#8211; Mekentosj BV has announced Papers 1.9, the Apple design award-winning application that helps scientists on the Mac manage their personal library of scientific articles. The free update brings over 60 improvements, including a better workflow for working with collections, and support for French and German library proxies. But most of all, it allows you to synchronize your PDF library with the newly introduced Papers for iPhone and iPod touch.</p>
<p>  With Papers 1.9 mek and tosj continue to improve the user experience and workflows of their popular PDF organizing tool for researchers. And with the ability to synchronize your library with the newly introduced Papers for iPhone and iPod touch it becomes easier than ever to manage your research literature, and now you have it with you wherever you go.</p>
<p>  Papers for Mac and Papers for iPhone work together as a great team. Select which collections you want to keep in sync or make use of the smart auto-fill function to fill up your iPhone or iPod with articles based on the criteria that you choose. And if you make changes, or add ratings and notes, or if you download new articles on the road, the next time you sync with Papers on your Mac all those changes are immediately present in your library. It’s that simple. Visit our web site for a screencast to find out more.</p>
<p>  <strong>Papers Features:</strong><br />
  * organize and manage your entire library of scientific PDF files easily and elegantly<br />
  * built-in support for searching online article repositories<br />
  * built-in webbrowser for browsing publisher websites<br />
  * automatic downloading and archiving of PDF files<br />
  * tabbed and fullscreen reading of your PDF files<br />
  * razor fast spotlight searching of your entire library<br />
  * Syncing with the new Papers for iPhone and iPod touch.<br />
  * and much more.</p>
<p>  <strong>Papers has built-in support for the following online repositorie</strong>s:<br />
  * ACM portal &#8211; Computer science<br />
  <strong>* NASA-ADS &#8211; Astronomy<br /></strong> <strong>* arXiv &#8211; Preprint repository</strong><br />
  * Citeseer &#8211; Computer Science<br />
  * Google Books<br />
  * Google Scholar<br />
  * IEEE Xplore &#8211; Engineering<br />
  * MathSciNet &#8211; Mathematics<br />
  * Scopus &#8211; All sciences NEW<br />
  * Web of Science &#8211; All sciences</p>
<p>  <strong>Minimum Requirements:</strong><br />
  * Mac OS X Version 10.4 or higher<br />
  * Universal Binary for PowerPC and Intel<br />
  * 1.5 Ghz or faster G4, G5 or Intel Processor</p>
<p>  <strong>Pricing and Availability:</strong><br />
  Papers is priced at $42 (USD) for a single-user license. (Under)graduate students can apply for a 40% discount. A 30-day trial is available.</p>
<p>  <strong>About Papers for iPhone:</strong><br />
  Papers for iPhone and iPod touch puts your entire research literature database in your pocket, available at your fingertips wherever you go; whether you’re at a conference, in class, visiting your peers, or on the road. To celebrate the launch of Papers for iPhone and iPod touch you can now buy version 1.0 for the introductory price of $9.99 (USD) in the iTunes app store.</p>
<p>  Papers is a program made by Mekentosj BV, a Dutch independent software company that writes innovative software for scientists. After a PhD in Cell Biology founder and CEO Alexander Griekspoor switched fields and initially joined the European Bioinformatics institute as a Marie Curie postdoctoral fellow. Alexander is perhaps most well-known as “Mek” from the duo “Mekentosj”. Together with his friend Tom “Tosj” Groothuis he developed a number of scientific Mac applications, two of which won Apple Design Awards for best Best Student and Best scientific Mac OS X application, respectively. What started in his spare time became his passion and has now also become his work: Mekentosj Inc. He aims to create new and innovative Mac OS X applications for scientists, of which his recently released new program Papers is a prime example, it won Mekentosj’ third Apple Design Award. Visit our website to learn more.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2009/02/20/papers-of-for-ipod-and-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Activating SSH support in MacPorts PHP</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/12/11/activating-ssh-support-in-macports-php/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/12/11/activating-ssh-support-in-macports-php/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 18:35:18 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Command Line Tricks]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[MacPorts]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/12/11/activating-ssh-support-in-macports-php/</guid>
		<description><![CDATA[[I have made an updated version of these instructions for adding the SSH2 PHP extension to the pre-installed PHP 5.3.0 installation on MacOS 10.6 available here.]
I just upgraded the software on this blog to WordPress 2.7. The major new feature I am interested in is automatic upgrading, which could prove quite a time saver. Unfortunately, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[I have made an updated version of these instructions for adding the SSH2 PHP extension to the pre-installed PHP 5.3.0 installation on MacOS 10.6 <a href="http://iparrizar.mnstate.edu/~juan/urania/2009/10/13/ssh2-extension-activation-in-php-530/">available here</a>.]</strong></p>
<p>I just upgraded the software on this blog to <a href="http://wordpress.org/development/2008/12/coltrane/">WordPress 2.7</a>. The major new feature I am interested in is automatic upgrading, which could prove quite a time saver. Unfortunately, this automatic upgrading uses only FTP (which is totally insecure) or FTPS (which requires me to set up an SSL certificate).</p>
<p>I noticed that the WordPress code had ssh2 support built-in, so all I need to is activate SSH2 support in the MacPorts installed PHP and I should be able to use SFTP in WordPress to handle the upgrades. I poked around and found <a href="http://kevin.vanzonneveld.net/techblog/article/make_ssh_conanections_with_php/">this posting</a> outlining the process for adding ssh2 support to Ubuntu. It guided me in developing this list of hints:</p>
<ol>
<li>Start by installing libssh2 via MacPorts using the command:<br />
      <pre><pre>
sudo port install libssh2
</pre></pre>
    </li>
<li>Once it is activated, link the libssh and PHP together using the <a href="http://kevin.vanzonneveld.net/techblog/tag/pecl/">PECL</a> module SSH2. Unfortunately, <a href="http://www.mail-archive.com/macports-users%40lists.macosforge.org/msg06734.html">directly installing the module with PECL under MacPorts is troublesome</a>, so I just used PECL to download the module.<br />
      <pre><pre>
pecl download ssh2
</pre></pre>triggered the following error (since ssh2 is apparently beta),<br />
      <pre><pre>
Failed to download pecl/ssh2 within preferred state &quot;stable&quot;, latest release is version 0.11.0, stability &quot;beta&quot;, use &quot;channel://pecl.php.net/ssh2-0.11.0&quot; to install
Cannot initialize &#039;ssh2&#039;, invalid or missing package file
Package &quot;ssh2&quot; is not valid
download failed
</pre></pre>so I used<br />
      <pre><pre>
pecl download channel://pecl.php.net/ssh2-0.11.0
</pre></pre>as suggested and was able to download the PHP library for SSH2. Once the download was complete, I started on the standard compilation sequence for a PHP library<br />
      <pre><pre>
tar xzvf ssh2-0.11.0.tgz
cd ssh2-0.11.0
phpize
./configure --with-ssh2=/opt/local
make
sudo make install
</pre></pre>The final command informed me the ssh2.so library was placed in <code>/opt/local/lib/php/extensions/no-debug-non-zts-20060613/</code>
    </li>
<li>Now you need to make sure PHP loads the new module, so we open the PHP configuration file <code>/opt/local/etc/php.ini</code> and edit the extension_dir line to point the extension directory above:<br />
      <pre><pre>
extension_dir = &quot;/opt/local/lib/php/extensions/no-debug-non-zts-20060613/&quot;
</pre></pre>and then add the following line to the end of the section on &#8220;Dynamic Extensions&#8221;:<br />
      <pre><pre>
extension=ssh2.so
</pre></pre>If you edited everything properly, a simple <code>php -v</code> from the command line should NOT trigger any errors.
    </li>
<li>Finally, I restart the apache2 server so that the reconfigured PHP is loaded using<br />
      <pre><pre>
sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart
</pre></pre>At this point, I checked (via the <code>phpinfo();</code> command to see if the web server was supporting SSH. Near the bottom of the <code>phpinfo();</code> listing is a listed of &#8220;Registered PHP Streams&#8221;. As <a href="http://bugssite.org/blog/2008/09/07/does-your-wordpress-server-support-ssh2/">noted here</a>, it should incude &#8220;ssh2.shell&#8221;, &#8220;ssh2.exec&#8221;, &#8220;ssh2.tunnel&#8221;, &#8220;ssh2.scp&#8221;, and &#8220;ssh2.sftp&#8221;. If it does, you have enabled SSH support for Apache2 driven PHP pages under MacPorts.
    </li>
<li>If you are doing this to get WordPress 2.7 automatic installation working, you will notice now when the automatic installation dialog box pops up, in addition to ftp and ftps, you now have an ssh option.<br />
    <img src="http://iparrizar.mnstate.edu/~juan/urania/wp-content/media/wordpresssnap3.png" height="77" width="380"/></li>
<li>
<p>Now that I got this working, I&#8217;ll just have to keep an eye out for any future MacPort updates to PHP and make sure they don&#8217;t overwrite the</p>
<p><code>/opt/local/etc/php.ini</code></p>
<p>file or the extensions directory where I installed ssh2.</p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/12/11/activating-ssh-support-in-macports-php/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Installing old libxml2 ports with MacPorts</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/fixing-libxml2-problems-with-macports/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/fixing-libxml2-problems-with-macports/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 18:37:57 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacPorts]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/fixing-libxml2-problems-with-macports/</guid>
		<description><![CDATA[There is a problem with libxml2 from version 2.7.1 onward where it completely deletes any greater than (&#38;gt;) and less than symbols (&#38;lt;) sent to it. This is messing up my blog posting unless I do it within the WordPress interface since attempts to use xmlrpc.php use PHP, which is compiled against libxml2, and thus [...]]]></description>
			<content:encoded><![CDATA[<p>There is a problem with <code>libxml2</code> from version 2.7.1 onward where it completely deletes any greater than (<code>&amp;gt;</code>) and less than symbols (<code>&amp;lt;</code>) sent to it. This is messing up my blog posting unless I do it within the WordPress interface since attempts to use <code>xmlrpc.php</code> use PHP, which is compiled against <code>libxml2</code>, and thus the posting gets mangled.</p>
<p>The solution suggested on the <a href="http://bugs.php.net/bug.php?id=45996">PHP boards</a> is to compile PHP against <code>expat</code>. This would be kind of a pain for me since I am using the <a href="http://www.macports.org/" title="MacPorts homepage">MacPorts</a> install of PHP. So I looked into rolling back to an earlier version of libxml2 using MacPorts. The solution was originally outlined in t<a href="http://www.stephenchu.com/2006/12/specifying-ruby-184-to-install-using.html">his blog post by Stephen Chu on how to install earlier versions of ruby under DarwinPorts</a>, I have updated it for MacPorts. The key is to create a local MacPorts repository with the version of the port you want copied over to it.</p>
<ol>
<li>First I identified the version of the libxml2 portfile I wanted by going to <a href="http://trac.macports.org/browser/trunk/dports/textproc/libxml2/Portfile">http://trac.macports.org/browser/trunk/dports/textproc/libxml2/Portfile</a> and entering revisions into the &#8220;View revision&#8221; box until I found the appropriate version of the Portfile linking to libxml2 2.6.32 instead of 2.7.1. This turned out to be revision 40211 (actually 39551).
</li>
<li>I created a directory to contain my MacPorts repository at <code>/Users/Shared/dports/</code> and after creating that directory, I edited the MacPorts configuration file <code>/opt/local/etc/macports/sources.conf</code> to include the line:
<p>  <code>file:///Users/Shared/dports</code></p>
<p>  and you should make this line appear before the &#8220;rsync&#8221; or svn&#8221; port listing in the config file, otherwise it defaults to using that version of the port during the install.</p>
</li>
<li>I then installed the old libxml2 port into my local MacPorts respository using subversion:
<p>    <pre><pre>
svn co --revision 40211 http://trac.macports.org/browser/trunk/dports/textproc/libxml2/ textproc/libxml2/
</pre></pre>and then I updated the MacPorts index:</p>
<p>    <code>portindex /Users/Shared/dports</code></p>
<p>    With this done, I can see the two versions of <code>libxml2</code> in my ports list, when I issue a</p>
<p>    <code>port list libxml2</code></p>
<p>    the result is:</p>
<p>    <code>libxml2 @2.7.2 textproc/libxml2 libxml2 @2.6.32 textproc/libxml2</code></p>
<p>    showing the current <code>libxml2</code> version in MacPorts and the older one in my repository.</p>
</li>
<li>Now I can install the older version of libxml2 by first forcing removal of the current version and then installing the old version:
<p>  <code>sudo port -f uninstall libxml2 @2.7.2_1+darwin_9 sudo port install libxml2 @2.6.32</code></p>
<p>  [<strong>Warning:</strong> Unless you place the <code>file:///Users/Shared/dports</code> line before any rsync/svn lines of the config file noted in step 2, this port install command installs the current version instead of the old version]</p>
</li>
<li>I had to forcible uninstall and then reinstall libxslt but then my reinstall of php within MacPorts went fine. And I can now use WordPress again without any issues when using a remote blog editor.</li>
</ol>
<p>I just figured in case anyone else wanted to use an older MacPort port they could use this to figure out how.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/fixing-libxml2-problems-with-macports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacPorts Misbehavior Update</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/macports-misbehavior-update/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/macports-misbehavior-update/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 17:14:28 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X Annoyances]]></category>
		<category><![CDATA[MacPorts]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/macports-misbehavior-update/</guid>
		<description><![CDATA[FreeType issues under Leopard Resolved: The MacPorts installation of FreeType will now compile a version under Leopard that does NOT throw a

The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

error when fonts are used in PHP routines (fuller notes on this problem here although with [...]]]></description>
			<content:encoded><![CDATA[<p><strong>FreeType issues under Leopard Resolved:</strong> The <a href="http://www.macports.org/">MacPorts</a> installation of FreeType will now compile a version under Leopard that does NOT throw a</p>
<p><pre><pre>
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
</pre></pre></p>
<p>error when fonts are used in PHP routines (<a href="http://iparrizar.mnstate.edu/~juan/urania/2008/09/05/forking-problems-with-freetype-solved/">fuller notes on this problem here</a> although with my &#8220;hacked&#8221; fix, which is no longer needed). This problem as originally reported under <a href="https://trac.macports.org/ticket/15909">Trouble Ticket #15909 on MacPorts</a>.</p>
<p><strong>Careful with that Apache2 upgrade, Eugene:</strong> I also discovered I have to be careful when updating <code>apache2</code> under MacPorts in that it actually wiped out some of the configuration files stored in <code>/opt/local/apache2/conf/</code>, specifically it overwrote my modified versions of the <code>/opt/local/apache2/conf/extra/httpd-dav.conf</code> file and <code>/opt/local/apache2/conf/extra/http-userdir.conf</code> files. So now I am keeping copies of everything in <code>/opt/local/apache2/conf</code> backed up so I can roll back my changes after an upgrade of <code>apache2</code> in MacPorts.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/12/05/macports-misbehavior-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAOImage DS9 5.4 Released</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/10/31/saoimage-ds9-54-released/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/10/31/saoimage-ds9-54-released/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 16:55:51 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[IRAF]]></category>
		<category><![CDATA[MacOS X]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/10/31/saoimage-ds9-54-released/</guid>
		<description><![CDATA[Fast on the heals of their release of version 5.3 about two weeks ago, the folks at the SAO have released version 5.4 of SAOImage DS9. Here are the links to the downloadable Mac-related SAOImage files

Aqua 10.4 Tiger (Universal)
Aqua 10.5 Leopard (Universal)
X11 10.4 Tiger (Universal)
X11 10.5 Leopard (Universal)
X11 10.5 Leopard (Universal) with Firewall

The release notes [...]]]></description>
			<content:encoded><![CDATA[<p>Fast on the heals of their release of version 5.3 about two weeks ago, the folks at the <a href="http://cfa-www.harvard.edu/sao/">SAO</a> have released version 5.4 of <a href="http://hea-www.harvard.edu/saord/ds9/">SAOImage DS9</a>. Here are the links to the downloadable Mac-related SAOImage files</p>
<ul>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">Aqua 10.4 Tiger (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">Aqua 10.5 Leopard (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">X11 10.4 Tiger (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">X11 10.5 Leopard (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">X11 10.5 Leopard (Universal) with Firewall</a></li>
</ul>
<p>The <a href="http://hea-www.harvard.edu/RD/ds9/release/r5.0.html">release notes</a> for SAOImage DS9 don&#8217;t necessarily suggest dramatic changes in this version relative to version 5.3.</p>
<ol>
<li><strong>CATALOGS:</strong> removed support for Chandra Source Catalog at request of Ian Evans of CXC (only added on October 3, 2008).</li>
<li><strong>MASKS:</strong> add support for mask transparency.</li>
<li><strong>MASKS:</strong> add new mask properties.</li>
<li><strong>GRID:</strong> add grid title support.</li>
</ol>
<p>My previously posted notes on <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/04/06/scisoft-osx-200831-installation-notes/">integrating upgrades of DS9 into the Scisoft OS X installation</a> still work. Just note that newer releases of Scisoft OS X place the binaries in <code>/Applications/scisoft/i386/bin/</code> instead of <code>/scisoft/i386/bin/</code> and if you are installing the X11 binary that is compatible with the firewall, you have to install both the <code>ds9</code> and <code>ds9.zip</code> file in the <code>bin/</code> directory of Scisoft OSX.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/10/31/saoimage-ds9-54-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The One where I release Clear Sky Clock Widget version 1.3</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/10/24/the-one-where-i-release-clear-sky-clock-widget-version-13/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/10/24/the-one-where-i-release-clear-sky-clock-widget-version-13/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 14:43:53 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/10/24/the-one-where-i-release-clear-sky-clock-widget-version-13/</guid>
		<description><![CDATA[Every Semester in introductory astronomy we run a series of field trips out to the Paul J. Feder Observatory which lies about 14 miles from the MSUM campus. As such, I like to check the weather before going out there and usually do so with a quick look at Attilla Danko&#8217;s Clear Sky Chart website. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://iparrizar.mnstate.edu/~juan/urania/wp-content/media/cscwidget-small.png" width="389" height="168" alt="ClearSkyClock Half-Size Screen Shot" style="float:right;" />Every Semester in introductory astronomy we run a series of field trips out to the Paul J. Feder Observatory which lies about 14 miles from the MSUM campus. As such, I like to check the weather before going out there and usually do so with a quick look at Attilla Danko&#8217;s <a href="http://www.cleardarksky.com/c/PJFdrObMNkey.html?1">Clear Sky Chart</a> website. It occurred to me it would be nice to see if a Dashboard widget to show the Clear Sky Chart existed. I found two. The one by Joshua Lynch worked well, but it had a major problem, it never listed the Paul J. Feder Observatory as a site I could examine. I ended up biting the bullet and looking at the code. Turns out Joshua Lynch released the code open source. Therefore, I felt free to start hacking on the Dashboard widget (learning how to program widgets in the process). The result is the <a href="http://iparrizar.mnstate.edu/~juan/clearskyclock_widget.php">Clear Sky Clock Widget (version 1.3)</a>. The key changes I made to the widget were:</p>
<ol>
<li><strong>Fixed a parsing bug</strong> that prevented the loading of any Clear Sky Chart for sites containing parentheses or periods in their names. It was this bug that was interfering with the loading of our observatory&#8217;s Clear Sky Clock.</li>
<li>Since the Clear Sky Chart is quite large and many people will use the widget on laptops with small screens, I added a &#8220;<strong>Half-size mode</strong>&#8220;. All you do is click on the &#8220;Toggle Size&#8221; link on the widget. This shrinks the charge and saves screen real estate.</li>
<li>With Attilla Danko&#8217;s permission, I added a <span style="font-family: Arial;"><strong>Built-in Legend</strong></span> (copied from his site) for interpreting the Clear Sky Chart to the widget. Just click on the charge and the legend appears. Click again and it goes away.</li>
<li>I also added <strong>a link to the Clear Sky Charge site page</strong>, so if I wanted more detailed information, I can get it there.</li>
</ol>
<p>I hope a few Mac-owning astronomers in the U.S. and Canada find this widget useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/10/24/the-one-where-i-release-clear-sky-clock-widget-version-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAOImage DS9 5.3 released (fixes Leopard Firewall issues)</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/10/15/saoimage-ds9-53-released-fixes-leopard-firewall-issues/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/10/15/saoimage-ds9-53-released-fixes-leopard-firewall-issues/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 21:46:48 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>
		<category><![CDATA[SciSoft OSX]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/10/15/saoimage-ds9-53-released-fixes-leopard-firewall-issues/</guid>
		<description><![CDATA[The folks at the SAO have finally released a version of SAOImage DS9 (version 5.3) that plays well with the current version of the MacOS Firewall (as of MacOS 10.5.5) . Here are the links to the downloadable Mac-related SAOImage files

Aqua 10.4 Tiger (Universal)
Aqua 10.5 Leopard (Universal)
X11 10.4 Tiger (Universal)
X11 10.5 Leopard (Universal)
X11 10.5 Leopard [...]]]></description>
			<content:encoded><![CDATA[<p>The folks at the <a href="http://cfa-www.harvard.edu/sao/">SAO</a> have finally released a version of <a href="http://hea-www.harvard.edu/saord/ds9/">SAOImage DS9</a> (version 5.3) that plays well with the current version of the MacOS Firewall (as of MacOS 10.5.5) . Here are the links to the downloadable Mac-related SAOImage files</p>
<ul>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">Aqua 10.4 Tiger (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">Aqua 10.5 Leopard (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">X11 10.4 Tiger (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">X11 10.5 Leopard (Universal)</a></li>
<li><a href="http://hea-www.harvard.edu/saord/ds9/">X11 10.5 Leopard (Universal) with Firewall</a></li>
</ul>
<p>To quote the release notes on the SAOImage DS9 website, the changes in the newly released version 5.3 are</p>
<blockquote><p>
  <strong>Regions:</strong> Regions now support a centroid function. The centroid function can be manually invoked or regions can automatically snap to a centroid when moved or edited. Regions now have a DASH line property.<br />
  <strong><br /></strong> <strong>Colorbar:</strong> Now supports a vertical colorbar layout option, via the View Menu. Users can configure the font type and size of the colorbar, via the View Menu.</p>
<p>  <strong>GUI:</strong> Now supports a vertical button bar, when in vertical layout mode.</p>
<p>  <strong>Aqua MacOSX 10.5 firewall:</strong> The MacOSX Aqua 10.5 Leopard port of DS9 can be used with the MacOSX 10.5 firewall enabled.</p>
<p>  <strong>X11 MacOSX 10.5:</strong> There are now two versions available for X11 MacOSX 10.5 Leopard. The non-firewall version is recommended for all unless you wish to enable the 10.5 firewall. [<strong>Juan's Note:</strong> While not stating this, they mean specifically the application-specific version of the MacOS firewall. <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/04/22/saoimage-ds9-versus-leopard-firewall/">See my notes on this problem here</a>.] In that case, please use the firewall enabled version. <em><strong>Please note:</strong></em> this version consist of 2 files, <code>ds9</code> and <code>ds9.zip</code>. It is very important that ds9.zip be placed in the same directory as the ds9 binary at all times.</p>
<p>  <strong>Contours:</strong> Contours now have a DASH line option.
</p></blockquote>
<p>I have previously posted notes for <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/04/06/scisoft-osx-200831-installation-notes/">integrating upgrades of DS9 into the Scisoft OS X installation</a> and they still work just fine except that newer releases of Scisoft OS X place the binaries in <code>/Applications/scisoft/i386/bin/</code> instead of <code>/scisoft/i386/bin/</code> and if you are installing the X11 binary that is compatible with the firewall, you have to install both the <code>ds9</code> and <code>ds9.zip</code> file in the <code>bin/</code> directory of Scisoft OSX.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/10/15/saoimage-ds9-53-released-fixes-leopard-firewall-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scisoft OSX Intel 2008.9.1 released</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/09/23/scisoft-osx-intel-200891-released/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/09/23/scisoft-osx-intel-200891-released/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 19:13:47 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[IRAF]]></category>
		<category><![CDATA[SciSoft OSX]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/09/23/scisoft-osx-intel-200891-released/</guid>
		<description><![CDATA[Scisoft OSX Intel 2008.9.1 was released yesterday. Nor noted in his blog post about it that this is a bug fix release that

  should resolve a few outstanding problems created when changing the location of scisoft from /scisoft to /Applications/scisoft/. Packages such as MIDAS and Gnuplot should now work properly.
  This version removes [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://web.mac.com/npirzkal/Scisoft/News/Entries/2008/9/22_Scisoft_OSX_Intel_2008.9.1_Released.html">Scisoft OSX Intel 2008.9.1</a> was released yesterday. Nor noted in his blog post about it that this is a bug fix release that</p>
<blockquote><p>
  should resolve a few outstanding problems created when changing the location of scisoft from <code>/scisoft</code> to <code>/Applications/scisoft/</code>. Packages such as MIDAS and Gnuplot should now work properly.</p>
<p>  This version removes some remaining dependencies on the HPC OSX compilers, which I had on my machine but which most users do not have (and do not want to have).
</p></blockquote>
<p>I compared the <code>/Application/scisoft/i386/Packages</code> directory from this release of Scisoft OSX to the last one and there are no new packages installed. The few <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/27/scisoft-osx-200881-released/">issues I noted with the Scisoft OSX 2008.8.1</a> release all appear to still be valid. Notably:</p>
<ol>
<li><strong>Permission Problems Persist:</strong> When the installer installs <code>/Applications/scisoft</code>, it appears that a bug in Apple&#8217;s Installer program triggers a change in ownership of the <code>/Applications</code> directory to that of the second user on the system. I strongly suggest checking the ownership of the <code>/Applications</code> directory afterward and if isn&#8217;t owned by an administrative user, set it as such using:<br />
  <pre><pre>
sudo chown username:admin /Applications
</pre></pre><br />
  (where &#8220;<code>username</code>&#8221; is the primary administrative users username, in most cases, your username) to perform the repair.</li>
<li><strong>ds9 command line executable missing:</strong> This release has the same glitch I noticed in version 2008.8.1 in that <code>/Applications/scisoft/i386/bin</code> doesn&#8217;t appear to have a ds9 binary installed. You can fix this by installing <a href="http://hea-www.harvard.edu/RD/ds9/beta.html">the X11 version of ds9</a> there or by linking to the Aqua version of ds9 that was installed using the command line<br />
<pre><pre>
ln -s &quot;/Applications/scisoft/i386/Applications/SAOImage DS9.app/Contents/MacOS/ds9&quot; /Applications/scisoft/i386/bin/ds9</pre></pre></li>
</ol>
<p>I have placed a copy of this release in <a href="http://iparrizar.mnstate.edu/~juan/urania/scisoft-osx-download/">my Scisoft OSX Mirror</a> in case the main Scisoft OSX repository gets bogged down.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/09/23/scisoft-osx-intel-200891-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fork()ing Problems with FreeType solved</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/09/05/forking-problems-with-freetype-solved/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/09/05/forking-problems-with-freetype-solved/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 17:32:28 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>
		<category><![CDATA[MacPorts]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/09/05/forking-problems-with-freetype-solved/</guid>
		<description><![CDATA[[The hack reported here for getting FreeType compiled under MacPorts in a fully Leopard-compatible way is no longer necessary as current versions of MacPorts properly handle this now.]
As I reported on my blog here, here, and here, I have been having problems with my PHP programs on my web server that use fonts crashing with [...]]]></description>
			<content:encoded><![CDATA[<p><b>[The hack reported here for getting FreeType compiled under MacPorts in a fully Leopard-compatible way is no longer necessary as current versions of MacPorts properly handle this now.]</b></p>
<p>As I reported on my blog <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/php-on-leopard-damn-irritating-sometimes/">here</a>, <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/fixing-my-php-woes-with-macports/">here,</a> and <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/18/php-woes-only-fixed-briefly/">here</a>, I have been having problems with my PHP programs on my web server that use fonts crashing with errors of the form:</p>
<p><pre><pre>
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
</pre></pre></p>
<p>The problem turns out to not lie in PHP, but in Apple&#8217;s pre-installed <a href="http://www.freetype.org/">FreeType</a> which is compiled with &#8220;old font&#8221; support. This old font support is apparently old Carbon code instead of Cocoa (if I understand correctly, which I may not) and thus requires a forking of the process&#8230; which triggers this fault.</p>
<p>If you use <a href="http://www.macports.org/" title="MacPorts homepage">MacPorts</a> version of Apache and PHP (as I am now doing), you can fix this problem by editing the Portfile for freetype to disable old font support, recompiling it, and restarting your apache server. So following the hints in the <a href="https://trac.macports.org/ticket/15909">MacPorts Bug Report #15909</a> I did the following:</p>
<p>Edit the Portfile located at <code>/opt/local/var/macports/sources/rsync.macports.org/release/ports/print/freetype/Portfile</code> changing line 50 to</p>
<p><pre><pre>
#&nbsp;&nbsp;&nbsp;&nbsp;--with-old-mac-fonts 
--with-fsspec=no --with-fsref=no --with-quickdraw-toolbox=no --with-quickdraw-carbon=no 
</pre></pre></p>
<p>Now recompile freetype in MacPorts. To do this you have to force the uninstallation of freetype (which will cause much gnashing of teeth by MacPorts since freetype is required for several other ports.</p>
<p><pre><pre>
sudo port -f uninstall freetype
</pre></pre></p>
<p>Then recompile and reinstall freetype:</p>
<p><pre><pre>
sudo port install freetype
</pre></pre></p>
<p>And finally, give the apache server used by MacPorts a fresh restart to get it going with the new freetype libraries loaded.</p>
<p><pre>sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart</pre></p>
<p>Doing this fixed all my freetype issues and I was able to use <a href="http://iparrizar.mnstate.edu/~juan/MAPS_Database/catalog/finder_chart/">my FinderChart program</a> again. The only disadvantage is that if freetype is updated from version 2.3.7 in MacPorts (and no no-old-font variant appears), I will have to re-apply this hack.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/09/05/forking-problems-with-freetype-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yeah, AppleJack for Leopard released!!!</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/08/30/yeah-applejack-for-leopard-released/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/08/30/yeah-applejack-for-leopard-released/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 04:43:46 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/08/30/yeah-applejack-for-leopard-released/</guid>
		<description><![CDATA[One of the most important programs that hadn&#8217;t been ported to Leopard was AppleJack. AppleJack is an awesome program written by Kristofer Widholm for system maintenance that you can run in Single User Mode. In a nutshell, it makes it easy to repair disk permissions, clean out foobared cache files, bad preference files, etc&#8230; all [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most important programs that hadn&#8217;t been ported to Leopard was <a href="http://applejack.sf.net/">AppleJack</a>. AppleJack is an awesome program written by Kristofer Widholm for system maintenance that you can run in Single User Mode. In a nutshell, it makes it easy to repair disk permissions, clean out foobared cache files, bad preference files, etc&#8230; all automatically. Its easy to install and to run it,</p>
<ol>
<li>Reboot your Mac and hold down Cmd-S during the boot until the text booting dialog appears.</li>
<li>Run applejack. I enter <code>applejack auto restart</code> to automatically do all the system maintenance then restart into normal multi-user (graphics interface) mode.</li>
</ol>
<p>AppleJack has saved my bacon more than once. I use it on those rare occasions where I have to do a forced shutdown of my Mac, but it has also fixed problems due to bad preferences or messed up font caches for me. I just tried out this version under Leopard on my MacBook Pro and it worked like a charm, about 5 minutes start to finish and it found a variety of permissions problems and fixed them. Best part is its free, so you have no excuse for not using it.</p>
<p>While the <a href="http://applejack.sf.net/">main site</a> hasn&#8217;t been updated to reflect the presence of the new files, you can download <a href="http://internap.dl.sourceforge.net/sourceforge/applejack/AppleJack-1.5.dmg">AppleJack for Tiger or Leopard (version 1.5) here</a>. There are also versions for Jaguar and Panther. Basically, its a must have tool for almost any MacOS version!</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/08/30/yeah-applejack-for-leopard-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scisoft OSX 2008.8.1 released</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/08/27/scisoft-osx-200881-released/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/08/27/scisoft-osx-200881-released/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 18:09:01 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>
		<category><![CDATA[SciSoft OSX]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/08/27/scisoft-osx-200881-released/</guid>
		<description><![CDATA[Scisoft OSX Intel 2008.8.1 was released about a week ago. I have been working with Nor Pirzkal for the last few months beta-testing this version and trying to make sure my concerns about the previous version were addressed. Nor&#8217;s blog post about the update states

  There are a few changes in this version and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://web.mac.com/npirzkal/Scisoft/News/Entries/2008/8/18_Scisoft_OSX_Intel_2008.8.1_Released.html">Scisoft OSX Intel 2008.8.1</a> was released about a week ago. I have been working with Nor Pirzkal for the last few months beta-testing this version and trying to make sure my concerns about the previous version were addressed. Nor&#8217;s blog post about the update states</p>
<blockquote>
  There are a few changes in this version and all packages have been updated to the latest available versions. Starting with this version, Scisoft is installed in <code>/Applications/scisoft</code> (it previously was installed in <code>/scisoft</code>). Make sure that you remove any old <code>/scisoft</code> installation and properly update your startup files to source the <code>Setup.csh</code> or <code>Setup.bash</code> from their new locations.
</blockquote>
<p>In the README file you are told<br /></p>
<blockquote>
  Once the collection is successfully installed csh and tcsh users should invoke the command:<br /> <br />
  <code>source /Applications/scisoft/all/bin/Setup.csh</code><br />
  <br />
  to gain access to all the software and configure their environment correctly.<br />
  <br />
  Users of the &#8220;bash&#8221; shell should instead use:<br /><br/>
  <code>. /Applications/scisoft/all/bin/Setup.bash</code>
</blockquote>
<p>Personally, to avoid problems in tcsh with a script breaking or with modifying my PATH multiple times by repeated execution of the <code>Setup.csh</code> script, I use the following line in my <code>.tcshrc</code> to first check for the existence of the <code>Setup.csh</code> script and SCISOFT environmental variables before executing it.<br />
<pre><code>if (! $?SCISOFT) then
test -r /Applications/scisoft/all/bin/Setup.csh &amp;&amp; source /Applications/scisoft/all/bin/Setup.csh
endif</code></pre></p>
<p><strong>Permission Problems Persist</strong><br />
This version addresses all the issues <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/05/28/scisoft-osx-200851-released-with-my-installation-notes/">I noticed with Scisoft OSX 2008.5.1</a> except for one annoying one, the reassignment of ownership of the enclosing directory on installation. If you installed the old version of Scisoft OSX, it would reassign ownership of the root (/) directory to the second user on the system (in my case, since their is none, it showed the user as &#8220;502&#8243;). I beta-tested various versions of Scisoft OSX but Nor was not able to stamp out this particular problem. I believe Nor has come to the conclusion after extensive testing that this is a problem with Apple&#8217;s software for constructing installer packages. By moving the Scisoft OSX installation to <code>/Applications/scisoft</code>, it is the <code>/Applications</code> directory that gets its ownership changed instead of the root directory, which is less damaging. However, I would strongly suggest checking the ownership of the /Applications directory afterward and if isn&#8217;t owned by an administrative user, set it as such using:<br/><br/><code>sudo chown username:admin /Applications</code><br /><br />
(where &#8220;<code>username</code>&#8221; is the primary administrative users username, in most cases, your username) to perform the repair.</p>
<p><strong>A Quick-Fix for any Legacy Scisoft-related scripts</strong><br />
If you had a few scripts that relied on Scisoft OSX being located in /scisoft and you don&#8217;t want to edit them all is you can make <code>/scisoft</code> point to <code>/Applications/scisoft</code>. This can be accomplished by first moving the old version of Scisoft OSX before installing 2008.8.1 via the command line:<br /></p>
<p><code>sudo mv /scisoft /scisoft_old</code></p>
<p>and then once you have installed the new Scisoft OSX in 2008.8.1, create a symbolic link from the old location to the new by typing (again from the command line)</p>
<p><code>sudo ln -s /Applications/scisoft /scisoft</code></p>
<p>This will allow any scripts that refer to items in <code>/scisoft</code> to continue to work for the most part.</p>
<p><strong>What&#8217;s New?<br /></strong>An investigation of the <code>/Application/scisoft/i386/Packages</code> directory as well as the <code>NEWS</code> file reveals the following changes to this version of SciSoft OSX over the 2008.5.1 version.</p>
<ul>
  <li><a href="http://hea-www.harvard.edu/RD/ds9/">DS9</a> updated from 5.1 to 5.3beta<br /></li>

  <li><a href="http://heasarc.gsfc.nasa.gov/docs/software/ftools/fv/">FV</a> updated from 5.1 to 5.2.1</li>

  <li><a href="http://math-atlas.sourceforge.net/">ATLAS</a> updated to version 3.8.2<a href="http://en.wikipedia.org/wiki/Pango"></a></li>

  <li><a href="http://www.eso.org/esomidas">MIDAS</a> updated to 08FEBpl1.1<a href="http://cdsweb.u-strasbg.fr/doc/cdsclient.html"></a></li>

  <li><a href="http://cdsweb.u-strasbg.fr/doc/cdsclient.html">cdsclient</a> was updated to version 2.87</li>

  <li><a href="http://www.opengroup.org/openmotif/">OpenMotif</a> updated to 2.1.32_compat<a href="http://heasarc.nasa.gov/docs/software/fitsio/c/c_user/cfitsio.html"></a></li>

  <li><a href="http://heasarc.nasa.gov/docs/software/fitsio/c/c_user/cfitsio.html">cfitsio</a> library updaed from 3.090 to 3.090 (the current version is 3.100)<a href="http://en.wikipedia.org/wiki/Pango"></a></li>

  <li><a href="http://en.wikipedia.org/wiki/Pango">pango</a> library updated from version 1.20.2 to 1.21.3</li>

  <li><a href="http://lwn.net/Articles/285442/">pixman</a> library updated from 0.10.0 to 0.11.2<br /></li>

  <li><a href="http://expat.sourceforge.net/">expat</a> library updated from 2.0.0 to 2.0.1<br /></li>

  <li><a href="http://www.fontconfig.org/">fontconfig</a> library updated from 2.3.2 to 2.6.0<a href="http://www.gnu.org/software/gettext/"></a></li>

  <li><a href="http://www.freetype.org/">freetype</a> library updated from 2.2.1 to 2.3.6</li>

  <li><a href="http://www.gnu.org/software/gettext/">gettext</a> library updated from 0.14.5 to 0.17<a href="http://www.freedesktop.org/software/pkgconfig/"></a></li>

  <li><a href="http://www.gtk.org/">gtk+</a> updated from 2.12.9 to 2.12.10</li>

  <li><a href="http://www.libpng.org/pub/png/libpng.html">libpng</a> library updated from 1.2.10 to 1.2.29</li>

  <li><a href="http://www.unidata.ucar.edu/software/netcdf/">netCDF</a> library version 3.6.2 added</li>

  <li><a href="http://www.freedesktop.org/software/pkgconfig/">pkg-config</a> updated from 0.20 to 0.23</li>

  <li><a href="http://www.tcl.tk/software/tcltk/">TclTk</a> package updated from 8.4.13 to 8.4.19</li>

  <li><a href="http://tdc-www.harvard.edu/wcstools/">wcstools</a> library updated from 3.6.4 to 3.7.3 (current version is 3.7.5)</li>

  <li>IRAF package <a href="http://tdc-www.harvard.edu/iraf/rvsao/">rvsao</a> updated t version 2.5.7 to 2.6.4</li>

  <li><a href="http://www.python.org/">Python</a> was updated to 2.5.2 and the following <a href="http://www.python.org/">Python</a> libraries were updated:<br /></li>

  <li style="list-style: none">
    <ul>
      <li><a href="http://www.pygtk.org/">ScientificPython</a> updated to 2.6.1</li>
    </ul>
  </li>
</ul>
<p><strong>Minor Glitches<br /></strong> The only other minor glitch I noticed was that <code>/Applications/scisoft/i386/bin</code> doesn&#8217;t appear to have a ds9 binary installed. You can fix this by installing the X11 version of ds9 there or by linking to the Aqua version of ds9 that was installed using the command line</p>
<pre>ln -s &quot;/Applications/scisoft/i386/Applications/SAOImage DS9.app/Contents/MacOS/ds9&quot; /Applications/scisoft/i386/bin/ds9</pre>]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/08/27/scisoft-osx-200881-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>These Fork()ing PHP Woes continue</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/08/18/php-woes-only-fixed-briefly/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/08/18/php-woes-only-fixed-briefly/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 15:57:16 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X Annoyances]]></category>
		<category><![CDATA[MacPorts]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/08/18/php-woes-only-fixed-briefly/</guid>
		<description><![CDATA[What do you know, one reboot later and MacPorts Apache2 server with MacPorts PHP is throwing the same errors as the built-in PHP server. When I try to create a graphic using typography, I get
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
It wasn&#8217;t complaining [...]]]></description>
			<content:encoded><![CDATA[What do you know, one reboot later and MacPorts Apache2 server with MacPorts PHP is throwing <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/php-on-leopard-damn-irritating-sometimes/">the same errors</a> as the built-in PHP server. When I try to create a graphic using typography, I get
<pre><pre>The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.</pre></pre>
It wasn&#8217;t complaining before the reboot. Maybe Apple&#8217;s security kicked in after the reboot although for the life of me I can&#8217;t understand why.

I&#8217;ve continued investigating and in Apple&#8217;s Discussion boards <a href="http://discussions.apple.com/thread.jspa?messageID=5693097#5961098">I found there was a string of comments about this problem</a>.  One user, Bill Eccles, seemed to isolate the problem and his description matches the symptoms I am seeing:
<blockquote>Finally, there&#8217;s a big problem with FreeType. As I discovered, anytime FreeType fonts are used by GD, they apparently make a Carbon API call of some sort. Problem is, Apache2 uses fork() without a corresponding exec() and, upon calling PHP/GD/FreeType, the Carbon call in FreeType causes Apache2 to crash. It shows up in the error_log as
<pre><pre>The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
Mon Nov 26 12:38:11 2007 notice child pid 304 exit signal Trace/BPT trap (5)</pre></pre>
and in the system.log as
<pre><pre>Nov 26 13:12:00 shr-g5 ReportCrash664: Formulating crash report for process httpd659
Nov 26 13:12:02 shr-g5 ReportCrash664: Saved crashreport to /Library/Logs/CrashReporter/httpd_2007-11-26-131145_shr-g5.crash using uid: 0 gid: 0, euid: 0 egid: 0</pre></pre>
I didn&#8217;t discover the cause&#8211;I can&#8217;t take credit for this one.</blockquote>
At this point he provides a link to a blog that was just reposting mailing list digests and as such got pulled down.  I think I have found <a href="http://lists.gnu.org/archive/html/freetype/2007-11/msg00000.html">the original thread about the problem on the FreeType mailing lists here</a>.  Bill then suggests the following solution (this is not complete):
<blockquote>[I]nstall FreeType 2 without the Mac-specific extensions. These extensions make it possible for FT2 to access fonts stored in a font suitcase, something which is unnecessary if you use plain &#8220;.ttf&#8221; fonts from other sources. Here&#8217;s how I did that:

Get FT2 and expand the tarball:
(in Sources&#8211;my version of /SourceCache):
<pre><pre>curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
cd ..
tar xvfp Sources/freetype-2.3.5.tar.gz</pre></pre>
Configure FT2 and make it:
<pre><pre>MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS=&quot;-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp&quot; CCFLAGS=&quot;-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe&quot; CXXFLAGS=&quot;-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe&quot; LDFLAGS=&quot;-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bind_at_load&quot; ./configure --with-fsspec=no --with-fsref=no --with-quickdraw-toolbox=no --with-quickdraw-carbon=no
make
sudo make install</pre></pre>
Libraries end up in /usr/local/lib.</blockquote>
The funny thing is I have FreeType 2.3.7 courtesy of MacPorts, <del datetime="2008-09-05T17:14:19+00:00">so I don&#8217;t know why the MacPorts installation of PHP is throwing the error unless it is not accessing the MacPorts version of GD.</del>  Actually, it makes complete sense.  FreeType 2.3.7 in MacPorts is compiled with old font support (which is what triggers the problem).  I submitted a <a href="https://trac.macports.org/ticket/15909">trouble ticket</a> requesting a variant of freetype be made available to disable old font support (which won&#8217;t work in Leopard anyway).]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/08/18/php-woes-only-fixed-briefly/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fixing my PHP woes with MacPorts</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/fixing-my-php-woes-with-macports/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/fixing-my-php-woes-with-macports/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 03:15:31 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Command Line Tricks]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>
		<category><![CDATA[MacPorts]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/fixing-my-php-woes-with-macports/</guid>
		<description><![CDATA[As I mentioned in my blog post earlier today, I have been having issues using the JpGraph graphing package for PHP with Apple&#8217;s built-in PHP under MacOS 10.5. It appears Apple&#8217;s security efforts have &#8220;secured&#8221; PHP to the point where JpGraph (and PDFLib) will not function properly under the built-in PHP. [Note added after initial [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in my blog post earlier today, I have been having issues using the JpGraph graphing package for PHP with Apple&#8217;s built-in <a href="http://www.php.net/">PHP</a> under <a href="http://www.apple.com/macosx/">MacOS 10.5</a>. It appears Apple&#8217;s security efforts have &#8220;secured&#8221; PHP to the point where <a href="http://www.aditus.nu/jpgraph/">JpGraph</a> (and <a href="http://www.pdflib.com/">PDFLib</a>) will not function properly under the built-in PHP. <strong>[Note added after initial post: The rest of this post describes installing Apache 2 and PHP under MacPorts and configuring it to be similar to Apple's built-in servers.  This appeared to solve my problems, but then my Mac locked-up [possibly related] and on reboot, the new MacPorts-based PHP installation started throwing the same errors as Apple&#8217;s built-in PHP.  More information on this problem is located in <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/18/php-woes-only-fixed-briefly/">my newer post on the issue</a>.]</strong></p>

<p>I had tried to alleviate the solution previously by compiling a version of PHP myself that would be compatible with Apple&#8217;s built-in Apache 2 web server. This turned out to be difficult because Apple&#8217;s Apache 2 web server is a &#8220;universal&#8221; binary, meaning it contains four seperate binaries (for 32-bit PowerPC, 64-bit PowerPC, 32-bit Intel, and 64-bit Intel processors). As such I needed to compile a &#8220;universal&#8221; PHP binary and since I wanted MySQL support, I needed a &#8220;universal&#8221; MySQL binary. This turned out to be too much for this astronomer, so I gave up on making a new PHP that was compatible with Apple&#8217;s built-in web server.</p>

<p>So I bit the bullet and after reviewing the options, I decided to install Apache 2 and PHP under <a href="http://www.macports.org/">MacPorts</a>. If you have read the other posts on this site, you know I really like MacPorts as the quick and dirty way to get many things running on the Mac. However, despite this, I don&#8217;t like installing MacPorts for items Apple provides, instead generally preferring to use Apple&#8217;s &#8220;pre-installed&#8221; versions. Furthermore, there have been a lot of complaints on the MacPorts mailing lists about various issues compiling PHP5. So I wasn&#8217;t as quick to jump onto the MacPorts bandwagon for PHP as I am for other problems. However, since I am familiar with MacPorts, I decided this was the best approach for getting my online <a href="http://iparrizar.mnstate.edu/~juan/MAPS_Database/catalog/finder_chart/">Finder Charts</a> to work again.</p>

<p>The process proved reasonably painless, especially since I was able to review this blog post, where he lays out pretty much what to do. However, since I wanted to achieve maximum compatibility with Apple&#8217;s built-in web server and PHP setup, in case I wanted to switch back, I ended up doing things a little bit differently, so I am outlining my steps here.
<ol>
	<li>I started by <strong>installing the MacPorts version of Apache 2</strong> using the command <code>sudo port install apache2</code></li>
	<li>Next, I had to <strong>create the Apache 2 configuration files and edit them</strong>. I started by copying the sample configuration file
<pre>sudo cp /opt/local/apache2/conf/httpd.conf.sample /opt/local/apache2/conf/httpd.conf</pre>
and then editing <code>/opt/local/apache2/conf/httpd.conf</code> with my favorite text editor to change the configuration to match the that of the built-in Apache 2 server a closely as possible. My matching the configuration of Apple&#8217;s built-in server, I can switch back to it with relative ease if I choose to do so later. So I made the following changes to <code>/opt/local/apache2/conf/httpd.conf</code>:</li>
	<li style="list-style: none">
<ol type="i">
	<li>I changed <code>DocumentRoot</code> to <code>&quot;/Library/WebServer/Documents&quot;</code> as is the case with Apple&#8217;s built-in server.</li>
	<li>To allow <code>index.php</code> files to be used as directory indexes, I changed
<pre>DirectoryIndex index.html</pre>
to
<pre>DirectoryIndex index.html index.php</pre>
(I don&#8217;t know why this isn&#8217;t necessary with Apple&#8217;s built-in server, but it was necessary here).</li>
	<li>I changed  to
and in that directory block of code, I added &#8220;<code>MultiViews</code>&#8221; to the <code>Options</code> line.</li>
	<li>I changed  to  in order to prevent the listing of <code>.DS_Store</code> files in directory listings by the web server.</li>
	<li>Before the <code>ErrorLog</code> block of code in this file, I added the following lines copied from Apple&#8217;s default Apache 2 configuration:
<pre><pre>#
# Apple specific filesystem protection.
#

Order allow,deny
Deny from all
Satisfy All

Order allow,deny
Deny from all
Satisfy All</pre></pre>
</li>
	<li>I changed <code>ErrorLog</code> to <code>&quot;/private/var/log/apache2/error_log&quot;</code></li>
	<li>I changed <code>CustomLog</code> to <code>&quot;/private/var/log/apache2/access_log common&quot;</code></li>
	<li>To match Apple&#8217;s Apache 2 server configuration, I changed <code>ScriptAliasMatch</code> to
<pre>^/cgi-bin/((?!(?i:webobjects)).*$) &quot;/Library/WebServer/CGI-Executables/$1&quot;</pre>
</li>
	<li>I changed  back to</li>
	<li>I added the following Handles to the &#8220;To use CGI Scripts&#8221; block of code:
<pre><code>AddHandler imap-file .map
AddHandler cgi-script .cgi
AddHandler cgi-script .pl</code></pre></li>
	<li>I uncommended the following lines near the end of the file:
<pre></pre>
</li>
	<li><strong>[OPTIONAL]</strong> Because I use the WebDAV server on my server, I also uncommented
<code></code></li>
	<li>Finally, I added the following lines to the end of the file in order to allow loading of the PHP5 configuration
<pre></pre>
</li>
</ol>
</li>
	<li>Next, I editted <code>/opt/local/apache2/conf/extra/httpd-userdir.conf</code> and added the following to the end of the file
<pre><pre>
#
# Users might not be in /Users/*/Sites, so use user-specific config files.
#
Include /private/etc/apache2/users/*.conf</pre></pre>
</li>
	<li> <strong>[OPTIONAL]</strong> Since I use the built-in WebDAV server, I made a backup of the WebDAV configuration, then copied the
Default MacOS X one, because I have spent a lot of time tweaking it previously and I didn&#8217;t want to have to reinvent the wheel. 
<pre><pre>sudo cp /opt/local/apache2/conf/extra/httpd-dav.conf /opt/local/apache2/conf/extra/httpd-dav.conf.orig
sudo cp /etc/apache2/extra/httpd-dav.conf /opt/local/apache2/conf/extra/httpd-dav.conf</pre></pre>
</li>
	<li>I had to <strong>install PHP5 with MacPorts</strong>. Since I wanted to add support for Apache 2 and MySQL, I entered the command:
<code>sudo port install php5 +apache2 +mysql5 +pear</code>
which has the side effect of installing MacPorts version of MySQL as well. Assuming everything goes well, after a few minutes (this takes longer than the apache2 install earlier), the installation will end. At this point we can configure the Apache 2 mod_php module by typing: 
<pre>cd /opt/local/apache2/modules/opt/local/apache2/bin/apxs -a -e -n &quot;php5&quot; libphp5.so</pre>
</li>
	<li> <strong>[OPTIONAL]</strong> Next, I had to <strong>create the PHP5 configuration file and edit it</strong>. I started by copying the sample configuration file
<code>sudo cp /opt/local/etc/php.ini-dist /opt/local/etc/php.ini</code>
and then editing <code>/opt/local/etc/php.ini</code> to make it match <code>/etc/php.ini</code> (which Apple&#8217;s built-in PHP uses). All the changes I made were optional and related to the specifics of my setup. The only interesting one was that I wanted to continue to use the MySQL.com binary distribution of MySQL server, so I set the following variables in <code>/opt/local/etc/php.ini</code>: 
<ol type="i">
	<li><code>mysql.default_port</code> from &#8220;&#8221; to <code>3306</code></li>
	<li><code>mysql.default_socket</code> from &#8220;&#8221; to <code>/private/tmp/mysql.sock</code></li>
	<li><code>mysqli.default_socket</code> from &#8220;&#8221; to <code>/private/tmp/mysql.sock</code></li>
</ol>
</li>
	<li><strong>I deactivated Apple&#8217;s built-in web server</strong> by turning off Web Sharing in the Sharing.prefPane.</li>
	<li> <strong>Finally, I launched the new webserver</strong> (and set it up for launching on boot-up in the future) by typing
<pre>sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist</pre>
If this breaks anything, I can reverse the process by typing
<pre>sudo launchctl unload -w /Library/LaunchDaemons/org.macports.apache2.plist</pre>
</li>
	<li> <strong>[OPTIONAL]</strong> I like the ability to turn on and off the Apache webserver from the command line using apachectl. I can &#8220;emulate&#8221; this in /bin/tcsh (my prefered shell) by adding the following command to the ~/.tcshrc file:
<pre>alias apache2ctl &#039;sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper&#039;</pre>
After which I can bring down the server by typing <code>apache2ctl stop</code> and restart it by typing <code>apache2ctl start</code>.</li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/fixing-my-php-woes-with-macports/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP on Leopard &#8230; damn irritating sometimes</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/php-on-leopard-damn-irritating-sometimes/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/php-on-leopard-damn-irritating-sometimes/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 17:15:22 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X Annoyances]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/php-on-leopard-damn-irritating-sometimes/</guid>
		<description><![CDATA[Applying the latest MacOS X Security Update from Apple today reminded me of the problems I have had with PHP on Leopard. The Security Patch brought Leopard up to version 5.2.6. Unfortunately, it doesn&#8217;t fix a problem I have been having with PHP5 under Leopard.
While I&#8217;m sure Apple did this for security reasons, since upgrading [...]]]></description>
			<content:encoded><![CDATA[<p>Applying the latest <a href="http://support.apple.com/kb/HT2647">MacOS X Security Update</a> from Apple today reminded me of the problems I have had with <a href="http://www.php.net/">PHP</a> on Leopard. The Security Patch brought Leopard up to version 5.2.6. Unfortunately, it doesn&#8217;t fix a problem I have been having with PHP5 under Leopard.</p>
<p>While I&#8217;m sure Apple did this for security reasons, since upgrading the Leopard, I have had a problem with scripts that use the <a href="http://www.aditus.nu/jpgraph/">JpGraph</a> plotting PHP library crashing. After looking in <code>/var/logl/apache2/error_log</code>, I see the following eror message:<br />
<pre><pre>The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.</pre></pre><br />
I&#8217;ve been trying to figure out why this has been happening for a while. Johan Persson at JpGraph and I exchanged some emails where he outlined for me how this was a problem with Apple&#8217;s pre-built version of PHP5 since <a href="http://www.aditus.nu/jpgraph/">JpGraph</a> is not fork()-ing any processes. Well, today I decided to look into this again and discovered that the <a href="http://www.pdflib.com/">PDFLIb</a> folks have documented this problem a little better, copying from their <a href="http://www.pdflib.com/fileadmin/pdflib/pdf/support/PDFlib-in-PHP-HowTo.pdf">documentation here</a>:</p>
<blockquote><p><strong>PHP on Mac OS X.</strong> Apple’s PHP version which is bundled with Mac OS X does not work with PDFlib DSOs. To use PHP with PDFlib on Mac OS X you need third-party PHP packages such as <a href="http://www.mamp.info/en/mamp.html">MAMP</a>, <a href="http://sourceforge.net/projects/xampp/">XAMP[P] for Mac</a>, or Marc Liyanage’s version from <a href="http://www.entropy.ch/home/">www.entropy.ch</a>. Mac OS X 10.5 (Leopard) adds new complications. As described in <a href="http://developer.apple.com/releasenotes/CoreFoundation/CoreFoundation.html">developer.apple.com/releasenotes/CoreFoundation/CoreFoundation.html</a> it is no longer possible to use CoreFoundation functions after a call to fork( ) without exec( ). However, CoreFoundation functions are required for PDFlib’s host font feature, and the critical sequence above is used in the combination of Apache and PHP. This may trigger the following error message in the Apache log (and can even crash the Apache process):<br />
<pre><pre>The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on _THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.</pre></pre><br />
In order to avoid this problem you can run PHP as a CGI on Apache, or disable the host font feature in PDFlib[.]</p></blockquote>
<p>Sure enough, JpGraph is using host fonts. Damn.</p>
<p>Unfortunately, the Marc Liyanage’s version of PHP5 for Leopard from <a href="http://www.entropy.ch/home/">www.entropy.ch</a> is still in beta and the last update of <a href="http://www.mamp.info/en/mamp.html">MAMP</a> was quite a long time ago. And while <a href="http://sourceforge.net/projects/xampp/">XAMPP for MacOS X</a> looks promising (at least it has been updated recently), I would really like to keep on using the MySQL server I already have running.   So for now, I try installing Apache 2 and PHP using <a title="MacPorts homepage" href="http://www.macports.org/">MacPorts</a>.</p>
<p><strong>[See my subsequent posts about <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/fixing-my-php-woes-with-macports/">getting the MacPorts version of Apache 2 and PHP going</a> and the <a href="http://iparrizar.mnstate.edu/~juan/urania/2008/08/18/php-woes-only-fixed-briefly/">subsequent continuation of the problem after a reboot</a>.  There is more information about this issue there.]</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/08/14/php-on-leopard-damn-irritating-sometimes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Announcing External SPECROAD&#8230; woot!</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/08/11/announcing-external-specroad-woot/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/08/11/announcing-external-specroad-woot/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 21:24:09 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[Hectospec]]></category>
		<category><![CDATA[IRAF]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/08/11/announcing-external-specroad-woot/</guid>
		<description><![CDATA[A few folks have been aware that I am involved in an interesting project to determine the &#8220;Shape of our Galaxy&#8221;&#8230; specifically the nature of the asymmetries observed in the Thick Disk stars in the galaxy. Part of that project involved obtaining multi-fiber spectrograph observations of many stars in selected fields of the sky using [...]]]></description>
			<content:encoded><![CDATA[<p>A few folks have been aware that I am involved in an interesting project to determine the &#8220;Shape of our Galaxy&#8221;&#8230; specifically the nature of the asymmetries observed in the Thick Disk stars in the galaxy. Part of that project involved obtaining multi-fiber spectrograph observations of many stars in selected fields of the sky using the <a href="http://cfa-www.harvard.edu/mmti/hectospec.html">Hectospec multi-fiber spectrometer</a> on the MMT on Mount Hopkins.</p>
<p>Unfortunately, there are very few &#8220;external&#8221; users of the Hectospec, so the software pipeline available for reducing Hectospec observations, called <a href="http://tdc-www.harvard.edu/instruments/hectospec/specroad.html"><strong>SPECROAD</strong></a>, was only geared to run on <a href="http://cfa-www.harvard.edu/sao/">SAO</a> computers. I spent a considerable amount of time last summer and this summer getting that software into a much more portable form, documenting how to use it, and removing bugs from the code.</p>
<p>All this work resulted in the creation of a new version of the Hectospec data pipeline I dubbed &#8220;<a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/"><strong>External SPECROAD</strong></a>&#8221; or &#8220;<a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/"><strong>E-SPECROAD</strong></a>&#8221; for short. There were several major problems with the original <strong>SPECROAD</strong> code that I addressed in <strong>E-SPECROAD</strong>:</p>
<ol>
<li><strong>Nonportability:</strong> The <strong>SPECROAD</strong> scripts were only designed to run on a Solaris computer at the SAO, with files in specific hard-coded locations using a specific IRAF environment with all the IRAF parameters set before the scripts were run. This has been addressed by trying to assume almost nothing about a user&#8217;s IRAF environment from the start except that they have the proper packages installed.
</li>
<li><strong>Lack of Documentation:</strong> The documentation for <strong>SPECROAD</strong> is frankly inadequate. It was an in-house tool for the SAO, so the publically-available documentation consists mostly of <a href="http://tdc-www.harvard.edu/instruments/hectospec/specroad.html">one webpage</a> describing what the scripts do. I have now written up both an <a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/installation.php">installation guide</a> (because there are a lot of pre-requisite pieces of code to install) and a E-SPECROAD <a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/users_guide.php">user&#8217;s guide</a>.
</li>
<li><strong>No Installation Instructions:</strong> There were several <a href="http://www.iraf.net/">IRAF</a> packages to install (<a href="http://tdc-www.harvard.edu/instruments/hectospec/software.html">available here</a>). The shell scripts required not only the installation of several IRAF packages and the compilation of several C programs, they used korn shell (ksh) which I was unfamiliar with. And, as I would also soon discover, the <a href="http://iparrizar.mnstate.edu/~juan/urania/2007/07/19/ksh-doesnt-work-on-macos-x-tiger/">ksh installed on the Mac had serious bugs in its list handling</a>. There is now a fairly compete <a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/installation.php">installation guide</a> laying out all the pre-requisites and addressing installations on both Macs and Linux boxes.
</li>
<li><strong>Undocumented Bugs:</strong> The available <strong>SPECROAD</strong> scripts had major bugs whose workarounds were undocumented and only available when I would email someone at the SAO to inquire about them. In one case, you had to know to actually break out of the script with Control-C, then run some of the reduction in IRAF, and then restart the script! <strong>E-SPECROAD</strong> has been fairly extensively debugged. It&#8217;s not bug free, but the exterminator has made some serious passes at the code.
</li>
<li><strong>Assumed Availability of Spectral Templates:</strong> The <strong>SPECROAD</strong> scripts typically relied on pre-set spectral line databases for different grating/central wavelength configurations instead of having the user exploit the IRAF <em>identify</em> command to build a database. <strong>E-SPECROAD</strong> is geared toward the user who is going to wavelength calibrate their observations by building the spectral line database for themselves.
</li>
<li><strong>Assumed Use of Low Resolution Spectra:</strong> The <strong>SPECROAD</strong> scripts were mostly pre-configured for working with 270gpm gratings and required some tweaking for 600gpm. <strong>E-SPECROAD</strong> can work with either configuration without editing the code.
</li>
<li><strong>Inconvienent Backups As Data Reduction Progresses:</strong> If one of the scripts executed by <strong>SPECROAD</strong> crashed, you had to dig around subdirectories to &#8220;backtrack&#8221; the changes before restarting the script. With disk space not an issue, I prefer monolithic backups of the entire data directory at certain key points in the data reduction pipeline. Since you may not like this form of backup (as they consume a lot of disk space), they are optional.</li>
</ol>
<p>Today, I am <a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/">posting <strong>E-SPECROAD</strong> online as a beta release</a> along with <a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/installation.php">installation instructions</a> and a <a href="http://iparrizar.mnstate.edu/~juan/research/ESPECROAD/users_guide.php">user&#8217;s guide.</a> All the other external users of Hectospec I am aware of, all two of you, can enjoy or complain to me about this code. The ones I am unaware of are free to use the code as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/08/11/announcing-external-specroad-woot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Calendar adds CalDAV!  Still twitchy however.</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/07/28/google-calendar-adds-caldav-still-twitchy-however/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/07/28/google-calendar-adds-caldav-still-twitchy-however/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 23:07:11 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/07/28/google-calendar-adds-caldav-still-twitchy-however/</guid>
		<description><![CDATA[Finally there is a free way to synchronize your Google Calendar and you iCal! Google has added support for CalDAV! So if you are running Leopard, you can now (in theory) synchronize iCal and GCal without paying a third party or pulling out our hair for some of the private solutions The detailed instructions for [...]]]></description>
			<content:encoded><![CDATA[<p>Finally there is a free way to synchronize your Google Calendar and you iCal! Google has <a href="http://www.google.com/support/calendar/bin/answer.py?answer=99355">added support for CalDAV</a>! So if you are running Leopard, you can now (in theory) synchronize iCal and GCal without paying a third party or pulling out our hair for some of the private solutions <a href="http://www.google.com/support/calendar/bin/answer.py?answer=99358">The detailed instructions for getting iCal talking to GCal are here</a>.</p>

<p>Unfortunately, it looks to to be as twitchy as running your own Darwin Calendar Server. I&#8217;ve been using CalDAV on my own personal server for a few months and I have to admit it has been a bit twitchy, but getting better as time rolls on. I tried to synchronize this afternoon to Google Calendar and got the following error:
<pre><pre>The server responded with
&quot;HTTP/1.1 500 Internal Server Error&quot;
to operation CalDAVWriteEntityQueueableOperation.</pre></pre>
I got this error when trying to create a new calendar in Google from iCal. This is actually a <a href="http://www.google.com/support/calendar/bin/answer.py?answer=99360#">documented error</a>, but it didn&#8217;t go away for me like Google suggested it would. I am also getting that error when I try to import items into my GCal calendar via an &#8220;import&#8221; of the ics file I &#8220;exported&#8221; from my old calendar. I saw this same error on my server some time back. I needed to update my Darwin Calendar Server source code before I could fix it. In any case, I hope this is only a temporary issues since I could be very happy with the idea that I can now drop the maintenance of Darwin Calendar Server on my own computer and hand that task over to Google.</p>

<p><strong>Followup (July 30):</strong> I noticed all of the errors occurring during the import were for old classes last semester. So I forced my way through them by clicking &#8220;Revert to Server&#8221; for every one of the errors. There were probably 20 of them. Once done, I compared my calendar on my computer and Google&#8217;s Calendar, they were identical. So for now, it looks like GCal&#8217;s CalDAV server may serve my needs after all.  I could have avoided all this by directly importing my ics file into Google through their web interface.</p>

<p><strong>Followup (August 27):</strong> So I got an <a href="http://www.apple.com/ipodtouch/">iPod Touch</a> and discovered that CalDAV calendars are loaded on the iPod Touch as &#8220;Read-only&#8221;.  If Apple really wants to back CalDAV as a standard, you would think they would support it more fully on their own products.  For now, I found that <a href="http://www.busymac.com/">BusySync</a> works quite nicely for syncing my iCal calendars with gCal in such a way that the calendars are hosted on my Mac and the iPod Touch then can treat the calendars are read-write.  This, along with the lack of native ToDo list synchronization on the iPods are about the stupidest bits of inconsistency I have seen in using the iPod Touch.  Luckily the ToDo list being missing from the iPod Touch doesn&#8217;t affect me as much as I am using <a href="http://www.omnigroup.com/applications/omnifocus/">OmniFocus</a>, which works very well on the Mac and iPod Touch and allows synching between both.</p>]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/07/28/google-calendar-adds-caldav-still-twitchy-however/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAOImage DS9 5.3beta and the Leopard Firewall, Redux</title>
		<link>http://iparrizar.mnstate.edu/~juan/urania/2008/07/23/saoimage-ds9-53beta-and-the-leopard-firewall-redux/</link>
		<comments>http://iparrizar.mnstate.edu/~juan/urania/2008/07/23/saoimage-ds9-53beta-and-the-leopard-firewall-redux/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 23:03:22 +0000</pubDate>
		<dc:creator>Juan</dc:creator>
				<category><![CDATA[Astronomical Software]]></category>
		<category><![CDATA[MacOS X Annoyances]]></category>

		<guid isPermaLink="false">http://iparrizar.mnstate.edu/~juan/urania/2008/07/23/saoimage-ds9-53beta-and-the-leopard-firewall-redux/</guid>
		<description><![CDATA[I can attest the Aqua version of SAOImage DS9 version 5.3beta does indeed play nice with Apple&#8217;s dopey firewall behavior (see here for notes on version 5.2&#8217;s incompatibility with the Leopard firewall). However, the command line version that uses X-windows DOES NOT play nice with the Leopard Firewall. If you run the X-windows version of [...]]]></description>
			<content:encoded><![CDATA[<p>I can attest the Aqua version of <a href="http://hea-www.harvard.edu/RD/ds9/">SAOImage DS9</a> version 5.3beta does indeed play nice with Apple&#8217;s dopey firewall behavior (<a href="http://iparrizar.mnstate.edu/~juan/urania/2008/07/19/two-astronomically-interesting-mac-software-updates-today/">see here</a> for notes on version 5.2&#8217;s incompatibility with the Leopard firewall). However, the command line version that uses X-windows <strong>DOES NOT</strong> play nice with the Leopard Firewall. If you run the X-windows version of &#8220;ds9&#8243; on a Mac running Leopard&#8217;s built in Firewall in &#8220;Set access for specific services and applications&#8221;, you will end up with a completely hosed ds9 executable which will not launch ever again.</p>
<p>As such, for now, since I prefer the X-windows version of <a href="http://hea-www.harvard.edu/RD/ds9/">SAOImage DS9</a>, I am leaving the the Firewall off for now, I&#8217;m not too concerned.</p>
]]></content:encoded>
			<wfw:commentRss>http://iparrizar.mnstate.edu/~juan/urania/2008/07/23/saoimage-ds9-53beta-and-the-leopard-firewall-redux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
