<?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>bbum&#039;s weblog-o-mat &#187; Search Results  &#187;  restedit</title>
	<atom:link href="http://www.friday.com/bbum/search/restedit/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://www.friday.com/bbum</link>
	<description>...so google can index my head.</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:32:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ReSTedit gains significant new features.</title>
		<link>http://www.friday.com/bbum/2005/04/30/restedit-gains-significant-new-features/</link>
		<comments>http://www.friday.com/bbum/2005/04/30/restedit-gains-significant-new-features/#comments</comments>
		<pubDate>Sun, 01 May 2005 00:18:03 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2005/04/30/restedit-gains-significant-new-features/</guid>
		<description><![CDATA[So, after slogging long and hard through the wee hours of the night, ReSTedit now supports non-contiguous selection and columnar selection. Simply cmd-drag to extend the selection in a non-contiguous manner and option-drag to make a columnar selection. It was really really hard to do. Yup. That is all a pack of lies outside of [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left; margin-right: 10px; margin-bottom: 10px;"><img src="http://www.friday.com/bbum//files/2005/4/30/Urchin.jpg" width="128" height="128" alt="Hibiscus" /></div>
<p>So, after slogging long and hard through the wee hours of the night, <a href="http://svn.red-bean.com/restedit/trunk/">ReSTedit</a> now supports non-contiguous selection and columnar selection.   Simply cmd-drag to extend the selection in a non-contiguous manner and option-drag to make a columnar selection.</p>
<p>It was really really hard to do.</p>
<p>Yup.  That is all a pack of lies outside of that ReSTedit now has said features.  I didn&#8217;t do anything other than notice a new feature in Cocoa&#8217;s Text subsystem.   All Cocoa apps now support these features which means, of course, that all <a href="http://pyobjc.sourceforge.net/">PyObjC</a> apps support these features, as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2005/04/30/restedit-gains-significant-new-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Python on Mac OS X</title>
		<link>http://www.friday.com/bbum/2005/02/22/getting-started-with-python-on-mac-os-x/</link>
		<comments>http://www.friday.com/bbum/2005/02/22/getting-started-with-python-on-mac-os-x/#comments</comments>
		<pubDate>Tue, 22 Feb 2005 11:59:15 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2005/02/22/getting-started-with-python-on-mac-os-x/</guid>
		<description><![CDATA[A friend asked me what he should install onto his Mac OS X system to most effectively learn Python. This particular person is a very experienced Objective-C and Java developer, with loads of Mac OS X specific adventures. This post is targeted to that kind of developer. Mac OS X ships with a perfectly usable [...]]]></description>
			<content:encoded><![CDATA[<p>A friend asked me what he should install onto his Mac OS X system to most effectively learn Python.  This particular person is a very experienced Objective-C and Java developer, with loads of Mac OS X specific adventures.  </p>
<p>This post is targeted to that kind of developer.</p>
<p>Mac OS X ships with a perfectly usable build of Python included in the system (as long as you install the BSD package, which is enabled by default).</p>
<p>First, install the most recent production release of the <a href="http://metissian.com/projects/macosx/subversion/">Subversion client</a>.  That link leads to some very convenient to install packages. Alternatively, installation via <a href="http://fink.sourceforge.net/">Fink</a> or <a href="http://darwinports.opendarwin.org/">DarwinPorts</a> will also work quite nicely.  Or you can build it <a href="http://subversion.tigris.org/">from the source</a>.</p>
<p>Next, grab a pre-compiled copy of <a href="http://www.friday.com/bbum//files/2005/2/21/readline.so.gz">the readline.so module</a>.  Decompress it, then copy it into the appropriate place within /Library/Python/2.3/.   Interactive Python without readline is miserable.</p>
<p>Then grab the top-of-tree of the <a href="http://svn.red-bean.com/pyobjc/trunk/pyobjc/">PyObjC</a> repository via Subversion.   The top-of-tree is almost always very stable as a result of the relatively large and high quality unit testing suite and the focus-on-quality of the developers.  Once installed, the benefits are two fold.  First, it will install PyObjC, including all examples, the Xcode templates, and the runtime itself.  Secondly, it will install py2app which will allow one to easily package Python modules and applications, including creating Installer packages out of any standard Python module.</p>
<pre>
svn co http://svn.red-bean.com/pyobjc/trunk/pyobjc/
</pre>
<p>And build/install it:</p>
<pre>
python setup.py bdist_mpkg --open
</pre>
<p>The above will build a .mpkg that contains PyObjC, py2app, and related resources, then open it the Installer application.</p>
<p>From there, it is a matter of choosing your favorite editor.   <a href="http://www.apple.com/macosx/features/xcode/">Xcode</a>, <a href="http://www.codingmonkeys.de/subethaedit/">SubEthaEdit</a> and <a href="http://www.gnu.org/software/emacs/emacs.html">Emacs</a> can all edit Python quite effectively.  The key is to <i>turn off tabs</i>.  Never, ever, insert tabs into Python source &#8212; always use spaces.</p>
<p>There are other editors available. I pretty much stick to a mix of Emacs with a custom setup (you&#8217;ll want to grab the latest <a href="http://sourceforge.net/projects/python-mode/">python-mode</a>, at the least) and Xcode, with the occasional bout of SubEthaEdit, depending on mood.</p>
<p>For learning Python, I would start with <a href="http://www.diveintopython.org/">Dive Into Python</a> and then&#8211; because this is aimed to Mac OS X developers&#8211; move on to ripping into the PyObjC examples.  Also, <a href="http://svn.red-bean.com/restedit/trunk/">ReSTedit</a> is a fairly decent sized Cocoa-Python application that is under active development, tends to track the latest changes in PyObjC, and has a couple of relatively complex third-party Objective-C classes integrated into the project.</p>
<p>That should provide a pretty decent foundation for both generic and Mac OS X specific Python development.  Certainly, there are any number of other tools that one might install, varying in size and complexity.</p>
<p>Recommendations, corrections, and suggestions welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2005/02/22/getting-started-with-python-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New CSS for ReSTedit</title>
		<link>http://www.friday.com/bbum/2005/01/06/new-css-for-restedit/</link>
		<comments>http://www.friday.com/bbum/2005/01/06/new-css-for-restedit/#comments</comments>
		<pubDate>Thu, 06 Jan 2005 10:15:15 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2005/01/06/new-css-for-restedit/</guid>
		<description><![CDATA[Ian Bicking submitted some new CSS for ReSTedit. It can be found in the subversion repository and I have built a one-off binary of the app that includes it in the app wrapper. I re-rendered both the Primer and ReST Specification with the new CSS. Click through for a view of how it looks. Thank [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.ianbicking.org/">Ian Bicking</a> submitted some new CSS for ReSTedit.  It can be found in the <a href="http://svn.red-bean.com/restedit/trunk/source/">subversion repository</a> and I have built a <a href="http://www.friday.com/bbum//files/2005/1/5/ReSTedit.zip">one-off binary</a> of the app that includes it in the app wrapper.</p>
<p>I re-rendered both the <a href="http://www.friday.com/bbum//files/2005/1/5/Primer-Bars.html">Primer</a> and <a href="http://www.friday.com/bbum//files/2005/1/5/Specification-Bars.html">ReST Specification</a> with the new CSS.  Click through for a view of how it looks.</p>
<p>Thank you to Ian for providing the CSS!   Very nice.</p>
<p>I also added the PEP CSS as found in the Docutils CVS repository.  It is even more plain than the default CSS.   There is certainly room for more styles.</p>
<p>Now I just need to figure out how to deal with setting a default style and potentially remembering the style per document.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2005/01/06/new-css-for-restedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS for ReSTedit (and reStructured Text)</title>
		<link>http://www.friday.com/bbum/2005/01/02/css-for-restedit-and-restructured-text/</link>
		<comments>http://www.friday.com/bbum/2005/01/02/css-for-restedit-and-restructured-text/#comments</comments>
		<pubDate>Sun, 02 Jan 2005 23:12:48 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2005/01/02/css-for-restedit-and-restructured-text/</guid>
		<description><![CDATA[As a followup to my previous post, two folks have volunteered to take a crack at producing better CSS for use within ReSTedit and docutils. That would be a supremely welcome contribution. I have rendered both A ReStructuredText Primer and reStructuredText Markup Specification. Each document embeds the default CSS included with docutils. The ReSTedit README [...]]]></description>
			<content:encoded><![CDATA[<p>As a followup to my previous post, two folks have volunteered to take a crack at producing better CSS for use within ReSTedit and docutils.   That would be a supremely welcome contribution.</p>
<p>I have rendered both <a href="http://www.friday.com/bbum//files/2005/1/4/ReST_Primer.html">A ReStructuredText Primer</a> and <a href="http://www.friday.com/bbum//files/2005/1/4/ReST_Specification.html">reStructuredText Markup Specification</a>.  Each document embeds the <a href="http://svn.red-bean.com/restedit/trunk/source/default.css">default CSS</a> included with docutils.</p>
<p>The <a href="http://svn.red-bean.com/restedit/trunk/README.html">ReSTedit README</a> is a simple reStructured Text document that does not include the embedded CSS.</p>
<p>Note that this would benefit a lot more than just the ReSTedit community.  <a href="http://docutils.sourceforge.net/">docutils</a> is the underlying formatting engine used by ReSTedit.   It is portable to all platforms that run Python and has a good sized user and quite active user community.   This subject has come up within that community several times and a choice of different CSS has been on the todo list for a long time.</p>
<p>Also, there is a growing community of weblogggers that are using reStructured Text for their posting.  A variety of CSS would help that community, too.</p>
<p>Feel free to <a href="mailto:restedit@mac.com">email me</a> any CSS contributions.  Anything that is an improvement will be added to ReSTedit and forwarded to the docutils community.</p>
<p><b>Update:</b> Links to the spec and primer are [hopefully] fixed now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2005/01/02/css-for-restedit-and-restructured-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clueless &amp; Accurate Criticism of ReSTedit</title>
		<link>http://www.friday.com/bbum/2004/12/31/clueless-accurate-criticism-of-restedit/</link>
		<comments>http://www.friday.com/bbum/2004/12/31/clueless-accurate-criticism-of-restedit/#comments</comments>
		<pubDate>Sat, 01 Jan 2005 00:47:06 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2004/12/31/clueless-accurate-criticism-of-restedit/</guid>
		<description><![CDATA[Stain seemed to be rather focused on trying to be as negative as possible in his reaction to ReSTedit. I like the idea, but the result is useless. The &#8220;Render&#8221; button is slow, Auto Update isn&#8217;t Auto, and for some reason the rendered text is fucked up with characters being way to high. See http://soiland.no/screenshots/restedit.png/view [...]]]></description>
			<content:encoded><![CDATA[<p><a href="">Stain</a> seemed to be rather focused on trying to be as negative as possible in his reaction to ReSTedit.</p>
<p><i>I like the idea, but the result is useless. The &#8220;Render&#8221; button is slow, Auto Update isn&#8217;t Auto, and for some reason the rendered text is fucked up with characters being way to high.</p>
<p>See <a href="http://soiland.no/screenshots/restedit.png/view">http://soiland.no/screenshots/restedit.png/view</a> for example</i></p>
<p>I like the claim that the render button is slow.  Not only is it slow, it isn&#8217;t hooked up at all!  Neither is the Auto Update checkbox.  The only rendering the app does is via the Auto Update timer, which he claimed didn&#8217;t work.   That is pretty funny.</p>
<p>Now, as far as his claim that the output is rather fugly.  Yup.  Absolutely right.  Sucks, doesn&#8217;t it.</p>
<p>So fix it and send me some new CSS!  I tried and <a href="http://www.friday.com/bbum/2004/3/11/">was tortured</a> by the tools used to edit CSS (that, and I suck at web page design anyway).</p>
<p>The output format is entirely controlled by a CSS file found within the app wrapper.  It is the same CSS that is provided in the docutils project source.   Fix up that CSS and the rendered documents will look much better.</p>
<p><b>Update:</b> I have added a toolbar item that allows you to quickly swap between style sheets.   It is populated with any style sheets found in <i>~/Library/Application Support/ReSTedit</i> and in the app&#8217;s wrapper.</p>
<p><a href="http://svn.red-bean.com/restedit/trunk/source/default.css">This link</a> leads to the current CSS style sheet used by docutils (and, hence, ReSTedit).  Save it into the above directory and edit away!</p>
<p>And, of course, if anyone comes up with a decent style sheet or two, I&#8217;ll quite happily add it into the ReSTedit source.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2004/12/31/clueless-accurate-criticism-of-restedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ReSTedit now renders MarkDown</title>
		<link>http://www.friday.com/bbum/2004/12/30/restedit-now-renders-markdown/</link>
		<comments>http://www.friday.com/bbum/2004/12/30/restedit-now-renders-markdown/#comments</comments>
		<pubDate>Fri, 31 Dec 2004 01:56:19 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2004/12/30/restedit-now-renders-markdown/</guid>
		<description><![CDATA[Dale Gillard pontificated in the original ReSTedit 0.50 release posting about wanting an application like ReSTedit that supports Gruber&#8217;s MarkDown. As it turns out, it was trivial to add support for such to ReSTedit and doing so lays the foundation for different kinds of docutils output&#8211; HTML without CSS, PDF, etc..&#8211; that has been on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.geocities.com/dmgsoftware/">Dale Gillard</a> pontificated in the original <a href="http://www.friday.com/bbum/2004/12/29/">ReSTedit 0.50 release posting</a> about wanting an application like ReSTedit that supports <a href="http://daringfireball.net/projects/markdown/">Gruber&#8217;s MarkDown</a>.</p>
<p>As it turns out, it was trivial to add support for such to ReSTedit and doing so lays the foundation for different kinds of <a href="http://docutil.sourceforge.net/">docutils</a> output&#8211; HTML without CSS, PDF, etc..&#8211; that has been on the <a href="http://svn.red-bean.com/restedit/trunk/TODO.html">TODO</a> list since the project was started.</p>
<p>The current <a href="http://svn.red-bean.com/restedit/trunk/source/">ReSTedit top-of-tree</a> contains support for MarkDown.  There is now a pop-up button on the toolbar that can be toggled between ReST and MarkDown.  As soon as it changes, the content on the left is re-rendered using whatever markup language has been selected.</p>
<p>ReStructured Text seems to be a superset of MarkDown;   I don&#8217;t really see anything in MarkDown that can&#8217;t be done in ReStructured Text nearly as conveniently.   From my brief play, I&#8217;m not sure why there was a need for MarkDown as opposed to simply using docutils &#038; ReStructured Text directly.   It is quite convenient that MarkDown can produce document fragments, but it would not be hard to patch docutils to do exactly that.</p>
<p>In any case, if you want to build a version of ReSTedit that supports MarkDown (on Panther), then:</p>
<p>- download and install PyObjC 1.2</p>
<p>- download and install docutils 0.3.8 (package on my file sharing page)</p>
<p>- grab the source from <a href="http://svn.red-bean.com/restedit/trunk/source/">here</a> (you can mount that URL in the Finder or use &#8216;svn checkout&#8217;)</p>
<p>- cd into the restedit source and <b>python setup.py py2app</b></p>
<p>The built app will be found in the <b>dist/</b> directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2004/12/30/restedit-now-renders-markdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ReSTedit 0.50 Available</title>
		<link>http://www.friday.com/bbum/2004/12/29/restedit-050-available/</link>
		<comments>http://www.friday.com/bbum/2004/12/29/restedit-050-available/#comments</comments>
		<pubDate>Thu, 30 Dec 2004 01:40:59 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[PyObjC]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2004/12/29/restedit-050-available/</guid>
		<description><![CDATA[A build of ReSTedit 0.50 is available on my .mac file download page. It should &#8220;just work&#8221; on any Mac OS X 10.3 system as it includes both the pyobjc and docutils libraries within the app wrapper. Beyond a handful of bug fixes, ReSTedit includes new features described in this post. The README and ToDo [...]]]></description>
			<content:encoded><![CDATA[<p><a alt="screenshot" href="http://www.friday.com/bbum//files/2004/12/28/ReSTedit-122804.png"><img src="http://www.friday.com/bbum//files/2004/12/28/ReSTedit-122804-t.png" alt="screenshot" /></a></p>
<p>A build of ReSTedit 0.50 is available on <a href="http://homepage.mac.com/bbum/BumFiles/FileSharing27.html">my .mac file download page</a>.   It should &#8220;just work&#8221; on any Mac OS X 10.3 system as it includes both the pyobjc and docutils libraries within the app wrapper.</p>
<p>Beyond a handful of bug fixes, ReSTedit includes new features described in <a href="http://www.friday.com/bbum/2004/12/28/">this post</a>.</p>
<p>The <a href="http://svn.red-bean.com/restedit/trunk/README.html">README</a> and <a href="http://svn.red-bean.com/restedit/trunk/TODO.html">ToDo list</a> have also been updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2004/12/29/restedit-050-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KQueue; nothing is ever as simple as assumed.</title>
		<link>http://www.friday.com/bbum/2004/12/28/kqueue-nothing-is-ever-as-simple-as-assumed/</link>
		<comments>http://www.friday.com/bbum/2004/12/28/kqueue-nothing-is-ever-as-simple-as-assumed/#comments</comments>
		<pubDate>Wed, 29 Dec 2004 00:56:58 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[PyObjC]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2004/12/28/kqueue-nothing-is-ever-as-simple-as-assumed/</guid>
		<description><![CDATA[Over vacation, I have recreationally hacked upon ReSTedit. In particular, I wanted to add two features that have been on the todo list since the project&#8217;s inception. First, the toolbar has always had a segmented control that indicates whether both the source and rendered views were visible or which one was visible in the case [...]]]></description>
			<content:encoded><![CDATA[<p><a alt="screenshot" href="http://www.friday.com/bbum//files/2004/12/28/ReSTedit-122804.png"><img src="http://www.friday.com/bbum//files/2004/12/28/ReSTedit-122804-t.png" alt="screenshot" /></a></p>
<p>Over vacation, I have recreationally hacked upon <a href="http://svn.red-bean.com/restedit/trunk/">ReSTedit</a>.  In particular, I wanted to add two features that have been on the todo list since the project&#8217;s inception.</p>
<p>First, the toolbar has always had a segmented control that indicates whether both the source and rendered views were visible or which one was visible in the case where the vertical split view was fully expanded or collapsed.</p>
<p>It was totally useless.   The original intention was to allow the user to click on one of the segments to pop the split view to a particular position, as appropriate.</p>
<p>Unfortunately, NSSplitView does not have API to tightly control the position of the split.   <a href="http://www.brockerhoff.net/">Rainer Brockerhoff</a> wrote a replacement for NSplitView called RBSplitView that does provide programatic control over the split.</p>
<p>Once I figured out how to plug the views into RBSplitView, it all just works.  The real challenge was mostly of my own creation.  RBSplitView is really designed to work via instantiation from an IB palette.  I chose to configure it from my code because I didn&#8217;t want to have the palette around to edit the NIB and I eventually want to add some dynamic UI behavior.</p>
<p>Now, the reason why I wanted the above feature was for the second feature.  Long ago, I added <a href="http://www.zathras.de/programming/sourcecode.htm#UKKQueue">Uli&#8217;s UKKQueue class</a> to the project.  The intention was to monitor any opened files and automatically re-render the ReStructured Text whenever a file is changed on disk.</p>
<p>I never got around to implementing the feature because I assumed it would be more challenging than it appeared and I didn&#8217;t have the time to go off and figure out what the hell was going on if something break.</p>
<p>That particular assumption proved to be very accurate.</p>
<p>KQueue&#8217;s work by monitoring a particular open file for various events like delete, rename, write, attributes changed, or the like.</p>
<p>My initial naive implementation optimistically assumed that I could monitor the file for WRITE events and respond by reverting the document.</p>
<p>That didn&#8217;t work.   As a matter of fact, it broke in different ways depending on which app the file was saved within.   For emacs, you might see a delete event or a rename event depending on if a backup file is created or not.   This also means that NSDocument will sometimes follow the file to the backup;  that is, you&#8217;ll end up editing &#8216;foo.txt~&#8217; instead of &#8216;foo.txt&#8217;.  For TextEdit, it is a slightly different sequence of events.</p>
<p>All in all, it required quite a bit of head scratching and &#8216;print&#8217; style debugging to figure out what the hell was really going on with each editor.   I think I have a relatively complete solution now.   Of course, then there was the little problem of leaking open file descriptors.</p>
<p>In the end, I watch for WRITE, DELETE, RENAME or EXTEND events.  If any are received, I revert the document (and warn the user if there are unsaved changes that might be lost).</p>
<p>All of the code can be found <a href="http://svn.red-bean.com/restedit/trunk/source">in the ReSTedit SVN repository</a>.  <a href="http://svn.red-bean.com/restedit/trunk/source/REDocument.py">REDocument.py</a> contains all of the kqueue related code beyond the very simple bridge code found in <a href="http://svn.red-bean.com/restedit/trunk/source/ukkqueue.py">ukkqueue.py</a>.  <a href="http://svn.red-bean.com/restedit/trunk/source/REWindowController.py">REWindowController.py</a> contains all of the code related to the RBSplitView configuration and interaction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2004/12/28/kqueue-nothing-is-ever-as-simple-as-assumed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PyObjC News</title>
		<link>http://www.friday.com/bbum/2004/04/02/pyobjc-news-2/</link>
		<comments>http://www.friday.com/bbum/2004/04/02/pyobjc-news-2/#comments</comments>
		<pubDate>Sat, 03 Apr 2004 03:09:15 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[PyObjC]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2004/04/02/pyobjc-news-2/</guid>
		<description><![CDATA[The PyObjC CVS repository has had a series of significant commits over the past few weeks. If you are using or considering PyObjC on Panther, I would highly recommend working with the latest from CVS. PyObjC has an extensive set of unit tests and a development team that is very good about running the tests [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://sourceforge.net/cvs/?group_id=14534">PyObjC CVS repository</a> has had a series of significant commits over the past few weeks.   If you are using or considering <a href="http://pyobjc.sourceforge.net/">PyObjC</a> on Panther, I would highly recommend working with the latest from CVS.   PyObjC has an extensive set of unit tests and a development team that is very good about running the tests before committing.  As such, the latest CVS is generally very stable with the rare bit of blood loss.</p>
<p>Specifically:</p>
<p>A series of commits from <a href="">Bob Ippolito</a> and Ronald Oussoren have made it much less painful to use PyObjC with Distributed Objects, NSProxy, and in threaded environments.  It worked before, but barely and inneffeciently.  Now it is relatively stable.   If this sounds a bit non-commital, it is because in-process DO, threading and use of NSProxy are all <i>hard</i> to get right, regardless of language of implementation.    The word &#8220;easy&#8221; and the words &#8220;just works&#8221; does not belong here.</p>
<p>Donovan Preston has been actively working on the <a href="http://www.apple.com/">Xcode</a> project template.   It now uses Bob&#8217;s main.m and, as such, should work with any dynamic library or framework install of Python on OS X.   Better yet, it does so automatically.   Bob&#8217;s code also provides significantly better error handling during the startup phase of PyObjC based apps.</p>
<p>Finally, I am continuing to add <a href="http://svn.red-bean.com/bbum/trunk/hacques/">PyObjC hacques</a> to my Subversion repository.   As well, <a href="http://svn.red-bean.com/restedit/">ReSTedit</a> continues to evolve and will be getting some pretty neat features fairly soon (I hope).</p>
<p>Overall, I have to say I&#8217;m incredibly impressed and proud of PyObjC.  It isn&#8217;t mine, per se, but I do feel a bit of ownership from simply having been involved on the project for so long.  It has come a long, long way since 1994 (I wish I knew the original date it came into existance &#8212; as it stands, I&#8217;m going to call WWDC the arbitrary 10 year anniversary of PyObjC).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2004/04/02/pyobjc-news-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: The Torture Never Stops</title>
		<link>http://www.friday.com/bbum/2004/03/12/css-the-torture-never-stops/</link>
		<comments>http://www.friday.com/bbum/2004/03/12/css-the-torture-never-stops/#comments</comments>
		<pubDate>Fri, 12 Mar 2004 12:00:53 +0000</pubDate>
		<dc:creator>bbum</dc:creator>
				<category><![CDATA[Weblogging]]></category>

		<guid isPermaLink="false">http://www.friday.com/bbum/2004/03/12/css-the-torture-never-stops/</guid>
		<description><![CDATA[Recently, I have been using ReStructuredText to write a series of documents for various purposes. It helps that I have a nice Cocoa based editor implemented in Python to which I can easily add features to support my needs. Unfortunately, the CSS included with DocUtils does not produce documents that look like a decently formatted [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I have been using <a href="http://docutils.sourceforge.net/rst.html">ReStructuredText</a> to write a series of documents for various purposes.  It helps that I have a nice <a href="http://svn.red-bean.com/restedit/">Cocoa based</a> editor implemented in Python to which I can easily add features to support my needs.</p>
<p>Unfortunately, the CSS included with <a href="http://docutils.sourceforge.net/">DocUtils</a> does not produce documents that look like a decently formatted document.</p>
<p>In searching the web, I could not find anything resembling a set of CSS that would provide the basis for formatting whitepaper, reference or technical document style documents.  I&#8217;m sure that if I looked closely enough at various random published papers, I could find some interesting CSS, but I really don&#8217;t want to just go and rip off someone else&#8217;s hard work.</p>
<p>Anyone know of a decent resource for CSS templates aimed at document formatting/publishing?  Something other than the myriad of weblog templates?   I don&#8217;t mind tweaking the various class declarations to fit the ReST structure, I just don&#8217;t want to start from scratch.</p>
<p><i>Speaking of hard work and weblog templates&#8230;</i></p>
<p>The current visual design of this weblog sucks.   It is the generic default and it has zero character.  I don&#8217;t like it, but I know that fixing it will suck many hours of my life away.</p>
<p>Why?</p>
<p>Because I <i>know</i> that CSS is amazingly powerful, but I don&#8217;t know how to harness that power without spending hours in a stupid text editor tweaking this, changing that, previewing the page, etc&#8230;</p>
<p>The various CSS editors I have tried don&#8217;t really seem to do WYSIWYG style editing.  Then again, I haven&#8217;t tried any of the professional packages that claim to solve this problem.</p>
<p><a href="http://www.csszengarden.com/">CSS Zen Garden</a> has a bunch of neat potential layouts.  I might grab one, at some point.   Yeah&#8230; right.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.friday.com/bbum/2004/03/12/css-the-torture-never-stops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

