<?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>Farblondzshet in Code &#187; Open Source</title>
	<atom:link href="http://matthewmanela.com/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://matthewmanela.com</link>
	<description>The life and work of Matthew Manela</description>
	<lastBuildDate>Wed, 01 Sep 2010 21:54:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>DiffPlex 1.0 Released!!</title>
		<link>http://matthewmanela.com/2010/02/27/diffplex-1-0-released/</link>
		<comments>http://matthewmanela.com/2010/02/27/diffplex-1-0-released/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 02:10:00 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Codeplex]]></category>
		<category><![CDATA[DiffPlex]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://blogs.msdn.com/matt/archive/2010/02/27/diffplex-1-0-released.aspx</guid>
		<description><![CDATA[The DiffPlex (http://diffplex.codeplex.com) project is now available on Codeplex!
The DiffPlex project is a combination of a .NET Diffing Library with a Silverlight and HTML diff viewer. It is released open source under the MS-PL license. 

The library... <a href="http://matthewmanela.com/2010/02/27/diffplex-1-0-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="font-size: 18px;">The <a href="http://diffplex.codeplex.com/">DiffPlex</a> (<a href="http://diffplex.codeplex.com">http://diffplex.codeplex.com</a>) project is now available on <a href="http://codeplex.com">Codeplex</a>!</p>

<p>The DiffPlex project is a combination of a .NET Diffing Library with a Silverlight and HTML diff viewer. It is released open source under the MS-PL license.</p>

<ul>
    <li>The library allows developers to embed diffing functionality inside their applications or websites. (<a href="http://diffplex.codeplex.com/wikipage?title=library&amp;referringTitle=Home">Click here to learn how to use the api</a>)</li>
</ul>

<p><a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/code_2.png"><img style="display: inline; border-width: 0px;" title="code" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/code_thumb.png" border="0" alt="code" width="654" height="236" /></a></p>

<ul>
    <li>The Silverlight viewer allows real-time diffing of documents. (<a href="http://diffplex.codeplex.com/wikipage?title=silverlight&amp;referringTitle=Home">Click here to try it out</a>)</li>
</ul>

<p><a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/silverlight_2.png"><img style="display: inline; border-width: 0px;" title="silverlight" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/silverlight_thumb.png" border="0" alt="silverlight" width="654" height="288" /></a></p>

<ul>
    <li>The website viewer shows how to embed diffing functionality inside of a website. (<a href="http://diffplex.codeplex.com/wikipage?title=website&amp;referringTitle=Home">Click here to learn more</a>)</li>
</ul>

<p><a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/websiteInput_2.png"><img style="display: inline; border-width: 0px;" title="websiteInput" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/websiteInput_thumb.png" border="0" alt="websiteInput" width="654" height="229" /></a></p>

<p><a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/websiteOutput_2.png"><img style="display: inline; border-width: 0px;" title="websiteOutput" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/DiffPlex1.0Released_FE1E/websiteOutput_thumb.png" border="0" alt="websiteOutput" width="654" height="248" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://matthewmanela.com/2010/02/27/diffplex-1-0-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Snippet Designer is Released!!!!</title>
		<link>http://matthewmanela.com/2008/03/11/the-snippet-designer-is-released/</link>
		<comments>http://matthewmanela.com/2008/03/11/the-snippet-designer-is-released/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 22:27:17 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Snippet Designer]]></category>

		<guid isPermaLink="false">http://matthewmanela.com/?p=311</guid>
		<description><![CDATA[Some History The Snippet Designer was started as an intern project of mine during the Summer of 2006.&#160; The idea was to make snippet files (which were introduced to Visual Studio in 2005) a first class entity.&#160; Following this idea &#8230; <a href="http://matthewmanela.com/2008/03/11/the-snippet-designer-is-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><H3>Some History</H3>
<P>The <A href="http://www.codeplex.com/SnippetDesigner" target=_blank mce_href="http://www.codeplex.com/SnippetDesigner">Snippet Designer</A> was started as an intern project of mine during the Summer of 2006.&nbsp; The idea was to make snippet files (which were introduced to Visual Studio in 2005) a first class entity.&nbsp; Following this idea I created a Visual Studio plug-in which included an editor for snippet files and a search tool window to find snippets.&nbsp; The plan then was to release it on Codeplex but when my internship ended the project was forgotten about.</P></p>

<p><P mce_keep="true">&nbsp;</P></p>

<p><H3>Today</H3>
<P>Now after two year of sitting there I found the code, cleaned it up a bit and am releasing it on Codeplex as an open source project at <A title=http://www.codeplex.com/SnippetDesigner href="http://www.codeplex.com/SnippetDesigner" mce_href="http://www.codeplex.com/SnippetDesigner">http://www.codeplex.com/SnippetDesigner</A>.&nbsp; My goal in releasing it on Codeplex is two fold.&nbsp; First I would like people to try it out, give me feedback and see if we can make it better (it still has plenty of rough edges).&nbsp; Second I would love to turn this into a community developed project where we all can collaborate on it.</P></p>

<p><P mce_keep="true">&nbsp;</P></p>

<p><H3>Features</H3>
<P>The Snippet Designer has two main features:</P></p>

<p><P>A <STRONG><FONT color=#0080ff size=3>Snippet Editor</FONT></STRONG> hosted in the IDE which lets you edit the code, make replacements and change snippet properties:</P></p>

<p><P><A href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_2.png"><IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_thumb.png" width=446 height=293 mce_src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_thumb.png"></A> </P></p>

<p><P mce_keep="true">&nbsp;</P></p>

<p><P>A <STRONG><FONT color=#0080ff size=3>Snippet Explorer</FONT> </STRONG>which lets you search for Snippet files on your computer an quickly open and edit them.</P></p>

<p><P><A href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_4.png"><IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_thumb_1.png" width=210 height=444 mce_src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_thumb_1.png"></A> </P></p>

<p><P mce_keep="true">&nbsp;</P></p>

<p><P>In addition to these two features the plug-in adds a context menu item inside of the VB, C# and XML editor that lets you export any highlighted code into the snippet editor:</P></p>

<p><P><A href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_6.png"><IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_thumb_2.png" width=373 height=444 mce_src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/TheSnippetDesignerisReleased_5F4F/image_thumb_2.png"></A> </P></p>

<p><P mce_keep="true">&nbsp;</P></p>

<p><H3>Getting Started</H3>
<P>After installing the Snippet Designer you are ready to create and edit snippets.&nbsp; Either open up any .snippet file or in Visual Studio go to <STRONG>View -&gt; Other Windows -&gt; Snippet Explorer </STRONG>and use the Snippet Explorer to search for snippets.</P></p>

<p><P>I look forward to any and all feedback!</P></p>
]]></content:encoded>
			<wfw:commentRss>http://matthewmanela.com/2008/03/11/the-snippet-designer-is-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FastSharp &#8211; Write it, Execute it</title>
		<link>http://matthewmanela.com/2008/03/11/fastsharp-write-it-execute-it/</link>
		<comments>http://matthewmanela.com/2008/03/11/fastsharp-write-it-execute-it/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 22:11:28 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[FastSharp]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://matthewmanela.com/?p=263</guid>
		<description><![CDATA[UPDATE: New version on FastSharp that includes a Windows 7 Gadget!  Learn more here. Last year I wrote this program which I named FastSharp.  It is a text editor which lets you compile and run C# code that would normally exist &#8230; <a href="http://matthewmanela.com/2008/03/11/fastsharp-write-it-execute-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><br class="spacer_" /></p>

<p style="font-size: 14px;"><strong>UPDATE: </strong>New version on FastSharp that includes a Windows 7 Gadget!  Learn more <a href="http://matthewmanela.com/projects/fastsharp/">here.</a></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p>Last year I wrote this program which I named FastSharp.  It is a text editor which lets you compile and run C# code that would normally exist inside a method.  The inspiration for this came from getting tired of opening up Visual Studio and creating a project when all I want to do is execute one line of code and see what it outputs.</p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p>A prime example of this happened today (which is what sparked me to finally post this program).  My co-worker <a href="http://blogs.msdn.com/bertan" target="_blank">Bertan</a> and I were talking about the <a title="DateTime Structure" href="http://msdn2.microsoft.com/03ybds8y.aspx">System.DateTime</a> object in .NET.  We were wondering if the ToBinary() method would return the same value regardless  whether the datetime object was in local time or in UTC mode.  He was about to fire up Visual Studio and create a project just to write this two line program when I showed him FastSharp.</p>

<p><br class="spacer_" /></p>

<p>First I opened the program:</p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_2.png"><img style="border-width: 0px;" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_thumb.png" border="0" alt="image" width="444" height="353" /></a></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p>Then I entered this two line program and hit the run button:</p>

<p><br class="spacer_" /></p>

<p><a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_4.png"><img style="border: 0px;" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_thumb_1.png" border="0" alt="image" width="444" height="353" /></a></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p>I got an error because I forgot the capitalize the second t in ToUniversalTime().  So, I corrected that and then ran it again:</p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_6.png"><img style="border: 0px;" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_thumb_2.png" border="0" alt="image" width="444" height="353" /></a></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p>And then we had our answer.  The to outputs are not the same so they do produce different results.</p>

<p><br class="spacer_" /></p>

<p>The way FastSharp works is pretty simple.  It takes whatever you enter and wraps it in a Main method which is then wrapped in a class which then has a list of import statements appended above it (configurable through the settings dialog).  It then compiles the code using the <a title="CSharpCodeProvider Class" href="http://msdn2.microsoft.com/tteyf242.aspx">Microsoft.CSharp.CSharpCodeProvider</a> class and executes it.  Because FastSharp wraps the code inside of a method block you can only write code that would normally compile inside of a method. (No classes or methods).</p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><strong>Things To Consider and Future Consideration</strong></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<ol><br />
    <li>FastSharp can only do console output not input.  I was unable to figure out how to make Console.ReadLine() work inside the program.  This will be an important future feature if someone can figure it out.</li>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

    <li>FastSharp compiles only C# code but it is not hard to make it work for Visual Basic, which would also be a nice feature upgrade.</li>

<p><br class="spacer_" /></p>

    <li>FastSharp uses the out-of-the-box winforms RichTextBox control as the code editor.  It would be nice to replace this with a code editor that color coded or even give intellisense :)</li>
<br />
 </ol>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><br class="spacer_" /></p>

<p><strong>Give Me! Give Me! Give Me!</strong></p>

<p><br class="spacer_" /></p>

<p>To download both the FastSharp binary and source code visit <a href="http://matthewmanela.com/projects/fastsharp/">Click Here</a>.</p>

<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://matthewmanela.com/2008/03/11/fastsharp-write-it-execute-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
