<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.hydrussoftware.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>John&amp;#39;s Brain Dump - All Comments</title><link>http://community.hydrussoftware.com/blogs/john/default.aspx</link><description>All the technical gyrations I go through to build software, so I don&amp;#39;t forget them and others can benefit from them.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Developing on Community Server</title><link>http://community.hydrussoftware.com/blogs/john/archive/2009/04/08/upgrading-a-community-server-site-to-a-new-version-of-the-product.aspx#5629</link><pubDate>Tue, 23 Jun 2009 16:07:22 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:5629</guid><dc:creator>Community Server</dc:creator><description>&lt;p&gt;When you come to developing on top of Community Server, you&amp;amp;rsquo;ve first got to decide whether or not&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=5629" width="1" height="1"&gt;</description></item><item><title>Developing on Community Server</title><link>http://community.hydrussoftware.com/blogs/john/archive/2009/04/08/upgrading-a-community-server-site-to-a-new-version-of-the-product.aspx#5210</link><pubDate>Wed, 29 Apr 2009 19:26:54 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:5210</guid><dc:creator>Community Server</dc:creator><description>&lt;p&gt;When you come to developing on top of Community Server, you&amp;amp;rsquo;ve first got to decide whether or not&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=5210" width="1" height="1"&gt;</description></item><item><title>re: Community Server Video Preview Module</title><link>http://community.hydrussoftware.com/blogs/john/archive/2008/11/06/community-server-video-preview-module.aspx#1252</link><pubDate>Mon, 10 Nov 2008 23:26:13 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:1252</guid><dc:creator>Jos&amp;#233; Manuel</dc:creator><description>I hope you luck to do this module. It will be a must!&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=1252" width="1" height="1"&gt;</description></item><item><title>re: Community Server Video Preview Module</title><link>http://community.hydrussoftware.com/blogs/john/archive/2008/11/06/community-server-video-preview-module.aspx#1251</link><pubDate>Mon, 10 Nov 2008 22:12:03 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:1251</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Right, you would definitely need to create updated file viewers for that. &amp;nbsp;You may be able to use the generated video preview image from this module in the updated viewers.&lt;/p&gt;
&lt;p&gt;If you do try to implement this, then let me know how it goes! &amp;nbsp;I may try my hand at it as well.&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=1251" width="1" height="1"&gt;</description></item><item><title>re: Community Server Video Preview Module</title><link>http://community.hydrussoftware.com/blogs/john/archive/2008/11/06/community-server-video-preview-module.aspx#1250</link><pubDate>Mon, 10 Nov 2008 22:04:18 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:1250</guid><dc:creator>fractalnavel</dc:creator><description>ok, i see that.

but what i was looking for was for the preview to be in the background of the &amp;quot;click to play&amp;quot; view, which normally uses &lt;img src="http://community.hydrussoftware.com/utility/images/video-preview.gif" alt="" /&gt;.  superimposing that image over the preview and using the result...

it appears that this would need some sort of adaptation of what FileViewers.Render(..) does.

