<?xml version="1.0" encoding="iso-8859-2"?>
<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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Fractured BloughtsPopular | Fractured Bloughts</title>
	<atom:link href="http://fracturedbloughts.rolandhesz.com/category/popular/feed/" rel="self" type="application/rss+xml" />
	<link>http://fracturedbloughts.rolandhesz.com</link>
	<description>Musings about work and life</description>
	<lastBuildDate>Mon, 10 May 2010 19:52:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19827</generator>
		<item>
		<title>Uganda: A little goes a long way</title>
		<link>http://fracturedbloughts.rolandhesz.com/2009/10/03/uganda-a-little-goes-a-long-way/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2009/10/03/uganda-a-little-goes-a-long-way/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 17:56:38 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Popular]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.rolandhesz.com/?p=679</guid>
		<description><![CDATA[Considering the approaching birthday of Kiva.org I thought I will post this little video here &#8211; I found it on causecast.org The full story of Uganda: A little goes a long way can be found on the website of Frontlineworld, and there you can find the full length video &#8211; but that site does not...]]></description>
			<content:encoded><![CDATA[<p>Considering the approaching birthday of <a href="http://kiva.org">Kiva.org</a> I thought I will post this little video here &#8211; I found it on <a href="http://www.causecast.org">causecast.org</a></p>
<p style="text-align: center;">
<object id="causecast_video" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="middle" /><param name="allowfullscreen" value="true" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="flashvars" value="cv=?6db5cca&amp;location=http://www.causecast.org/videos/1032&amp;sizeString=550x340&amp;current_user=&amp;appDomain=http://www.causecast.org" /><param name="quality" value="high" /><param name="isInternal" value="true" /><param name="wmode" value="transparent" /><param name="bgColor" value="0x000000" /><param name="src" value="http://static.causecast.org/swf/videoplayer/VideoPlayer.swf?v=?6db5cca" /><param name="bgcolor" value="0x000000" /><embed id="causecast_video" type="application/x-shockwave-flash" width="550" height="340" src="http://static.causecast.org/swf/videoplayer/VideoPlayer.swf?v=?6db5cca" bgcolor="0x000000" wmode="transparent" isinternal="true" quality="high" flashvars="cv=?6db5cca&amp;location=http://www.causecast.org/videos/1032&amp;sizeString=550x340&amp;current_user=&amp;appDomain=http://www.causecast.org" allowscriptaccess="always" allownetworking="all" allowfullscreen="true" align="middle"></embed></object></p>
<p>The full story of <a href="http://www.pbs.org/frontlineworld/stories/uganda601/video_index.html#reactions">Uganda: A little goes a long way</a> can be found on the website of <a href="http://www.pbs.org/frontlineworld">Frontlineworld</a>, and there you can find the full length video &#8211; but that site does not allow embedding, and the stream is slow and freezes every few seconds, so I got it from causecast.org instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2009/10/03/uganda-a-little-goes-a-long-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some thoughts on the UML Sequence Diagram</title>
		<link>http://fracturedbloughts.rolandhesz.com/2009/08/25/some-thoughts-on-the-uml-sequence-diagram/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2009/08/25/some-thoughts-on-the-uml-sequence-diagram/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 17:31:22 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Popular]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[asynchronous messages]]></category>
		<category><![CDATA[sequence diagram]]></category>
		<category><![CDATA[uml]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.heszroland.hu/?p=617</guid>
		<description><![CDATA[Earlier this year I had an interesting talk about sequence diagrams. The topic was asynchronous messages and how UML models them. As I find the topic interesting, I thought I will write a bit about that. So how does UML models asynchronous messages, and how can you tell from a sequence diagram if a message...]]></description>
			<content:encoded><![CDATA[<p>Earlier this year I had an interesting talk about <a class="zem_slink" title="Sequence diagram" rel="wikipedia" href="http://en.wikipedia.org/wiki/Sequence_diagram">sequence diagrams</a>. The topic was <a class="zem_slink" title="Asynchrony" rel="wikipedia" href="http://en.wikipedia.org/wiki/Asynchrony">asynchronous</a> messages and how <a class="zem_slink" title="Unified Modeling Language" rel="wikipedia" href="http://en.wikipedia.org/wiki/Unified_Modeling_Language">UML</a> models them. As I find the topic interesting, I thought I will write a bit about that.</p>
<p>So how does UML models asynchronous messages, and how can you tell from a sequence diagram if a message is asynchronous? During the talk there were four signs mention that shows that a call is asynchronous:</p>
<ol>
<li>There are dashed arrows showing the return calls.</li>
<li>The activity boxes are not continuous on the main lifeline</li>
<li>The arrowhead is not filled for the asynchronous message</li>
<li>The asynchronous message is not horizontal but diagonal.</li>
</ol>
<p>My favourite one is the diagonal message, and I first I intended to write only about that, but then I thought better and decided to write bout all four statements above.</p>
<p>I will show you which ones are false statements, and why the last one &#8211; which was called simply nonsense &#8211; is actually true.</p>
<p><span id="more-617"></span></p>
<p><strong>1) There are dashed arrows showing the return calls.</strong></p>
<p>Well, asynchronous messages definitely have return calls. But so does synchronous messages. The UML specification does not restrict the use of return call to either of them. So having return calls on your diagram is not an indicator of whether the call is asynchronous or synchronous .</p>
<p style="text-align: center"><a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207returncall-2.png"><img class="aligncenter" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207returncall-2.png" border="0" alt="returncall" width="333" height="237" /></a></p>
<p style="text-align: center;"><em>UML Superstructure Specification, v2.1.2 page 472 Figure 14.11</em></p>
<p><strong>2) The activity is not continuous on the lifeline of the called or the calling object</strong></p>
<p>That can be true. Or not. It actually does not show with 100% certainity if it&#8217;s a synchronous or asynchronous flow.<br />
The activity can go on and off for a couple of reasons.</p>
<p>a) On the called object&#8217;s lifeline it goes off after a return call (whether shown or not)</p>
<p style="text-align: center"><a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-1.png"><img class="aligncenter" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-1.png" border="0" alt="activityonoff_1" width="362" height="223" /></a></p>
<p>b) When you do a callback from an asynchronous call</p>
<p style="text-align: center"><a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-3.png"><img class="aligncenter" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-3.png" border="0" alt="activityonoff_3" width="367" height="192" /></a></p>
<p>c) When you do a callback from a synchronous call with an explicit End Source Activation on the original synchronous call</p>
<p style="text-align: center"><a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-4.png"><img class="aligncenter" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-4.png" border="0" alt="activityonoff_4" width="370" height="196" /></a></p>
<p><strong>NOTE:</strong> Ok, this is a <a class="zem_slink" title="Red herring (narrative)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Red_herring_%28narrative%29">red herring</a>. It only seems to be a synchronous message, and the only reason you can do this is because the CASE tool allows you to do stupid things. This is an asynchronous call despite the misleading arrowhead. Now, can you tell me if the guy who drew this diagram was doing it deliberately to mess with the reader, or wanted to create an asynchronous message and did not bother with the correct arrow heads, or tried to be clever, and this is a synchronous message and wants to get a point through in an awkward way, or simply does not understand the whole synchronous/asynchronous business? No? Thought so.</p>
<p>So this one you can discard, bad use of the modeling tool / notation is simply that.</p>
<p>d) On the calling object&#8217;s lifeline the activity rectangle gets disrupted when you start a new message group<a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-2.png"><img class="aligncenter" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207activityonoff-2.png" border="0" alt="activityonoff_2" width="362" height="235" /></a></p>
<p>You have to take into consideration that although it is not a good practice &#8211; at least in my opinion &#8211; nothing on Earth prevents or forbids you from displaying more than one flow on one diagram, and that can mess up the activity rectangles even more.</p>
<p><strong>On the activity rectangle</strong></p>
<p>This activity rectangle thing, where we state that the object is &#8220;active&#8221; or &#8220;inactive&#8221; based on the presence of the rectangle, is not well handled. For one thing in the UML specification they are called: ExecutionOccurences (that name is telling a bit more about the meaning of it). The other thing is, if you think about the rectangle as an indicator of whether an object is active or not, then why does a callback from an asynchronous call disrupts the activeness of the object? The object does not become less active when he receives a call back.</p>
<blockquote><p><strong>Notation</strong></p>
<p>ExecutionOccurences are represented as thin rectangles (grey or white) on the lifeline (see &#8220;Lifeline (from BasicInteractions, Fragments)&#8221; on page 490).<br />
We may also represent an ExecutionSpecification by a wider labeled rectangle, where the label usually identifies the action that was executed. An example of this can be seen in Figure 14.13 on page 475.<br />
For ExecutionSpecifications that refer to atomic actions such as reading attributes of a Signal (conveyed by the Message),  the Action symbol may be associated with the reception OccurrenceSpecification with a line in order to emphasize that the whole Action is associated with only one OccurrenceSpecification (and start and finish associations refer to the very  same OccurrenceSpecification).</p>
<p>Overlapping execution occurrences on the same lifeline are represented by overlapping rectangles as shown in Figure  14.15</p>
<p><em>UML Superstructure Specification, v2.1.2 page 479</em></p>
<p><a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207occurence.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207occurence.png" border="0" alt="occurence" width="566" height="205" /></a></p></blockquote>
<p>If you think about it as an Execution Occurence, and not whether the Object is active or not, it will make more sense.</p>
<p><strong>3) The arrowhead is not filled</strong></p>
<p>Actually that&#8217;s the only way to show an asynchronous message according to the UML Superstructure specification.</p>
<blockquote><p><strong>Notation</strong><br />
A message is shown as a line from the sender message end to the receiver message end. The line must be such that every line fragment is either horizontal or downwards when traversed from send event to receive event. The send and receive  events may both be on the same lifeline. The form of the line or arrowhead reflects properties of the message:</p>
<ul>
<li>Asynchronous Messages have an open arrow head.</li>
<li>Synchronous Messages typically represent operation calls and are shown with a filled arrow head.</li>
<li>The reply message from a method has a dashed line.</li>
</ul>
<p><em>UML Superstructure Specification, v2.1.2 page 493</em></p></blockquote>
<p style="text-align: center"><a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207arrows.png"><img class="aligncenter" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207arrows.png" border="0" alt="arrows" width="401" height="344" /></a></p>
<p>A quick note: some books and CASE tools use the half-stick arrowhead to differentiate the asynchronous messages &#8211; an open arrowhead with the bottom half missing -, because for a time that was the UML specification. But even then, the asynchronous message is shown by a different arrowhead than the synchronous message.</p>
<p>Sadly, on big diagrams printed on small papers that&#8217;s not too easy to read &#8211; <a href="http://www.informit.com/articles/article.aspx?p=169507&amp;seqNum=3">Martin Fowler proposes the us of the half-stick arrowhead</a>, stating that the filled/open distinction is too subtle. I am not sure that the half-stick arrowhead will solve this, but definitely was a bigger difference than the current one.</p>
<p><strong>4) The message is not horizontal but diagonal.</strong></p>
<p>It seems weird, doesn&#8217;t it? An asynchronous message &#8220;does not cause the invoking operation to halt execution while it awaits the return of control.&#8221; That means it can take it&#8217;s own sweet time to execute and that means it is not neccessarily an instantaneous call. So, we can define how long it can take to execute and return a result for example &#8211; i.e. timeout.</p>
<p>As the lifeline of an object in a sequence diagram represents time, the simple fact that an asynchronous message have 5 seconds to start, or 5 seconds to execute, can be shown by a diagonal message line &#8211; plus we write the Duration and Timing constraints &#8211; as it happens that&#8217;s the way you show it in UML.</p>
<p style="text-align: center"><a href="http://fracturedbloughts.rolandhesz.comu/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207timing.png"><img class="aligncenter" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207timing.png" border="0" alt="timing" width="381" height="222" /></a></p>
<p>Of course most of the time we don&#8217;t apply timing constraints on a message. But it is good to know that there is a possibility to do that. So you can say, that for simplicity&#8217;s sake an asynchronous message is diagonal except when the set of timing constraints is empty. Then it&#8217;s a diagonal with an angle of 0 degrees.</p>
<p>{ Don&#8217;t do that. It&#8217;s pointless and just shows you always wanted to be a theoretical mathematician, and failed for a good reason ;) }</p>
<p>And if we are talking about time, there are a few other possibilities according to the UML specifications.</p>
<blockquote>
<p style="text-align: center;"><a href="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207timing-2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/02/windowslivewritersomethoughtsontheumlsequencediagram-12207timing-2.png" border="0" alt="timing_2" width="410" height="220" /></a></p>
<p style="text-align: center;"><em>Figure 14.26 &#8211; Sequence Diagram with time and timing concepts</em><strong></strong></p>
<p style="text-align: left;">The Sequence Diagram in Figure 14.26 shows how time and timing notation may be applied to describe time observation  and timing constraints. The :User sends a message Code and its duration is measured. The :ACSystem will send two  messages back to the :User. CardOut is constrained to last between 0 and 13 time units. Furthermore the interval between  the sending of Code and the reception of OK is constrained to last between d and 3*d where d is the measured duration  of the Code signal. We also notice the observation of the time point t at the sending of OK and how this is used to  constrain the time point of the reception of CardOut.</p>
<p><em>UML Superstructure Specification, v2.1.2 page 513</em></p></blockquote>
<p>We can define the timing interval for the message, and we can define Observation timing and duration for the message &#8211; useful in the case of time sensitive systems, and contrary to what some people maintaint, that there is no possibility to define time related behaviour in the UML, there is a few ways to show that.</p>
<p>That was it. All my first thoughts on the sequence diagramme and the asynchronous message notations. I had an inclination to cut it into two separate posts, but in the end, I think it&#8217;s complete this way.</p>
<p>As always, any criticism, comment, question or idea on what I have left out, or what should I delve into a bit more, or mistakes I made are welcome.</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/stevenl/phoenix-session-5-architecture-without-big-design-up-front-garibay">PHX Session #5 : Architecture Without Big Design Up Front (Garibay)</a> (slideshare.net)</li>
<li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/vilaltajo/tradposterworkshopmds">UML &amp; SCRUM Workshop</a> (slideshare.net)</li>
<li class="zemanta-article-ul-li"><a href="http://modeling-languages.com/blog/content/usability-uml-tools-should-beat-pencil-and-paper-alternative">Usability of UML tools should beat the &#8220;pencil and paper&#8221; alternative</a> (modeling-languages.com)</li>
<li class="zemanta-article-ul-li"><a href="http://modeling-languages.com/blog/content/omg-trying-improve-interoperability-umlmofxmi-based-tools">OMG is trying to improve the interoperability of UML/MOF/XMI-based tools</a> (modeling-languages.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/26f66656-b98a-4be3-96ff-28433489d5f5/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=26f66656-b98a-4be3-96ff-28433489d5f5" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution paragraph-reblog"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2009/08/25/some-thoughts-on-the-uml-sequence-diagram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Some thoughts on the UML]]></series:name>
	</item>
		<item>
		<title>Running on a new WP theme</title>
		<link>http://fracturedbloughts.rolandhesz.com/2009/08/24/running-on-a-new-wp-theme/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2009/08/24/running-on-a-new-wp-theme/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 17:15:03 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Popular]]></category>
		<category><![CDATA[Site news]]></category>
		<category><![CDATA[Blog Theme]]></category>
		<category><![CDATA[disqus]]></category>
		<category><![CDATA[Headway Theme]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plug in]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.rolandhesz.com/?p=674</guid>
		<description><![CDATA[I have fallen for the recommendations, and bought and installed the Headway Theme Finally, got it working too. It is easy, everything is a snap, except when you have want to make some really &#8220;fancy&#8221; thing on your site &#8211; like the Video Posts on the right -, then it&#8217;s php coding. Or when it...]]></description>
			<content:encoded><![CDATA[<p>I have fallen for the recommendations, and bought and installed the <a title="Headway Themes" href="http://headwaythemes.com/">Headway Theme</a></p>
<p>Finally, got it working too. It is easy, everything is a snap, except when you have want to make some really &#8220;fancy&#8221; thing on your site &#8211; like the Video Posts on the right -, then it&#8217;s php coding. Or when it chokes on plugins, like on <a class="zem_slink" title="DISQUS" rel="homepage" href="http://www.disqus.com/">Disqus</a>. Don&#8217;t know why, but it simply could not handle it.</p>
<p>I wonder what can cause this behaviour, as people say they are running it without trouble &#8211; I am well prepared now for the flaming I&#8217;m going to get for pointing out problems :) &#8211; but below you can see the problem in all it&#8217;s glory.</p>
<p><object style="width: 622px; height: 230px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="622" height="230" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/08/brokenfeatur.swf" /><embed style="width: 622px; height: 230px;" type="application/x-shockwave-flash" width="622" height="230" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/08/brokenfeatur.swf"></embed></object></p>
<p>The tricky thing is what I have discovered is that it only happens in the Featured leaf, and then only when I set it to Rotate the posts.</p>
<p>The solution for now was pure hacking. The Disqus code that seems to be the cuplrit &#8211; or the victim, depends on how you look at it &#8211; can be found in the disqus.php:</p>
<pre><code>
function dsq_comment_count() {
  global $dsq_cc_script_embedded;
  if ( $dsq_cc_script_embedded ) {
    return;
  } else if ( (is_single() || is_page() || $withcomments || is_feed()) ) {
    return;
  }
  ?&gt;
  &lt;script type="text/javascript"&gt;
  // &lt;![CDATA[
   (function() {
     var links = document.getElementsByTagName('a');
     var query = '&amp;';
     for(var i = 0; i &lt; links.length; i++) {
       if(links[i].href.indexOf('#disqus_thread') &gt;= 0) {
       links[i].innerHTML = 'View Comments';
       query += 'wpid' + i + '=' + encodeURIComponent(links[i].getAttribute('wpid')) + '&amp;';
     }
   }
   document.write('&lt;script charset="utf-8" type="text/javascript" src="&lt;?php echo DISQUS_URL ?&gt;/forums/&lt;?php echo strtolower(get_option('disqus_forum_url')); ?&gt;/get_num_replies_from_wpid.js?v=2.0' + query + '"&gt;&lt;' + '/script&gt;');
 })();
 //]]&gt;
 &lt;/script&gt;
 &lt;?php
   $dsq_cc_script_embedded = true;
}</code></pre>
<p><span style="text-decoration: line-through;">This only happened in the Featured Post leaf, and only when I enabled Rotate &#8211; maybe the rotate script and the Disqus script get tangled. I don&#8217;t know.</span></p>
<p><span style="text-decoration: line-through;">For now what I have done is pure, and serious no-no hacking. I have commented out the code between <code>&lt;script type="text/javascript"&gt;// &lt;![CDATA[</code> and <code>// ]]&gt;&lt;/script&gt;</code>.</span><br />
<span style="text-decoration: line-through;">Evidently it is the wrong solution, but for now it works, and I am going to find out the proper one.</span></p>
<p><strong>UPDATE: </strong>After a bit of thinking I have decided to instead implement a more cultured temporary solution.<br />
I have changed this line:</p>
<pre><code>} else if ( (is_single() || is_page() || $withcomments || is_feed()) ) {</code></pre>
<p>to this line:</p>
<pre><code>} else if ( (is_home() || is_single() || is_page() || $withcomments || is_feed()) ) {</code></pre>
<p>Yes, I know that was the logical thing from the start.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 339px; width: 1px; height: 1px;">&amp;gt;</div>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.avc.com/a_vc/2009/08/disqus-v3-is-live-on-this-blog.html">Disqus V3 Is Live On This Blog</a> (avc.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/jeremyclarke/wordpress-theming-for-epic-n00bs-intro-to-template-tags-themes-and-php">WordPress Theming for Epic n00bs: Intro to Template Tags, Themes and PHP</a> (slideshare.net)</li>
<li class="zemanta-article-ul-li"><a href="http://www.benway.net/2009/07/18/disqus-and-wibiya/">Disqus and Wibiya</a> (benway.net)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/f258e61b-264c-477d-9018-0889ceece5f4/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=f258e61b-264c-477d-9018-0889ceece5f4" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2009/08/24/running-on-a-new-wp-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Wizard of Waukesha has left the stage</title>
		<link>http://fracturedbloughts.rolandhesz.com/2009/08/13/the-wizard-of-waukesha-has-left-the-stage/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2009/08/13/the-wizard-of-waukesha-has-left-the-stage/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 17:52:43 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Popular]]></category>
		<category><![CDATA[Les Paul]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[The Wizard of Waukesha]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.rolandhesz.com/?p=672</guid>
		<description><![CDATA[Image via Wikipedia The Wizard of Waukesha, Lester William Polfuss has left the stage. But not before he gave us the Les Paul , the first multi-track recording, the world&#8217;s first commercially-produced reel-to-reel audio tape recorder and a lot of good music. Your guitar &#8211; or at least a cheaper version &#8211; gave me countless...]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img zemanta-action-dragged" style="margin: 1em; display: block; float: left;">
<div>
<dl class="wp-caption alignright" style="width: 207px;">
<dt class="wp-caption-dt"><a href="http://en.wikipedia.org/wiki/Image:BestOfCapitolMastersLesPaul.jpg"><img title="The Best of the Capitol Masters: Selections Fr..." src="http://upload.wikimedia.org/wikipedia/en/b/b5/BestOfCapitolMastersLesPaul.jpg" alt="The Best of the Capitol Masters: Selections Fr..." width="197" height="190" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://en.wikipedia.org/wiki/Image:BestOfCapitolMastersLesPaul.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>The <a id="aptureLink_jHz222bTlH" href="http://search.twitter.com/search?q=Wizard%20of%20Waukesha">Wizard of Waukesha</a>, Lester William Polfuss has left the stage. But not before he gave us the <a id="aptureLink_CFw0qROojW" href="http://en.wikipedia.org/wiki/Les%20Paul%20%28guitar%29">Les Paul</a> , the first multi-track recording, the world&#8217;s first commercially-produced reel-to-reel audio tape recorder and a lot of good music.</p>
<p>Your guitar &#8211; or at least a cheaper version &#8211; gave me countless hours of pleasure and joy. I would like to thank you for that.</p>
<p>Rest in peace, <a id="aptureLink_oeCHCjcqqZ" href="http://search.twitter.com/search?q=Les%20Paul">Les Paul</a>. You made this world a better place.</p>
<p align="center"><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/AP7qI5RVtxw&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/AP7qI5RVtxw&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2009/08/13/the-wizard-of-waukesha-has-left-the-stage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What can you learn from the Nac Mac Feegle</title>
		<link>http://fracturedbloughts.rolandhesz.com/2009/08/02/what-can-you-learn-from-the-nac-mac-feegle/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2009/08/02/what-can-you-learn-from-the-nac-mac-feegle/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 10:31:46 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Popular]]></category>
		<category><![CDATA[attitude]]></category>
		<category><![CDATA[Nac Mac Feegle]]></category>
		<category><![CDATA[terry pratchett]]></category>
		<category><![CDATA[The Wee Free Men]]></category>
		<category><![CDATA[worldview]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.rolandhesz.com/?p=662</guid>
		<description><![CDATA[Image via Wikipedia The Wee Free Men. The Nac Mac Feegle. The ones who have been expelled from Fairy Land &#8211; after breaking up the place for the thousandth time. They steal, they drink, they fight, and are mortally afraid of their names being written down &#8211; &#8217;cause of the lawyers you know. They are...]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block; float: left;">
<div>
<dl class="wp-caption" style="width: 114px;">
<dt class="wp-caption-dt"><a href="http://en.wikipedia.org/wiki/Image:Nac_Mac_Feegle.jpg"><img title="Nac Mac Feegles on the cover of The Wee Free Men" src="http://upload.wikimedia.org/wikipedia/en/3/3b/Nac_Mac_Feegle.jpg" alt="Nac Mac Feegles on the cover of The Wee Free Men" width="106" height="140" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://en.wikipedia.org/wiki/Image:Nac_Mac_Feegle.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p><a class="zem_slink" title="The Wee Free Men" rel="amazon" href="http://www.amazon.com/Wee-Free-Men-Terry-Pratchett/dp/0385605331%3FSubscriptionId%3D0G81C5DAZ03ZR9WH9X82%26tag%3Dzemanta-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0385605331">The Wee Free Men</a>. The <a class="zem_slink" title="Nac Mac Feegle" rel="wikipedia" href="http://en.wikipedia.org/wiki/Nac_Mac_Feegle">Nac Mac Feegle</a>. The ones who have been expelled from Fairy Land &#8211; after breaking up the place for the thousandth time. They steal, they drink, they fight, and are mortally afraid of their names being written down &#8211; &#8217;cause of the lawyers you know. They are around 6 inches tall, blue and covered with tattoos of all kind, fast and strong &#8211; well, when you are small and you steal cattle, you must be strong, right?</p>
<p>You could say they are not the most likeable fellows &#8211; not to their face and not too loud though. Did I mention they like to fight? And they are strong? Right.</p>
<p>So, what can you learn from them? A lot. Especially on how they see life and the world around them.</p>
<blockquote><p>&#8220;We&#8217;d best move on. We lost some of the lads.&#8221;</p>
<p>The excitement drained away.</p>
<p>&#8220;You mean they&#8217;re dead?&#8221; Tiffany whispered. The sun was shining brightly again, the skylarks were back..and people were dead.</p>
<p>&#8220;Ach, no,&#8221; said Rob. &#8220;We&#8217;re the ones who&#8217;s deid. Did ye not know that?&#8221;</p></blockquote>
<p>No, I am not saying that we should think we are dead. I certainly feel alive. But please bear with me.</p>
<blockquote><p>&#8220;Well, if you think you&#8217;re dead, then what are they?&#8221; she went on, pointing to a couple of small bodies.</p>
<p>&#8220;Oh, they&#8217;ve gone back to the land o&#8217;the livin&#8217;, &#8221; said Rob Anybody cheerfully. &#8220;It&#8217;s nae as good as this one, but they&#8217;ll bide fine and come back before too long. No sense in grieving.&#8221;.</p>
<p>&#8230;</p>
<p>&#8220;But you <em>are</em> alive!&#8221; she said.</p>
<p>&#8220;Ach, no, mistress,&#8221; said Rob, helping another pictsie to his feet. &#8220;We <em>wuz </em>alive. And we wuz good boys back in the land o&#8217;the livin&#8217;, and so when we died there we wuz borned into this place.&#8221;</p>
<p>&#8230;<br />
&#8220;You mean. you think.that you sort of died somewhere else and then came here?&#8217;said Tiffany. &#8220;You mean this is like.<em>heaven</em>?&#8221;</p>
<p>&#8220;Aye! Just as advertised!&#8221; said Rob Anybody. &#8220;Lovely sunshine, good huntin&#8217;, nice pretty flowers and wee burdies goin&#8217;cheep.&#8221;</p>
<p>&#8220;Aye, and then there&#8217;s the fightin&#8217;,&#8221; said another Feegle. And then they all joined in.</p>
<p>&#8220;An&#8217;the stealin!&#8221;</p>
<p>&#8220;An&#8217;the drinkin&#8217;an&#8217;fightin&#8217;!&#8221;</p>
<p>&#8220;An&#8217;the kebabs!&#8221; said Daft Wullie.</p>
<p>&#8220;But there&#8217;s bad things here!&#8221; said Tiffany. &#8220;There&#8217;s monsters!&#8221;</p>
<p>&#8220;Aye,&#8221; said Rob, beaming happily. &#8220;Grand, isn&#8217;t it? Everythin&#8217;laid on, even things to fight!&#8221;</p>
<p style="text-align: right;"><em><a class="zem_slink" title="Terry Pratchett" rel="homepage" href="http://www.terrypratchett.co.uk/">Terry Pratchett</a> &#8211; The Wee Free Men</em></p>
</blockquote>
<p>Are the wee free men right? Or are they totally wrong? Who knows &#8211; we can&#8217;t state anything with absolute certainty about the <a class="zem_slink" title="Discworld" rel="wikipedia" href="http://en.wikipedia.org/wiki/Discworld">Discworld</a> -, but one thing is clear. The way they look at the world is refreshing.</p>
<p>There are nice things, just as advertised, it&#8217;s a kind of heaven after all, and there are bad things, worthy challenges for a real men. After all, if there were no monsters, no challenges to overcome, no fights to win, it is kind of boring. And if it is boring, it can&#8217;t be the heaven, right?</p>
<p>I am not saying that we should look upon every problem as a new, exciting challenge &#8211; thinking of war, famine, poverty, and such. But when you meet something more mundane, don&#8217;t roll over and play dead, whimpering softly.<br />
After all, without having challenges, you won&#8217;t appreciate the moments when the wee burdies go cheep.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/e915009d-dcfe-477a-b221-a69bef293d62/"><img class="zemanta-pixie-img" style="border: medium none ; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=e915009d-dcfe-477a-b221-a69bef293d62" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2009/08/02/what-can-you-learn-from-the-nac-mac-feegle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

