<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>josecgomez.com</title>
	
	<link>http://www.josecgomez.com</link>
	<description>The random thoughts of an IT professional.</description>
	<lastBuildDate>Fri, 05 Feb 2010 13:14:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/josecgomez" /><feedburner:info uri="josecgomez" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>30.449096</geo:lat><geo:long>-81.656517</geo:long><item>
		<title>Facebook gets a face lift</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/9mOL94HyHoA/</link>
		<comments>http://www.josecgomez.com/2010/02/05/facebook-gets-a-face-lift/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 13:14:28 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Redesign]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[social network]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=357</guid>
		<description><![CDATA[This morning I woke up to find my Facebook page was completely re-designed. Over all it looks like an improvement except it will take me 10 days to figure out where everything is again. Here are some pics 
Here is the help page that tells you more about it http://www.facebook.com/sitetour/homepage.php
]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">This morning I woke up to find my Facebook page was completely re-designed. Over all it looks like an improvement except it will take me 10 days to figure out where everything is again. Here are some pics <a href="http://www.josecgomez.com/wordpress/wp-content/uploads/2010/02/FB.png"><img class="aligncenter size-full wp-image-358" title="FB" src="http://www.josecgomez.com/wordpress/wp-content/uploads/2010/02/FB.png" alt="" width="596" height="284" /></a></p>
<p>Here is the help page that tells you more about it <a href="http://www.facebook.com/sitetour/homepage.php">http://www.facebook.com/sitetour/homepage.php</a></p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/9mOL94HyHoA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2010/02/05/facebook-gets-a-face-lift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2010/02/05/facebook-gets-a-face-lift/</feedburner:origLink></item>
		<item>
		<title>Facebook Went Crazy after getting Drunk on Christmas</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/Guw-03DRjbg/</link>
		<comments>http://www.josecgomez.com/2009/12/26/facebook-went-crazy-after-getting-drunk-on-christmas/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 17:15:21 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[Crazy]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=346</guid>
		<description><![CDATA[This morning when I woke up Facebook suggested I upgrade my browser to IE 8, or Chrome or Firefox. The funny thing is that I was running the latest version of Chrome at that time. I tried opening IE 8 and Firefox and on both it gave me the same suggestion. Facebook I believe you had [...]]]></description>
			<content:encoded><![CDATA[<p>This morning when I woke up Facebook suggested I upgrade my browser to IE 8, or Chrome or Firefox. The funny thing is that I was running the latest version of Chrome at that time. I tried opening IE 8 and Firefox and on both it gave me the same suggestion. Facebook I believe you had too much to drink <img src='http://www.josecgomez.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Merry Christmas~</p>
<p><a href="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/12/facebook-crazy1.png"><img class="aligncenter size-full wp-image-351" title="facebook crazy" src="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/12/facebook-crazy1.png" alt="" width="726" height="523" /></a></p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/Guw-03DRjbg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/12/26/facebook-went-crazy-after-getting-drunk-on-christmas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/12/26/facebook-went-crazy-after-getting-drunk-on-christmas/</feedburner:origLink></item>
		<item>
		<title>VS 2008 C# WYSIWYG HTML Editor</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/rGGLZJR35cs/</link>
		<comments>http://www.josecgomez.com/2009/09/21/vs-2008-c-wysiwyg-html-editor/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 19:46:55 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=331</guid>
		<description><![CDATA[I&#8217;ve been busy at work lately one of the projects assigned to me is to create an application to redact and edit emails that will be sent to customers. This provided a great opportunity for me to get familiar with creating a custom control in C#. I needed a way to create rich content and although C# has the rich text control it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been busy at work lately one of the projects assigned to me is to create an application to redact and edit emails that will be sent to customers. This provided a great opportunity for me to get familiar with creating a custom control in C#. I needed a way to create rich content and although C# has the rich text control it provides everything in RTF which is difficult to work with and hard to embed. So I got to work on my very own WYSIWYG control that produces HTML. So I am making it open source and available to anyone have fun and enjoy if you make any cool modifications to it let me know. I would love to include spell check ability but I don&#8217;t have much time to work on it right now.</p>
<p style="text-align: center;">Download Here <a href="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/09/HTMLWYSIWYG.zip">HTMLWYSIWYG</a><br />
 <img class="aligncenter size-full wp-image-332" title="wysiwyg" src="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/09/wysiwyg.png" alt="wysiwyg" width="510" height="500" /></p>
<p style="text-align: left;">Sample Uses</p>
<pre class="brush: csharp; ">

 private void button1_Click_1(object sender, EventArgs e)
 {
 //Gets the HTML Code generated by the control
 Console.WriteLine( htmlwysiwyg1.getHTML())
 //Getts the PLain Tex code generated by the control.
 Console.WriteLine(htmlwysiwyg1.getPlainText());
 }
</pre>
<pre class="brush: csharp; ">

 private void frm_main_Load(object sender, EventArgs e)
 {
 //Sets the control to allow edits
 htmlwysiwyg1.allowEdit(true)
 //Loads the HTML into the control
 htmlwysiwyg1.setHTML(&quot;&lt;B&gt;BOLD&lt;/B&gt;&quot;);
 //Loads aditional fonts into the control
 htmlwysiwyg1.addFont(&quot;Cambria&quot;);
 }
</pre>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/rGGLZJR35cs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/09/21/vs-2008-c-wysiwyg-html-editor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/09/21/vs-2008-c-wysiwyg-html-editor/</feedburner:origLink></item>
		<item>
		<title>The games that google plays.</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/3u-GwqzdXrg/</link>
		<comments>http://www.josecgomez.com/2009/07/08/the-games-that-google-plays/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 15:44:06 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Views]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[OS]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=329</guid>
		<description><![CDATA[On July 7 google posted the following on their official blog.
It&#8217;s been an exciting nine months since we launched the Google Chrome browser. Already, over 30 million people use it regularly. We designed Google Chrome for people who live on the web — searching for information, checking email, catching up on the news, shopping or [...]]]></description>
			<content:encoded><![CDATA[<p>On July 7 google posted the following on their official blog.</p>
<blockquote><p>It&#8217;s been an exciting nine months since we launched the Google Chrome browser. Already, over 30 million people use it regularly. We designed Google Chrome for people who live on the web — searching for information, checking email, catching up on the news, shopping or just staying in touch with friends. However, the operating systems that browsers run on were designed in an era where there was no web. So today, we&#8217;re announcing a new project that&#8217;s a natural extension of Google Chrome — the Google Chrome Operating System. It&#8217;s our attempt to re-think what operating systems should be.</p></blockquote>
<blockquote><p><a href="http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html">more&#8230;</a></p></blockquote>
<p>It seems that the endless rumors about Google making an Operating System were not unfounded after all. After this announcement I went through the list of Google products, and I have found that basically Google&#8217;s model is simple. They take an existing product or function and create an improved version of it, in accordance with the company&#8217;s view. By making such a product the force the hand of the previous competitors, thus accelerating the evolution of said product and benefiting everyone.</p>
<p>Take Gmail for example, before Gmail came around all web based free email platforms had ridiculous restrictions 2-10 mb per account, no large attachments, poor POP and IMAP support etc&#8230; Then along comes Gmail and it blows all the caps and restrictions providing free unlimited space with POP and IMAP support excellent search and a snazzy interface. Immediately the competition reacts and now most of the web based email platforms support a wide range of features and unlimited space.</p>
<p>Google has done this with many of their products , Google Earth, Google News, Google Voice, the threat to buy the 700 mghz spectrum and many more. Google is playing a game and the thing is, that they are good at it. With this announcement about an OS they just threw the ball in Microsoft&#8217;s court. I guarantee you that the next version of &#8220;Windows&#8221; will take a lot from this.</p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/3u-GwqzdXrg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/07/08/the-games-that-google-plays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/07/08/the-games-that-google-plays/</feedburner:origLink></item>
		<item>
		<title>Windows 7 Shake to Minimize?</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/5zb8tUVZCHU/</link>
		<comments>http://www.josecgomez.com/2009/06/08/windows-7-shake-to-minimize/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 13:24:48 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[minimize]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[shake]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=324</guid>
		<description><![CDATA[So I installed Windows 7 as my main OS at work a few days ago just to play around in a &#8220;Production Environment&#8221; and this morning I ran into the strangest, yet most useful feature yet. Apparently in an Aero enabled PC with Windows 7 if you grab and shake your foreground window it will [...]]]></description>
			<content:encoded><![CDATA[<p>So I installed Windows 7 as my main OS at work a few days ago just to play around in a &#8220;Production Environment&#8221; and this morning I ran into the strangest, yet most useful feature yet. Apparently in an Aero enabled PC with Windows 7 if you grab and shake your foreground window it will automatically minimize all the windows behind it, clearing all the noise. Once you are done, you can get all your windows back by shaking the screen again. Very useful! yet it can get annoying, I have several times now shaken my screen in anger or while waiting for something (who hasn&#8217;t?), and everything drops down. Check out the vid if you don&#8217;t believe me.</p>
<p style="text-align: center;"><!-- Smart Youtube --><span class="youtube"><object width="400" height="320"><param name="movie" value="http://www.youtube.com/v/fEkSSaq-QFk&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/fEkSSaq-QFk&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="320" ></embed><param name="wmode" value="transparent" /></object></span><a href="http://www.youtube.com/watch?v=fEkSSaq-QFk"><img src="http://img.youtube.com/vi/fEkSSaq-QFk/default.jpg" width="130" height="97" border=0></a></p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/5zb8tUVZCHU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/06/08/windows-7-shake-to-minimize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/06/08/windows-7-shake-to-minimize/</feedburner:origLink></item>
		<item>
		<title>Mr. and Mrs Gomez</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/dRMMzXMRKbM/</link>
		<comments>http://www.josecgomez.com/2009/05/14/mr-and-mrs-gomez/#comments</comments>
		<pubDate>Thu, 14 May 2009 12:44:38 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Movies]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=315</guid>
		<description><![CDATA[I haven&#8217;t posted anything in quite a while mainly due to the fact that we were constantly working on things for the wedding. Today I am proud to announce that on May 2nd 2009 I married Annie Litchfield Gomez. The wedding went on without a hitch and everything was awesome. Visit annieandjose.com to see pictures [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-318 alignright" title="wedding" src="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/05/wedding.jpg" alt="wedding" width="244" height="367" />I haven&#8217;t posted anything in quite a while mainly due to the fact that we were constantly working on things for the wedding. Today I am proud to announce that on May 2nd 2009 I married Annie Litchfield Gomez. The wedding went on without a hitch and everything was awesome. Visit <a href="http://www.annieandjose.com">annieandjose.com</a> to see pictures and get more info.</p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/dRMMzXMRKbM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/05/14/mr-and-mrs-gomez/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/05/14/mr-and-mrs-gomez/</feedburner:origLink></item>
		<item>
		<title>Google Chrome plugins</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/MGPLV9jFS-8/</link>
		<comments>http://www.josecgomez.com/2009/04/06/google-chrome-plugins/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 23:01:28 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Views]]></category>
		<category><![CDATA[add-on]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[conspiracy]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[prediction]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=309</guid>
		<description><![CDATA[On April Fool&#8217;s day Google put in an over the top show with CADIE , a cute little panda that stole our hearts. But amongst the things that CADIE showed us may be the real possibility that Google Chrome Plug-ins are coming soon. CADIE in its infinite wisdom, decided that we would be better off [...]]]></description>
			<content:encoded><![CDATA[<p>On April Fool&#8217;s day Google put in an over the top show with <a href="http://cadiesingularity.blogspot.com/">CADIE </a>, a cute little panda that stole our hearts. But amongst the things that CADIE showed us may be the real possibility that Google Chrome Plug-ins are coming soon. CADIE in its infinite wisdom, decided that we would be better off browsing the web in 3D and thus presented us with her version of <a href="http://www.google.com/intl/en/landing/chrome/cadie/">Chrome</a>.</p>
<p>This version features a cool new button on the tool bar, <img class="size-full wp-image-310 alignnone" title="3d-glasses" src="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/04/3d-glasses.jpg" alt="3d-glasses" width="178" height="38" />  by pressing it the whole screen became viewable in 3D by using stereoscopic glasses.</p>
<p style="TEXT-ALIGN: center"><img class="size-full wp-image-311 aligncenter" title="google" src="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/04/google.jpg" alt="google" width="342" height="239" /></p>
<p>This in itself although a novelty doesn&#8217;t represent much. But looking at the way the layout changes and the way the button behaves, one could conclude infer that this was made utilizing what would be the plug in functionality of Chrome. So maybe in the very near future Google will reveal the next version/phase of its awesome browser.</p>
<p>Take it as you wish!</p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/MGPLV9jFS-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/04/06/google-chrome-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/04/06/google-chrome-plugins/</feedburner:origLink></item>
		<item>
		<title>Google CADIE over the top April Fools</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/nlCxjihfvuc/</link>
		<comments>http://www.josecgomez.com/2009/04/01/google-cadie-over-the-top-april-fools/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 13:20:16 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[April Fool's]]></category>
		<category><![CDATA[CADIE]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Panda]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=277</guid>
		<description><![CDATA[This morning google introduced the world to CADIE (Cognitive Autoheuristic Distributed-Intelligence Entity)
Research group switches on world&#8217;s first &#8220;artificial intelligence&#8221; tasked-array system.
For several years now a small research group has been working on some challenging problems in the areas of neural networking, natural language and autonomous problem-solving. Last fall this group achieved a significant breakthrough: a powerful [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-278 alignright" title="cadie" src="http://www.josecgomez.com/wordpress/wp-content/uploads/2009/04/cadie.png" alt="cadie" width="212" height="379" />This morning google introduced the world to CADIE (Cognitive Autoheuristic Distributed-Intelligence Entity)</p>
<blockquote><p>Research group switches on world&#8217;s first &#8220;artificial intelligence&#8221; tasked-array system.</p>
<p>For several years now a small research group has been working on some challenging problems in the areas of neural networking, natural language and autonomous problem-solving. Last fall this group achieved a significant breakthrough: a powerful new technique for solving reinforcement learning problems, resulting in the first functional global-scale neuro-evolutionary learning cluster.</p>
<p>Since then progress has been rapid, and tonight we&#8217;re pleased to announce that just moments ago, the world&#8217;s first Cognitive Autoheuristic Distributed-Intelligence Entity (CADIE) was switched on and began performing some initial functions. It&#8217;s an exciting moment that we&#8217;re determined to build upon by coming to understand more fully what CADIE&#8217;s emergence might mean, for Google and for our users. So although CADIE technology will be rolled out with the caution befitting any advance of this magnitude, in the months to come users can expect to notice her influence on various google.com properties. Earlier today, for instance, CADIE deduced from a quick scan of the visual segment of the social web a set of online design principles from which she derived this <a href="http://cadiesingularity.blogspot.com/" target="_blank">intriguing homepage</a>.  <a href="http://www.google.com/intl/en/landing/cadie/index.html" target="_blank">More&#8230;</a></p>
</blockquote>
<p>They seem to have put a LOT of effort on this joke including 3D viewing for websites using Google Chrome which ACTUALLY WORK check it out <a href="http://www.google.com/intl/en/landing/chrome/cadie/" target="_blank">here</a> if you have stereoscopic glasses. Way to go google, its great that you find time to have some fun when the economy is so bad!</p>
<p><br class="spacer_" /></p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/nlCxjihfvuc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/04/01/google-cadie-over-the-top-april-fools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/04/01/google-cadie-over-the-top-april-fools/</feedburner:origLink></item>
		<item>
		<title>XML Config no more</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/2j_sV9tzJi0/</link>
		<comments>http://www.josecgomez.com/2009/03/26/xml-config-no-more/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 19:33:56 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Views]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[object oriented]]></category>
		<category><![CDATA[serialization]]></category>
		<category><![CDATA[wikipedia]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=262</guid>
		<description><![CDATA[This may make me sound like I am antiquated and behind the times, and in this aspect you are probably right. Since I started messing with programming quite a few years ago, I&#8217;ve tried to make the programs I write as user friendly and as easy to maintain as possible. Recently I have adopted a few [...]]]></description>
			<content:encoded><![CDATA[<p>This may make me sound like I am antiquated and behind the times, and in this aspect you are probably right. Since I started messing with programming quite a few years ago, I&#8217;ve tried to make the programs I write as user friendly and as easy to maintain as possible. Recently I have adopted a few things I&#8217;ve picked up from others like making the methods in my programs accessible through web services when it has merit and things of the sort.</p>
<p>One of the things I have always done is provide extensive config files in XML format in order to alleviate having to modify the code when simple things change such as passwords, database names, host addresses etc. This has in my opinion always been a great venue to ensure maintainability and stability. But the big issue always was XML..</p>
<blockquote><p>XML (Extensible Markup Language) is a general-purpose specification for creating custom markup languages.[1] It is classified as an extensible language, because it allows the user to define the mark-up elements. XML&#8217;s purpose is to aid information systems in sharing structured data, especially via the Internet, [2] to encode documents, and to serialize data; in the last context, it compares with text-based serialization languages such as JSON, YAML and S-Expressions. [3] <br />
<a href="http://en.wikipedia.org/wiki/XML" target="_blank">more&#8230;</a></p>
</blockquote>
<p><br class="spacer_" />The problem I&#8217;ve always had with XML is parsing the file; although the support for it and the built in tools have improved greatly over the past few years it still requires considerable amount of code in order to gather the data in some languages (C#), and another considerable amount of code in order to update or change the data in the file. When I was learning Object Oriented programming a while back we were introduced to the concept of Serialization</p>
<blockquote><p>In computer science, in the context of data storage and transmission, serialization is the process of converting an object into a sequence of bits so that it can be stored on a storage medium (such as a file, or a memory buffer) or transmitted across a network connection link. When the resulting series of bits is reread according to the serialization format, it can be used to create a semantically identical clone of the original object. For many complex objects, such as those that make extensive use of references, this process is not straightforward.<br />
<a href="http://en.wikipedia.org/wiki/Serialization" target="_blank">more&#8230;</a></p>
</blockquote>
<p>But like the Wikipedia definition above says &#8220;this process is not straightforward&#8221;, you used to have to define Interfaces and formats and if your object had any kind of list or array in it, you couldn&#8217;t use it unless you wanted to spend a considerable amount of time making it work.</p>
<p>While I was working on the practice projects I grew to hate Serialization and had not used it since. Yesterday in a fit of rage, because my XML config file was being stubborn I stumbled across an implementation that used a Serialized object for storing configuration. I was baffled by the ease in which this was accomplished and I immediately implemented it. Now it its extremely easy to add and remove config parameters from my program and at the same time I don&#8217;t have to worry about someone deleting or changing the config file since it is stored in binary and gets re-created if deleted.</p>
<p>In order to serialize an object your class must be declared as <span style="font-size: x-small;">[</span><span style="font-size: x-small; color: #2b91af;">Serializable</span><span style="font-size: x-small;">] . After you have done this, the below example will take care of the serialization for you.</span></p>
<p><span style="font-size: x-small;"><span style="font-size: x-small; color: #008000;">//Serialize an Object<br />
</span><span style="font-size: x-small; color: #2b91af;">FileStream</span><span style="font-size: x-small;">fs = </span><span style="font-size: x-small; color: #0000ff;">new</span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #2b91af;">FileStream</span><span style="font-size: x-small;">(</span><span style="font-size: x-small; color: #a31515;">@&#8221;prog.conf&#8221;</span><span style="font-size: x-small;">, </span><span style="font-size: x-small; color: #2b91af;">FileMode</span><span style="font-size: x-small;">.Create); <span style="color: #008000;">//Create new File where the object will live</span><br />
</span><span style="font-size: x-small; color: #2b91af;">BinaryFormatter</span><span style="font-size: x-small;"> bf = </span><span style="font-size: x-small; color: #0000ff;">new</span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #2b91af;">BinaryFormatter</span><span style="font-size: x-small;">(); <span style="color: #008000;">//Create new BinaryFormatter to Serilize Object</span><br />
bf.Serialize(fs, YOUROBJECT); <span style="color: #008000;">//Serialize Object</span><br />
fs.Close(); <span style="color: #008000;">//Close File</span><br />
</span></span></p>
<p><span style="color: #008000;">//Deserialize<br />
</span><span style="color: #2b91af;">FileStream</span>fs = <span style="color: #0000ff;">new</span><span style="color: #2b91af;">FileStream</span>(<span style="color: #a31515;">@&#8221;prog.conf&#8221;</span>,<span style="font-size: x-small; color: #2b91af;">FileMode</span><span style="font-size: x-small;">.Open);  <span style="color: #008000;">//Open File Containing Serialized Object</span><br />
</span><span style="font-size: x-small;"><span style="color: #2b91af;">YOUROBJECT</span> obj = (<span style="color: #2b91af;">YOUROBJECT</span></span><span style="font-size: x-small;">) (</span><span style="font-size: x-small; color: #0000ff;">new</span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #2b91af;">BinaryFormatter</span><span style="font-size: x-small;">().Deserialize(fs));<br />
fs.Close(); <span style="color: #008000;">//Close File</span></span></p>
<p>Remember to include the System.IO and System.Runtime.Serialization.Formatters.Binary libraries.</p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/2j_sV9tzJi0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/03/26/xml-config-no-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/03/26/xml-config-no-more/</feedburner:origLink></item>
		<item>
		<title>Blip.FM</title>
		<link>http://feedproxy.google.com/~r/josecgomez/~3/lqrDUPsIbDw/</link>
		<comments>http://www.josecgomez.com/2009/03/16/blipfm/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 12:29:22 +0000</pubDate>
		<dc:creator>Jose C Gomez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blip.fm]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.josecgomez.com/?p=253</guid>
		<description><![CDATA[While listening to Net@Night from the TWIT Network I was introduced to Blib.fm, the best way I can describe it is Twitter for music. You go to the site and type the name of your song and or favorite artist and it plays it for you. At the same time the site pairs you up [...]]]></description>
			<content:encoded><![CDATA[<p>While listening to Net@Night from the TWIT Network I was introduced to <a href="http://www.blip.fm/josecgomez">Blib.fm</a>, the best way I can describe it is Twitter for music. You go to the site and type the name of your song and or favorite artist and it plays it for you. At the same time the site pairs you up with people of similar musical taste and you immediately begin to get their blips, that is the music they are playing / searching for. This is extremely fun as you discover new music and songs you didn&#8217;t know you liked, its a new way of sharing music and getting to know people.</p>
<img src="http://feeds.feedburner.com/~r/josecgomez/~4/lqrDUPsIbDw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.josecgomez.com/2009/03/16/blipfm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.josecgomez.com/2009/03/16/blipfm/</feedburner:origLink></item>
	</channel>
</rss>
