<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Adventures in Cocotron</title>
	<atom:link href="http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/feed/" rel="self" type="application/rss+xml" />
	<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/</link>
	<description>Stand back, here come the MacDaddies from Ecamm Network</description>
	<lastBuildDate>Thu, 28 Jan 2010 08:24:30 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Iain</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-81322</link>
		<dc:creator>Iain</dc:creator>
		<pubDate>Sun, 27 Dec 2009 11:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-81322</guid>
		<description>That&#039;s Levar Burton, not Geordi LaForge. Cool project, anyway. I wonder how foreign a complex Cocoa application would feel on Windows.</description>
		<content:encoded><![CDATA[<p>That&#8217;s Levar Burton, not Geordi LaForge. Cool project, anyway. I wonder how foreign a complex Cocoa application would feel on Windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11642</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 31 Oct 2008 22:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11642</guid>
		<description>The most glaring &quot;looks ported&quot; feel will be that Mac apps have OK to the right of Cancel, where Windows users expect OK on the left. Does NSAlert alertWithMessageText: put the default button on the left?</description>
		<content:encoded><![CDATA[<p>The most glaring &#8220;looks ported&#8221; feel will be that Mac apps have OK to the right of Cancel, where Windows users expect OK on the left. Does NSAlert alertWithMessageText: put the default button on the left?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glen</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11621</link>
		<dc:creator>glen</dc:creator>
		<pubDate>Thu, 30 Oct 2008 21:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11621</guid>
		<description>Hi Alexei: No, our changes are not in yet.  You should see some of them start coming through the group this week.  As for iconForFile:, I just took a look at your version, and let&#039;s just say I don&#039;t think mine will ever see the light of day, as it&#039;s many more levels of nasty!</description>
		<content:encoded><![CDATA[<p>Hi Alexei: No, our changes are not in yet.  You should see some of them start coming through the group this week.  As for iconForFile:, I just took a look at your version, and let&#8217;s just say I don&#8217;t think mine will ever see the light of day, as it&#8217;s many more levels of nasty!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexei</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11619</link>
		<dc:creator>Alexei</dc:creator>
		<pubDate>Thu, 30 Oct 2008 15:53:45 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11619</guid>
		<description>So you were adding/fixing things in Cocotron and sitting on your changes, rather than submitting patches to Cocotron as you progress? Why?

For instance, I implemented &quot;[NSWorkspace iconForFile:]&quot; for Win32 in the current Cocotron tree. But you say you&#039;ve implemented this.

So either you&#039;re taking credit for my work, or more likely you implemented this back when it wasn&#039;t yet in Cocotron, and sat on your changes without submitting a patch. Then, since I didn&#039;t know of your changes, I re-implemented this which was added to Cocotron. A duplication of effort!

Please submit fixes/features as patches when you have them ready, rather than sitting on them for months and causing others to duplicate the effort.</description>
		<content:encoded><![CDATA[<p>So you were adding/fixing things in Cocotron and sitting on your changes, rather than submitting patches to Cocotron as you progress? Why?</p>
<p>For instance, I implemented &#8220;[NSWorkspace iconForFile:]&#8221; for Win32 in the current Cocotron tree. But you say you&#8217;ve implemented this.</p>
<p>So either you&#8217;re taking credit for my work, or more likely you implemented this back when it wasn&#8217;t yet in Cocotron, and sat on your changes without submitting a patch. Then, since I didn&#8217;t know of your changes, I re-implemented this which was added to Cocotron. A duplication of effort!</p>
<p>Please submit fixes/features as patches when you have them ready, rather than sitting on them for months and causing others to duplicate the effort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glen</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11600</link>
		<dc:creator>glen</dc:creator>
		<pubDate>Wed, 29 Oct 2008 20:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11600</guid>
		<description>@David Leppik: There&#039;s definitely a bit of &quot;ported&quot;-looking UI in the app!  Since we don&#039;t have have Windows background, we didn&#039;t see it.  But as soon as we showed the app to some Windows users, they immediately pointed out, for example, that the dialog boxes looked non-standard.  Some of that can probably be fixed within the Cocotron framework.  For more complicated apps, a separate nib file would probably be in order.</description>
		<content:encoded><![CDATA[<p>@David Leppik: There&#8217;s definitely a bit of &#8220;ported&#8221;-looking UI in the app!  Since we don&#8217;t have have Windows background, we didn&#8217;t see it.  But as soon as we showed the app to some Windows users, they immediately pointed out, for example, that the dialog boxes looked non-standard.  Some of that can probably be fixed within the Cocotron framework.  For more complicated apps, a separate nib file would probably be in order.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ken</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11598</link>
		<dc:creator>ken</dc:creator>
		<pubDate>Wed, 29 Oct 2008 19:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11598</guid>
		<description>@Keith: Thanks for the info. Threading was not one of the areas that caused us any grief. However, from what you say it sounds like some race condition issues do exist.</description>
		<content:encoded><![CDATA[<p>@Keith: Thanks for the info. Threading was not one of the areas that caused us any grief. However, from what you say it sounds like some race condition issues do exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Bauer</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11597</link>
		<dc:creator>Keith Bauer</dc:creator>
		<pubDate>Wed, 29 Oct 2008 19:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11597</guid>
		<description>I remembered reading it somewhere, so I took a look at the source.  I don&#039;t think I&#039;m reading this wrong...

-retain and -release aren&#039;t atomic, so if two threads retain/release the same object at once I see nothing preventing the retain count from getting out of synch.

The retain count is stored in a global hashtable which is mutated on -retain and -release, without locking; I see nothing that would suggest that this is in the least safe from corruption due to concurrent modification.

http://cocotron.googlecode.com/svn/trunk/Foundation/NSZone/NSZone.m

+initialize isn&#039;t locked, so if the same class is used first from two different threads simultaneously, it could be called twice.

http://cocotron.googlecode.com/svn/trunk/Foundation/objc/ObjCClass.m

There may be more, but those were the things I thought to check.</description>
		<content:encoded><![CDATA[<p>I remembered reading it somewhere, so I took a look at the source.  I don&#8217;t think I&#8217;m reading this wrong&#8230;</p>
<p>-retain and -release aren&#8217;t atomic, so if two threads retain/release the same object at once I see nothing preventing the retain count from getting out of synch.</p>
<p>The retain count is stored in a global hashtable which is mutated on -retain and -release, without locking; I see nothing that would suggest that this is in the least safe from corruption due to concurrent modification.</p>
<p><a href="http://cocotron.googlecode.com/svn/trunk/Foundation/NSZone/NSZone.m" rel="nofollow">http://cocotron.googlecode.com/svn/trunk/Foundation/NSZone/NSZone.m</a></p>
<p>+initialize isn&#8217;t locked, so if the same class is used first from two different threads simultaneously, it could be called twice.</p>
<p><a href="http://cocotron.googlecode.com/svn/trunk/Foundation/objc/ObjCClass.m" rel="nofollow">http://cocotron.googlecode.com/svn/trunk/Foundation/objc/ObjCClass.m</a></p>
<p>There may be more, but those were the things I thought to check.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ken</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11596</link>
		<dc:creator>ken</dc:creator>
		<pubDate>Wed, 29 Oct 2008 16:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11596</guid>
		<description>@Keith: Yes, we do use threads.  It seemed to work just fine.  Why do you think it&#039;s un-thread-safe?

@Mike: That&#039;s really funny.</description>
		<content:encoded><![CDATA[<p>@Keith: Yes, we do use threads.  It seemed to work just fine.  Why do you think it&#8217;s un-thread-safe?</p>
<p>@Mike: That&#8217;s really funny.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Bauer</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11585</link>
		<dc:creator>Keith Bauer</dc:creator>
		<pubDate>Wed, 29 Oct 2008 08:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11585</guid>
		<description>You explicitly mention threading, yet Cocotron is very un-thread-safe -- how do you handle that, or does your app not have multiple threads?</description>
		<content:encoded><![CDATA[<p>You explicitly mention threading, yet Cocotron is very un-thread-safe &#8212; how do you handle that, or does your app not have multiple threads?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://macdaddyworld.com/2008/10/27/adventures-in-cocotron/comment-page-1/#comment-11584</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 29 Oct 2008 05:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://macdaddyworld.com/?p=139#comment-11584</guid>
		<description>Amazing! The only thing funny is the name Cocotron. I will explain. In Portuguese, coco, or better, cocô, is shit. So the name sounds like shitTron what in fact is perfect, as you are compiling for windows...haha</description>
		<content:encoded><![CDATA[<p>Amazing! The only thing funny is the name Cocotron. I will explain. In Portuguese, coco, or better, cocô, is shit. So the name sounds like shitTron what in fact is perfect, as you are compiling for windows&#8230;haha</p>
]]></content:encoded>
	</item>
</channel>
</rss>
