<?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>Of Ones and Zeros &#187; Programming</title>
	<atom:link href="http://www.ofonesandzeros.com/category/technology/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ofonesandzeros.com</link>
	<description>a discussion of software and technology hosted by bryan napier</description>
	<lastBuildDate>Wed, 07 Apr 2010 23:14:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Subversion &quot;Shelving&quot;</title>
		<link>http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/</link>
		<comments>http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 15:04:36 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2009/01/07/subversion-shelving/</guid>
		<description><![CDATA[I had one of those moments yesterday where you get 60% of the way through fixing a problem a certain way, and then discover that there was a simpler, more elegant solution that would require 10% of the effort.&#160; Problem being, I had just written a lot of code that I didn&#8217;t necessarily want to [...]]]></description>
			<content:encoded><![CDATA[<p>I had one of those moments yesterday where you get 60% of the way through fixing a problem a certain way, and then discover that there was a simpler, more elegant solution that would require 10% of the effort.&#160; Problem being, I had just written a lot of code that I didn&#8217;t necessarily want to lose forever, incase it may be useful somewhere down the road.</p>
<p>From my days working with Team Foundation Server I remembered the &quot;Shelving&quot; concept.&#160; Unfortunately, I was using Subversion, not Team Foundation Server.&#160; But isn&#8217;t a shelf really just a branch?&#160; So I figured I could do a poor-mans shelf with Subversion, and I was right.&#160; Worked great.</p>
<p>I was going to write up my steps to do so but decided I would do a quick Google sanity check before expending the effort.&#160; Glad I did, cause <a href="http://markphip.blogspot.com">Mark Phippard</a> did a <a href="http://markphip.blogspot.com/2007/01/shelves-in-subversion.html">much better job</a> then I would have done.&#160; Kudos Mark, thanks for the excellent amount of detail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Great new Visual Studio color theme</title>
		<link>http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/</link>
		<comments>http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 14:50:22 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/</guid>
		<description><![CDATA[The other day Tomas Restrepo released a new Visual Studio Color Theme called Distant Shores.  It is a low-contrast theme with a dark background, and I must admit I am a BIG FAN!  Have a look at the following screen shot.  BTW &#8211; The font I am using is Damien Guard&#8217;s Envy CodeR font that [...]]]></description>
			<content:encoded><![CDATA[<p>The other day <a href="http://www.winterdom.com/weblog/default.aspx">Tomas Restrepo</a> released a new Visual Studio Color Theme called <a href="http://www.winterdom.com/weblog/2008/03/23/DistantShoresAVisualStudioColorScheme.aspx">Distant Shores</a>.  It is a low-contrast theme with a dark background, and I must admit I am a BIG FAN!  Have a look at the following screen shot.  BTW &#8211; The font I am using is Damien Guard&#8217;s <a href="http://damieng.com/blog/2007/11/27/envy-code-r-coding-font-v07-preview">Envy CodeR</a> font that Tomas Restrepo recommends in his blog posting.</p>
<p><a href="/wp-content/uploads/2008/03/distant-shores1.jpg" rel="lightbox"><img border="0" width="244" src="/wp-content/uploads/2008/03/distant-shores-thumb1.jpg" alt="Distant Shores" height="149" style="border-width: 0px" /></a></p>
<p>Give it a shot!  Your eyes will thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Linq Program</title>
		<link>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/</link>
		<comments>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 16:15:15 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2007/06/18/my-first-linq-program/</guid>
		<description><![CDATA[I successfully coded my very first LINQ program today, and man is it a doozie!  Observe:
class Program
{
    static void Main(string[] args)
    {
        List&#60;Student&#62; studentList = new List&#60;Student&#62;();

        studentList.Add(new Student("Charlie", "Brown"));
      [...]]]></description>
			<content:encoded><![CDATA[<p>I successfully coded my very first LINQ program today, and man is it a doozie!  Observe:</p>
<pre class="csharpcode"><span class="kwrd">class</span> Program
{
    <span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
    {
        List&lt;Student&gt; studentList = <span class="kwrd">new</span> List&lt;Student&gt;();

        studentList.Add(<span class="kwrd">new</span> Student(<span class="str">"Charlie"</span>, <span class="str">"Brown"</span>));
        studentList.Add(<span class="kwrd">new</span> Student(<span class="str">"Drew"</span>, <span class="str">"Carrie"</span>));

        IEnumerable&lt;Student&gt; students =
            from
                Student
            <span class="kwrd">in</span>
                studentList
            <span class="kwrd">where</span>
                Student.LastName.Equals(<span class="str">"Brown"</span>)
            select
                Student;

        <span class="kwrd">foreach</span> (Student student <span class="kwrd">in</span> students)
        {
            Console.WriteLine(student.FirstName);
        }

        Console.ReadLine();
    }
}

<span class="kwrd">internal</span> <span class="kwrd">class</span> Student
{
    <span class="kwrd">private</span> <span class="kwrd">string</span> _firstName;
    <span class="kwrd">private</span> <span class="kwrd">string</span> _lastName;

    <span class="kwrd">public</span> Student(<span class="kwrd">string</span> firstName, <span class="kwrd">string</span> lastName)
    {
        _firstName = firstName;
        _lastName = lastName;
    }

    <span class="kwrd">public</span> <span class="kwrd">string</span> LastName
    {
        get { <span class="kwrd">return</span> _lastName; }
        set { _lastName = <span class="kwrd">value</span>; }
    }

    <span class="kwrd">public</span> <span class="kwrd">string</span> FirstName
    {
        get { <span class="kwrd">return</span> _firstName; }
        set { _firstName = <span class="kwrd">value</span>; }
    }
}</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p> Which when run looks like:</p>
<p><a href="/wp-content/uploads/2007/06/croppercapture3.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="/wp-content/uploads/2007/06/croppercapture3-thumb.jpg" border="0" alt="CropperCapture[3]" width="572" height="286" /></a></p>
<p>I&#8217;m excited by the possibilities this offers, and am anxious to have an opportunity to explore all LINQ has to offer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
