<?xml version="1.0" encoding="UTF-8"?>
<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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Struggles by Lars C.</title>
	<atom:link href="http://startbigthinksmall.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://startbigthinksmall.wordpress.com</link>
	<description>... routine is the enemy.</description>
	<lastBuildDate>Mon, 10 Jun 2013 11:31:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='startbigthinksmall.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/48f9c77eeb6e0e94151481ef285fe3a1?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Struggles by Lars C.</title>
		<link>http://startbigthinksmall.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://startbigthinksmall.wordpress.com/osd.xml" title="Struggles by Lars C." />
	<atom:link rel='hub' href='http://startbigthinksmall.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Architecture Open Space 2012, 9.+10. Nov, Ratingen, Germany</title>
		<link>http://startbigthinksmall.wordpress.com/2012/10/30/architecture-open-space-2012-9-10-nov-ratingen-germany/</link>
		<comments>http://startbigthinksmall.wordpress.com/2012/10/30/architecture-open-space-2012-9-10-nov-ratingen-germany/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 10:35:45 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Just Drops]]></category>
		<category><![CDATA[archos]]></category>
		<category><![CDATA[archos12]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/?p=653</guid>
		<description><![CDATA[The last Architecture Open Spaces were great. Really great! (2009, 2010) Now it’s time again. Trust me, you can’t spend your days better. (at least in the context of continuous improvement!) Have a look at Architecture.Openspace 2012 (German)… Topics I’m interested in discussing (and partially have solutions for): Distributed Systems Design Transactions? Really? Consistency? Search [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=653&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The last Architecture Open Spaces were great. Really great! (<a href="https://startbigthinksmall.wordpress.com/2009/06/14/architecture-net-open-space-2009/">2009</a>, <a href="https://startbigthinksmall.wordpress.com/2010/11/05/architecture-open-space-2010-am-1011-dez-in-dortmund/">2010)</a></p>
<p>Now it’s time again. Trust me, you can’t spend your days better. (at least in the context of continuous improvement!) </p>
<p>Have a look at <a href="http://architectureopenspace.de">Architecture.Openspace 2012</a> (German)…</p>
<p>Topics I’m interested in discussing (and partially have solutions for):</p>
<ul>
<li>Distributed Systems Design</li>
<li>Transactions? Really?</li>
<li>Consistency?</li>
<li>Search</li>
<li>Messaging / NServiceBus</li>
<li>Alternative Data Storage / Raven DB</li>
<li>Developer Setup, Build, Versioning, Deployment, Hosting</li>
<li>Composite Distributed Web Applications</li>
</ul>
<p>Would be great to see you there. Speaking german is not really a requirement; I guess english should be fine for all software architects.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/653/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=653&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2012/10/30/architecture-open-space-2012-9-10-nov-ratingen-germany/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>KnockoutJS Binding Handler: autosizing input fields</title>
		<link>http://startbigthinksmall.wordpress.com/2012/10/10/knockoutjs-binding-handler-autosizing-input-fields/</link>
		<comments>http://startbigthinksmall.wordpress.com/2012/10/10/knockoutjs-binding-handler-autosizing-input-fields/#comments</comments>
		<pubDate>Wed, 10 Oct 2012 12:20:50 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[knockoutjs]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/?p=645</guid>
		<description><![CDATA[If you use KnockoutJS and want your input-fields to automatically grow and shrink with the input, use this custom handler. Usage Code Original code from javascript &#8211; Is there a jQuery autogrow plugin for text fields?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=645&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you use KnockoutJS and want your input-fields to automatically grow and shrink with the input, use this custom handler.</p>
<h2>Usage</h2>
<div style="margin:0;display:inline;float:none;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:ba8bfabd-c1c4-48ba-96d9-0d2221f1bebc" class="wlWriterEditableSmartContent">
<pre><pre class="brush: jscript; title: ; notranslate">
&lt;input 
  type=&quot;text&quot; 
  data-bind=&quot;autosize: {
    maxWidth: 500, 
    minWidth: 100, 
    comfortZone: 15
}&quot;/&gt;
</pre>
</div>
<h2>Code</h2>
<p>Original code from <a href="http://stackoverflow.com/questions/931207/is-there-a-jquery-autogrow-plugin-for-text-fields">javascript - Is there a jQuery autogrow plugin for text fields?</a></p>
<div style="margin:0;display:inline;float:none;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:ab8c4453-bc93-476e-b708-1cb63dea76ee" class="wlWriterEditableSmartContent">
<pre><pre class="brush: jscript; title: ; notranslate">
ko.bindingHandlers.autosize = {
   init: function(element, valueAccessor, allBindingsAccessor, viewModel) {
        var o = $.extend({
           maxWidth: 1000,
           minWidth: 0,
           comfortZone: 70
       }, valueAccessor());
        var minWidth = o.minWidth || $(element).width(),
           val = '',
           input = $(element),
           testSubject = $('&lt;tester/&gt;').css({
               position: 'absolute',
               top: -9999,
               left: -9999,
               width: 'auto',
               fontSize: input.css('fontSize'),
               fontFamily: input.css('fontFamily'),
               fontWeight: input.css('fontWeight'),
               letterSpacing: input.css('letterSpacing'),
               whiteSpace: 'nowrap'
           }),
           check = function() {
                if (val === (val = input.val())) {
                   return;
               }
                // Enter new content into testSubject
               var escaped = val.replace(/&amp;/g, '&amp;amp;').replace(/\s/g, ' ').replace(/&lt;/g, '&amp;lt;').replace(/&gt;/g, '&amp;gt;');
               testSubject.html(escaped);
                // Calculate new width + whether to change
               var testerWidth = testSubject.width(),
                   newWidth = (testerWidth + o.comfortZone) &gt;= minWidth ? testerWidth + o.comfortZone : minWidth,
                   currentWidth = input.width(),
                   isValidWidthChange = (newWidth &lt; currentWidth &amp;&amp; newWidth &gt;= minWidth)
                       || (newWidth &gt; minWidth &amp;&amp; newWidth &lt; o.maxWidth);
                // Animate width
               if (isValidWidthChange) {
                   input.width(newWidth);
               }
            };
        testSubject.insertAfter(element);
        ko.utils.registerEventHandler(element, 'keyup keydown blur update', check);
    }
    };
</pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/645/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=645&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2012/10/10/knockoutjs-binding-handler-autosizing-input-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>Tracking mailto, anchors and external links with Google Analytics</title>
		<link>http://startbigthinksmall.wordpress.com/2012/06/02/tracking-mailto-anchors-and-external-links-with-google-analytics/</link>
		<comments>http://startbigthinksmall.wordpress.com/2012/06/02/tracking-mailto-anchors-and-external-links-with-google-analytics/#comments</comments>
		<pubDate>Sat, 02 Jun 2012 20:17:18 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[googleanalytics]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/?p=642</guid>
		<description><![CDATA[With this simple snippet, all clicks on page-internal anchors, external links (http…) and mailto-links are tracked as events in Google Analytics:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=642&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>With this simple snippet, all clicks on page-internal anchors, external links (http…) and mailto-links are tracked as events in Google Analytics: </p>
<div style="margin:0;display:inline;float:none;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:7affc5a9-39d3-45ad-ad99-7afb80e0b827" class="wlWriterEditableSmartContent">
<pre><pre class="brush: jscript; title: ; notranslate">
$(function(){
    $(&quot;a[href*='http']&quot;).each(function() {
                    $(this).click(function (ev) {
                        var pageView = '/outgoing/' + $(this).attr('href');
                        _gat._getTrackerByName()._trackEvent('Outbound Links', pageView);
                        var _href = $(this).attr('href');
                        setTimeout(function() {
                            location.href = _href;
                        }, 100);
                        ev.preventDefault();
                        return false;
                    });
        });
      $(&quot;a[href*='mailto']&quot;).each(function() {
                    $(this).click(function (ev) {
                        var pageView = '/mailto/' + $(this).attr('href').substring(7);
                        _gat._getTrackerByName()._trackEvent('Mailto', pageView);
                    });
        });
      $(&quot;a[href*='#']&quot;).each(function() {
                    $(this).click(function (ev) {
                        var pageView = '/anchor/' + $(this).attr('href').substring(1);
                        _gat._getTrackerByName()._trackEvent('Anchors', pageView);
                    });
        });
});
</pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/642/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=642&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2012/06/02/tracking-mailto-anchors-and-external-links-with-google-analytics/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>How to authorize Local System Account for OpenSSH</title>
		<link>http://startbigthinksmall.wordpress.com/2012/04/26/how-to-authorize-local-system-account-for-openssh/</link>
		<comments>http://startbigthinksmall.wordpress.com/2012/04/26/how-to-authorize-local-system-account-for-openssh/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 12:50:58 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Just Drops]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/?p=639</guid>
		<description><![CDATA[We have Jenkins installed and want it to pull from bitbucket and github – authorization should happen through Open SSH (Public Keys). Jenkins runs as Local System. The problem How to find and then place id_rsa into ~/.ssh? How to get it to add things to ~/.ss/known_hosts? The solution As always: fake it until you [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=639&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>We have Jenkins installed and want it to pull from bitbucket and github – authorization should happen through Open SSH (Public Keys).</p>
<p>Jenkins runs as Local System.</p>
<h2>The problem</h2>
<p>How to find and then place <font face="Courier New">id_rsa</font> into <font face="Courier New">~/.ssh</font>? How to get it to add things to <font face="Courier New">~/.ss/known_hosts</font>?</p>
<p>
<h2>
<p>The solution</p>
</h2>
<p>As always: fake it until you make it!</p>
<ol>
<li>Run this command in an <strong>elevated command prompt</strong> on the server, in order to <strong>start a command prompt as Local System user</strong>:      </p>
<p><font face="Courier New">sc create testsvc binpath= &quot;cmd /K start&quot; type= own type= interact &amp;&amp; sc start testsvc &amp; sc delete testsvc       </p>
<p></font>The Interactive Services Detection will now bring up a dialog (probably in the background) where it asks you to “View the message” in order to display the service session where the command window will run.      </li>
<li>Run<font face="Courier New"> echo %userprofile%</font> to see where your storage is… In my case it is <font face="Courier New">&quot;C:\Windows\system32\config\systemprofile”.       <br /></font><font face="Courier New">       <br /></font><font color="#666666"><strong>Odd, but true:</strong> Sadly, when i try to put the id_rsa file into that directory from my normal user session, it somehow doesn’t make it into the local system accounts profile.        <br /></font></li>
<li>From here you can open the git bash by running <font face="Courier New">C:\Program Files (x86)\Git\bin\sh –login –i</font>      </li>
<li><font face="Courier New"><font face="Verdana">Then run</font> cd ~ <font face="Verdana">to switch to your home directory.         <br /></font></font></li>
<li>Then copy your id_rsa file here with a simple      <br /><font face="Courier New">cp &lt;id_rsa-location&gt; .</font><font face="Courier New"><font face="Verdana">         <br /></font></font></li>
<li>Now run <font face="Courier New">ssh </font><a href="mailto:git@bitbucket.org"><font face="Courier New">git@bitbucket.org</font></a> in order to try to authenticate and accept the host as known host.</li>
</ol>
<p><strong>BTW: also make sure you run git.cmd, not git.exe!!</strong></p>
<h3>Other posts that helped (and confused) me:</h3>
<ul>
<li><a title="http://serverfault.com/questions/9325/where-can-i-find-data-stored-by-a-windows-service-running-as-local-system-accou" href="http://serverfault.com/questions/9325/where-can-i-find-data-stored-by-a-windows-service-running-as-local-system-accou">http://serverfault.com/questions/9325/where-can-i-find-data-stored-by-a-windows-service-running-as-local-system-accou</a></li>
<li><a title="http://blogs.msdn.com/b/adioltean/archive/2004/11/27/271063.aspx" href="http://blogs.msdn.com/b/adioltean/archive/2004/11/27/271063.aspx">http://blogs.msdn.com/b/adioltean/archive/2004/11/27/271063.aspx</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/639/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/639/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=639&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2012/04/26/how-to-authorize-local-system-account-for-openssh/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>What the Azure Tools do to your Cloud Service Configuration</title>
		<link>http://startbigthinksmall.wordpress.com/2011/12/27/what-the-azure-tools-do-to-your-cloud-service-configuration/</link>
		<comments>http://startbigthinksmall.wordpress.com/2011/12/27/what-the-azure-tools-do-to-your-cloud-service-configuration/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 15:59:56 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Just Drops]]></category>
		<category><![CDATA[NPanday]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[npanday]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/?p=634</guid>
		<description><![CDATA[For my current work on Azure integration for NPanday I’m investigating what the Azure Tools do with the Service Configuration (*.cscfg) on publish, since the file in Visual Studio it isn’t the same as one which is deployed along with the Cloud Service Package (*.cspkg). The build &#38; package part for Azure Cloud Services can [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=634&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>For my current work on Azure integration for NPanday I’m investigating what the Azure Tools do with the Service Configuration (*.cscfg) on publish, since the file in Visual Studio it isn’t the same as one which is deployed along with the Cloud Service Package (*.cspkg).</p>
<p>The build &amp; package part for Azure Cloud Services can be found in <font face="Courier New">%Program Files (x86)%\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.6\Microsoft.WindowsAzure.targets</font></p>
<h3>Find and copy</h3>
<p>First, the build tries to figure out which configuration to build use as input by checking for <font face="Courier New">ServiceConfiguration.$(TargetProfile).ccfg</font> and <font face="Courier New">ServiceConfiguration.ccfg, </font><font face="Verdana">while</font>&#160;<font face="Courier New">$(TargetProfile)</font> is “Cloud” by default.</p>
<p>As a part of the build, after being copied, the configuration file is augmented with more settings.</p>
<h3>Add “file generated” comment</h3>
<p>That was why I noticed, that the files are different. The comment in the target file makes it look like the file is generated from scratch, but instead it is just a copy which changed here and there. By default, the comment is the only change <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:478b322d-a6b4-4f6e-910b-ab46554b84ab" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;AddGeneratedXmlComment
  GeneratedFile=&quot;@(TargetServiceConfiguration)&quot;
  SourceFile=&quot;@(SourceServiceConfiguration)&quot; /&gt;

</pre>
</div>
<h3>Cloud Tools version</h3>
<p>If IntelliTrace or profiling is enabled, this change lets Azure know which versions of the tools are in use.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:2025a92c-36c2-4312-92ea-6b58adc683d3" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;AddSettingToServiceConfiguration
   ServiceConfigurationFile=&quot;@(TargetServiceConfiguration)&quot;
   Setting =&quot;$(CloudToolsVersionSettingName)&quot;
   Value=&quot;$(CloudToolsVersion)&quot;
   Roles=&quot;@(DiagnosticAgentRoles)&quot;
   Condition=&quot;'$(EnableProfiling)'=='true' or '$(EnableIntelliTrace)'=='true'&quot; /&gt;
</pre>
</div>
<h3>Intelli Trace</h3>
<p>If IntelliTrace is enabled, it will add a connection string to the configuration:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:5ce10393-3ad4-4d12-8ddf-097e8e466310" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;AddIntelliTraceToServiceConfiguration
  ServiceConfigurationFile=&quot;@(TargetServiceConfiguration)&quot;
  IntelliTraceConnectionString=&quot;$(IntelliTraceConnectionString)&quot;
  Roles=&quot;@(DiagnosticAgentRoles)&quot;/&gt;
</pre>
</div>
<h3></h3>
<h3>Profiling</h3>
<p>If profiling is enabled, it will add an connection string, where to store profiling data.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:46fe36b2-cf1c-44ab-a70a-0a6b52a4319c" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;AddSettingToServiceConfiguration
  ServiceConfigurationFile=&quot;@(TargetServiceConfiguration)&quot;
  Setting =&quot;Profiling.ProfilingConnectionString&quot;
  Value=&quot;$(ProfilingConnectionString)&quot;
  Roles=&quot;@(DiagnosticAgentRoles)&quot; /&gt;
</pre>
</div>
<h3>Remote Desktop</h3>
<p>If remote desktop is set to be enabled, the build configures this switch in the cloud service configuration, too:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:a0999b8c-4674-4bc9-967d-27c73a9a93ee" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;ConfigureRemoteDesktop
      ServiceConfigurationFile=&quot;@(TargetServiceConfiguration)&quot;
      ServiceDefinitionFile=&quot;@(TargetServiceDefinition)&quot;
      Roles=&quot;@(RoleReferences)&quot; 
      RemoteDesktopIsEnabled=&quot;$(EnableRemoteDesktop)&quot;
      /&gt;  
</pre>
</div>
<h3></h3>
<h3>Web Deploy</h3>
<p>If WebDeploy is enabled for any of your web roles, it will add an endpoint to the definition and set the instance count to zero for all web roles in the service configuration.</p>
<p><div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:605b17f3-f5db-44e1-ad99-c6f0e577022e" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;EnableWebDeploy
  ServiceConfigurationFile=&quot;@(TargetServiceConfiguration)&quot;
  ServiceDefinitionFile=&quot;@(TargetServiceDefinition)&quot;
  RolesAndPorts=&quot;$(WebDeployPorts)&quot; /&gt;
</pre>
</div>
<h3></h3>
<h3>Connection String Override</h3>
<p>If ‘ShouldUpdateDiagnosticsConnectionStringOnPublish’ is set to true, the diagnostics connection string is overridden for all roles in order to prevent the default setting “UseDevelopmentStorage=true” to be published to the cloud.</p>
<p>This is one of the typical “Microsoft demo-ready” features. Most certainly you’ll have multiple role-spanning connection strings or settings that you’d like to change on publish, but this is the only one needed to get demos to run, right?</p>
<p><div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:11fd4a8f-645a-47b5-8a1c-e680f341276e" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;SetServiceConfigurationSetting 
  Roles=&quot;$(DiagnosticsConnectionStringRoles)&quot;
  ServiceConfigurationFile=&quot;@(TargetServiceConfiguration)&quot;
  Setting=&quot;$(DiagnosticsConnectionStringName)&quot;
  Value=&quot;$(DiagnosticsConnectionStringValue)&quot; /&gt;
</pre>
</div>
<h3></h3>
<h2></h2>
<h2>Corresponding parameters in NPanday</h2>
<p>The most complex part in the build is the setup for profiling and IntelliTrace; currently we have no plans on supporting these in NPanday. We will rather just deploy from Visual Studio, in case we need profiling or IntelliTrace. </p>
<p>I still have to look at how RDP and MSDeploy can be added to the configured service configuration; for a first release of NPanday that may have to be done manually.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/634/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=634&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2011/12/27/what-the-azure-tools-do-to-your-cloud-service-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>Plexus Container Annotations and Maven 2 Mojos</title>
		<link>http://startbigthinksmall.wordpress.com/2011/12/05/plexus-container-annotations-and-maven-2-mojos/</link>
		<comments>http://startbigthinksmall.wordpress.com/2011/12/05/plexus-container-annotations-and-maven-2-mojos/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 18:44:39 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[NPanday]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[plexus]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/?p=629</guid>
		<description><![CDATA[I’ll make it short: it’s a mess. You can’t use plexus container 1.5-tooling (with java annotations), if you have to load your components in a plexus 1.0.x-container – which is the case, if your components are utilized in a Maven 2.2.x Mojo. This is simply because plexus container 1.5.x uses “default” as a default role-hint, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=629&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I’ll make it short: it’s a mess. You can’t use <a href="http://plexus.codehaus.org/plexus-containers/plexus-component-metadata/generate-metadata-mojo.html">plexus container 1.5-tooling</a> (with java annotations), if you have to load your components in a <a href="http://plexus.codehaus.org/plexus-containers/history.html">plexus 1.0.x-container</a> – which is the case, if your components are utilized in a Maven 2.2.x Mojo. This is simply because plexus container 1.5.x uses “default” as a default role-hint, while NULL is the default in plexus 1.0.x.</p>
<p>But you can use the old tooling, <a href="http://plexus.codehaus.org/plexus-maven-plugin/descriptor-mojo.html">plexus-maven-plugin</a>. But by default it fails if it sees any annotation in your source code, because it uses a version of qdox that doesn’t know annotations yet.</p>
<p>Also, when generating the component descriptor it doesn’t merge with the manually defined one in<font face="Courier New"> src/resources</font> (the new one does). </p>
<p>And since, by default, the <font face="Courier New">merge-descriptors</font> goal runs before <font face="Courier New">descriptor</font> (generate) goal, you have to do some back flips to get that running too.</p>
<p>Well here is a configuration that works. At least in my project. Today.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:fe97c20f-bc34-4df6-bc5a-54b4bb62a643" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;plugin&gt;
  &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
  &lt;artifactId&gt;plexus-maven-plugin&lt;/artifactId&gt;
  &lt;version&gt;1.3.8&lt;/version&gt;
  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;com.thoughtworks.qdox&lt;/groupId&gt;
      &lt;artifactId&gt;qdox&lt;/artifactId&gt;
      &lt;version&gt;1.12&lt;/version&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;executions&gt;
    &lt;execution&gt;
      &lt;phase&gt;process-classes&lt;/phase&gt;
      &lt;goals&gt;
        &lt;goal&gt;descriptor&lt;/goal&gt;
        &lt;goal&gt;merge-descriptors&lt;/goal&gt;
      &lt;/goals&gt;
      &lt;configuration&gt;
        &lt;!-- descriptor config --&gt;
        &lt;outputDirectory&gt;${project.build.directory}&lt;/outputDirectory&gt;
        &lt;fileName&gt;plexus/auto-components.xml&lt;/fileName&gt;

        &lt;!-- merge config --&gt;
        &lt;descriptors&gt;
          &lt;descriptor&gt;${project.build.directory}/plexus/auto-components.xml&lt;/descriptor&gt;
          &lt;descriptor&gt;${basedir}/src/main/resources/META-INF/plexus/components.xml&lt;/descriptor&gt;
        &lt;/descriptors&gt;
      &lt;/configuration&gt;
    &lt;/execution&gt;
  &lt;/executions&gt;
&lt;/plugin&gt;
</pre>
</div>
<p><strong>Note:</strong> If you only want to use automatic descriptors, remove all <font face="Courier New">&lt;configuration&gt;…&lt;/configuration&gt;</font> contents. The defaults will work then.</p>
<p>You can define that in <font face="Courier New">build/pluginManagement/plugins</font> in your parent pom. Then in your project pom, you just put these four lines in <font face="Courier New">build/plugins</font>:</p>
<p><div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:f549796b-b145-4d93-b5de-ba3aca3a02bd" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;plugin&gt;
  &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
  &lt;artifactId&gt;plexus-maven-plugin&lt;/artifactId&gt;
&lt;/plugin&gt;
</pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/629/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=629&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2011/12/05/plexus-container-annotations-and-maven-2-mojos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>Create branches with Maven Release Plugin (SVN)</title>
		<link>http://startbigthinksmall.wordpress.com/2011/11/29/create-branches-with-maven-release-plugin-svn/</link>
		<comments>http://startbigthinksmall.wordpress.com/2011/11/29/create-branches-with-maven-release-plugin-svn/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 07:59:15 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Just Drops]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[maven release]]></category>
		<category><![CDATA[npanday]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/?p=624</guid>
		<description><![CDATA[I’m currently working on Azure and web packaging (MSDeploy) support for NPanday. I want to do that on a separate SVN branch, which I’ll then reintegrate later on. The current trunk version is 1.4.1-incubating-SNAPSHOT, and since we are about to release that upcoming version 1.4.1-incubating soon, I don’t want to pollute it with half-baked changes, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=624&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I’m currently working on <a href="https://issues.apache.org/jira/browse/NPANDAY-480">Azure</a> and <a href="https://issues.apache.org/jira/browse/NPANDAY-488#summary">web packaging (MSDeploy)</a> support for <a href="http://incubator.apache.org/npanday/">NPanday</a>. I want to do that on a separate SVN branch, which I’ll then reintegrate later on.</p>
<p>The current trunk version is <font face="Courier New">1.4.1-incubating-SNAPSHOT</font>, and since we are about to release that upcoming version<font face="Courier New"> <a href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+NPANDAY+AND+fixVersion+%3D+%221.4.1-incubating%22+ORDER+BY+status+DESC%2C+key+DESC">1.4.1-incubating</a></font> soon, I don’t want to pollute it with half-baked changes, while I’ll still need to develop on the trunk in parallel.</p>
<p>I’ll also need to be able to install both the current trunk and my experimental branch in my local Maven repository at the same time, hence I need a new temporary version for my branch. All this can be achieved using the Maven Release Plugin, in particular the branch goal. <strong>Maven Release supports 14 SCMs through the same interface; in this case we use SVN, though.</strong></p>
<h2>What I want</h2>
<ul>
<li>A new branch at <a href="https://svn.apache.org/repos/asf/incubator/npanday/branches/1.5.0-azuresupport">https://svn.apache.org/repos/asf/incubator/npanday/branches/1.5.0-azuresupport</a>,</li>
<li>and properly versioned POMs, using version <font face="Courier New">1.5.0-azuresupport-SNAPSHOT</font>.</li>
</ul>
<h2>How-to</h2>
<p>The command I need to run</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:ab85d6dc-234a-4b80-8e68-3a10ea6d934a" class="wlWriterEditableSmartContent">
<pre><pre class="brush: csharp; title: ; notranslate">
mvn release:branch 
   -DbranchName=1.5.0-azuresupport
   -DautoVersionSubmodules=true
   -DsuppressCommitBeforeBranch=true 
   -DremoteTagging=false 
   -DupdateBranchVersions=true 
   -DupdateWorkingCopyVersions=false 
</pre>
</div>
<p>Lets go through the settings line-by-line:</p>
<p><font size="3" face="Courier New"><strong>mvn release:branch</strong></font></p>
<p>Loads and executes the branch-goal from the Maven Release Plugin.</p>
<p><font size="3" face="Courier New"><strong>-DbranchName=1.5.0-azuresupport</strong></font></p>
<p>The name for the branch to be created. When on trunk, Maven figures out to use the default SVN layout for branches and tags. You can optionally define the branch base using the parameter branchBase like this: <font face="Courier New">–DbranchBase=https://svn.apache.org/repos/asf/incubator/npanday/branches/</font></p>
<p><font size="3" face="Courier New"><strong>-DautoVersionSubmodules=true</strong></font></p>
<p>When ran, Maven will prompt for the version to be used in the branch. I provided <font face="Courier New">1.5.0-azuresupport-SNAPSHOT</font>. Since <font face="Courier New">autoVersionSubmodules</font> is set to true, Maven Release will automatically use this versions for all submodules and hence also update all inner-project dependencies to that version.</p>
<p>The next four settings go hand-in-hand.</p>
<p><strong><font size="3" face="Courier New">-DsuppressCommitBeforeBranch=true</font></strong> </p>
<p>By default, Maven Releases creates intermediate commits to the current working copy. I’m not sure of the reason, but I think it was because some VCS do not support branching/tagging of modified working copies. This parameter makes sure, no intermediate commits are made to the working copy.</p>
<p><font size="3" face="Courier New"><strong>-DremoteTagging=false</strong></font> </p>
<p>With SVN, by default, tags are created remotely. If you want to ommit intermediate commits, this must be set to false.</p>
<p><font size="3"><font face="Courier New"><strong>-DupdateBranchVersions=true</strong> </font></font></p>
<p><strong><font face="Courier New"><font size="3">-DupdateWorkingCopyVersions=false</font> </font></strong></p>
<p>When branching, you can either define new versions for the current working copy, or the new branch, or both. As set here, the working copy will be left alone, and the plugin will ask for a new version for the branch.</p>
<p>Now I can switch forth and back between the trunk and the new branch, but still build and deploy artifacts side-by-side.</p>
<h2>Defaults in POM</h2>
<p>You may also provide the fixed values in the POM. And if you want to avoid interfering with other Maven Release actions, you might want to use a profile.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:4CF65DF0-5960-450c-B43D-AE27EAE72175:985d77eb-7f2f-43e0-9e8b-cbf7450ca57e" class="wlWriterEditableSmartContent">
<pre><pre class="brush: xml; title: ; notranslate">
&lt;profile&gt;
  &lt;id&gt;branch&lt;/id&gt;
  &lt;activation&gt;
    &lt;property&gt;
      &lt;name&gt;branchName&lt;/name&gt;
    &lt;/property&gt;
  &lt;/activation&gt;
  &lt;build&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.2.1&lt;/version&gt;
        &lt;configuration&gt;
          &lt;branchBase&gt;https://svn.apache.org/repos/asf/incubator/npanday/branches&lt;/branchBase&gt;
          &lt;autoVersionSubmodules&gt;true&lt;/autoVersionSubmodules&gt;
          &lt;suppressCommitBeforeBranch&gt;true&lt;/suppressCommitBeforeBranch&gt;
          &lt;remoteTagging&gt;false&lt;/remoteTagging&gt;
          &lt;updateBranchVersions&gt;true&lt;/updateBranchVersions&gt;
          &lt;updateWorkingCopyVersions&gt;false&lt;/updateWorkingCopyVersions&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/build&gt;
&lt;/profile&gt;
</pre>
</div>
<p>Now it will be enough, when I run <font size="3" face="Courier New"><strong>mvn release:branch –DbranchName=1.5.0-azuresupport</strong></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/624/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=624&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2011/11/29/create-branches-with-maven-release-plugin-svn/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>Activity Log Profiler: Find out which extension is slowing down your Visual Studio</title>
		<link>http://startbigthinksmall.wordpress.com/2011/11/08/activity-log-profiler-find-out-which-extension-is-slowing-down-your-visual-studio/</link>
		<comments>http://startbigthinksmall.wordpress.com/2011/11/08/activity-log-profiler-find-out-which-extension-is-slowing-down-your-visual-studio/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 12:50:06 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[profiling]]></category>
		<category><![CDATA[visualstudio]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/2011/11/08/activity-log-profiler-find-out-which-extension-is-slowing-down-your-visual-studio/</guid>
		<description><![CDATA[As I’m doing some work for the NPanday Visual Studio Addin, I bugs me even more that my Visual Studio 2010 currently needs about 40 seconds to start. Actually I do not wonder at all, as I installed every single extension I ever found interesting. But, should I now disable them all, or rather find [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=622&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As I’m doing some work for the <a href="http://incubator.apache.org/npanday/docs/1.4.0-incubating/guide/vs/index.html">NPanday Visual Studio Addin</a>, I bugs me even more that my Visual Studio 2010 currently needs about 40 seconds to start.</p>
<p>Actually I do not wonder at all, as I installed every single extension I ever found interesting. But, should I now disable them all, or rather find out which one takes the most time?</p>
<p>I did the latter.</p>
<p>After reading <a href="http://saraford.net/2008/11/27/did-you-know-theres-a-way-to-have-visual-studio-log-its-activity-for-troubleshooting-366/">Did you know… There’s a way to have Visual Studio log its activity for troubleshooting? – #366</a> via (<a href="http://stackoverflow.com/questions/3995253/vs2010-loads-slowly-can-i-profile-extensions-respective-startup-time">visual studio &#8211; VS2010 loads slowly. Can I profile extensions&#8217; respective startup time? &#8211; Stack Overflow</a>) </p>
<p>There it says, that if you start VS using <font face="Courier New">devenv /Log</font>, it will log it’s acitivity to&#160; <font face="Courier New">%AppData%\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml</font> (for VS 2010). And it even comes with an XML that provides some output:</p>
<p><a href="http://startbigthinksmall.files.wordpress.com/2011/11/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb.png?w=644&#038;h=74" width="644" height="74" /></a></p>
<h2>New XSL with Profiling Capabilities</h2>
<p>So I tweaked the XSL to be a little bit more “profiling-friendly”. It will now:</p>
<ul>
<li>Tell me how long it took load each package </li>
<li>Give me a visual indicator each 1 second (configurable) </li>
<li>Mark each “End package load” line red, that exceeds a certain configurable threshold (default 500 ms). </li>
<li>Mark each normal line read, if it exceeds the configured threshold. </li>
</ul>
<p><a href="http://startbigthinksmall.files.wordpress.com/2011/11/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb1.png?w=644&#038;h=246" width="644" height="246" /></a></p>
<p><a href="http://startbigthinksmall.files.wordpress.com/2011/11/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb2.png?w=644&#038;h=36" width="644" height="36" /></a></p>
<h2>Hotspots</h2>
<p><a href="http://startbigthinksmall.files.wordpress.com/2011/11/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb3.png?w=644&#038;h=282" width="644" height="282" /></a></p>
<h2>Download and use with GIT</h2>
<ol>
<li>Open Commandwindow in <font face="Courier New">%AppData%\Roaming\Microsoft\VisualStudio\10.0</font> </li>
<li>Run <font face="Courier New">git clone </font><font face="Courier New"><a href="https://github.com/lcorneliussen/ActivityLogProfiler">https://github.com/lcorneliussen/ActivityLogProfiler</a></font> </li>
<li>Start Visual Studio with &#8216;/Log&#8217; switch </li>
<li>Run deploy.cmd (will overwrite default ActivityLog.xsl in parent folder; Visual Studio will replace it after restart!) </li>
<li>Open ActivityLog.xml in Internet Explorer </li>
</ol>
<p>You can also download it manually (<a href="https://github.com/lcorneliussen/ActivityLogProfiler/raw/master/ActivityLogProfiler.xsl">from here</a>) and replace <font face="Courier New">%AppData%\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xsl </font><font face="Verdana">manually after each Visual Studio Run. </font></p>
<p>But with GIT you can easily get updates; and it makes it easier to submit patches, which I’ll be happy to apply.</p>
<p><strong>Attention: </strong>Now you only have to repeat 3) and 4) to produce new logs, as Visual Studio will recreate both ActivityLog.xml and ActivityLog.xsl each time it is started with &#8216;/Log&#8217;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/622/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/622/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=622&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2011/11/08/activity-log-profiler-find-out-which-extension-is-slowing-down-your-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>

		<media:content url="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://startbigthinksmall.files.wordpress.com/2011/11/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Easily install Fitnesse (or any Java App) as Windows Service / NT Service</title>
		<link>http://startbigthinksmall.wordpress.com/2011/10/27/easily-install-fitnesse-or-any-java-app-as-windows-service-nt-service/</link>
		<comments>http://startbigthinksmall.wordpress.com/2011/10/27/easily-install-fitnesse-or-any-java-app-as-windows-service-nt-service/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 19:50:53 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Just Drops]]></category>
		<category><![CDATA[fitnesse]]></category>
		<category><![CDATA[nssm]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/2011/10/27/easily-install-fitnesse-or-any-java-app-as-windows-service-nt-service/</guid>
		<description><![CDATA[After I had to search for this solution all to long, I thought I’d share it: 1. Download NSSM &#8211; the Non-Sucking Service Manager Unzip the zip package you can download from their home page (http://nssm.cc/download/nssm-2.10.zip). You’ll find nssm.exe in win32 and win64; pick the one appropriate to your platform. 2. Install Fitnesse as Service [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=613&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>After I had to search for this solution all to long, I thought I’d share it:</p>
<h2>1. Download <a href="http://nssm.cc/">NSSM &#8211; the Non-Sucking Service Manager</a></h2>
<p>Unzip the zip package you can download from their home page (<a href="http://nssm.cc/download/nssm-2.10.zip">http://nssm.cc/download/nssm-2.10.zip</a>). You’ll find nssm.exe in win32 and win64; pick the one appropriate to your platform.</p>
<h2>2. Install Fitnesse as Service</h2>
<p>Run this from command line (adjust paths and port):   </p>
<p><font face="Courier New"><font size="2"><strong>nssm install FitnesseService java –jar &lt;path-to-jar&gt;\fitnesse.jar –d &lt;installation-path&gt; –p &lt;your port&gt; &lt;further-options&gt;</strong>        <br /></font></font>    <br />If you need to retry, stop the service, then run: <font size="2"><strong><font face="Courier New">nssm remove FitnesseService confirm</font> </strong></font></p>
<h2>3. Start Fitnesse Service</h2>
<p>Run <font size="2" face="Courier New"><strong>net start BmmService</strong></font> or start it from the service manager.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/613/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=613&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2011/10/27/easily-install-fitnesse-or-any-java-app-as-windows-service-nt-service/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
		<item>
		<title>For Beginners: How does Open Source work?</title>
		<link>http://startbigthinksmall.wordpress.com/2011/08/10/for-beginners-how-does-open-source-work/</link>
		<comments>http://startbigthinksmall.wordpress.com/2011/08/10/for-beginners-how-does-open-source-work/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 18:58:40 +0000</pubDate>
		<dc:creator>Lars Corneliussen</dc:creator>
				<category><![CDATA[Just Drops]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[oss]]></category>

		<guid isPermaLink="false">https://startbigthinksmall.wordpress.com/2011/08/10/for-beginners-how-does-open-source-work/</guid>
		<description><![CDATA[In the past few years I have been doing some open source contribution, and lately also initiated projects together with fellow programmers. Here I write about what I noticed. First Stage: Contributing You find something useful and start to play with it. Then you find a show-stopping bug, or you&#8217;d like to have a feature. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=611&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In the past few years I have been doing some open source contribution, and lately also initiated projects together with fellow programmers. Here I write about what I noticed.</p>
<h2>First Stage: Contributing</h2>
<p>You find something useful and start to play with it. Then you find a show-stopping bug, or you&#8217;d like to have a feature. You get in contact with the team, then submit issues to a bug tracker, if you find one. They might like your Ideas and ask for a patch. If it is important – and in many cases easier to fix then to rewrite on your own – you start fiddling with the code, do changes, write tests, submit patches.</p>
<p>If the team/individual applies the patches you are happy. Usually you have to maintain your own codebase until the feature is released – or you just compile from trunk <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>You might also just contribute documentation or tests.</p>
<h3>Some personal experiences in this stage</h3>
<p>Over the last couple of years I contributed to following projects:</p>
<ul>
<li><a href="http://maven.apache.org/plugins/maven-release-plugin/">Maven Release Plugin</a> </li>
<li><a href="http://npanday.codeplex.com/">Apache NPanday</a> </li>
<li><a href="http://json.codeplex.com/">Json.NET</a> </li>
</ul>
<p>For these I also submitted contributions, but they are still “in-progress”, as they have never been accepted <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<ul>
<li><a href="http://maven.apache.org/">Apache Maven</a> </li>
<li><a href="http://mojo.codehaus.org/versions-maven-plugin/">Versions Maven Plugin</a> </li>
</ul>
<p>Since these patch acceptance processes take time, but I needed the fixes, I run personal forks at github for maven-versions-plugin. A custom built artifact is even in use by one of my former customers, because I couldn&#8217;t get the patch accepted in time. </p>
<h2>Second Stage: Initiating</h2>
<p>You create something and publish your code as a zip, on github, codeplex, or somewhere else. Then People start liking it and begin submit patches or report issues. Some people create forks and start maintaining their own code based on yours. Or they (or you) ask for joining the project.</p>
<p>Some projects I founded or work on at this stage: </p>
<ul>
<li><a href="https://bitbucket.org/larscorneliussen/beautyofcode">https://bitbucket.org/larscorneliussen/beautyofcode</a> </li>
<li><a href="https://bitbucket.org/larscorneliussen/jquery.glossary">https://bitbucket.org/larscorneliussen/jquery.glossary</a> </li>
<li><a href="https://bitbucket.org/larscorneliussen/jquery.liveready">https://bitbucket.org/larscorneliussen/jquery.liveready</a> </li>
</ul>
<h2>Third Stage: Team OSS</h2>
<p>At this point things change a lot. Who is now in charge of the code base? Who builds+releases it? Who answers submitted issues? Well you have to find out, try to find a process that fits. This usually works quite well with people you personally know, co-workers or even friends. When interacting with others in the community, you&#8217;ll find out that everybody has a slightly different agenda: which is good for the project! But it makes it hard to make decisions.</p>
<p>With these projects we currently are in this stage (as of mid 2011)</p>
<ul>
<li><a href="https://github.com/minimod/minimods">https://github.com/minimod/minimods</a>       <br />2 contributors, Small .NET Extensions, single-file distributions </li>
<li><a href="http://code.google.com/a/eclipselabs.org/p/xtext-utils/">http://code.google.com/a/eclipselabs.org/p/xtext-utils/</a>       <br />5 contributors, Unit-Testing Library for Eclipse Xtext </li>
</ul>
<h2>Fourth Stage: Joining an umbrella organization</h2>
<p>Now the need for a good process and for some infrastructure arises. You need hosting, build servers, issue tracker: This is what umbrella organizations like Eclipse Foundation, Apache Software Foundation, Outercurve Foundation or Codehaus help you with.</p>
<p>Apache, for example, is very vote-driven. If you want somebody to become a committer, you ask for a vote on the project’s private mailing list. If you want to release a version, you create it and deploy it to a staging are – then you ask for votes. We once released an Apache NPanday version without waiting the full 72 hours the vote needs to be open; we then had to remove (physically!!) the release from the download servers and maven repositories – as if it never happened.</p>
<p>Apache also offers some infrastructure: a CMS for documentation, Jira for issue-tracking, Hudson and Teamcity for Continuous Builds, SVN+GIT for Version Control, Mailing Lists (users, dev, private), committer directory, and so on.</p>
<p>Every team has to report to the Apache Board of Directors.</p>
<p>Read more on ASF here: <a href="http://www.apache.org/foundation/how-it-works.html">http://www.apache.org/foundation/how-it-works.html</a></p>
<p>Eclipse works quite similarly, but has an even tighter organization. In the bigger projects you have fix release dates and&#160; milestones. And there is something like a Project Lead, which is elected – but then authorized to make decisions alone – as I understand it.</p>
<p>In bigger projects usually a couple of companies donate code and/or full-time developers.</p>
<p>Around August 2010, after having submitted a couple of patches, I was voted to become a committer on Apache NPanday Incubator (Maven for .NET, Declarative Build and Release Management), which moved from Codeplex to ASF around October last year:</p>
<ul>
<li><a href="http://incubator.apache.org/npanday/">http://incubator.apache.org/npanday/</a> </li>
</ul>
<p>Under ASF it is still in incubation, but we hope to graduate to a top level project soon. This means will have our own PMC board and a apache top level domain (npanday.apache.org).</p>
<h2>Supplementary: Commercial Support for OSS-Projects</h2>
<p>Some companies are afraid of relying on a community for support. Therefore, companies that are very committed to a certain project, often offer Commercial Support options for open source projects.</p>
<p>For example, my employer, itemis AG, offers commercial support for Eclipse Modeling Xtext: <a href="http://xtext.itemis.com/xtext/language=en/36545/professional-services">Professional Services – Xtext</a></p>
<p>Happy coding! Happy committing!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/startbigthinksmall.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/startbigthinksmall.wordpress.com/611/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=startbigthinksmall.wordpress.com&#038;blog=3405597&#038;post=611&#038;subd=startbigthinksmall&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://startbigthinksmall.wordpress.com/2011/08/10/for-beginners-how-does-open-source-work/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4c4e1781dd63e3b41bd5309878d7d06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">larscorneliussen</media:title>
		</media:content>
	</item>
	</channel>
</rss>
