<?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 Just wondering....</title>
	<atom:link href="http://www.sworddance.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sworddance.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 10 Jan 2010 10:18:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Pride before the fall? by Dave Doolin</title>
		<link>http://www.sworddance.com/blog/2010/01/10/pride-before-the-fall/comment-page-1/#comment-16597</link>
		<dc:creator>Dave Doolin</dc:creator>
		<pubDate>Sun, 10 Jan 2010 10:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2010/01/10/pride-before-the-fall/#comment-16597</guid>
		<description>Why does everyone seem bent on rushing back to the monkey pack mentality of high school?  I don&#039;t get it.</description>
		<content:encoded><![CDATA[<p>Why does everyone seem bent on rushing back to the monkey pack mentality of high school?  I don&#8217;t get it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Woot! I crashed the javac by Dave Doolin</title>
		<link>http://www.sworddance.com/blog/2010/01/07/woot-i-crashed-the-javac/comment-page-1/#comment-16595</link>
		<dc:creator>Dave Doolin</dc:creator>
		<pubDate>Fri, 08 Jan 2010 03:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/?p=556#comment-16595</guid>
		<description>Heh... my buddy Keith did that when he extended my Fortran-to-Java compiler back in &#039;98.  Turns out the address spce wasn&#039;t large to get to the end of some unrolled loop or something.  I forget the details.</description>
		<content:encoded><![CDATA[<p>Heh&#8230; my buddy Keith did that when he extended my Fortran-to-Java compiler back in &#8216;98.  Turns out the address spce wasn&#8217;t large to get to the end of some unrolled loop or something.  I forget the details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Woot! I crashed the javac by &#8230; and I nailed the javadoc &#171; Just wondering&#8230;.</title>
		<link>http://www.sworddance.com/blog/2010/01/07/woot-i-crashed-the-javac/comment-page-1/#comment-16594</link>
		<dc:creator>&#8230; and I nailed the javadoc &#171; Just wondering&#8230;.</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/?p=556#comment-16594</guid>
		<description>[...] Just wondering&#8230;.       &#171; Woot! I crashed the javac [...]</description>
		<content:encoded><![CDATA[<p>[...] Just wondering&#8230;.       &laquo; Woot! I crashed the javac [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on explain this by Woot! I crashed the javac &#171; Just wondering&#8230;.</title>
		<link>http://www.sworddance.com/blog/2007/08/13/explain-this/comment-page-1/#comment-16593</link>
		<dc:creator>Woot! I crashed the javac &#171; Just wondering&#8230;.</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2007/08/13/explain-this/#comment-16593</guid>
		<description>[...] again (and again) the eclipse compiler is more robust than the sun [...]</description>
		<content:encoded><![CDATA[<p>[...] again (and again) the eclipse compiler is more robust than the sun [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generic annoyances in java by Woot! I crashed the javac (and javadoc as well!) &#171; Just wondering&#8230;.</title>
		<link>http://www.sworddance.com/blog/2010/01/06/generic-annoyances-in-java/comment-page-1/#comment-16592</link>
		<dc:creator>Woot! I crashed the javac (and javadoc as well!) &#171; Just wondering&#8230;.</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/?p=548#comment-16592</guid>
		<description>[...] Just wondering&#8230;.       &#171; Generic annoyances in java [...]</description>
		<content:encoded><![CDATA[<p>[...] Just wondering&#8230;.       &laquo; Generic annoyances in java [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on explain this by Generic annoyances in java &#171; Just wondering&#8230;.</title>
		<link>http://www.sworddance.com/blog/2007/08/13/explain-this/comment-page-1/#comment-16591</link>
		<dc:creator>Generic annoyances in java &#171; Just wondering&#8230;.</dc:creator>
		<pubDate>Thu, 07 Jan 2010 01:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2007/08/13/explain-this/#comment-16591</guid>
		<description>[...] This compiles just fine in eclipse, but once again sun&#8217;s javac is temperamental. [...]</description>
		<content:encoded><![CDATA[<p>[...] This compiles just fine in eclipse, but once again sun&#8217;s javac is temperamental. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hibernate&#8217;s event system by patrick</title>
		<link>http://www.sworddance.com/blog/2006/10/01/hibernates-event-system/comment-page-1/#comment-16585</link>
		<dc:creator>patrick</dc:creator>
		<pubDate>Fri, 01 Jan 2010 06:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2006/10/01/hibernates-event-system/#comment-16585</guid>
		<description>Do you mean insert/remove before a Hibernate SessionFactory is created from a Configuration? Or while a SessionFactory is actively in use?

Programmatically adding new EventListeners to a Configuration is straight-forward.

However, adding/removing event listeners to a running SessionFactory is semi-sort-of-possible-but-not-recommended. Look at org.hibernate.impl.SessionFactoryImpl. Notice that most member variables are final - including the EventListeners and Interceptor variables.

I would take this as a sign that Hibernate developers regard (rightly so) that such changes to the listener list as problematic. Especially since the actual core behavior of persistence is encapsulated in an EventListener! Suddenly for a period of time no data is being saved could be a possible race condition!

Internally, we have an EventListener implementation that delegates to a list of EventListeners. This allows the dynamic add/remove - however, we are only doing this because of some configuration oddities. 

In normal practice I really would question if this is. Have you considered creating a new SessionFactory with the new EventListeners and Interceptors? Doing so is a more likely to be clean and avoid &quot;interesting&quot; race conditions.

Also why are you trying to do this modification at runtime?</description>
		<content:encoded><![CDATA[<p>Do you mean insert/remove before a Hibernate SessionFactory is created from a Configuration? Or while a SessionFactory is actively in use?</p>
<p>Programmatically adding new EventListeners to a Configuration is straight-forward.</p>
<p>However, adding/removing event listeners to a running SessionFactory is semi-sort-of-possible-but-not-recommended. Look at org.hibernate.impl.SessionFactoryImpl. Notice that most member variables are final &#8211; including the EventListeners and Interceptor variables.</p>
<p>I would take this as a sign that Hibernate developers regard (rightly so) that such changes to the listener list as problematic. Especially since the actual core behavior of persistence is encapsulated in an EventListener! Suddenly for a period of time no data is being saved could be a possible race condition!</p>
<p>Internally, we have an EventListener implementation that delegates to a list of EventListeners. This allows the dynamic add/remove &#8211; however, we are only doing this because of some configuration oddities. </p>
<p>In normal practice I really would question if this is. Have you considered creating a new SessionFactory with the new EventListeners and Interceptors? Doing so is a more likely to be clean and avoid &#8220;interesting&#8221; race conditions.</p>
<p>Also why are you trying to do this modification at runtime?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hibernate&#8217;s event system by Paulo</title>
		<link>http://www.sworddance.com/blog/2006/10/01/hibernates-event-system/comment-page-1/#comment-16583</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Mon, 28 Dec 2009 13:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2006/10/01/hibernates-event-system/#comment-16583</guid>
		<description>OK, this seems like a good place to ask: is it possible to insert/remove specific event listeners in Hibernate at runtime?</description>
		<content:encoded><![CDATA[<p>OK, this seems like a good place to ask: is it possible to insert/remove specific event listeners in Hibernate at runtime?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Diverging Diamonds: A great pedestrian idea! by Pete Warden</title>
		<link>http://www.sworddance.com/blog/2009/12/06/diverging-diamonds-a-great-pedestrian-idea/comment-page-1/#comment-16563</link>
		<dc:creator>Pete Warden</dc:creator>
		<pubDate>Mon, 07 Dec 2009 22:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/?p=544#comment-16563</guid>
		<description>There&#039;s also another attraction to a central walkway. Most highway bridges in my area have elaborate fences along the sides to prevent vandals from throwing objects into the freeway below. Moving the sidewalk to the middle seems a good deterrent. Anything that made them feel less like prison balconies would be an improvement!</description>
		<content:encoded><![CDATA[<p>There&#8217;s also another attraction to a central walkway. Most highway bridges in my area have elaborate fences along the sides to prevent vandals from throwing objects into the freeway below. Moving the sidewalk to the middle seems a good deterrent. Anything that made them feel less like prison balconies would be an improvement!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Stations do NOT affect train speed by patrick</title>
		<link>http://www.sworddance.com/blog/2009/06/15/stations-do-not-affect-train-speed/comment-page-1/#comment-16558</link>
		<dc:creator>patrick</dc:creator>
		<pubDate>Mon, 23 Nov 2009 05:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/?p=444#comment-16558</guid>
		<description>@Stuart --

Thanks for stopping by.

Your issues are:

1) turnout speeds require that a train slowdown to exist the main track to the local loop.
2) Right of Way widths with 4 tracks.

Turnout Speed limitations
---------------------
You are correct that a train will need to slow down because of limitations on turnout speeds. However, this point is meaningless for these reasons:

 * The speed through the east bay ( just like along the peninsula if the Pacheco Pass route is used ) will likely not be at maximum speed.
 * Even if the train is running flat out. Based on my back-of-envelope calculations slowing from 220mph to 140mph should only require that the following train be 5 minutes behind (instead of 3 minutes behind). This is a minor scheduling issue and does not impact the following train&#039;s speed.

Constrained right-of-way
----------------------
This is a red herring. The same &quot;problem&quot; only worse exists along the Caltrain ROW. But this does not seem to deter the California High-Speed Rail &quot;authority&quot; from deciding to drive the train through some very expensive real-estate. Most property bordering the train tends to be commercial anyhow.

In any event, 4 tracks requires only 80ft Right-of-Way, which is considerably narrower than many roads.

---------------------------------------


The rest of your points fall into the category of interesting red herrings that do not pertain to the question at hand.


 * &quot;SNCF complain that pressure from local communities for more services to stop at their town, impedes them from running more efficient TGV services.&quot; --  So more people want the train to stop in their town... how is this related to the question at hand which is does the existence of a train station impact the speed of a train that is not stopping. 

* &quot;Reducing line capacity&quot; is only meaningful if the traffic numbers warrant more trains. If the demand does not warrant more trains then the &quot;reduction in capacity&quot; is meaningless.

* Madrid - to - Barcelona observations: Interesting but meaningless. Missing data: When ? What time of day? Weekday? Weekend? 

-----------------------------

My point is and continues to be: a freeway (or a rail system) can be engineered for higher speeds than possible for the current vehicles. China in fact is building their High-Speed Rail System to support trains running at 250mph anticipating that those speeds will soon be possible.</description>
		<content:encoded><![CDATA[<p>@Stuart &#8211;</p>
<p>Thanks for stopping by.</p>
<p>Your issues are:</p>
<p>1) turnout speeds require that a train slowdown to exist the main track to the local loop.<br />
2) Right of Way widths with 4 tracks.</p>
<p>Turnout Speed limitations<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
You are correct that a train will need to slow down because of limitations on turnout speeds. However, this point is meaningless for these reasons:</p>
<p> * The speed through the east bay ( just like along the peninsula if the Pacheco Pass route is used ) will likely not be at maximum speed.<br />
 * Even if the train is running flat out. Based on my back-of-envelope calculations slowing from 220mph to 140mph should only require that the following train be 5 minutes behind (instead of 3 minutes behind). This is a minor scheduling issue and does not impact the following train&#8217;s speed.</p>
<p>Constrained right-of-way<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
This is a red herring. The same &#8220;problem&#8221; only worse exists along the Caltrain ROW. But this does not seem to deter the California High-Speed Rail &#8220;authority&#8221; from deciding to drive the train through some very expensive real-estate. Most property bordering the train tends to be commercial anyhow.</p>
<p>In any event, 4 tracks requires only 80ft Right-of-Way, which is considerably narrower than many roads.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>The rest of your points fall into the category of interesting red herrings that do not pertain to the question at hand.</p>
<p> * &#8220;SNCF complain that pressure from local communities for more services to stop at their town, impedes them from running more efficient TGV services.&#8221; &#8212;  So more people want the train to stop in their town&#8230; how is this related to the question at hand which is does the existence of a train station impact the speed of a train that is not stopping. </p>
<p>* &#8220;Reducing line capacity&#8221; is only meaningful if the traffic numbers warrant more trains. If the demand does not warrant more trains then the &#8220;reduction in capacity&#8221; is meaningless.</p>
<p>* Madrid &#8211; to &#8211; Barcelona observations: Interesting but meaningless. Missing data: When ? What time of day? Weekday? Weekend? </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>My point is and continues to be: a freeway (or a rail system) can be engineered for higher speeds than possible for the current vehicles. China in fact is building their High-Speed Rail System to support trains running at 250mph anticipating that those speeds will soon be possible.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