hmmm - if _you_ don&amp;#39;t get to it, _i_ will ;-)&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=1250" width="1" height="1"&gt;</description></item><item><title>re: Community Server Video Preview Module</title><link>http://community.hydrussoftware.com/blogs/john/archive/2008/11/06/community-server-video-preview-module.aspx#1249</link><pubDate>Mon, 10 Nov 2008 21:35:55 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:1249</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Right, I looked at the source and realized that the PostVideoPreviewImageViewer doesn't properly respect the ViewType attribute. &amp;nbsp;I initially intended this control to only be used to show preview images, never actual content.&lt;/p&gt;
&lt;p&gt;I will work on publishing an update later this week.&lt;/p&gt;
&lt;p&gt;In the meantime, if your videos are stored in a media gallery, then you can use the custom MediaGalleryPostViewer control supplied with the module and you should get the behavior you expect: video preview images when viewing a preview and &amp;quot;click to play&amp;quot; when viewing an actual video.&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=1249" width="1" height="1"&gt;</description></item><item><title>re: Community Server Video Preview Module</title><link>http://community.hydrussoftware.com/blogs/john/archive/2008/11/06/community-server-video-preview-module.aspx#1248</link><pubDate>Mon, 10 Nov 2008 21:17:32 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:1248</guid><dc:creator>fractalnavel</dc:creator><description>cool, very nice.  except, um - when i use the PostVideoPreviewImageViewer control, i lose the &amp;quot;click to play&amp;quot; functionality.  that appears to be intended behavior.  or am i missing something ?&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=1248" width="1" height="1"&gt;</description></item><item><title>re: Debugging MOSS 2007 Web Parts</title><link>http://community.hydrussoftware.com/blogs/john/archive/2007/05/03/debugging-moss-2007-web-parts.aspx#1239</link><pubDate>Thu, 06 Nov 2008 23:34:14 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:1239</guid><dc:creator>Arjun</dc:creator><description>this is the best post ever! I started working on MOSS 2007; 3 days ago.&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=1239" width="1" height="1"&gt;</description></item><item><title>re: Community Server Video Preview Module</title><link>http://community.hydrussoftware.com/blogs/john/archive/2008/11/06/community-server-video-preview-module.aspx#1238</link><pubDate>Thu, 06 Nov 2008 18:32:00 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:1238</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Here's one thing I forgot, that came out of a conversation I just had. &amp;nbsp;In order to start seeing video preview images, you need to edit and save the posts in order to generate the previews.&lt;/p&gt;
&lt;p&gt;If you add the module and don't see any preview images, edit one of your media gallery video posts, save it, and then look again. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you still don't see images, look in your Community Server error logs in the Control Panel to see if any errors with the module were reported.&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=1238" width="1" height="1"&gt;</description></item><item><title>re: Debugging MOSS 2007 Web Parts</title><link>http://community.hydrussoftware.com/blogs/john/archive/2007/05/03/debugging-moss-2007-web-parts.aspx#915</link><pubDate>Fri, 10 Oct 2008 12:41:25 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:915</guid><dc:creator>Adam</dc:creator><description>&lt;p&gt;Thanks for this post! &amp;nbsp;I too hated the complete lack of error information. &amp;nbsp;You have saved me a ton of time.&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=915" width="1" height="1"&gt;</description></item><item><title>re: 5 Reasons to use Indexed Views</title><link>http://community.hydrussoftware.com/blogs/john/archive/2005/11/23/5-reasons-to-use-indexed-views.aspx#652</link><pubDate>Wed, 30 Jul 2008 14:23:12 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:652</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Fred,&lt;/p&gt;
&lt;p&gt;On your first question, I&amp;#39;m not exactly sure how to answer without seeing your actual tables &amp;amp; queries. &amp;nbsp;Based on what you&amp;#39;ve said, I don&amp;#39;t think that you need a new index on your second view. &amp;nbsp;Linking customer ID from your indexed view to the customers table should be a trivial operation that won&amp;#39;t benefit much from using an indexed view, so I wouldn&amp;#39;t worry about putting an index on the second view.&lt;/p&gt;
&lt;p&gt;On your second question, you should be able to request the second view. &amp;nbsp;If implemented according to my article, your second view will reference the first (indexed) view, so your query will gain the benefit of the view index.&lt;/p&gt;
&lt;p&gt;Hope that helps! &amp;nbsp;Keep the questions coming.&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=652" width="1" height="1"&gt;</description></item><item><title>re: 5 Reasons to use Indexed Views</title><link>http://community.hydrussoftware.com/blogs/john/archive/2005/11/23/5-reasons-to-use-indexed-views.aspx#651</link><pubDate>Wed, 30 Jul 2008 12:41:21 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:651</guid><dc:creator>frederic_eynard</dc:creator><description>&lt;p&gt;[comment moved from my old blog]&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;Thanks for your article.&lt;/p&gt;
&lt;p&gt;I tried to apply your solution, but I encountered some difficulties. &lt;/p&gt;
&lt;p&gt;To Summary, I have 3 tables: date, customer and order table. In the first one, I have the YEAR column ( to simplify.. ) the second one, I have the cust_id, first name, last name. And the last one, I have a ref to date table, a ref to customer table, and a ORDER_AMOUNT column.&lt;/p&gt;
&lt;p&gt;I have created a first index on YEAR, SUM(ORDER_AMOUNT), CUST_ID.&lt;/p&gt;
&lt;p&gt;This works fine. The sql optimizer uses my index. &lt;/p&gt;
&lt;p&gt;I try to use your method to get the customer name with the previous result.&lt;/p&gt;
&lt;p&gt;So I created a new view as mentioned in your articles. But after that, I did not able to create the new index, because on sqlserver 2005, the index can not be created on a view.&lt;/p&gt;
&lt;p&gt;The other question I have. If you want to obtain YEAR, SUM(ORDER_AMOUNT), CUST_ID and LASTNAME, do You need to make the request directly on your second view or do you leave the SQL optimizer rewrite the query?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Fred&lt;/p&gt;&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=651" width="1" height="1"&gt;</description></item><item><title>NDoc 2.0 is (Not Quite) Dead! </title><link>http://community.hydrussoftware.com/blogs/john/archive/2006/07/26/ndoc-2-0-is-dead.aspx#643</link><pubDate>Wed, 23 Jul 2008 20:59:01 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:643</guid><dc:creator>John's Brain Dump</dc:creator><description>&lt;p&gt;Many of you were saddened by the news that Kevin Downs quit development on NDoc , the .NET documentation&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=643" width="1" height="1"&gt;</description></item><item><title>re: 5 Reasons to use Indexed Views</title><link>http://community.hydrussoftware.com/blogs/john/archive/2005/11/23/5-reasons-to-use-indexed-views.aspx#636</link><pubDate>Tue, 15 Jul 2008 18:15:42 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:636</guid><dc:creator>John</dc:creator><description>&lt;p&gt;You're right Ryan--the second query couldn't be indexed. &amp;nbsp;But I'm not suggesting that the second query be indexed. &amp;nbsp;In order for this example to work, you'll need both views. &amp;nbsp;(Sorry if that's not clear.)&lt;/p&gt;
&lt;p&gt;The first view (vwAccountTransactionBalance_Indexed) is the indexed view, where your performance gains are made. &amp;nbsp;The second view (vwAccountTransactionBalance&lt;/p&gt;
&lt;p&gt;) uses the first view and includes the LEFT JOIN to ensure that no accounts are missed because they have no transactions. &amp;nbsp;The second view also ensures that you're using the index on your view by specifying the (NOEXPAND) hint.&lt;/p&gt;
&lt;p&gt;You should always use the second view in your application queries, and you'll get the benefit of the index on the first view.&lt;/p&gt;
&lt;p&gt;I hope that clears things up!&lt;/p&gt;
&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=636" width="1" height="1"&gt;</description></item><item><title>re: 5 Reasons to use Indexed Views</title><link>http://community.hydrussoftware.com/blogs/john/archive/2005/11/23/5-reasons-to-use-indexed-views.aspx#635</link><pubDate>Tue, 15 Jul 2008 17:51:48 GMT</pubDate><guid isPermaLink="false">c2db566d-197c-4b54-a525-68e4f5f6e16d:635</guid><dc:creator>Ryan</dc:creator><description>&lt;p&gt;You would not be able to index the second query in #4, because of the LEFT JOIN.&lt;/p&gt;&lt;img src="http://community.hydrussoftware.com/aggbug.aspx?PostID=635" width="1" height="1"&gt;</description></item></channel></rss>