<?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 let x=x</title>
	<atom:link href="http://www.crazymcphee.net/x/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crazymcphee.net/x</link>
	<description>programming idiom and methodology</description>
	<lastBuildDate>Fri, 02 Dec 2011 04:24:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Air France stops maintenance in China after screws missing from plane by Robert Watkins</title>
		<link>http://www.crazymcphee.net/x/2011/12/02/air-france-stops-maintenance-in-china-after-screws-missing-from-plane/comment-page-1/#comment-1176</link>
		<dc:creator>Robert Watkins</dc:creator>
		<pubDate>Fri, 02 Dec 2011 04:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=707#comment-1176</guid>
		<description>Where would you even find the service history of a plane? Do the airlines make their service logs accessible?</description>
		<content:encoded><![CDATA[<p>Where would you even find the service history of a plane? Do the airlines make their service logs accessible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On upgrading to Mac OSX 10.7 &#8220;Lion&#8221; by Scot Mcphee</title>
		<link>http://www.crazymcphee.net/x/2011/10/16/on-upgrading-to-mac-osx-10-7-lion/comment-page-1/#comment-1153</link>
		<dc:creator>Scot Mcphee</dc:creator>
		<pubDate>Sun, 16 Oct 2011 12:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=667#comment-1153</guid>
		<description>Solved the Calendar Issue but using the one Google calendar that iCal will import for my account and leaving the others in iCloud. If I create a calendar entry in the default calendar on Google I can move it onto an iCloud calendar (e.g. my uni timetable) in iCal or on my Iphone. Hopefully that will be enough.</description>
		<content:encoded><![CDATA[<p>Solved the Calendar Issue but using the one Google calendar that iCal will import for my account and leaving the others in iCloud. If I create a calendar entry in the default calendar on Google I can move it onto an iCloud calendar (e.g. my uni timetable) in iCal or on my Iphone. Hopefully that will be enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On upgrading to Mac OSX 10.7 &#8220;Lion&#8221; by Scot Mcphee</title>
		<link>http://www.crazymcphee.net/x/2011/10/16/on-upgrading-to-mac-osx-10-7-lion/comment-page-1/#comment-1152</link>
		<dc:creator>Scot Mcphee</dc:creator>
		<pubDate>Sun, 16 Oct 2011 11:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=667#comment-1152</guid>
		<description>UPDATE: It also ate my Java installation! However I opened up a terminal and on a current project typed &quot;mvn clean install&quot; then it detected Java was missing and offered to install it. Which it did and then the command ran great;

java -version
java version &quot;1.6.0_26&quot;
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)</description>
		<content:encoded><![CDATA[<p>UPDATE: It also ate my Java installation! However I opened up a terminal and on a current project typed &#8220;mvn clean install&#8221; then it detected Java was missing and offered to install it. Which it did and then the command ran great;</p>
<p>java -version<br />
java version &#8220;1.6.0_26&#8243;<br />
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)<br />
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Come back Gavin King, all is forgiven (Spring is the new EJB 2.1) by Scot Mcphee</title>
		<link>http://www.crazymcphee.net/x/2011/02/16/come-back-gavin-king-all-is-forgiven-spring-is-the-new-ejb-2-1/comment-page-1/#comment-1091</link>
		<dc:creator>Scot Mcphee</dc:creator>
		<pubDate>Fri, 15 Apr 2011 23:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=600#comment-1091</guid>
		<description>William, thanks for the tip on Arquillian, it looks interesting. We ended up using the embedded glassfish plugin, but vers 3.0, I can&#039;t remember what exactly, but there was a difference in 3.1 that stopped us from using it.

We are using Spring 3 with JPA2 (Hibernate as the provider) and JTA transactions out of the container.</description>
		<content:encoded><![CDATA[<p>William, thanks for the tip on Arquillian, it looks interesting. We ended up using the embedded glassfish plugin, but vers 3.0, I can&#8217;t remember what exactly, but there was a difference in 3.1 that stopped us from using it.</p>
<p>We are using Spring 3 with JPA2 (Hibernate as the provider) and JTA transactions out of the container.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Come back Gavin King, all is forgiven (Spring is the new EJB 2.1) by William Keller</title>
		<link>http://www.crazymcphee.net/x/2011/02/16/come-back-gavin-king-all-is-forgiven-spring-is-the-new-ejb-2-1/comment-page-1/#comment-1090</link>
		<dc:creator>William Keller</dc:creator>
		<pubDate>Fri, 15 Apr 2011 12:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=600#comment-1090</guid>
		<description>I&#039;ve been playing with Arquillian, and it is definitely not ready yet. It does not yet supply all your &#039;compile&#039; dependencies from maven and you have to add the JARs manually via the EAR shrink wrap API, which was quite undocumented from when I last checked. The API is still evolving. 

Try embedded Glassfish 3.1- that is what is working for me, but I&#039;m still figuring out how to set up test persistence units cleanly (I&#039;m an EJB 3.1 newbie).

I don&#039;t hate spring, but I&#039;m quite bored with the config (I&#039;m not such a fan of @Configuration - EJB3.1 annotations are much nicer than Springs). One thing spring does nicely as far as transactions go? It lets you set the serialisation strategy per method, and also lets you set up the &#039;readOnly&#039; flag. EJB doesn&#039;t let you set up the serialisation strategy, but you can achieve the readOnly thing by setting PROPAGATION.SUPPORTS

Also, JPA2 is lacking &#039;scrollable result sets&#039; - and you may have to resort to the underlying native ORM API (via em.getDelegate()) - which is ugly. The other way is to have two separate queries (one to fetch the count, the other to fetch the page of results).

But, I&#039;m still going with JPA2. The criteria api is very thorough and lets you do complex joins, something which was lacking out of the Hibernate criteria api.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been playing with Arquillian, and it is definitely not ready yet. It does not yet supply all your &#8216;compile&#8217; dependencies from maven and you have to add the JARs manually via the EAR shrink wrap API, which was quite undocumented from when I last checked. The API is still evolving. </p>
<p>Try embedded Glassfish 3.1- that is what is working for me, but I&#8217;m still figuring out how to set up test persistence units cleanly (I&#8217;m an EJB 3.1 newbie).</p>
<p>I don&#8217;t hate spring, but I&#8217;m quite bored with the config (I&#8217;m not such a fan of @Configuration &#8211; EJB3.1 annotations are much nicer than Springs). One thing spring does nicely as far as transactions go? It lets you set the serialisation strategy per method, and also lets you set up the &#8216;readOnly&#8217; flag. EJB doesn&#8217;t let you set up the serialisation strategy, but you can achieve the readOnly thing by setting PROPAGATION.SUPPORTS</p>
<p>Also, JPA2 is lacking &#8216;scrollable result sets&#8217; &#8211; and you may have to resort to the underlying native ORM API (via em.getDelegate()) &#8211; which is ugly. The other way is to have two separate queries (one to fetch the count, the other to fetch the page of results).</p>
<p>But, I&#8217;m still going with JPA2. The criteria api is very thorough and lets you do complex joins, something which was lacking out of the Hibernate criteria api.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Busted-arse Apple Mobile Me Calendar forced onto me.com users by Robby Ralston</title>
		<link>http://www.crazymcphee.net/x/2011/03/16/busted-arse-apple-mobile-me-calendar-forced-onto-me-com-users/comment-page-1/#comment-1067</link>
		<dc:creator>Robby Ralston</dc:creator>
		<pubDate>Sat, 19 Mar 2011 01:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=615#comment-1067</guid>
		<description>I have exactly the same feeling. Even posted a note in http://discussions.apple.com/thread.jspa?threadID=2785672&amp;tstart=0

I used to share my calendar via Spanning Sync + GCal with my wife, my secretary and a partner that have a PC. Now Apple wants me to buy individual $100 MobileMe accounts for each of them? Come on...

The good news I have found in you post is that I can downgrade to the old calendar. I&#039;ll do that and and another alternative to manage my calendar without MobileMe.</description>
		<content:encoded><![CDATA[<p>I have exactly the same feeling. Even posted a note in <a href="http://discussions.apple.com/thread.jspa?threadID=2785672&#038;tstart=0" rel="nofollow">http://discussions.apple.com/thread.jspa?threadID=2785672&#038;tstart=0</a></p>
<p>I used to share my calendar via Spanning Sync + GCal with my wife, my secretary and a partner that have a PC. Now Apple wants me to buy individual $100 MobileMe accounts for each of them? Come on&#8230;</p>
<p>The good news I have found in you post is that I can downgrade to the old calendar. I&#8217;ll do that and and another alternative to manage my calendar without MobileMe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A terrible, terrible Eclipse bug by Ben Ihle</title>
		<link>http://www.crazymcphee.net/x/2011/03/10/a-terrible-terrible-eclipse-bug/comment-page-1/#comment-1064</link>
		<dc:creator>Ben Ihle</dc:creator>
		<pubDate>Mon, 14 Mar 2011 14:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=610#comment-1064</guid>
		<description>Wait, what? I&#039;ve gone entire days without touching anything but the ctrl, c &amp; v keys :)</description>
		<content:encoded><![CDATA[<p>Wait, what? I&#8217;ve gone entire days without touching anything but the ctrl, c &amp; v keys <img src='http://www.crazymcphee.net/x/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A terrible, terrible Eclipse bug by Scot Mcphee</title>
		<link>http://www.crazymcphee.net/x/2011/03/10/a-terrible-terrible-eclipse-bug/comment-page-1/#comment-1053</link>
		<dc:creator>Scot Mcphee</dc:creator>
		<pubDate>Thu, 10 Mar 2011 02:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=610#comment-1053</guid>
		<description>I am thinking about writing a fantastic Eclipse plugin called &quot;Improve Your Code By Countless Millions of Fabulous Metric Points&quot; which consumes utterly the CTRL-V (Command-V on a Mac) and removes the &quot;Paste&quot; item from &quot;Edit&quot; menu.</description>
		<content:encoded><![CDATA[<p>I am thinking about writing a fantastic Eclipse plugin called &#8220;Improve Your Code By Countless Millions of Fabulous Metric Points&#8221; which consumes utterly the CTRL-V (Command-V on a Mac) and removes the &#8220;Paste&#8221; item from &#8220;Edit&#8221; menu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A terrible, terrible Eclipse bug by Robert Watkins</title>
		<link>http://www.crazymcphee.net/x/2011/03/10/a-terrible-terrible-eclipse-bug/comment-page-1/#comment-1052</link>
		<dc:creator>Robert Watkins</dc:creator>
		<pubDate>Thu, 10 Mar 2011 01:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=610#comment-1052</guid>
		<description>Nor can you escape this hideous defect by leaving your IDE and coding in Emacs, VIM, or your text editor of choice - they all have it!.

(Though, in the case of both VIM and Emacs, it is fortunate that &#039;correct&#039; use of this feature requires some insane level of knowledge of keyboard &#039;short-cuts&#039;)</description>
		<content:encoded><![CDATA[<p>Nor can you escape this hideous defect by leaving your IDE and coding in Emacs, VIM, or your text editor of choice &#8211; they all have it!.</p>
<p>(Though, in the case of both VIM and Emacs, it is fortunate that &#8216;correct&#8217; use of this feature requires some insane level of knowledge of keyboard &#8216;short-cuts&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Broken Weblogic JMS &#8220;clustering&#8221; by Scot Mcphee</title>
		<link>http://www.crazymcphee.net/x/2011/03/04/broken-weblogic-jms-clustering/comment-page-1/#comment-1050</link>
		<dc:creator>Scot Mcphee</dc:creator>
		<pubDate>Fri, 04 Mar 2011 22:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=606#comment-1050</guid>
		<description>Jboss.

A single logical listener that is clustered should not be regarded as multiple listeners.

Even in Weblogic, if you bind an (unclustered) MDB to a topic, you&#039;ll get multiple instances of the MDB started. Yet oddly enough only one of these instances will get the topic message. Weblogic understands in that context these are all one logical listening unit. Clusters are the same, only the listeners are distributed over multiple JVMs. The problem is the ancient JMS implementation in Weblogic and the &quot;hack&quot; they put together to make them cluster, which is a load-balancing hack.</description>
		<content:encoded><![CDATA[<p>Jboss.</p>
<p>A single logical listener that is clustered should not be regarded as multiple listeners.</p>
<p>Even in Weblogic, if you bind an (unclustered) MDB to a topic, you&#8217;ll get multiple instances of the MDB started. Yet oddly enough only one of these instances will get the topic message. Weblogic understands in that context these are all one logical listening unit. Clusters are the same, only the listeners are distributed over multiple JVMs. The problem is the ancient JMS implementation in Weblogic and the &#8220;hack&#8221; they put together to make them cluster, which is a load-balancing hack.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

