<?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>Possibility and Probability &#187; OS X</title>
	<atom:link href="http://ironboundsoftware.com/blog/category/programming/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://ironboundsoftware.com/blog</link>
	<description>Droplets of Yes and No</description>
	<lastBuildDate>Wed, 28 Dec 2011 01:37:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Linking against Python on the Mac</title>
		<link>http://ironboundsoftware.com/blog/2010/05/29/linking-against-python-on-the-mac/</link>
		<comments>http://ironboundsoftware.com/blog/2010/05/29/linking-against-python-on-the-mac/#comments</comments>
		<pubDate>Sat, 29 May 2010 14:00:12 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=344</guid>
		<description><![CDATA[Today while working with swig I kept running into problems trying to get python to read the generated output files. The error I finally wound up with was: Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap It turns out that on the Mac [...]]]></description>
			<content:encoded><![CDATA[<p>Today while working with <a href="http://swig.org">swig</a> I kept running into problems trying to get python to read the generated output files. The error I finally wound up with was:</p>
<blockquote>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Fatal Python error: Interpreter not initialized (version mismatch?)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Abort trap</div>
<blockquote><p>Fatal Python error: Interpreter not initialized (version mismatch?)</p></blockquote>
<blockquote><p>Abort trap</p></blockquote>
</blockquote>
<div>It turns out that on the Mac (OSX 10.6) that you have to pass gcc a special flag if you want to link against the python library. Traditionally you would do something like this:</div>
<blockquote>
<div>gcc myfile.c -l<strong>python</strong> -shared -o mylib.so</div>
</blockquote>
<div>But on the Mac is you have the Mac specific installer version of python (I think as opposed to building it at the command line), there is no libpython.so on your system, so the <em>-lpython</em> flag never works.</div>
<div>The solution is to use the <em>-framework</em> which tells gcc to look into the framework directory where OSX stores all of its specially configured tools/utilities/programs. (If you are wondering the python 2.6 framework is kept at this location: /Library/Frameworks/Python.framework/Versions/2.6/)</div>
<div>So using the example above, the proper incantation to produce a useable shared library linked against python is:</div>
<blockquote>
<div>gcc myfile.c -<strong>framework python</strong> -shared -o mylib.so</div>
</blockquote>
<div>That should produce something useable.</div>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2010/05/29/linking-against-python-on-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Being subversive with Subversion: Mercurial in the middle</title>
		<link>http://ironboundsoftware.com/blog/2010/02/25/being-subversive-with-subversion-mercurial-in-the-middle/</link>
		<comments>http://ironboundsoftware.com/blog/2010/02/25/being-subversive-with-subversion-mercurial-in-the-middle/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 03:41:52 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=329</guid>
		<description><![CDATA[DVCS is a popular topic these days on the internets, but for those of us who code for our day job find that more often than not we have to use the tried-and-true standard of something like CVS. Or if you are lucky, SVN. Personally I think SVN is pretty good (especially compared to CVS), [...]]]></description>
			<content:encoded><![CDATA[<p>DVCS is a popular topic these days on the internets, but for those of us who code for our day job find that more often than not we have to use the tried-and-true standard of something like CVS. Or if you are lucky, SVN. Personally I think SVN is pretty good (especially compared to CVS), but the other day a feature of DVCS&#8217;s caught my eye.</p>
<p>The ability to branch quickly and in a lightweight manner is one of the major selling points of systems like Mercurial and Git. Recently I&#8217;ve been thinking about trying out some refactorings and that can be difficult to do when you need to make sure that you can have a build-able version of your code at all times. Some things just take time, and the whole point of refactoring is to improve your code so rushing through it to meet an unrelated code deadline just doesn&#8217;t make a lot of sense.</p>
<p>Enter <a href="http://mercurial.selenic.com">Mercurial</a>.</p>
<p>There&#8217;s a project for Mercurial called <a href="http://mercurial.selenic.com/wiki/HgSubversion">hgsubversion</a> that will allow you to pull from a subversion repository and make a mercurial repository locally. (Yes, git has something similar) Then you can hack away to your heart&#8217;s content using hg to branch and keep track of changes without pushing the changes out globally to the other SVN users.</p>
<p>This is exactly what all of the cool kids using hg, git, and bzr have been doing for years. Now those of us who talk to SVN can leverage this technique to bring a little more awesomeness to our day-to-day work, and no one is the wiser. At least that&#8217;s my theory.</p>
<p>Installing hgsubversion on a Mac or in Cygwin is like pulling teeth. I take that back, pulling teeth is not as painful. Plus you can leave your teeth under your pillow for some cash&#8230; but I digress. The best way to install it (for me at least) is to do the following:</p>
<ul>
<li>Have the following installed: mercurial, easy_install, the XCode tools (command line tools like gcc)</li>
<li>Get a copy of the python swig bindings for Subversion. <a href="http://www.collab.net/downloads/community/">Collab</a> has prebuilt binaries that seem to work best. I just copied the bindings from /opt/subversion/lib/svn-python/ to my python site-packages directory. I installed Python 2.6, so for me that path is: /Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages</li>
<li>Get hgsubversion by typing at the command line: <em><code>hg clone http://bitbucket.org/durin42/hgsubversion/ ~/hgsubversion</code></em></li>
<li>cd into ~/hgsubversion/ and type in <em>python setup.py install</em></li>
<li>For me, the system had to download a few things and build them, so make sure you have XCode and the 10.4 SDK installed. (I&#8217;m running XCode 3.2.1 for this exercise)</li>
<li>Hopefully everything completes normally. If it does, do a victory shot. If it fails, do 2 shots and then try to figure out what went wrong.</li>
<li>Next make a file in your home directory called .hgrc</li>
<li>Inside the file put the following:</li>
</ul>
<blockquote><p>[extensions]<br />
rebase=<br />
svn=/Users/&lt;YOUR USERNAME&gt;/hgsubversion/hgsubversion</p></blockquote>
<ul>
<li>This <strong>should</strong> tell hg that you&#8217;ve got something extra for it. I went blind sometime during my attempts to get this working and had a typo in that line that kept me from getting it working for an embarrassingly long time.</li>
<li>If you have done everything right, the moon is in the proper phase, and the wind is blowing from the NW at 7 mph, then this command should let you pull down a project from Google code:</li>
</ul>
<blockquote><p>hg clone svn+http://&lt;A PROJECT OF YOUR CHOICE&gt;.googlecode.com/svn &lt;WHATEVER DIR&gt;</p></blockquote>
<ul>
<li>The end result should be a mercurial repository on your local machine. Refer to the link for hgsubversion for more details about commands and links to other installation instructions. (Some are older than others, and the commands have changed a little bit over time.)</li>
</ul>
<p>So, that&#8217;s what I&#8217;m up to. Hopefully this will let me do some interesting experiments locally without sacrificing the safety blanket of using version control.</p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2010/02/25/being-subversive-with-subversion-mercurial-in-the-middle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab vs. Space, part XIV</title>
		<link>http://ironboundsoftware.com/blog/2008/07/20/tab-vs-space-part-xiv/</link>
		<comments>http://ironboundsoftware.com/blog/2008/07/20/tab-vs-space-part-xiv/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 20:51:50 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/2008/07/20/tab-vs-space-part-xiv/</guid>
		<description><![CDATA[So, lets say you are working in XCode 3, and you are trying to build a PyObjC app but for some reason the python code you wrote isn&#8217;t getting called. If you are seeing weird errors in the console when you run the application (specifically &#8220;Could not connect the action &#60;your_action&#62; to target of class [...]]]></description>
			<content:encoded><![CDATA[<p>So, lets say you are working in XCode 3, and you are trying to build a PyObjC app but for some reason the python code you wrote isn&#8217;t getting called.</p>
<p>If you are seeing weird errors in the console when you run the application (specifically &#8220;Could not connect the action &lt;your_action&gt; to target of class &lt;your_AppDelgate_class&gt;&#8221;), here&#8217;s what it probably is: In the AppDelegate python file that XCode creates it uses spaces to do the indentation of the methods.</p>
<p>I hail from a land where tabs are used for such tasks, and the use of spaces is look down upon in much the same way that pick ones nose in public is.</p>
<p>At any rate, what&#8217;s happening is when the code is compiled/run the python interpreter is not recognizing the new methods that I put in (using tabs to indent) and instead of giving me a warning about inconsistent indention, it fails somewhat silently in that it groans it can&#8217;t hook the action up to the class and that&#8217;s it. It wasn&#8217;t until I turned on the invisible characters that this occurred to me that it might be the root cause of my problems.</p>
<p>Once setting all of the indentions to be the same, I chose tabs, everything worked like a champ.</p>
<p>By the way, if you are looking for some tutorials for PyObjC in XCode 3 (there are a ton of XCode 2 tutorials out there, but things have changed ever so slightly in 3), be sure to check out these links:</p>
<ul>
<li><a href="http://orestis.gr/en/blog/2008/05/17/pyobjc-hello-world/">PyObjC Hello world for XCode 3</a></li>
<li><a href="http://vstock.free.fr/pyobjc.html">PyObjC Resources</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2008/07/20/tab-vs-space-part-xiv/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XCode 3&#8242;s SCM makes me sad.</title>
		<link>http://ironboundsoftware.com/blog/2008/07/07/xcode-3s-scm-makes-me-sad/</link>
		<comments>http://ironboundsoftware.com/blog/2008/07/07/xcode-3s-scm-makes-me-sad/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 20:41:47 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/2008/07/07/xcode-3s-scm-makes-me-sad/</guid>
		<description><![CDATA[I just finished trying to use XCode 3&#8242;s built in support for Subversion. It did not end well. For starters I created a new XCode project, ran it to make sure it could build, and then decided to check it in to svn so that I would have a &#8220;clean&#8221; starting point in case I [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished trying to use XCode 3&#8242;s built in support for Subversion. It did not end well.</p>
<p>For starters I created a new XCode project, ran it to make sure it could build, and then decided to check it in to svn so that I would have a &#8220;clean&#8221; starting point in case I ran into problems. This is how I normally work in other IDE&#8217;s, and I&#8217;ve never had a problem. Until today.</p>
<p>After setting up the repository in XCode I couldn&#8217;t find how to set the project so that XCode would &#8220;know&#8221; it was under version control (or SCM as XCode refers to it). If you look at the project&#8217;s properties, there is a drop down list the lists the available repositories (or it offers to let you set up a new one, which is a nice shortcut). However, the repository I just added is grayed out. After a half hour of trying various &#8220;obvious&#8221; things I gave up and googled around.</p>
<p><iframe align="right" src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=5E5C5C&#038;fc1=FFFFFF&#038;lc1=FFCD00&#038;t=katieandnicks-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;asins=1590597532" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
<p>It turns out that XCode can&#8217;t create and then check in. The project has to be put into the repository, then checked out before XCode will recognize that it is under source control. Very unusual, but what ever, I decided to play along.  I used XCode&#8217;s svn browser (which isn&#8217;t half bad) to upload the code, then deleted the project and checked it out.</p>
<p>And right about then is when it became obvious that I was traveling the wrong way on a one way street. Here&#8217;s an executive summary of what I found so very, very, very wrong with XCode&#8217;s SCM integration:</p>
<ol>
<li>I had to create the project, check it in, then check it out for XCode to realize that it was under version control.</li>
<li>Although XCode has an svn repository browser that allows me check in and out the code, it doesn&#8217;t seem to know anything about XCode projects as it checked in the build directory without asking. For me (and a lot of developers I know) the last thing I want in version control are files that are going to change constantly (i.e. object files). Checking in a finished version, fine. Checking in a ba-jillion intermediate files: fail.</li>
<li>After checking out the project, XCode began complaining about there not being a lock on a file in the build directory. The error message actually said &#8220;This might be a bug, please report it.&#8221; Sorry Apple, I&#8217;m a nice guy, but I&#8217;ve got limits. This seems like something that shouldn&#8217;t happen on a fresh project (i.e. all boilerplate code, I haven&#8217;t done a thing to the project yet).</li>
<li>Deciding that I might be slightly smarter than the computer, I decided to delete the build directory in the repository. I tried to refresh the project to let it know there was a change it might need to be aware of. Instead I was made aware of the fact that there doesn&#8217;t seem to be one central view of what&#8217;s changed for the project. The near-useless SCM menu item in the project reported that one file had change, and I could not seem to get it to even look at the project as a whole. Maybe I&#8217;m spoiled by the way Eclipse handles this situation (which provides a bunch of clues in different areas, but all of which lead to a pretty straightforward GUI for dealing with changes). Even TextMate handles this decently (just not as good looking as Eclipse).</li>
</ol>
<p>By this time I just gave up. I removed the repository connection from the project settings, and decided to just go Command-line for doing my updates/commits. Life&#8217;s too short to be chasing my tail on stuff like this.</p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2008/07/07/xcode-3s-scm-makes-me-sad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming made simple: Quartz Composer</title>
		<link>http://ironboundsoftware.com/blog/2007/01/29/programming-made-simple-quartz-composer/</link>
		<comments>http://ironboundsoftware.com/blog/2007/01/29/programming-made-simple-quartz-composer/#comments</comments>
		<pubDate>Mon, 29 Jan 2007 19:56:37 +0000</pubDate>
		<dc:creator>Nick Loadholtes</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=268</guid>
		<description><![CDATA[I&#8217;ve been messing around with Cocoa for a few weeks now, mostly trying to make an OpenGL program. I&#8217;ve been making good progress, but man, it does get tedious. I&#8217;m not an OpenGL expert, so I&#8217;m constantly needing to look things up to make sure I&#8217;m on the right track. Last week at an Apple [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been messing around with <a href="http://developer.apple.com/cocoa/">Cocoa</a> for a few weeks now, mostly trying to make an <a href="http://www.opengl.org/">OpenGL</a> program. I&#8217;ve been making good progress, but man, it does get tedious. I&#8217;m not an OpenGL expert, so I&#8217;m constantly needing to look things up to make sure I&#8217;m on the right track.</p>
<p>Last week at an Apple ADC Tech Talk I saw an example of Quartz Composer.Â  I had only vaguely heard of Quartz Composer before and hadn&#8217;t really looked into it. It turns out that it is a very useful tool for building a neat GUI quickly, and is available as part of the Xcode tools. After getting home from the talk I played around with it and was able to build lots of cool demo-type apps very quickly.</p>
<p>And then&#8230; I discovered that it can be integrated into Cocoa apps <strong>very</strong> easily. I mean, I found this <a href="http://gemma.apple.com/documentation/GraphicsImaging/Conceptual/QuartzComposer/qc_intro/chapter_1_section_1.html">great tutorial on the Apple Dev site,</a> and within 5 minutes I had a Quartz Composer (QC) window running in my test app along side my OpenGL test window. And not a line of code was written. The absolute bets news is that you can expose the internals of the QC window to the Cocoa framework and then manipulate the QC object from your program!</p>
<p>That just rocks so hard. Now I can focus on the mechanics of my program instead of worrying about the mechanics of OpenGL. Of course, the QC isn&#8217;t 100% efficient as hand tuned code, but for most of what I want to do with it, its perfect! Thank you Apple!</p>
<p>As a side note, if you are interested in doing Mac development and you aren&#8217;t a member of the ADC (<a href="http://developer.apple.com/">Apple Developer Connection</a>), you really owe it to yourself to go sign up for one of their free accounts and check it out. Its a great resource for all things Mac and OS X.</p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2007/01/29/programming-made-simple-quartz-composer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fullscreen editors &#8211; The new battlefront</title>
		<link>http://ironboundsoftware.com/blog/2007/01/22/fullscreen-editors-the-new-battlefront/</link>
		<comments>http://ironboundsoftware.com/blog/2007/01/22/fullscreen-editors-the-new-battlefront/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 03:04:47 +0000</pubDate>
		<dc:creator>Nick Loadholtes</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=267</guid>
		<description><![CDATA[There&#8217;s a bit of controversy going on about Mark&#8217;s post about full screen writing apps. Mark doesn&#8217;t quite see the point of the application (it basically is a word processor that takes up the whole screen) and makes some comments about how he doesn&#8217;t like this. His comments were a bit over-the-top, and of course, [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a bit of controversy going on about Mark&#8217;s post about <a href="http://diveintomark.org/archives/2007/01/21/wrongroom">full screen writing apps</a>. Mark doesn&#8217;t quite see the point of the application (it basically is a word processor that takes up the whole screen) and makes some comments about how he doesn&#8217;t like this. His comments were a bit over-the-top, and of course, people took exception to this.</p>
<p>But this is nothing new. Emacs vs. vi, Whopper vs. The big Mac, Windows vs. Mac vs. Linux, Kirk vs. Picard. There have been many holy wars before, and there will be many more. And like most of them, this is one is over something seemingly small and insignificant.</p>
<p>For some people these apps are the best thing since sliced bread. Myself, I don&#8217;t really get the appeal of the application. If I want &#8220;full screen&#8221; editing, I usually just maximize the window, but I&#8217;m simple like that. To each his own I suppose, no one is forcing you to use the app.</p>
<p>But one thing I do get is the cool free publicity that these apps are getting! <a href="http://www.hogbaysoftware.com/product/writeroom">WriteRoom</a> is the leading full screen editor for the Mac, and with Mark&#8217;s blog post making the front page of <a href="http://reddit.com">Reddit</a>, I imagine that it is getting a lot new traffic which translates into new sales. At $24.95 a pop, even a dozen extra sales will mean a few extra hundred dollars for the developer.</p>
<p>That&#8217;s not too shabby. Hopefully this little flare up will result in the developer (<a href="http://www.hogbaysoftware.com/">Hog Bay Software</a>) winning a few new customers. Mac Developers can use all the free attention they can get&#8230; <img src='http://ironboundsoftware.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2007/01/22/fullscreen-editors-the-new-battlefront/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your Cocoa/XCode tip of the day</title>
		<link>http://ironboundsoftware.com/blog/2006/12/02/your-cocoaxcode-tip-of-the-day/</link>
		<comments>http://ironboundsoftware.com/blog/2006/12/02/your-cocoaxcode-tip-of-the-day/#comments</comments>
		<pubDate>Sun, 03 Dec 2006 04:23:13 +0000</pubDate>
		<dc:creator>Nick Loadholtes</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=259</guid>
		<description><![CDATA[When working with a Cocoa project (in XCode), if you decide to add a .cpp file (and it&#8217;s .h file) to the project you might notice a problem when building. I banged my head into this for about an hour before figuring it out. When I added the file(s), I did so by clicking on [...]]]></description>
			<content:encoded><![CDATA[<p>When working with a Cocoa project (in XCode), if you decide to add a .cpp file (and it&#8217;s .h file) to the project you might notice a problem when building. I banged my head into this for about an hour before figuring it out.</p>
<p>When I added the file(s), I did so by clicking on &#8220;New&#8221; and selecting a C++ file under &#8220;BSD&#8221; because it was the first option that I saw. It turns out when you do this, the Cocoa project settings will attempt to compile the files as Objective-C files (which they are not). This results in cryptic messages about a &#8220;parse error before&#8221; in you .h file.</p>
<p>The solution is to right click on the .cpp file, select info, then change the file type to &#8220;sourcecode.cpp.objcpp&#8221;. This tells XCode to use the Objective-C++ compiler to build the files, and from then on everything *seemed* to work ok. I&#8217;ve never worked with Objective-C (or Obj-C++), so I&#8217;m figuring this out as I go. If something bad seems to happen, I&#8217;ll post a follow up to let everyone know.</p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2006/12/02/your-cocoaxcode-tip-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Petit DosBox Setup</title>
		<link>http://ironboundsoftware.com/blog/2006/03/03/petit-dosbox-setup/</link>
		<comments>http://ironboundsoftware.com/blog/2006/03/03/petit-dosbox-setup/#comments</comments>
		<pubDate>Sat, 04 Mar 2006 00:34:03 +0000</pubDate>
		<dc:creator>Nick Loadholtes</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Wasteland]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=198</guid>
		<description><![CDATA[I had the Petit DosBox from OS X up and running a while ago, but today when I went to run it I kept getting an error about libSDL not being found. Last year I had an &#8220;incident&#8221; that basically required me to re-run the 10.4 installation. I think when I did that it must [...]]]></description>
			<content:encoded><![CDATA[<p>I had the <a href="http://web.jet.es/guilly/slouc/software_petitdosbox.html">Petit DosBox from OS X</a> up and running a while ago, but today when I went to run it I kept getting an error about libSDL not being found.</p>
<p>Last year I had an &#8220;incident&#8221; that basically required me to re-run the 10.4 installation. I think when I did that it must have wiped out the symbolic link I had made to get Petit to run. If you are finding yourself in this situation, here&#8217;s what I did to get it up and running (Mac Mini running OS X10.4.5):</p>
<blockquote><p><strong>WARNING</strong>: Only attempt this if you are confident of your computer skills <strong><em>*and*</em></strong> you have backups of your important data. This is a fairly safe thing I&#8217;m describing, but you are doing it at your own risk. I&#8217;m merely pointing out what I did and how it worked for me. Your mileage may vary. Proceed at your own risk.
</p></blockquote>
<ol>
<li>Open up a terminal window.</li>
<li>Type in <em>cd /usr/local/lib</em> and press return.</li>
<li>Type in <em>ls</em> and press return. Odds are there is nothing there.</li>
<li>If you don&#8217;t see anything that says SDL, type this in: <em>sudo su</em> and press return</li>
<li>Enter your system password. (Basically you are going to run as root for this next command)</li>
<li>Your prompt should now say &#8220;root&#8221;. Type in (or cut-n-paste) this line: <em>ln -s /sw/lib/libSDL-1.2.0.dylib libSDL-1.2.0.dylib</em> and press return.</li>
<li>Type in <em>ls</em> and press return. You should now see <strong>libSDL-1.2.0.dylib</strong>. At this point try running any Petit dos program. If it works, yaa! If not, you might be missing the SDL installation. I&#8217;m not sure if it comes with the Mac by default or ifI had installed it manually.</li>
</ol>
<p>If you have success or failure with these instructions, please leave a message in the comments. I&#8217;ll try to help out if I can (but no guarantees).</p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2006/03/03/petit-dosbox-setup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Camino 1.0!</title>
		<link>http://ironboundsoftware.com/blog/2006/02/15/camino-10/</link>
		<comments>http://ironboundsoftware.com/blog/2006/02/15/camino-10/#comments</comments>
		<pubDate>Thu, 16 Feb 2006 02:30:09 +0000</pubDate>
		<dc:creator>Nick Loadholtes</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=194</guid>
		<description><![CDATA[Its out! If you are running a Mac, you need to run the Camino web browser. (Think of it as Firefox for the Mac.) Go get it now!]]></description>
			<content:encoded><![CDATA[<p>Its out! If you are running a Mac, you need to run the <a href="http://www.caminobrowser.org/">Camino</a> web browser. (Think of it as Firefox for the Mac.)</p>
<p>Go get it <a href="http://www.caminobrowser.org/download/releases/1.0/">now</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2006/02/15/camino-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox vs. Camino: Round 2</title>
		<link>http://ironboundsoftware.com/blog/2006/01/16/firefox-vs-camino-round-2/</link>
		<comments>http://ironboundsoftware.com/blog/2006/01/16/firefox-vs-camino-round-2/#comments</comments>
		<pubDate>Mon, 16 Jan 2006 20:41:04 +0000</pubDate>
		<dc:creator>Nick Loadholtes</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.ironboundsoftware.com/blog/?p=187</guid>
		<description><![CDATA[Perhaps I was a bit hasty in my posting the other day when I claimed that Firefox was using less memory than Camino. After a day or two Firefox&#8217;s memory usage had climbed up quite a bit. So I&#8217;m going to amend my statement and say that they both seem to use a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>Perhaps I was a bit hasty in my posting the other day when I claimed that <a href="http://www.mozilla.com/firefox/">Firefox</a> was <a href="http://ironboundsoftware.com/blog/2006/01/02/camino-vs-firefox-fight/">using less memory</a> than <a href="http://www.caminobrowser.org/">Camino</a>. After a day or two Firefox&#8217;s memory usage had climbed up quite a bit. So I&#8217;m going to amend my statement and say that they both seem to use a lot of memory over time.</p>
<p>If nothing else, Camino scored another point with me when Firefox crashed on me the other day. Plus using Firefox on the Mac isn&#8217;t as satisfying as I thought it would be. The <a href="http://adblock.mozdev.org/">Adblock plugin</a> doesn&#8217;t work quite the same as it does in Windows, and that was a major disappointment. I&#8217;m sick of the flash based ads that are running everywhere that spike my CPU to 100% and make the whole system grind to a crawl. I was really hoping that Adblock would help with that, but I found it difficult to get it to mark a site as &#8220;needing to be blocked&#8221;. Another point for me was that Camino uses the native OS X buttons, where as Firefox uses the plain HTML web buttons.</p>
<p>On the bright side, Firefox does seem to handle flash better than Camino. The CPU only goes up to about 75% on the bad ads. *sigh*</p>
<p>What&#8217;s the lesson in this? For me its to make sure the next desktop computer I get has a minimum of 1GB of memory. Trying to skim by on 512MB in my Mac Mini was a bad idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://ironboundsoftware.com/blog/2006/01/16/firefox-vs-camino-round-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

