<?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>dicianno.org/blog &#187; osx</title>
	<atom:link href="http://dicianno.org/blog/category/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://dicianno.org/blog</link>
	<description>notes about computers and lifestyle</description>
	<lastBuildDate>Thu, 04 Feb 2010 21:09:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Prefix Portage v. Aquamacs v. aspell</title>
		<link>http://dicianno.org/blog/2008/11/12/prefix-portage-v-aquamacs-v-aspell/</link>
		<comments>http://dicianno.org/blog/2008/11/12/prefix-portage-v-aquamacs-v-aspell/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 02:49:14 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/?p=72</guid>
		<description><![CDATA[I come from a heavy Gentoo background in GNU/Linux land, so on OS X, I prefer Prefix Portage.  YMMV, but I think it&#8217;s a great environment.  I mainly use it to install the few extra UNIX utilities that don&#8217;t ship with OS X.
Wanting to get spell checking working, I read the Emacs Wiki, [...]]]></description>
			<content:encoded><![CDATA[<p>I come from a heavy Gentoo background in GNU/Linux land, so on OS X, I prefer Prefix Portage.  YMMV, but I think it&#8217;s a great environment.  I mainly use it to install the few extra UNIX utilities that don&#8217;t ship with OS X.</p>
<p>Wanting to get spell checking working, I read the Emacs Wiki, and thought all I had to do was install aspell.  I even added my prefix portage paths to my Preferences.el file:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="br0">&#40;</span>setenv <span class="st0">&quot;PATH&quot;</span> <span class="br0">&#40;</span>concat <span class="st0">&quot;/Library/Gentoo/bin&quot;</span> path-separator <span class="br0">&#40;</span>getenv <span class="st0">&quot;PATH&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#40;</span>setenv <span class="st0">&quot;PATH&quot;</span> <span class="br0">&#40;</span>concat <span class="st0">&quot;/Library/Gentoo/sbin&quot;</span> path-separator <span class="br0">&#40;</span>getenv <span class="st0">&quot;PATH&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#40;</span>setenv <span class="st0">&quot;PATH&quot;</span> <span class="br0">&#40;</span>concat <span class="st0">&quot;/Library/Gentoo/usr/bin&quot;</span> path-separator <span class="br0">&#40;</span>getenv <span class="st0">&quot;PATH&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#40;</span>setenv <span class="st0">&quot;PATH&quot;</span> <span class="br0">&#40;</span>concat <span class="st0">&quot;/Library/Gentoo/usr/sbin&quot;</span> path-separator <span class="br0">&#40;</span>getenv <span class="st0">&quot;PATH&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span></div>
</li>
</ol>
</div>
<p>While the above <strong>did</strong> change my path, it didn&#8217;t make spellcheck work.  The following code did:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="co1">;; spelling</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="br0">&#40;</span>eval-after-load <span class="st0">&quot;ispell&quot;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#40;</span><span class="kw1">progn</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#40;</span><span class="kw1">setq</span> ispell-dictionary <span class="st0">&quot;en&quot;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ispell-silently-savep t<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#40;</span>setq-default ispell-program-<span class="kw1">name</span> <span class="st0">&quot;/Library/Gentoo/usr/bin/aspell&quot;</span><span class="br0">&#41;</span></div>
</li>
</ol>
</div>
<p>The peculiar thing is that I had to specify the full path to aspell, and not just &#8220;aspell&#8221; with the above PATH additions.  Very strange; I&#8217;m no Lisp programmer (yet!), so any suggestions would be appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2008/11/12/prefix-portage-v-aquamacs-v-aspell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rubyosa-0.4.0 Bus Error</title>
		<link>http://dicianno.org/blog/2008/10/06/rubyosa-040-bus-error/</link>
		<comments>http://dicianno.org/blog/2008/10/06/rubyosa-040-bus-error/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 14:35:21 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[obt]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/?p=70</guid>
		<description><![CDATA[I was having some issues trying out the rubyosa gem, and found this useful japanese blog.
If you see an error like the following:



└──&#62; rdoc-osa &#8211;name Adium


/Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:530: &#91;BUG&#93; Bus Error


ruby 1.8.6 &#40;2008-03-03&#41; &#91;universal-darwin9.0&#93;


&#160;


Abort trap



&#8230; when you are attempting to generate documentation, then you need to install an older version of the libxml-ruby gem, and modify rubyosa [...]]]></description>
			<content:encoded><![CDATA[<p>I was having some issues trying out the rubyosa gem, and found <a href="http://d.hatena.ne.jp/Watson/20081005/1223151845">this</a> useful japanese blog.</p>
<p>If you see an error like the following:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">└──&gt; rdoc-osa &#8211;name Adium</div>
</li>
<li class="li1">
<div class="de1">/Library/Ruby/Gems/<span class="nu0">1.8</span>/gems/rubyosa<span class="nu0">-0.4</span><span class="nu0">.0</span>/lib/rbosa.rb:<span class="nu0">530</span>: <span class="br0">&#91;</span>BUG<span class="br0">&#93;</span> Bus Error</div>
</li>
<li class="li1">
<div class="de1">ruby <span class="nu0">1.8</span><span class="nu0">.6</span> <span class="br0">&#40;</span><span class="nu0">2008</span><span class="nu0">-03</span><span class="nu0">-03</span><span class="br0">&#41;</span> <span class="br0">&#91;</span>universal-darwin9<span class="nu0">.0</span><span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">Abort <span class="kw3">trap</span></div>
</li>
</ol>
</div>
<p>&#8230; when you are attempting to generate documentation, then you need to install an older version of the libxml-ruby gem, and modify rubyosa slightly.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">$ <span class="kw2">sudo</span> gem <span class="kw2">install</span> libxml-ruby &#8211;version <span class="nu0">0.3</span><span class="nu0">.8</span><span class="nu0">.4</span></div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">sudo</span> <span class="kw2">sed</span> -i -e <span class="st0">&quot;s|require &#8216;xml/libxml&#8217;|gem &#8216;xml/libxml&#8217;, &#8216;= 0.3.8.4&#8242;|&quot;</span> /Library/Ruby/Gems/<span class="nu0">1.8</span>/gems/rubyosa<span class="nu0">-0.4</span><span class="nu0">.0</span>/lib/rbosa.rb</div>
</li>
</ol>
</div>
<p>If this issue is fixed in rubyosa, a simple gem update will override the sed line you just ran, so you don&#8217;t need to worry about it again, unless you reinstall rubyosa-0.4.0.</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2008/10/06/rubyosa-040-bus-error/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Working with Spaces.app v. Workspaces as a concept</title>
		<link>http://dicianno.org/blog/2008/09/30/working-with-spacesapp-v-workspaces-as-a-concept/</link>
		<comments>http://dicianno.org/blog/2008/09/30/working-with-spacesapp-v-workspaces-as-a-concept/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 03:06:18 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/?p=66</guid>
		<description><![CDATA[First, I&#8217;m glad Apple began support of multiple workspaces with the release of Leopard last year.  Workspaces was a feature that was truly lacking from an otherwise feature-rich user interface in OS X.
Having spent a long time with GNU/Linux &#8212; long enough for it to shape my formative computer development years in high school [...]]]></description>
			<content:encoded><![CDATA[<p>First, I&#8217;m glad Apple began support of multiple workspaces with the release of Leopard last year.  Workspaces was a feature that was truly lacking from an otherwise feature-rich user interface in OS X.</p>
<p>Having spent <em>a long</em> time with GNU/Linux &#8212; long enough for it to shape my formative computer development years in high school circa 94-98 &#8212; I&#8217;ve spent time with the various desktops that implemented workspaces.  None &#8212; and I really mean <strong>none</strong> &#8212; have done workspaces better than <a href="http://www.suckless.org/wmii/">wmii</a>.  While the window-manager-that-actually-manages-windows-for-you concept might be strange to some (indeed, not being able to resize windows freely is strange to most), the concept of workspaces via tagging is so amazingly powerful.</p>
<p>It&#8217;s how workspaces should be done.</p>
<p>I&#8217;ve begun looking into implementing this on OS X using a combination of AppleScript and QuickSilver, or something similar.  Research so far isn&#8217;t promising.  The numbers of workspaces in Spaces.app really does correspond to an underlying data structure, so tagging &#8212; especially tagging of windows that should appear on multiple, but not all spaces &#8212; will have to be stored seperately.</p>
<p><P>I wonder how much fighting I&#8217;m going to need to do, to implement this?  Would anyone out there like to start an open project to collaborate on with me?  Contact me, and let&#8217;s get the ball rolling.</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2008/09/30/working-with-spacesapp-v-workspaces-as-a-concept/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Your wireless network has been compromised&#8221;</title>
		<link>http://dicianno.org/blog/2008/09/30/your-wireless-network-has-been-compromised/</link>
		<comments>http://dicianno.org/blog/2008/09/30/your-wireless-network-has-been-compromised/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 16:07:18 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[obt]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/?p=60</guid>
		<description><![CDATA[If you&#8217;re running Mac OS X 10.5 Leopard, and you see a somewhat frightening and terse error message that says &#8220;Your wireless network has been compromised&#8220;, then you&#8217;ve probably entered into a world of annoyance.  If you&#8217;re in the situation I was, this message begins to pop-up every few minutes.  Every time it [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running Mac OS X 10.5 Leopard, and you see a somewhat frightening and terse error message that says &#8220;<em>Your wireless network has been compromised</em>&#8220;, then you&#8217;ve probably entered into a world of annoyance.  If you&#8217;re in the situation I was, this message begins to pop-up every few minutes.  Every time it does, your network access is disabled for 60 seconds.  if you&#8217;re in a Mac-centric office, and many of the developers run VMWare Fusion or Parallels Desktop, you probably noticed this issue begin to appear by now.</p>
<p>You might have tried the following:</p>
<ul>
<li>Disabled security on your WiFi network</li>
<li>Regressed to WEP security</li>
<li>Told everyone not to use the wireless</li>
</ul>
<p>Clearly, none of these work-arounds is ideal.  There is hope.</p>
<p>The problem is among OS X 10.5 &#8211; VMWare Fusion / Parallels Desktop &#8211; the TKIP WPA2 security protocol.  For some reason, installing the VM programs creates a situation on the wireless network that causes a TKIP MIC (or a &#8220;<a href="http://www.ee.oulu.fi/research/ouspg/frontier/sota/whitepaper-wots/paper.html">Michael</a>&#8220;) message integrity check error.  In short: OSX and your router think that the network is being cracked, because of a way that the VM programs use or abuse the networking interface stack.</p>
<p>The <strong>solution</strong> is to regress the security, but by as little as possible.  Simply turn of TKIP or &#8220;TKIP+AES&#8221; encryption on your wireless device, and only allow AES encryption.  This is not ideal, because the Michael check is trying to warn you about network intrusion, however, it simply does not work.</p>
<p><strong>Caveat</strong>: if you find that AES encryption does not work on some devices, you are probably use the stock Linksys firmware on your router.  Consider upgrading to the <a href="http://www.dd-wrt.com/">DD-WRT</a> firmware.  Read the docs, go over notes for your router model, and take the plunge.  The stable Linux-based environment for your router will make your network <em>work</em>, as well as offering you more features, such as local DNS, for example.</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2008/09/30/your-wireless-network-has-been-compromised/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Terminal.app v. erlang and Latin-1 characters</title>
		<link>http://dicianno.org/blog/2007/08/04/terminalapp-v-erlang-and-latin-1-characters/</link>
		<comments>http://dicianno.org/blog/2007/08/04/terminalapp-v-erlang-and-latin-1-characters/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 00:13:30 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[erlang]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/2007/08/04/terminalapp-v-erlang-and-latin-1-characters/</guid>
		<description><![CDATA[On pages 29-30 of &#8220;Programming Erlang&#8221; by Joe Armstrong, the author goes over character strings.  Erlang uses Latin-1 as it&#8217;s character set.  At first, Terminal.app wasn&#8217;t showing the non-US / ASCII characters.
There&#8217;s a two-step process to solve this:

Terminal->Window Settings&#8230;->Display->&#8221;Character Set Encoding&#8221; set to &#8220;Western (ISO Latin 1)&#8221;
Set the environment variable LC_ALL to &#8220;en_US&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>On pages 29-30 of &#8220;Programming Erlang&#8221; by Joe Armstrong, the author goes over character strings.  Erlang uses Latin-1 as it&#8217;s character set.  At first, Terminal.app wasn&#8217;t showing the non-US / ASCII characters.</p>
<p>There&#8217;s a two-step process to solve this:</p>
<ol>
<li>Terminal->Window Settings&#8230;->Display->&#8221;Character Set Encoding&#8221; set to &#8220;Western (ISO Latin 1)&#8221;</li>
<li>Set the environment variable LC_ALL to &#8220;en_US&#8221; before you run <code>erl</code>.  Also, see the next paragraph for explanations.</li>
</ol>
<p><a href="http://www.dicianno.org/blog/wp-content/uploads/2007/08/terminalapp-erlang-latin-1.png" border="0"><img src="http://www.dicianno.org/blog/wp-content/uploads/2007/08/terminalapp-erlang-latin-1.png" alt="Terminal.app Erlang Latin 1" align="right" height="132" width="124" style="padding: 20px 12px 10px 0" border="0"></a><a href="http://www.dicianno.org/blog/wp-content/uploads/2007/08/terminalapp-latin-1-settings.png" border="0"><img src="http://www.dicianno.org/blog/wp-content/uploads/2007/08/terminalapp-latin-1-settings.png" alt="Terminal.app Latin 1 Settings" align="left" height="108" width="72" style="padding: 20px 12px 10px 0" border="0"></a></p>
<p>The above steps are for U.S. English &#8212; something similar is available for most locales, but I don&#8217;t know the specifics.  Of note, is the 2nd step; firstly, LC_CTYPE is the specific value to set, but LC_ALL sets LC_* to the assigned value, so one usually wants LC_ALL, unless you have a very unique locale configuration.  Secondly, I&#8217;m using Gentoo Prefix Portage environment on OSX, so while I feel that these directions are applicable to most OSX installs, my setup is slightly different, so your mileage may vary.  Thirdly, for those that <strong>need</strong> UTF-8, they can set LC_ALL to &#8220;en_US.UTF-8&#8243;, and then they only have to toggle Terminal.app&#8217;s character set encoding.  Why en_US.UTF-8 works, I do not know &#8212; Latin 1 is not a subset of UTF-8, so I&#8217;ll leave that to more inquiring minds.</p>
<p>After you find settings that you are happy with, consider adding <code>export LC_ALL="en_US.UTF-8"</code> to your ~/.bash_profile if you&#8217;d like it to load with every terminal window that opens.  My ~/.bash_profile sources my ~/.bashrc, because ~/.bashrc is supposed to be <em>safe</em> for scripts that run as your user, but non-interactively; so, ~/.bash_profile tends to get a lot of my environment <em>look and feel</em> code.</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2007/08/04/terminalapp-v-erlang-and-latin-1-characters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>T-Mobile Dash, OS X, and Internet Sharing</title>
		<link>http://dicianno.org/blog/2007/08/02/t-mobile-dash-os-x-and-internet-sharing/</link>
		<comments>http://dicianno.org/blog/2007/08/02/t-mobile-dash-os-x-and-internet-sharing/#comments</comments>
		<pubDate>Thu, 02 Aug 2007 16:15:49 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[osx]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/2007/08/02/t-mobile-dash-os-x-and-internet-sharing/</guid>
		<description><![CDATA[UPDATE: everyone at my workplace knows that I love to iPhone-hate, but I would just like to compare the annoying but simple PAN tethering steps for OSX to Dash with the steps described here.  Suffice to say, you need to hack the iPhone&#8217;s OS &#8212; a terrible only-option, in my opinion, but a well [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong>: everyone at my workplace knows that I love to iPhone-hate, but I would just like to compare the annoying but simple PAN tethering steps for OSX to Dash with the steps described <a href="http://cre.ations.net/blog/post/tether-your-iphone">here</a>.  Suffice to say, you need to hack the iPhone&#8217;s OS &#8212; a terrible only-option, in my opinion, but a well documented one.  I used to hack on homebrew software for my PSP, so I can appreciate these efforts, but I also don&#8217;t take <em>having to</em> use homebrew seriously, especially for high-end phones.  <strong>Laughable</strong>.</p>
<p>I recently upgraded my aging Treo 650.  I really do like the Palm OS &#8212; I&#8217;ve been using it for years and years &#8212; but the phone was starting to drop calls frequently after one too many drops straight on it&#8217;s antenna.  *whoops*</p>
<p>So, I got a T-Mobile Dash.  As a phone, I like it.  As a OSX user that likes having internet connectivity, as well as a business person  that likes syncing my calender, tasks, etceteras, I knew I was going to be in for some fun.</p>
<p>Say what you will about how awesome the iPhone is, but for feature-set and &#8220;bang for buck,&#8221; the Dash is a clear winner.  Considering I work for a media-centric company, not being able to record videos on the iPhone made it a non-option almost immediately.</p>
<p>I installed the Windows Mobile 6 upgrade (<a href="http://www.t-mobile.com/wmupgrade/">link</a>).  You&#8217;re going to have to do this from a Windows box, or from within Parallels or VMware.  I didn&#8217;t use WM5 for long, but WM6 is stable, and honestly, a lot more pretty.</p>
<p>I&#8217;m using Mark/Space Missing Sync for Windows Mobile 4.0 (<a href="http://www.markspace.com/missingsync_windowsmobile.php">link</a>).  The pre-lease worked pretty well, but I&#8217;ve been having some issues with the current release.  I have a good feeling from the Mark/Space people, however, so I think that it will be resolved soon.</p>
<p>There is some really good news, as well.  Since 10.4.9, OSX supports PAN bluetooth profile, so I can use my Dash as a modem!  On the Dash, you can turn this feature on by going to Start->Accessories->Internet Sharing, then make sure &#8220;PC Connection&#8221; is &#8220;Bluetooth PAN&#8221;, &#8220;Network Connection&#8221; is &#8220;T-Mobile Data&#8221;, and click &#8220;Connect&#8221;.  On the OSX side, if the Bluetooth menu is in your menubar, just click on it, and select &#8220;Join Network on XXXX,&#8221; where XXXX is your device name.</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2007/08/02/t-mobile-dash-os-x-and-internet-sharing/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>erlang TextMate Bundle</title>
		<link>http://dicianno.org/blog/2007/07/31/erlang-textmate-bundle/</link>
		<comments>http://dicianno.org/blog/2007/07/31/erlang-textmate-bundle/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 06:20:52 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[erlang]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/2007/07/31/erlang-textmate-bundle/</guid>
		<description><![CDATA[I found this post containing a script that svn checkouts a fairly functional erlang TextMate bundle.  Neat-o!
I edited the bundle to allow it to update itself, using a slightly modified form of the original script.

Bundles->Bundle Editor->Show Bundle Editor
Click on the menu entry text &#8220;erlang&#8221;
Drag a new separator to the bottom of the erlang bundle [...]]]></description>
			<content:encoded><![CDATA[<p>I found <a href="http://oneless.blogspot.com/2007/04/howto-erlang-textmate-bundle.html">this</a> post containing a script that svn checkouts a fairly functional erlang TextMate bundle.  Neat-o!</p>
<p>I edited the bundle to allow it to update itself, using a slightly modified form of the original script.</p>
<ul>
<li>Bundles->Bundle Editor->Show Bundle Editor</li>
<li>Click on the menu entry <strong>text</strong> &#8220;erlang&#8221;</li>
<li>Drag a new separator to the bottom of the erlang bundle menu structure</li>
<li>Expand the erlang bundle menu</li>
<li>Use the drop-down + to create a new command</li>
<li>
<ul>
<li>Save: Nothing</li>
<li>
				<span>Command(s):</span></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="re3">#!/bin/bash</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#91;</span> -z <span class="st0">&quot;${TM_SVN}&quot;</span> <span class="br0">&#93;</span>; <span class="kw1">then</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw3">echo</span> <span class="st0">&quot;You must define the location of your svn client in the variable TM_SVN.&quot;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="kw3">exit</span> <span class="nu0">1</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">fi</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">echo</span> <span class="st0">&quot;Changing to Bundles directory&#8230;&quot;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">mkdir</span> -p /Library/Application\ Support/TextMate/Bundles</div>
</li>
<li class="li2">
<div class="de2"><span class="kw3">cd</span> /Library/Application\ Support/TextMate/Bundles</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#91;</span> -d /Library/Application\ Support/TextMate/Bundles/Erlang.tmbundle <span class="br0">&#93;</span>; <span class="kw1">then</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw3">echo</span> Erlang bundle already exists &#8211; updating&#8230;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="re1">$TM_SVN</span> up Erlang.tmbundle</div>
</li>
<li class="li2">
<div class="de2"><span class="kw1">else</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw3">echo</span> Checking out Erlang bundle&#8230;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="re1">$TM_SVN</span> &#8211;username anon &#8211;password anon <span class="kw2">co</span> http://macromates.com/svn/Bundles/trunk/Bundles/Erlang.tmbundle/</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">fi</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="kw3">echo</span> <span class="st0">&quot;Reloading bundles in TextMate&#8230;&quot;</span></div>
</li>
<li class="li1">
<div class="de1">osascript -e <span class="st0">&#8216;tell app &quot;TextMate&quot; to reload bundles&#8217;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">exit</span> <span class="nu0">0</span></div>
</li>
</ol>
</div>
<p>			<span><a href="http://www.dicianno.org/files/textmate/textmate-erlang-bundle-update-command.txt">as downloadble file</a>
			</li>
<li>Input: None</li>
<li>Output: Show as Tool Tip</li>
</ul>
</li>
</ul>
<p>Now you can update the bundle from it&#8217;s own menu option!</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2007/07/31/erlang-textmate-bundle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>built-in iSight on my MBP can&#8217;t record video</title>
		<link>http://dicianno.org/blog/2007/06/15/built-in-isight-on-my-mbp-cant-record-video/</link>
		<comments>http://dicianno.org/blog/2007/06/15/built-in-isight-on-my-mbp-cant-record-video/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 08:02:30 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[osx]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/2007/06/15/built-in-isight-on-my-mbp-cant-record-video/</guid>
		<description><![CDATA[Somehow, my MBP&#8217;s install is messed up, and the built-in iSight camera cannot be read from in video mode &#8212; but yet, still pictures work.  I discovered this, as I could not get QuickTime Broadcaster&#8217;s preview view to show any video (or for it to broadcast).  Then, I discovered that iChat cannot initiate [...]]]></description>
			<content:encoded><![CDATA[<p>Somehow, my MBP&#8217;s install is messed up, and the built-in iSight camera cannot be read from in video mode &#8212; but yet, still pictures work.  I discovered this, as I could not get QuickTime Broadcaster&#8217;s preview view to show any video (or for it to broadcast).  Then, I discovered that iChat cannot initiate any video chats with anyone.</p>
<p>I have no clue how this problem started.  Part of me wants to blame Darwin Streaming Server.  I have it turned off, so I no it&#8217;s not a conflict with it running, but part of me wonders if just installing it messed something up.</p>
<p>I really don&#8217;t want to reinstall OSX. *sigh*</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2007/06/15/built-in-isight-on-my-mbp-cant-record-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>There and back again &#8230;</title>
		<link>http://dicianno.org/blog/2007/02/24/there-and-back-again/</link>
		<comments>http://dicianno.org/blog/2007/02/24/there-and-back-again/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 20:58:32 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/blog/2007/02/24/there-and-back-again/</guid>
		<description><![CDATA[Lately, I&#8217;ve been using OSX as my primary operating system, and I&#8217;m taking this chance to test posting from TextMate to Wordpress.
]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve been using OSX as my primary operating system, and I&#8217;m taking this chance to test posting from TextMate to Wordpress.</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2007/02/24/there-and-back-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PostgreSQL 8 on OSX via port</title>
		<link>http://dicianno.org/blog/2006/05/17/installing-and-configuring-postgresql-8-on-osx-via-port/</link>
		<comments>http://dicianno.org/blog/2006/05/17/installing-and-configuring-postgresql-8-on-osx-via-port/#comments</comments>
		<pubDate>Wed, 17 May 2006 21:52:59 +0000</pubDate>
		<dc:creator>armando</dc:creator>
				<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.dicianno.org/2006/05/17/installing-and-configuring-postgresql-8-on-osx-via-port/</guid>
		<description><![CDATA[Attempting to install postgres via Darwin Ports forced me, for the first time to try to utilize variants.  From what I understand, variants are somewhat like USE flags in Gentoo, but beyond that, I don&#8217;t know much.
The default postgres version in port is still 7, but postgresql8 is also in port, and currently is [...]]]></description>
			<content:encoded><![CDATA[<p>Attempting to install postgres via <a href="http://www.darwinports.org">Darwin Ports</a> forced me, for the first time to try to utilize variants.  From what I understand, variants are somewhat like USE flags in <a href="http://www.gentoo.org">Gentoo</a>, but beyond that, I don&#8217;t know much.</p>
<p>The default postgres version in port is still 7, but postgresql8 is also in port, and currently is version 8.1.3.  Looking at its <a href="http://www.darwinports.org/darwinports/dports/databases/postgresql8/Portfile">Portfile</a>, we can see that the server variant tells you handy commands that assist in setting up the server.  To install the server variant, run:</p>
<p class="code">sudo port install postgresql8 +server</p>
<p>After the install, if you load NetInfo Manager, you&#8217;ll notice that a postgres8 user was added.  That user is used to set permissions in the steps you are asked to execute by the port post-install process.  Follow the directions for setting up the default database, as well as interfacing with launchd.  Reading <tt>man launchctl</tt> can&#8217;t hurt either.</p>
<p>The following seems to restart the server, not stop it:</p>
<p class="code">sudo launchctl stop org.darwinports.postgresql8</p>
<p>The following can be used to fully stop the server:</p>
<p class="code">sudo launchctl unload -w /opt/local/etc/LaunchDaemons/org.darwinports.postgresql8/org.darwinports.postgresql8.plist</p>
<p>&#8230; and to start (from a stopped state):</p>
<p class="code">sudo launchctl load -w /opt/local/etc/LaunchDaemons/org.darwinports.postgresql8/org.darwinports.postgresql8.plist</p>
]]></content:encoded>
			<wfw:commentRss>http://dicianno.org/blog/2006/05/17/installing-and-configuring-postgresql-8-on-osx-via-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
