<?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/"
	>

<channel>
	<title>Adam Caudill&#039;s Blog &#187; Development</title>
	<atom:link href="http://adamcaudill.com/category/technology/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://adamcaudill.com</link>
	<description>Adam&#039;s view on technology, software development, and world domination.</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:01:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Masking Credit Cards for PCI</title>
		<link>http://adamcaudill.com/2011/10/20/masking-credit-cards-for-pci/</link>
		<comments>http://adamcaudill.com/2011/10/20/masking-credit-cards-for-pci/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 20:14:40 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=1004</guid>
		<description><![CDATA[<p>PCI DSS, the security standard for companies that handle credit cards, defines a number of <a href="https://www.pcisecuritystandards.org/pdfs/pci_audit_procedures_v1-1.pdf">rules</a> as to how credit cards are handled. One of those rules, 3.3, is defined as follows:</p> <p style="padding-left: 30px;">Mask PAN when displayed (the first six and last four digits are the maximum number of digits to be displayed)</p> [...]]]></description>
			<content:encoded><![CDATA[<p>PCI DSS, the security standard for companies that handle credit cards, defines a number of <a href="https://www.pcisecuritystandards.org/pdfs/pci_audit_procedures_v1-1.pdf">rules</a> as to how credit cards are handled. One of those rules, 3.3, is defined as follows:</p>
<p style="padding-left: 30px;"><em>Mask PAN when displayed (the first six and last four digits are the maximum number of digits to be displayed)</em></p>
<p>So based on this requirement I assumed that the code to do this would be common and widely available; much to my surprise there are rather few samples that do this, and of those I found they only showed the last four (which when you are handling a lot of credit cards, searching for an account by the last four isn&#8217;t all that helpful) and were often rather fragile.</p>
<p>So I whipped this up, hopefully it&#8217;ll be useful to others.</p>
<div id="gist-1674453" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="k">public</span> <span class="k">static</span> <span class="kt">string</span> <span class="nf">MaskCreditCard</span><span class="p">(</span><span class="kt">string</span> <span class="k">value</span><span class="p">)</span></div><div class='line' id='LC2'><span class="p">{</span></div><div class='line' id='LC3'>&nbsp;&nbsp;<span class="k">const</span> <span class="kt">string</span> <span class="n">PATTERN</span> <span class="p">=</span> <span class="s">@&quot;\b(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|&quot;</span> <span class="p">+</span></div><div class='line' id='LC4'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="s">@&quot;6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|&quot;</span> <span class="p">+</span></div><div class='line' id='LC5'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="s">@&quot;[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})\b&quot;</span><span class="p">;</span></div><div class='line' id='LC6'>&nbsp;</div><div class='line' id='LC7'>&nbsp;&nbsp;<span class="n">var</span> <span class="n">replace</span> <span class="p">=</span> <span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="k">value</span><span class="p">,</span> <span class="n">PATTERN</span><span class="p">,</span> <span class="k">new</span> <span class="n">MatchEvaluator</span><span class="p">(</span><span class="n">match</span> <span class="p">=&gt;</span></div><div class='line' id='LC8'>&nbsp;&nbsp;<span class="p">{</span></div><div class='line' id='LC9'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">var</span> <span class="n">num</span> <span class="p">=</span> <span class="n">match</span><span class="p">.</span><span class="n">ToString</span><span class="p">();</span></div><div class='line' id='LC10'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">return</span> <span class="n">num</span><span class="p">.</span><span class="n">Substring</span><span class="p">(</span><span class="m">0</span><span class="p">,</span> <span class="m">6</span><span class="p">)</span> <span class="p">+</span> <span class="k">new</span> <span class="kt">string</span><span class="p">(</span><span class="sc">&#39;*&#39;</span><span class="p">,</span> <span class="n">num</span><span class="p">.</span><span class="n">Length</span> <span class="p">-</span> <span class="m">10</span><span class="p">)</span> <span class="p">+</span></div><div class='line' id='LC11'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">num</span><span class="p">.</span><span class="n">Substring</span><span class="p">(</span><span class="n">num</span><span class="p">.</span><span class="n">Length</span> <span class="p">-</span> <span class="m">4</span><span class="p">);</span></div><div class='line' id='LC12'>&nbsp;&nbsp;<span class="p">}));</span></div><div class='line' id='LC13'>&nbsp;</div><div class='line' id='LC14'>&nbsp;&nbsp;<span class="k">return</span> <span class="n">replace</span><span class="p">;</span></div><div class='line' id='LC15'><span class="p">}</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1674453/570a38b70ef4441988a12fe282a64b81bde8be35/gistfile1.cs" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1674453#file_gistfile1.cs" style="float:right;margin-right:10px;color:#666">gistfile1.cs</a>
            <a href="https://gist.github.com/1674453">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>The regex pattern is from <a href="http://www.regular-expressions.info/creditcard.html">Regular-Expressions.info</a> and should detect most major cards.</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/10/20/masking-credit-cards-for-pci/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Cringely is wrong about Java</title>
		<link>http://adamcaudill.com/2011/10/15/why-cringely-is-wrong-about-java/</link>
		<comments>http://adamcaudill.com/2011/10/15/why-cringely-is-wrong-about-java/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 19:47:52 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Business of Software]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=996</guid>
		<description><![CDATA[<p>A couple of days ago I was sent a link to Robert Cringely&#8217;s latest treatise:  <a href="http://www.cringely.com/2011/10/the-second-coming-of-java/">The second coming of Java</a> &#8211; and to say I disagreed was a bit of an understatement. To me, it represents a fundamental flaw in his perception of developers, and more importantly the economics of software development.</p> <p>The key to Cringely&#8217;s argument [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago I was sent a link to Robert Cringely&#8217;s latest treatise:  <span style="direction: ltr;"><em><a href="http://www.cringely.com/2011/10/the-second-coming-of-java/">The second coming of Java</a></em> &#8211; and to say I disagreed was a bit of an understatement. To me, it represents a fundamental flaw in his perception of developers, and more importantly the economics of software development.</span></p>
<p>The key to Cringely&#8217;s argument comes down to this:</p>
<p style="padding-left: 30px;">When SSDs gain enough capacity there will be a shift from the Ruby world back to the Java world. Not for prototyping, because, well, it’s prototyping. But simply because the statement “<strong>Ruby is <em>incredibly</em> slow but I don’t care because my database is slower</strong>” will no longer be true.</p>
<p><!--EndFra-->What he&#8217;s missing here is the real reason people use frameworks like Rails; it&#8217;s not about it being Ruby, or being the latest cool thing &#8211; it&#8217;s about developer productivity. That&#8217;s it, and that&#8217;s all there is to it &#8211; Rails allows a developer to do more in less time. That&#8217;s one of the key reasons so many Java web developers jumped ship (though I can think of a few others), and what pushed Microsoft to invest so heavily in their <a href="http://www.asp.net/mvc">MVC framework</a>.</p>
<p>I could fully rehash the argument, but in what I consider to be one of Jeff Atwood&#8217;s best articles,  <span style="direction: ltr;"><em><a href="http://www.codinghorror.com/blog/2008/12/hardware-is-cheap-programmers-are-expensive.html">Hardware is Cheap, Programmers are Expensive</a></em>, he covers a key point to my argument &#8211; developer time is vastly more expensive than hardware. Atwood&#8217;s take on the issue is clear:</span></p>
<p style="padding-left: 30px;">Clearly, <strong>hardware is cheap, and programmers are expensive</strong>. Whenever you&#8217;re provided an opportunity to leverage that imbalance, it would be incredibly foolish not to.</p>
<p>When there&#8217;s a choice between developer productivity, and spending money on hardware &#8211; the conclusion should be the same. It&#8217;s much cheaper to throw more hardware at a slower framework than it is to invest more developer time in a faster framework. For any non-trivial application, throwing more front-end servers at it will always be cheaper than slowing the development process down with a non-productivity-centric toolkit.</p>
<p>It&#8217;s simple economics; server hardware is getting faster and cheaper, developer time is only getting more expensive.</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/10/15/why-cringely-is-wrong-about-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pen-Testing Silverlight+RIA with SoapUI</title>
		<link>http://adamcaudill.com/2011/07/06/pen-testing-silverlightria-with-soapui/</link>
		<comments>http://adamcaudill.com/2011/07/06/pen-testing-silverlightria-with-soapui/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 21:39:37 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Pen-test]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SoapUI]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=957</guid>
		<description><![CDATA[<p>I was recently given the task of ensuring that a Silverlight+RIA application that could contain private information was secure for deployment to a public web site. So I started searching for automated pen-testing tools that could work against Microsoft&#8217;s Binary SOAP protocol (msbin1, a.k.a &#8220;application/soap+msbin1&#8220;) and found only disappointment. For various reasons, it&#8217;s significantly more complex to pen-test [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently given the task of ensuring that a Silverlight+RIA application that could contain private information was secure for deployment to a public web site. So I started searching for automated pen-testing tools that could work against Microsoft&#8217;s Binary SOAP protocol (<code>msbin1</code>, a.k.a &#8220;<code>application/soap+msbin1</code>&#8220;) and found only disappointment. For various reasons, it&#8217;s significantly more complex to pen-test a application using <code>msbin1</code> than traditional <code>SOAP</code> + <code>WSDL</code>.</p>
<p>To properly test the services, I had to make a compromise: temporarily modify the application to expose a <code>SOAP</code> endpoint. While this changes the state of the application and thus reduces the validity of the tests, it does provide a reasonable way of testing the web services to ensure that they are behaving as intended.</p>
<p>The recently released <a href="http://www.soapui.org/About-SoapUI/go-pro.html">SoapUI Pro 4</a> adds new <a href="http://www.soapui.org/Security/getting-started.html">security testing tools</a> that makes this a viable (and attractive option). To get this working, there are a few small changes that need to be made to the solution:</p>
<p>First, you&#8217;ll need to add a reference to &#8220;<code>Microsoft.ServiceModel.DomainServices.Hosting.EndPoints</code>&#8221; which is part of the RIA Services Toolkit; this allows you to expose different End Points for the service such as <code>SOAP</code> and <code>OData</code>.</p>
<p>Next, you&#8217;ll want to add the following <code>configSections</code> entry to your <code>Web.config</code>:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;configuration&gt;
 &lt;configSections&gt;
   &lt;sectionGroup name=&quot;system.serviceModel&quot;&gt;
     &lt;section name=&quot;domainServices&quot;
      type=&quot;System.ServiceModel.DomainServices.Hosting.DomainServicesSection,
      System.ServiceModel.DomainServices.Hosting,
      Version=4.0.0.0,
      Culture=neutral,
      PublicKeyToken=31bf3856ad364e35&quot; /&gt;
   &lt;/sectionGroup&gt;
 &lt;/configSections&gt;
 ...
</pre>
<p>Finally, to expose the <code>SOAP</code> end point:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;configuration&gt;
 ...
 &lt;system.serviceModel&gt;
  ...
  &lt;domainServices&gt;
   &lt;endpoints&gt;
    &lt;add name=&quot;Soap&quot;
     type=&quot;Microsoft.ServiceModel.DomainServices.Hosting.SoapXmlEndpointFactory,
     Microsoft.ServiceModel.DomainServices.Hosting,
     Version=4.0.0.0,
     Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; /&gt;
   &lt;/endpoints&gt;
  &lt;/domainServices&gt;
  ...
</pre>
<p>Finally, just follow the <a href="http://www.soapui.org/Security/security-scans-overview.html">instructions</a> for SoapUI to setup your tests, and you can feel (just a little) more confident in your application. Passing with flying colors obviously doesn&#8217;t mean your application is bulletproof, but it helps to confirm that web service code is solid.</p>
<p>Now, while this does provide some insight into your application and should help find common issues, it&#8217;s not a replacement for a professional assessment by a qualified auditor. If you are handling credit cards or other highly targeted information, <em>please</em> consult a security specialist before a public deployment.</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/07/06/pen-testing-silverlightria-with-soapui/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Happy 20th birthday Visual Basic!</title>
		<link>http://adamcaudill.com/2011/05/21/happy-20th-birthday-visual-basic/</link>
		<comments>http://adamcaudill.com/2011/05/21/happy-20th-birthday-visual-basic/#comments</comments>
		<pubDate>Sat, 21 May 2011 05:50:19 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=826</guid>
		<description><![CDATA[<p>Today I saw a post on Facebook by a friend of mine, <a href="http://inotifythoughtschanging.net/blog/">Anthony Green</a>, about writing his first blog post as a Microsoft employee (he has a personal blog as well, unfortunately he&#8217;s not written anything since 2008) &#8211; when I saw the title, I couldn&#8217;t believe it was 20 years already &#8211; seems just yesterday [...]]]></description>
			<content:encoded><![CDATA[<p>Today I saw a post on Facebook by a friend of mine, <a href="http://inotifythoughtschanging.net/blog/">Anthony Green</a>, about writing his first blog post as a Microsoft employee (he has a personal blog as well, unfortunately he&#8217;s not written anything since 2008) &#8211; when I saw the title, I couldn&#8217;t believe it was 20 years already &#8211; seems just yesterday that I wrote about its <a href="http://adamcaudill.com/2006/05/27/happy-belated-birthday-vb/">15th birthday</a>:</p>
<p><a href="http://blogs.msdn.com/b/vbteam/archive/2011/05/20/happy-20th-birthday-visual-basic.aspx">Happy 20th Birthday Visual Basic!</a></p>
<p>My, what a journey it&#8217;s been. Almost fifteen years ago I randomly bought a copy of &#8220;Visual Basic 5: Deluxe Learning Edition&#8221; &#8211; I was just 15 at the time and wanted a new hobby, and writing software seemed like it would be fun. In those early days, I had no idea what career I would choose, and really didn&#8217;t intend for software development to become the dominant force in my life &#8211; I just wanted a better, more productive way to spend my time during the summer.</p>
<p>In the years that have went by, I became passionate about the field, and all it encompasses (possible obsessed, if you believe my wife) &#8211; it&#8217;s been the driving force in my life. Today, I manage a team of 6 developers, and have a fun start-up with some friends (that someday won&#8217;t cost me money every month) &#8211; and all because I bought that book. Overall, I have a lot to thank VB for, it really did get me started in this field.</p>
<p>Today though, my language of choice has moved on to newer options &#8211; I prefer bleeding technologies when I can use them &#8211; but VB will always have a place in my heart, and I&#8217;ll always follow its progress as it continues to transform and adapt to an ever-changing world. As the most popular .NET language (contrary to what many of the C# developers think), it plays a vital role in the development of the framework and the ecosystem.</p>
<p>In the conversations I&#8217;ve had with Anthony about the future of the language, I greatly look forward to writing about its 25th birthday; I expect those will be exciting times for the language and the entire .NET ecosystem.</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/05/21/happy-20th-birthday-visual-basic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VB6: Not so open source</title>
		<link>http://adamcaudill.com/2011/05/20/vb6-not-so-open-source/</link>
		<comments>http://adamcaudill.com/2011/05/20/vb6-not-so-open-source/#comments</comments>
		<pubDate>Fri, 20 May 2011 06:33:23 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=817</guid>
		<description><![CDATA[<p>Earlier today, a rather surprising tweet hit, being retweeted at least 80 times, including by a few rather influential people in the .NET world:</p> <p> #embedly_twitter_14054401{background:url(http://a2.twimg.com/profile_background_images/71955358/DSCF0658.jpg) #C0DEED; padding:20px;} #embedly_twitter_14054401 p{background:#fff;padding:10px 12px 0px 12px;margin:0;min-height:48px;color:#000;font-size:18px;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_14054401 .embedly_tweet_content{background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;color:#000;font-size:18px !important;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_14054401 p span.metadata{display:block;width:100%;clear:both;margin-top:0px;height:40px; padding-bottom: 12px;} #embedly_twitter_14054401 p span.metadata span.author{line-height:15px;color:#999;font-size:14px} #embedly_twitter_14054401 p span.metadata span.author a{line-height:15px;font-size:20px;vertical-align:middle} #embedly_twitter_14054401 p [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier today, a rather surprising tweet hit, being retweeted at least 80 times, including by a few rather influential people in the .NET world:</p>
<p><!-- http://twitter.com/RoyOsherove/status/71287262842859520 -->
<div id='embedly_twitter_14054401' class='embedly_twitter'>
<style type='text/css'> #embedly_twitter_14054401{background:url(http://a2.twimg.com/profile_background_images/71955358/DSCF0658.jpg) #C0DEED; padding:20px;} #embedly_twitter_14054401 p{background:#fff;padding:10px 12px 0px 12px;margin:0;min-height:48px;color:#000;font-size:18px;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_14054401 .embedly_tweet_content{background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;color:#000;font-size:18px !important;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_14054401 p span.metadata{display:block;width:100%;clear:both;margin-top:0px;height:40px; padding-bottom: 12px;} #embedly_twitter_14054401 p span.metadata span.author{line-height:15px;color:#999;font-size:14px} #embedly_twitter_14054401 p span.metadata span.author a{line-height:15px;font-size:20px;vertical-align:middle} #embedly_twitter_14054401 p span.metadata span.author img{float:left;margin:0 10px 0 0px;width:48px;height:48px} #embedly_twitter_14054401 p a {color: #0084B4; text-decoration:none;} #embedly_twitter_14054401 p a:hover{text-decoration:underline} #embedly_twitter_14054401 .embedly_timestamp{font-size:13px;display:inline-block;margin-top: 5px;} #embedly_twitter_14054401 .components-above span.embedly_timestamp{font-size:10px;margin-top: 1px;line-height:12px} #embedly_twitter_14054401 a {color: #0084B4; text-decoration:none;} #embedly_twitter_14054401 a:hover{text-decoration:underline} #embedly_twitter_14054401 .tweet-screen-name {font-size: 14px; font-weight: bold;} #embedly_twitter_14054401 .tweet-full-name {padding-left: 4px; color: #999; font-size: 12px;} #embedly_twitter_14054401 .tweet-actions{margin-left: 10px;font-size:13px;display:inline-block;width:250px} #embedly_twitter_14054401 .components-above span.tweet-actions{font-size:10px} #embedly_twitter_14054401 .controls{line-height:12px!important} #embedly_twitter_14054401 .tweet-actions a {margin-left:5px} #embedly_twitter_14054401 .tweet-actions a b{font-weight:normal} #embedly_twitter_14054401 .components-above span.tweet-actions a b{vertical-align:baseline;line-height:12px} #embedly_twitter_14054401 .components-above .tweet-text{font-size:13px;vertical-align:baseline} #embedly_twitter_14054401 .tweet-image {float: left; width: 40px;} #embedly_twitter_14054401 .tweet-user-block-image {float: left; width: 48px; height: 48px} #embedly_twitter_14054401 .tweet-row {margin-left: 40px; margin-top: 3px;line-height: 17px;} #embedly_twitter_14054401 .tweet-user-block {margin-left: -40px;} #embedly_twitter_14054401 .stream-item {padding-bottom: 0px; margin-left: 12px;} #embedly_twitter_14054401 .simple-tweet-image img {margin-top: 4px;} #embedly_twitter_14054401 .simple-tweet-content {margin: 0 0 13px 0px; font-size: 14px; min-height:48px;} #embedly_twitter_14054401 .in-reply-to-border {border-color: #EBEBEB; border-style: solid; border-width: 1px 0 0;} #embedly_twitter_14054401 .in-reply-to-text {margin-left: 4px; padding-left: 8px; padding-right: 10px; color: #999; font-size: 12px;} #embedly_twitter_14054401 .tweet-actions i {background: transparent url(http://a2.twimg.com/a/1306889658/phoenix/img/sprite-icons.png) no-repeat;width:15px;height:15px;margin:0 4px -3px 3px;outline: none; text-indent:-99999px;vertical-align:baseline;display:inline-block;position:relative;} #embedly_twitter_14054401 .tweet-actions a.retweet-action i {background-position:-192px 0;} #embedly_twitter_14054401 .tweet-actions a.reply-action i {background-position:0 0;} #embedly_twitter_14054401 .tweet-actions a.favorite-action i {background-position:-32px 0;} </style>
<div class="embedly_tweet_content">
<div class="components-middle">
<p><span class='metadata'><span class='author'><a href='http://twitter.com/RoyOsherove'><img src='http://a0.twimg.com/profile_images/1416811497/Self_organizing_normal.jpg' /></a><strong><a href='http://twitter.com/RoyOsherove'>@RoyOsherove</a></strong><br/>Roy Osherove</span></span>Microsoft announces to mvps at <a href="http://search.twitter.com/search?q=msteched" title="#msteched search Twitter">#msteched</a> that VB6 will be released as open source on codeplex end of june! w00t<br/><span class='embedly_timestamp'><a title='Thu May 19 18:53:02 +0000 2011' href='http://twitter.com/RoyOsherove/status/71287262842859520'>May 19</a> via <a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></span><span class="tweet-actions"><a href="https://twitter.com/intent/favorite?tweet_id=71287262842859520" class="favorite-action" title="Favorite"><span><i></i><b>Favorite</b></span></a><a href="https://twitter.com/intent/retweet?tweet_id=71287262842859520" class="retweet-action" title="Retweet"><span><i></i><b>Retweet</b></span></a><a href="https://twitter.com/intent/tweet?in_reply_to=71287262842859520" class="reply-action" title="Reply"><span><i></i><b>Reply</b></span></a></span></p>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>Needless to say, that&#8217;s not an announcement that anybody was expecting, but given the talk going on at the time &#8211; and the high-profile people talking about it, there wasn&#8217;t much reason to doubt. Announcing a product that has been dead for years is going open source would certainly be a strategy shift for Microsoft, but does it make any sense? <a href="http://twitter.com/#!/kevindente">Kevin Dente</a> of <a href="http://herdingcode.com/">Herding Code</a> fame certainly thought that Microsoft had better things to release:</p>
<p><!-- http://twitter.com/kevindente/status/71292995185553408 -->
<div id='embedly_twitter_38876430' class='embedly_twitter'>
<style type='text/css'> #embedly_twitter_38876430{background:url(http://a0.twimg.com/images/themes/theme1/bg.png) #9ae4e8; padding:20px;} #embedly_twitter_38876430 p{background:#fff;padding:10px 12px 0px 12px;margin:0;min-height:48px;color:#000;font-size:18px;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_38876430 .embedly_tweet_content{background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;color:#000;font-size:18px !important;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_38876430 p span.metadata{display:block;width:100%;clear:both;margin-top:0px;height:40px; padding-bottom: 12px;} #embedly_twitter_38876430 p span.metadata span.author{line-height:15px;color:#999;font-size:14px} #embedly_twitter_38876430 p span.metadata span.author a{line-height:15px;font-size:20px;vertical-align:middle} #embedly_twitter_38876430 p span.metadata span.author img{float:left;margin:0 10px 0 0px;width:48px;height:48px} #embedly_twitter_38876430 p a {color: #0000ff; text-decoration:none;} #embedly_twitter_38876430 p a:hover{text-decoration:underline} #embedly_twitter_38876430 .embedly_timestamp{font-size:13px;display:inline-block;margin-top: 5px;} #embedly_twitter_38876430 .components-above span.embedly_timestamp{font-size:10px;margin-top: 1px;line-height:12px} #embedly_twitter_38876430 a {color: #0000ff; text-decoration:none;} #embedly_twitter_38876430 a:hover{text-decoration:underline} #embedly_twitter_38876430 .tweet-screen-name {font-size: 14px; font-weight: bold;} #embedly_twitter_38876430 .tweet-full-name {padding-left: 4px; color: #999; font-size: 12px;} #embedly_twitter_38876430 .tweet-actions{margin-left: 10px;font-size:13px;display:inline-block;width:250px} #embedly_twitter_38876430 .components-above span.tweet-actions{font-size:10px} #embedly_twitter_38876430 .controls{line-height:12px!important} #embedly_twitter_38876430 .tweet-actions a {margin-left:5px} #embedly_twitter_38876430 .tweet-actions a b{font-weight:normal} #embedly_twitter_38876430 .components-above span.tweet-actions a b{vertical-align:baseline;line-height:12px} #embedly_twitter_38876430 .components-above .tweet-text{font-size:13px;vertical-align:baseline} #embedly_twitter_38876430 .tweet-image {float: left; width: 40px;} #embedly_twitter_38876430 .tweet-user-block-image {float: left; width: 48px; height: 48px} #embedly_twitter_38876430 .tweet-row {margin-left: 40px; margin-top: 3px;line-height: 17px;} #embedly_twitter_38876430 .tweet-user-block {margin-left: -40px;} #embedly_twitter_38876430 .stream-item {padding-bottom: 0px; margin-left: 12px;} #embedly_twitter_38876430 .simple-tweet-image img {margin-top: 4px;} #embedly_twitter_38876430 .simple-tweet-content {margin: 0 0 13px 0px; font-size: 14px; min-height:48px;} #embedly_twitter_38876430 .in-reply-to-border {border-color: #EBEBEB; border-style: solid; border-width: 1px 0 0;} #embedly_twitter_38876430 .in-reply-to-text {margin-left: 4px; padding-left: 8px; padding-right: 10px; color: #999; font-size: 12px;} #embedly_twitter_38876430 .tweet-actions i {background: transparent url(http://a2.twimg.com/a/1306889658/phoenix/img/sprite-icons.png) no-repeat;width:15px;height:15px;margin:0 4px -3px 3px;outline: none; text-indent:-99999px;vertical-align:baseline;display:inline-block;position:relative;} #embedly_twitter_38876430 .tweet-actions a.retweet-action i {background-position:-192px 0;} #embedly_twitter_38876430 .tweet-actions a.reply-action i {background-position:0 0;} #embedly_twitter_38876430 .tweet-actions a.favorite-action i {background-position:-32px 0;} </style>
<div class="embedly_tweet_content">
<div class="components-middle">
<p><span class='metadata'><span class='author'><a href='http://twitter.com/kevindente'><img src='http://a2.twimg.com/profile_images/23970552/Avatar_normal.png' /></a><strong><a href='http://twitter.com/kevindente'>@kevindente</a></strong><br/>Kevin Dente</span></span>Instead of VB6 I&#8217;d rather see MS open source IE6. Then at least we could build a standalone version of it.<br/><span class='embedly_timestamp'><a title='Thu May 19 19:15:49 +0000 2011' href='http://twitter.com/kevindente/status/71292995185553408'>May 19</a> via <a href="http://madprops.org/halfwit" rel="nofollow">Halfwit</a></span><span class="tweet-actions"><a href="https://twitter.com/intent/favorite?tweet_id=71292995185553408" class="favorite-action" title="Favorite"><span><i></i><b>Favorite</b></span></a><a href="https://twitter.com/intent/retweet?tweet_id=71292995185553408" class="retweet-action" title="Retweet"><span><i></i><b>Retweet</b></span></a><a href="https://twitter.com/intent/tweet?in_reply_to=71292995185553408" class="reply-action" title="Reply"><span><i></i><b>Reply</b></span></a></span></p>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>Shortly after the initial tweet, <a href="http://www.dougseven.com/">Doug Seven</a>, the Director of Product Management, Visual Studio Tools &amp; Languages, <a href="http://twitter.com/#!/dseven/status/71316722854002688">replied</a> asking Roy Osherove (the original poster) to email him. Hmm, it&#8217;s starting to smell like something odd is going on. A couple of hours later, Doug set the story straight:</p>
<p><!-- http://twitter.com/dseven/status/71352709785198592 -->
<div id='embedly_twitter_11350242' class='embedly_twitter'>
<style type='text/css'> #embedly_twitter_11350242{background:url(http://a0.twimg.com/images/themes/theme1/bg.png) #9ae4e8; padding:20px;} #embedly_twitter_11350242 p{background:#fff;padding:10px 12px 0px 12px;margin:0;min-height:48px;color:#000;font-size:18px;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_11350242 .embedly_tweet_content{background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;color:#000;font-size:18px !important;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_11350242 p span.metadata{display:block;width:100%;clear:both;margin-top:0px;height:40px; padding-bottom: 12px;} #embedly_twitter_11350242 p span.metadata span.author{line-height:15px;color:#999;font-size:14px} #embedly_twitter_11350242 p span.metadata span.author a{line-height:15px;font-size:20px;vertical-align:middle} #embedly_twitter_11350242 p span.metadata span.author img{float:left;margin:0 10px 0 0px;width:48px;height:48px} #embedly_twitter_11350242 p a {color: #0000ff; text-decoration:none;} #embedly_twitter_11350242 p a:hover{text-decoration:underline} #embedly_twitter_11350242 .embedly_timestamp{font-size:13px;display:inline-block;margin-top: 5px;} #embedly_twitter_11350242 .components-above span.embedly_timestamp{font-size:10px;margin-top: 1px;line-height:12px} #embedly_twitter_11350242 a {color: #0000ff; text-decoration:none;} #embedly_twitter_11350242 a:hover{text-decoration:underline} #embedly_twitter_11350242 .tweet-screen-name {font-size: 14px; font-weight: bold;} #embedly_twitter_11350242 .tweet-full-name {padding-left: 4px; color: #999; font-size: 12px;} #embedly_twitter_11350242 .tweet-actions{margin-left: 10px;font-size:13px;display:inline-block;width:250px} #embedly_twitter_11350242 .components-above span.tweet-actions{font-size:10px} #embedly_twitter_11350242 .controls{line-height:12px!important} #embedly_twitter_11350242 .tweet-actions a {margin-left:5px} #embedly_twitter_11350242 .tweet-actions a b{font-weight:normal} #embedly_twitter_11350242 .components-above span.tweet-actions a b{vertical-align:baseline;line-height:12px} #embedly_twitter_11350242 .components-above .tweet-text{font-size:13px;vertical-align:baseline} #embedly_twitter_11350242 .tweet-image {float: left; width: 40px;} #embedly_twitter_11350242 .tweet-user-block-image {float: left; width: 48px; height: 48px} #embedly_twitter_11350242 .tweet-row {margin-left: 40px; margin-top: 3px;line-height: 17px;} #embedly_twitter_11350242 .tweet-user-block {margin-left: -40px;} #embedly_twitter_11350242 .stream-item {padding-bottom: 0px; margin-left: 12px;} #embedly_twitter_11350242 .simple-tweet-image img {margin-top: 4px;} #embedly_twitter_11350242 .simple-tweet-content {margin: 0 0 13px 0px; font-size: 14px; min-height:48px;} #embedly_twitter_11350242 .in-reply-to-border {border-color: #EBEBEB; border-style: solid; border-width: 1px 0 0;} #embedly_twitter_11350242 .in-reply-to-text {margin-left: 4px; padding-left: 8px; padding-right: 10px; color: #999; font-size: 12px;} #embedly_twitter_11350242 .tweet-actions i {background: transparent url(http://a2.twimg.com/a/1306889658/phoenix/img/sprite-icons.png) no-repeat;width:15px;height:15px;margin:0 4px -3px 3px;outline: none; text-indent:-99999px;vertical-align:baseline;display:inline-block;position:relative;} #embedly_twitter_11350242 .tweet-actions a.retweet-action i {background-position:-192px 0;} #embedly_twitter_11350242 .tweet-actions a.reply-action i {background-position:0 0;} #embedly_twitter_11350242 .tweet-actions a.favorite-action i {background-position:-32px 0;} </style>
<div class="embedly_tweet_content">
<div class="components-middle">
<p><span class='metadata'><span class='author'><a href='http://twitter.com/dseven'><img src='http://a0.twimg.com/profile_images/56993778/dougseven01_normal.jpg' /></a><strong><a href='http://twitter.com/dseven'>@dseven</a></strong><br/>dseven</span></span>The rumors of VB6 going open source are simply not true. <a href="http://search.twitter.com/search?q=msteched" title="#msteched search Twitter">#msteched</a><a href="http://search.twitter.com/search?q=vb" title="#vb search Twitter">#vb</a>6rumor <a href="http://search.twitter.com/search?q=vb" title="#vb search Twitter">#vb</a>6<br/><span class='embedly_timestamp'><a title='Thu May 19 23:13:06 +0000 2011' href='http://twitter.com/dseven/status/71352709785198592'>May 19</a> via web</span><span class="tweet-actions"><a href="https://twitter.com/intent/favorite?tweet_id=71352709785198592" class="favorite-action" title="Favorite"><span><i></i><b>Favorite</b></span></a><a href="https://twitter.com/intent/retweet?tweet_id=71352709785198592" class="retweet-action" title="Retweet"><span><i></i><b>Retweet</b></span></a><a href="https://twitter.com/intent/tweet?in_reply_to=71352709785198592" class="reply-action" title="Reply"><span><i></i><b>Reply</b></span></a></span></p>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>To which, Roy then tried to unset:</p>
<p><!-- http://twitter.com/RoyOsherove/status/71355603611680769 -->
<div id='embedly_twitter_57121698' class='embedly_twitter'>
<style type='text/css'> #embedly_twitter_57121698{background:url(http://a2.twimg.com/profile_background_images/71955358/DSCF0658.jpg) #C0DEED; padding:20px;} #embedly_twitter_57121698 p{background:#fff;padding:10px 12px 0px 12px;margin:0;min-height:48px;color:#000;font-size:18px;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_57121698 .embedly_tweet_content{background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;color:#000;font-size:18px !important;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} #embedly_twitter_57121698 p span.metadata{display:block;width:100%;clear:both;margin-top:0px;height:40px; padding-bottom: 12px;} #embedly_twitter_57121698 p span.metadata span.author{line-height:15px;color:#999;font-size:14px} #embedly_twitter_57121698 p span.metadata span.author a{line-height:15px;font-size:20px;vertical-align:middle} #embedly_twitter_57121698 p span.metadata span.author img{float:left;margin:0 10px 0 0px;width:48px;height:48px} #embedly_twitter_57121698 p a {color: #0084B4; text-decoration:none;} #embedly_twitter_57121698 p a:hover{text-decoration:underline} #embedly_twitter_57121698 .embedly_timestamp{font-size:13px;display:inline-block;margin-top: 5px;} #embedly_twitter_57121698 .components-above span.embedly_timestamp{font-size:10px;margin-top: 1px;line-height:12px} #embedly_twitter_57121698 a {color: #0084B4; text-decoration:none;} #embedly_twitter_57121698 a:hover{text-decoration:underline} #embedly_twitter_57121698 .tweet-screen-name {font-size: 14px; font-weight: bold;} #embedly_twitter_57121698 .tweet-full-name {padding-left: 4px; color: #999; font-size: 12px;} #embedly_twitter_57121698 .tweet-actions{margin-left: 10px;font-size:13px;display:inline-block;width:250px} #embedly_twitter_57121698 .components-above span.tweet-actions{font-size:10px} #embedly_twitter_57121698 .controls{line-height:12px!important} #embedly_twitter_57121698 .tweet-actions a {margin-left:5px} #embedly_twitter_57121698 .tweet-actions a b{font-weight:normal} #embedly_twitter_57121698 .components-above span.tweet-actions a b{vertical-align:baseline;line-height:12px} #embedly_twitter_57121698 .components-above .tweet-text{font-size:13px;vertical-align:baseline} #embedly_twitter_57121698 .tweet-image {float: left; width: 40px;} #embedly_twitter_57121698 .tweet-user-block-image {float: left; width: 48px; height: 48px} #embedly_twitter_57121698 .tweet-row {margin-left: 40px; margin-top: 3px;line-height: 17px;} #embedly_twitter_57121698 .tweet-user-block {margin-left: -40px;} #embedly_twitter_57121698 .stream-item {padding-bottom: 0px; margin-left: 12px;} #embedly_twitter_57121698 .simple-tweet-image img {margin-top: 4px;} #embedly_twitter_57121698 .simple-tweet-content {margin: 0 0 13px 0px; font-size: 14px; min-height:48px;} #embedly_twitter_57121698 .in-reply-to-border {border-color: #EBEBEB; border-style: solid; border-width: 1px 0 0;} #embedly_twitter_57121698 .in-reply-to-text {margin-left: 4px; padding-left: 8px; padding-right: 10px; color: #999; font-size: 12px;} #embedly_twitter_57121698 .tweet-actions i {background: transparent url(http://a2.twimg.com/a/1306889658/phoenix/img/sprite-icons.png) no-repeat;width:15px;height:15px;margin:0 4px -3px 3px;outline: none; text-indent:-99999px;vertical-align:baseline;display:inline-block;position:relative;} #embedly_twitter_57121698 .tweet-actions a.retweet-action i {background-position:-192px 0;} #embedly_twitter_57121698 .tweet-actions a.reply-action i {background-position:0 0;} #embedly_twitter_57121698 .tweet-actions a.favorite-action i {background-position:-32px 0;} </style>
<div class="embedly_tweet_content">
<div class="components-middle">
<p><span class='metadata'><span class='author'><a href='http://twitter.com/RoyOsherove'><img src='http://a0.twimg.com/profile_images/1416811497/Self_organizing_normal.jpg' /></a><strong><a href='http://twitter.com/RoyOsherove'>@RoyOsherove</a></strong><br/>Roy Osherove</span></span>RT @<a  href="http://twitter.com/dseven" title="dseven on Twitter">dseven</a>: The rumors of VB6 going open source are true. <a href="http://search.twitter.com/search?q=msteched" title="#msteched search Twitter">#msteched</a><a href="http://search.twitter.com/search?q=vb" title="#vb search Twitter">#vb</a>6rumor <a href="http://search.twitter.com/search?q=vb" title="#vb search Twitter">#vb</a>6<br/><span class='embedly_timestamp'><a title='Thu May 19 23:24:36 +0000 2011' href='http://twitter.com/RoyOsherove/status/71355603611680769'>May 19</a> via <a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></span><span class="tweet-actions"><a href="https://twitter.com/intent/favorite?tweet_id=71355603611680769" class="favorite-action" title="Favorite"><span><i></i><b>Favorite</b></span></a><a href="https://twitter.com/intent/retweet?tweet_id=71355603611680769" class="retweet-action" title="Retweet"><span><i></i><b>Retweet</b></span></a><a href="https://twitter.com/intent/tweet?in_reply_to=71355603611680769" class="reply-action" title="Reply"><span><i></i><b>Reply</b></span></a></span></p>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>It&#8217;s worth pointing out that Roy Osherove currently has a full ten-times the followers that Doug Seven has, meaning his altered retweet was seen by more people (at least initially). For several hours word was going around, and accepted by a number of people who thought Microsoft was actually going to open the code to VB6 (including journalists who were too busy writing articles to do any fact checking) &#8211; all based on one person who made it all up.</p>
<p>Lesson here: be careful about what you re-tweet, it&#8217;s easy to endorse a lie as several people unwittingly did today (<a href="http://twitter.com/#!/blowdart">@blowdart</a> summed it <a href="http://twitter.com/#!/blowdart/status/71370740934524928">rather well</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/05/20/vb6-not-so-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Errors on &#8216;gem install mysql2&#8242;</title>
		<link>http://adamcaudill.com/2011/05/16/errors-on-gem-install-mysql2/</link>
		<comments>http://adamcaudill.com/2011/05/16/errors-on-gem-install-mysql2/#comments</comments>
		<pubDate>Mon, 16 May 2011 05:29:19 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=808</guid>
		<description><![CDATA[<p>On my fresh Ubuntu 11.04 box running Ruby 1.9.2 instead of the standard Ruby 1.8, I ran into some undocumented errors while installing the mysql2 gem. Here&#8217;s what I was seeing:</p> <p>This obviously isn&#8217;t all that helpful, nor did I find anything all that useful on Google &#8211; thankfully the issue is easy to solve. [...]]]></description>
			<content:encoded><![CDATA[<p>On my fresh Ubuntu 11.04 box running Ruby 1.9.2 instead of the standard Ruby 1.8, I ran into some undocumented errors while installing the <code>mysql2</code> gem. Here&#8217;s what I was seeing:</p>
<pre class="brush: plain; title: ; notranslate">$ gem install mysql2
Building native extensions.  This could take a while...
ERROR:  Error installing mysql2:
	ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
          &lt;internal:lib/rubygems/custom_require&gt;:29:in `require':
          no such file to load -- mkmf (LoadError)
	from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
	from extconf.rb:2:in `&lt;main&gt;'

Gem files will remain installed in
  /usr/lib/ruby/gems/1.9.1/gems/mysql2-0.3.2 for inspection.
Results logged to
  /usr/lib/ruby/gems/1.9.1/gems/mysql2-0.3.2/ext/mysql2/gem_make.out</pre>
<p>This obviously isn&#8217;t all that helpful, nor did I find anything all that useful on Google &#8211; thankfully the issue is easy to solve. All that&#8217;s needed is to ensure that the following packages are installed:</p>
<pre class="brush: plain; title: ; notranslate">sudo apt-get install libmysqlclient-dev libmysql-ruby1.9 ruby1.9.1-dev</pre>
<p>Then you can try installing the gem, it should work, hopefully</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/05/16/errors-on-gem-install-mysql2/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>bbPress &amp; WordPress 3.1 (Registration Issues)</title>
		<link>http://adamcaudill.com/2011/03/06/bbpress-wordpress-3-1-registration-issues/</link>
		<comments>http://adamcaudill.com/2011/03/06/bbpress-wordpress-3-1-registration-issues/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 08:39:49 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bbPress]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=733</guid>
		<description><![CDATA[<p>While building a new website for a small ISV, I was asked to integrate a forum &#8211; should be simple I thought, I&#8217;ll just use WordPress as a CMS and <a href="http://bbpress.org/">bbPress</a>. Simple? Not quite.</p> <p>To make things easier, I used <a href="http://www.pagelines.com/themes/platformpro/">Platform Pro</a> by Pagelines (a great platform IMHO) and so used their &#8220;deep [...]]]></description>
			<content:encoded><![CDATA[<p>While building a new website for a small ISV, I was asked to integrate a forum &#8211; should be simple I thought, I&#8217;ll just use WordPress as a CMS and <a href="http://bbpress.org/">bbPress</a>. Simple? Not quite.</p>
<p>To make things easier, I used <a href="http://www.pagelines.com/themes/platformpro/">Platform Pro</a> by Pagelines (a great platform IMHO) and so used their &#8220;deep integration&#8221; <a href="http://www.pagelines.com/docs/bbpress-forums">instructions</a> (while they are intended for Platform Pro users, the steps are virtually identical for all other setups). While the setup went quite smoothly, it wasn&#8217;t until it came time to test user registrations that the issue came up: when a new user tried to register they would receive an error stating that &#8220;email is required,&#8221; even if they had entered a valid email address. This effectively made it impossible for users to register, and thus made the forum useless.</p>
<p>After a bit of research, it looks like there is a conflict between newer versions of WordPress (3.0+) and bbPress 1.0.2 (I&#8217;m not sure if older versions have the same issue, but I would assume so). The fix for this is actually quite simple: install a <a href="http://bbpress.org/plugins/topic/zaerl-wordpress-3-integration/">plugin</a>. The plugin itself is quite simple &#8211; containing only around a half-dozen executable lines of code, and works around the issue with a simple hack.</p>
<p>Unfortunately, the plugin description is rather vague and required a fair bit of research to identify as the fix, and the official documentation makes no reference to the issue or that this plugin can be used as a workaround.</p>
<p>Overall, a simple workaround but a major issue if you don&#8217;t notice that it&#8217;s broke (as is quite easy to do).</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/03/06/bbpress-wordpress-3-1-registration-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 3 &amp; Dreamhost PS</title>
		<link>http://adamcaudill.com/2011/01/28/rails-3-dreamhost-ps/</link>
		<comments>http://adamcaudill.com/2011/01/28/rails-3-dreamhost-ps/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 07:47:01 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=717</guid>
		<description><![CDATA[<p>I recently had an idea for a small web application, and seeing as I&#8217;ve not spent as much time as I&#8217;ve wanted to using <a href="http://rubyonrails.org/">Rails</a> &#8211; I opted to build it the latest version of Rails. A decision that caused far more grief than I expected.</p> <p>If you are using <a href="http://www.dreamhost.com/r.cgi?485850">Dreamhost&#8217;s</a> PS offering (a managed [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had an idea for a small web application, and seeing as I&#8217;ve not spent as much time as I&#8217;ve wanted to using <a href="http://rubyonrails.org/">Rails</a> &#8211; I opted to build it the latest version of Rails. A decision that caused far more grief than I expected.</p>
<p>If you are using <a href="http://www.dreamhost.com/r.cgi?485850">Dreamhost&#8217;s</a> PS offering (a managed VPS for those that don&#8217;t know), the seemingly simple task of getting a Rails 3 application up and running is actually quite complex. The root cause of this is that Dreamhost&#8217;s OS image is based on Debian <a href="http://www.debian.org/releases/etch/">etch</a>, which was released in April 2009 and has since been replaced; which means etch has become fairly outdated.</p>
<p>Here&#8217;s the process I used, and so far it seems to be working quite well:</p>
<p><strong>Domain Setup:</strong></p>
<p>When adding your domain to the Dreamhost panel, you&#8217;ll want to enable <a href="http://wiki.dreamhost.com/Passenger">Passenger</a>.</p>
<p><img src="http://adamcaudill.com/files/2011-01-28_0048.png" alt="" width="409" height="217" /></p>
<p>Once your application is uploaded to the server, you&#8217;ll be greeted with a particularly unhelpful error message (something like &#8220;<code>uninitialized constant Bundler</code>&#8220;) from Passenger (or perhaps just a 500 error page).</p>
<p><strong>Server Updates:</strong></p>
<p>This is where the work starts, and gets somewhat ugly. As a warning, it&#8217;s quite possible that you could damage your configuration doing this; though thankfully you can <a href="https://panel.dreamhost.com/index.cgi?tree=vserver.reboot&amp;">restore</a> your server to a working state within a few minutes from the Dreamhost panel should something go wrong. You&#8217;ll also need to have an &#8220;<a href="https://panel.dreamhost.com/index.cgi?tree=vserver.adminusers&amp;">admin user</a>&#8221; for this task, as much of what needs to be done has to be done as root.</p>
<p>First step: Get your PS up to date; even after performing a restore on my server, there were a number of updates that are available to be installed. So let&#8217;s start off by getting those out of the way.</p>
<pre class="brush: plain; title: ; notranslate">sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install</pre>
<p>Once you get past those three commands, the next step is to update SQLite to the latest version, as the version Dreamhost uses is quite old and won&#8217;t work with Rails 3.0 (well, to be accurate it won&#8217;t work with the latest version of sqlite3-ruby, which is the default database provider for Rails 3).</p>
<pre class="brush: plain; title: ; notranslate">wget http://www.sqlite.org/sqlite-autoconf-3070400.tar.gz
tar zxvf sqlite-autoconf-3070400.tar.gz
cd sqlite-autoconf-3070400
sudo ./configure --bindir=/usr/bin --libdir=/usr/lib
sudo make
sudo make install</pre>
<p>If you don&#8217;t update SQLite you&#8217;ll get an error like this:</p>
<pre class="brush: plain; title: ; notranslate">sudo gem install sqlite3
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
	ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... no
checking for sqlite3_initialize()... no
sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade!
*** extconf.rb failed ***</pre>
<p>or if you install the updated version, but don&#8217;t force it to <code>/usr/lib</code> you&#8217;ll get an error like this:</p>
<pre class="brush: plain; title: ; notranslate">sudo gem install sqlite3
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
	ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... no
sqlite3 is missing. Try 'port install sqlite3 +universal' or 'yum
install sqlite3-devel'
*** extconf.rb failed *** </pre>
<p>Once that is taken care of SQLite, the rest is easy.</p>
<pre class="brush: plain; title: ; notranslate">sudo gem update</pre>
<p>At this point if you visit your new Rails site, it <em>should</em> be working!</p>
<p>Notes:</p>
<ol>
<li>I&#8217;ve not tested this extensively, and I&#8217;ve no idea if this breaks anything. All I can say for certain, if that all of <em>my</em> sites still work, but your mileage may vary. &lt;Disclaimer /&gt;</li>
<li>I was a fairly early Dreamhost PS adopter, and part way through this process I reset my server to get it back to a clean state. After resetting, I noticed some differences with the behavior of <code>apt-get</code> (404s on <code>update</code> and <code>upgrade</code> are gone), so for other early adopters it may be necessary to perform a reset to get your servers configuration in-sync with the latest official setup.</li>
<li>I can&#8217;t say for a fact that this is completely necessary, though you&#8217;ll likely need to selectively update a few packages if you skip this step. Also, for me, <code>gem</code> was broken until I ran <code>sudo apt-get -f install</code>.</li>
<li>Special thanks to <a href="http://matthewjlittle.com/">Matt</a> for helping me get this working; troubleshooting the SQLite install was more than a little time consuming.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2011/01/28/rails-3-dreamhost-ps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>on Hiring</title>
		<link>http://adamcaudill.com/2010/06/19/on-hiring/</link>
		<comments>http://adamcaudill.com/2010/06/19/on-hiring/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 19:58:25 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Business of Software]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Hiring]]></category>
		<category><![CDATA[HR]]></category>
		<category><![CDATA[ISV]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=582</guid>
		<description><![CDATA[<p>The company I work for is hiring several developers which marks my first significant hiring effort since being promoted to management. This had led to a few interesting observations* I would like to share that may benefit both those looking for a new job and those looking for the next star to add to their team.</p> <p>Immigration Law: [...]]]></description>
			<content:encoded><![CDATA[<p>The company I work for is hiring several developers which marks my first significant hiring effort since being promoted to management. This had led to a few interesting observations* I would like to share that may benefit both those looking for a new job and those looking for the next star to add to their team.</p>
<p><strong>Immigration Law:</strong> I had no idea how complex this area of law gets; it&#8217;s a maddening maze of rules and policies that are more effective at confusing those involved than providing a reasonable solution to a problem. If you run into this (and you will), you need somebody that has dealt with this and knows what to do. Getting both parties into legal hot water is far too easy.</p>
<p><strong>Resumes:</strong> I&#8217;ve seen great resumes that made it clear that I needed to hire this person and resumes so cluttered and complex it took an hour just to get through it. Here&#8217;s a few things that stuck out to me:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Don't_repeat_yourself">DRY</a> is good for code, and for a resume. Clean and concise is always better; if you find yourself hitting Ctrl+C even once while working on a resume, you&#8217;re probably doing something wrong.</li>
<li>Length is important, but shorter isn&#8217;t always better. Unlike many other fields where a single page resume is considered optimal, technical resumes need at least a second page. Going too short on a resume is a great way to blend into the crowd; a resume should stand out, and that takes space.</li>
<li>How long is too long? Unless you&#8217;ve been doing this for a <em>very</em> long time, more than three pages is probably excessive. This isn&#8217;t always true, but think it through before using more than two pages.</li>
<li>Use whitespace carefully. Don&#8217;t leave a page half empty or pack everything in so that it looks cluttered. As with any type of design, whitespace is a powerful tool that should be used wisely and never be left to chance.</li>
<li>Use color sparingly. Many corporate printers are black and white only, so if you use color make sure it looks right when printed without it.</li>
<li>Use bold even more sparingly. It&#8217;s sometimes useful to point out items of interest, but it quickly degrades the readability of a resume.</li>
</ul>
<p>Many people seem to have a hard time with this, but a resume is a <em>textual representation of yourself</em>. It represents you as a person and your accomplishments as a professional. Any errors or signs of haste or carelessness say much about you as a person; if you are careless with such a significant representation of yourself what does it say about your attention to detail or work ethic?</p>
<p><strong>Experience:</strong> For a person that has recently graduated, experience in the field is the single largest hindrance both when it comes to securing a position and to receiving a salary they are happy with. The best advice I can find for people in this position is to look to the open source community for help. There are many projects that are desperate for developers and it&#8217;s a great way to get familiar with working in a team, coordinating with people over a distributed area, and releasing code for public consumption. In lieu of paid work experience, open source is a great way to fill in a resume (and it can be quite profitable for some, if you play your cards right).</p>
<p><strong>Salary:</strong> In some companies pay is a minor issue thanks to clearly structured systems such as that <a href="http://www.joelonsoftware.com/articles/fog0000000038.html">proposed</a> by Joel Spolsky; for others is can be a source of pain, envy, and jealousy. This is a topic that I truly hate; it&#8217;s uncomfortable at best and quite painful at worst. While I can&#8217;t offer much advice, here are a few things to think about:</p>
<ul>
<li>Money is not an effective motivator. In an ideal environment it should just stay out-of-the-way and allow developers to live a comfortable life; in reality the role it plays is a bit different. More often than not, it&#8217;s a distraction that gets in the way and outweighs the factors that do motivate people.</li>
<li>Companies follow a few different pay systems, and once set moving to different system is nearly impossible. Here are a few I&#8217;ve seen:
<ul>
<li>Clearly Structured: This system places developers on a scale, and developers at a given level receive the same salary (see <a href="http://fogcreek.com/">Fog Creek</a>).</li>
<li>Structured + Negotiated: This is the most common system I&#8217;ve seen; it mixes a structured level system with negotiated modifications that can apply a certain percentage increase from the normal base salary for that level or other benefits (extended vacation, etc).</li>
<li>Negotiated: Pay is based on negotiation skills and need; this can lead to odd situations such as where a junior developer can make more than a senior developer due to the need to fill a position quickly. This system requires strict secrecy when it comes to salary information to avoid nasty surprises, unlike the clearly structured system where salary information can be openly shared.</li>
</ul>
</li>
<li>Are large salary increases possible? Some companies have no issue with large increases in salary for a promotion (20%+) while in others exceeding 5% for any reason is a major challenge. If a developer is coming in on the low-end of the scale (i.e. due to lack of experience, such as a recent graduate), is there a real possibility of moving up? In my experience, people stay near the end they start at &#8211; those that start at the bottom will stay there until they move to a different company.</li>
</ul>
<p><strong>Interview Questions:</strong> If you are conducing an interview, make a list of questions and write them down. It&#8217;s quite embarrassing to suddenly realize that you are out of questions just a few minutes in (Need inspiration? Try <a href="http://en.wikipedia.org/wiki/Microsoft_interview">this</a> or <a href="http://www.joelonsoftware.com/articles/GuerrillaInterviewing3.html">this</a>). Many people have said much about this, but the most important thing I can point out is just don&#8217;t wing it. Plan carefully, make sure you know what you&#8217;re going to do and when before the candidate shows up.</p>
<p><strong>Interview Dress Code:</strong> I&#8217;ve been amazed at what I&#8217;ve seen people wear, everything from high-end suits to jeans. What&#8217;s appropriate? It really depends on the environment; a large corporation will expect an Armani suit where a startup is happier seeing jeans and an American Apparel t-shirt. When in doubt, I would go with a suit personally &#8211; but depending on the company that could cost you the job just as quickly as showing up in jeans.</p>
<p><strong>Interviews Go Both Ways:</strong> An interview shouldn&#8217;t be a one-way affair; the candidate should be interviewing the company as much as you are interviewing them. They should be asking questions about the environment, expectations, tools and resources provided as much as you are asking them about prior experience and knowledge. If a candidate doesn&#8217;t seem to care about the company or what the working conditions are like &#8211; think carefully before hiring them.</p>
<p><strong>Other Thoughts:</strong> I&#8217;ll not go into what I look for when it comes to personality or other personal traits as that would require far more than a blog post to cover. I&#8217;m also going to avoid things such as hobbies and the like; while they can tell you much about a person they can also lead to other complications. Any question in an interview can quickly lead to a land-mine and in the legal quagmire that is HR law and policies, trouble is easy to find. When in doubt, just don&#8217;t ask.</p>
<p>* This is based on my experience over the years; not necessarily the experiences in this round of hiring or the opinions or policies of my employer. In general, nothing in this refers to policies, preferences, or procedures of my employer. &lt;Standard Disclaimer /&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2010/06/19/on-hiring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight 3 Tools Available</title>
		<link>http://adamcaudill.com/2009/07/09/silverlight-3-tools-available/</link>
		<comments>http://adamcaudill.com/2009/07/09/silverlight-3-tools-available/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 18:13:57 +0000</pubDate>
		<dc:creator>Adam Caudill</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adamcaudill.com/?p=449</guid>
		<description><![CDATA[<p>It looks like the core Silverlight 3 tools are now available:</p> <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#38;FamilyID=92e1db7a-5d36-449b-8c6b-d25f078f3609">Microsoft Expression Blend 3 + SketchFlow RC</a> <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#38;FamilyID=2050e580-f1d5-4040-bb09-e6185591b6b5">Microsoft® Silverlight™ 3 SDK</a> <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#38;FamilyID=9442b0f2-7465-417a-88f3-5e7b5409e9dd">Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1</a> <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#38;FamilyID=457b17b7-52bf-4bda-87a3-fa8a4673f8bf">Deep Zoom Composer</a> <p>Though the tools needed for development seem to be public, I&#8217;ve yet to see the end-user run-time; [...]]]></description>
			<content:encoded><![CDATA[<p>It looks like the core Silverlight 3 tools are now available:</p>
<ul>
<li><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=92e1db7a-5d36-449b-8c6b-d25f078f3609">Microsoft Expression Blend 3 + SketchFlow RC</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=2050e580-f1d5-4040-bb09-e6185591b6b5">Microsoft® Silverlight™ 3 SDK</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=9442b0f2-7465-417a-88f3-5e7b5409e9dd">Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=457b17b7-52bf-4bda-87a3-fa8a4673f8bf">Deep Zoom Composer</a></li>
</ul>
<p>Though the tools needed for development seem to be public, I&#8217;ve yet to see the end-user run-time; though I imagine we&#8217;ll see that in the release anticipated for tomorrow.</p>
<p>Time to have some fun. <img src='http://adamcaudill.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>Update</em>: Client run-time is now <a href="http://www.microsoft.com/silverlight/resources/install.aspx">available</a>.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif; line-height: normal; font-size: 16px; "></p>
<h1 style="font-size: 1.3em; font-weight: normal; margin-bottom: 5px; ">Microsoft Expression Blend 3 + SketchFlow RC</h1>
<p></span></div>
]]></content:encoded>
			<wfw:commentRss>http://adamcaudill.com/2009/07/09/silverlight-3-tools-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

