<?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 for Thomas Løcke Being Incoherent</title>
	<atom:link href="http://blogs.fsfe.org/thomaslocke/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.fsfe.org/thomaslocke</link>
	<description>Just another FSFE Fellowship Blogs site</description>
	<lastBuildDate>Fri, 18 May 2012 10:28:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Concurrent Ada Programming by Thomas Løcke</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/05/17/concurrent-ada-programming/#comment-209</link>
		<dc:creator>Thomas Løcke</dc:creator>
		<pubDate>Fri, 18 May 2012 10:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=194#comment-209</guid>
		<description>Hey Francois,

That&#039;s some pretty awesome code you got going there! Thanks for linking it.

I used the Ada.Task_Identification package because it clearly shows that different tasks have different internal id&#039;s, and it does so in a very beginner friendly way.

Also it&#039;s nice to learn about the existence of the Ada.Task_* packages. They are very handy.  :)</description>
		<content:encoded><![CDATA[<p>Hey Francois,</p>
<p>That&#8217;s some pretty awesome code you got going there! Thanks for linking it.</p>
<p>I used the Ada.Task_Identification package because it clearly shows that different tasks have different internal id&#8217;s, and it does so in a very beginner friendly way.</p>
<p>Also it&#8217;s nice to learn about the existence of the Ada.Task_* packages. They are very handy.  <img src='http://blogs.fsfe.org/thomaslocke/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Concurrent Ada Programming by Francois</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/05/17/concurrent-ada-programming/#comment-208</link>
		<dc:creator>Francois</dc:creator>
		<pubDate>Fri, 18 May 2012 08:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=194#comment-208</guid>
		<description>I just made a similar implementation of dispatching jobs in parallel.
See code at http://shootout.alioth.debian.org/u64q/program.php?test=regexdna&amp;lang=gnat&amp;id=3
in procedure Parallel_Count.
There is no need of the package Ada.Task_Identification;
After completion of job, the returning worker gives its job_nbr to the dispatcher.
Improvement in speed on a 4-core is limited to a factor of 3 wrt to single core.
9 jobs =&gt; 2 rounds with 4 cores + 1 round with 1 core. = 3</description>
		<content:encoded><![CDATA[<p>I just made a similar implementation of dispatching jobs in parallel.<br />
See code at <a href="http://shootout.alioth.debian.org/u64q/program.php?test=regexdna&#038;lang=gnat&#038;id=3" rel="nofollow">http://shootout.alioth.debian.org/u64q/program.php?test=regexdna&#038;lang=gnat&#038;id=3</a><br />
in procedure Parallel_Count.<br />
There is no need of the package Ada.Task_Identification;<br />
After completion of job, the returning worker gives its job_nbr to the dispatcher.<br />
Improvement in speed on a 4-core is limited to a factor of 3 wrt to single core.<br />
9 jobs =&gt; 2 rounds with 4 cores + 1 round with 1 core. = 3</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Concurrent Ada Programming by Thomas Løcke</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/05/17/concurrent-ada-programming/#comment-206</link>
		<dc:creator>Thomas Løcke</dc:creator>
		<pubDate>Thu, 17 May 2012 20:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=194#comment-206</guid>
		<description>I know there&#039;s a book on its way about concurrent programming in Haskell:

https://plus.google.com/u/0/107890464054636586545/posts/QTzpXhc8r8f
http://www.haskell.org/pipermail/haskell/2012-May/023328.html

I do plan on buying that book, but whether or not I&#039;ll ever reach a level of Haskell competence to be able to compare its features to Ada I honestly don&#039;t know.

What I do know is that both Ada and Haskell are awesomely nice languages.  :)</description>
		<content:encoded><![CDATA[<p>I know there&#8217;s a book on its way about concurrent programming in Haskell:</p>
<p><a href="https://plus.google.com/u/0/107890464054636586545/posts/QTzpXhc8r8f" rel="nofollow">https://plus.google.com/u/0/107890464054636586545/posts/QTzpXhc8r8f</a><br />
<a href="http://www.haskell.org/pipermail/haskell/2012-May/023328.html" rel="nofollow">http://www.haskell.org/pipermail/haskell/2012-May/023328.html</a></p>
<p>I do plan on buying that book, but whether or not I&#8217;ll ever reach a level of Haskell competence to be able to compare its features to Ada I honestly don&#8217;t know.</p>
<p>What I do know is that both Ada and Haskell are awesomely nice languages.  <img src='http://blogs.fsfe.org/thomaslocke/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Concurrent Ada Programming by Apoptose</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/05/17/concurrent-ada-programming/#comment-205</link>
		<dc:creator>Apoptose</dc:creator>
		<pubDate>Thu, 17 May 2012 18:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=194#comment-205</guid>
		<description>No problemo, I&#039;m glad I understand better how the code works now.

I know you have done some Haskell, do you plan to write some kind of comparison between concurrent programming in Ada and in Haskell?
Bye.</description>
		<content:encoded><![CDATA[<p>No problemo, I&#8217;m glad I understand better how the code works now.</p>
<p>I know you have done some Haskell, do you plan to write some kind of comparison between concurrent programming in Ada and in Haskell?<br />
Bye.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Concurrent Ada Programming by Thomas Løcke</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/05/17/concurrent-ada-programming/#comment-204</link>
		<dc:creator>Thomas Løcke</dc:creator>
		<pubDate>Thu, 17 May 2012 17:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=194#comment-204</guid>
		<description>There we go! Thanks to Apoptose for catching that nasty little bug.  :D

Prior to the fix I was completely abusing the fact that a task can die silently if exceptions aren&#039;t handled. The worst part about that is that it is described here:

http://www.adaic.org/resources/add_content/standards/05rat/html/Rat-1-3-4.html

And I read that a short while ago when I started mucking around with the Ada.Task_* packages. My memory is failing me!</description>
		<content:encoded><![CDATA[<p>There we go! Thanks to Apoptose for catching that nasty little bug.  <img src='http://blogs.fsfe.org/thomaslocke/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Prior to the fix I was completely abusing the fact that a task can die silently if exceptions aren&#8217;t handled. The worst part about that is that it is described here:</p>
<p><a href="http://www.adaic.org/resources/add_content/standards/05rat/html/Rat-1-3-4.html" rel="nofollow">http://www.adaic.org/resources/add_content/standards/05rat/html/Rat-1-3-4.html</a></p>
<p>And I read that a short while ago when I started mucking around with the Ada.Task_* packages. My memory is failing me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Concurrent Ada Programming by Thomas Løcke</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/05/17/concurrent-ada-programming/#comment-203</link>
		<dc:creator>Thomas Løcke</dc:creator>
		<pubDate>Thu, 17 May 2012 17:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=194#comment-203</guid>
		<description>Hey Apoptose,

Try using this as the body of Get:

      begin
	 Put_Line (&quot;before: &quot; &amp; J&#039;Img);
	 Job := J;
	 J := J - 1;
	 Put_Line (&quot;after: &quot; &amp; J&#039;Img);
      end Get

You&#039;ll see that J never goes below zero.

But you&#039;re right, it&#039;s not really pretty. I&#039;ll fix it to make it more clear. Thanks for pointing it out.  :)

edit: Blarg.. Can&#039;t even read my own output any longer. It does go below 0 - sheesh. Fix on its way!</description>
		<content:encoded><![CDATA[<p>Hey Apoptose,</p>
<p>Try using this as the body of Get:</p>
<p>      begin<br />
	 Put_Line (&#8220;before: &#8221; &amp; J&#8217;Img);<br />
	 Job := J;<br />
	 J := J &#8211; 1;<br />
	 Put_Line (&#8220;after: &#8221; &amp; J&#8217;Img);<br />
      end Get</p>
<p>You&#8217;ll see that J never goes below zero.</p>
<p>But you&#8217;re right, it&#8217;s not really pretty. I&#8217;ll fix it to make it more clear. Thanks for pointing it out.  <img src='http://blogs.fsfe.org/thomaslocke/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>edit: Blarg.. Can&#8217;t even read my own output any longer. It does go below 0 &#8211; sheesh. Fix on its way!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Concurrent Ada Programming by Apoptose</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/05/17/concurrent-ada-programming/#comment-202</link>
		<dc:creator>Apoptose</dc:creator>
		<pubDate>Thu, 17 May 2012 16:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=194#comment-202</guid>
		<description>Hello,
there is something I don&#039;t understand with your second example:

it seems that in the end, J gets lower than 0, so a Constraint_Error is raised in procedure Get, but no error message is displayed.

So if I understand well, the line
exit when A_Job &lt; 1;
is useless because anyway the task exit because of Constraint_Error.

Why?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
there is something I don&#8217;t understand with your second example:</p>
<p>it seems that in the end, J gets lower than 0, so a Constraint_Error is raised in procedure Get, but no error message is displayed.</p>
<p>So if I understand well, the line<br />
exit when A_Job &lt; 1;<br />
is useless because anyway the task exit because of Constraint_Error.</p>
<p>Why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why I Love Free and Open Source Software by Bryan Zutter</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/01/18/why-i-love-free-and-open-source-software/#comment-200</link>
		<dc:creator>Bryan Zutter</dc:creator>
		<pubDate>Fri, 11 May 2012 16:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=154#comment-200</guid>
		<description>This is a great article and very well written.  Looking forward to more of  your posts.</description>
		<content:encoded><![CDATA[<p>This is a great article and very well written.  Looking forward to more of  your posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why I Love Free and Open Source Software by Lettre d&#8217;information de la FSFE Février 2012. &#124; ANDRE Ani et GNU/Linux</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/01/18/why-i-love-free-and-open-source-software/#comment-70</link>
		<dc:creator>Lettre d&#8217;information de la FSFE Février 2012. &#124; ANDRE Ani et GNU/Linux</dc:creator>
		<pubDate>Sat, 04 Feb 2012 17:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=154#comment-70</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ada Programming on Slackware by Thomas Løcke</title>
		<link>http://blogs.fsfe.org/thomaslocke/2012/01/08/ada-programming-on-slackware/#comment-68</link>
		<dc:creator>Thomas Løcke</dc:creator>
		<pubDate>Thu, 02 Feb 2012 06:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.fsfe.org/thomaslocke/?p=102#comment-68</guid>
		<description>Hey Patrick,

No problem, I&#039;m just glad you made it work. And yea, I&#039;ve been bitten by the PATH issue also. It&#039;s a classic!  :)</description>
		<content:encoded><![CDATA[<p>Hey Patrick,</p>
<p>No problem, I&#8217;m just glad you made it work. And yea, I&#8217;ve been bitten by the PATH issue also. It&#8217;s a classic!  <img src='http://blogs.fsfe.org/thomaslocke/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

