<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6731345753991064904</atom:id><lastBuildDate>Sat, 07 Sep 2024 21:02:32 +0000</lastBuildDate><title>Writing THE code</title><description>Sharing my interesting finds of programming, mainly in .NET, and technology.</description><link>http://writingthecode.blogspot.com/</link><managingEditor>noreply@blogger.com (Alex)</managingEditor><generator>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-7678997778450160951</guid><pubDate>Thu, 29 Nov 2012 23:35:00 +0000</pubDate><atom:updated>2012-11-29T18:35:54.384-05:00</atom:updated><title>IkeaHakers Expedit shelving bed</title><atom:summary type="text">About a week ago I posted on IkeaHackers.net about the bed we made here at our condo using basic materials and 3 Expedit shelving units from IKEA. Some people asked for more pictures so here they are! You can also find the original pose here.











</atom:summary><link>http://writingthecode.blogspot.com/2012/11/about-week-ago-i-posted-on-ikeahackers.html</link><author>noreply@blogger.com (Alex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL7H4ag5T-T86W7yU2Yljxig1d0UjX9eDmMUZcLPJ9Pfsvt1M8dGxSBEq_H53qKkoZV6OAHFpWcQyah9Jg5oaHO_zglCTWR8NsWnRpsd02BqzXUh3VdqFtHRFPpc9jEhBb4tRPVQWdQTs/s72-c/IMG_20121129_180604.jpg" height="72" width="72"/><thr:total>15</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-196621711381064533</guid><pubDate>Fri, 02 Nov 2012 00:08:00 +0000</pubDate><atom:updated>2012-11-01T20:18:10.047-04:00</atom:updated><title>Nexus 7 16gb</title><atom:summary type="text">Just received my Nexus 7 16gb, ordered from Google Play on monday october 29th and I love it! The size is perfect and it feels really great in hand. I already installed most of my apps and as you can see I am currently testing the Blogger app :-)
Right now I really have nothing bad to say. We&#39;ll see if that changes with time. 
Right now I&#39;m thinking about getting a cover for it and maybe a </atom:summary><link>http://writingthecode.blogspot.com/2012/11/nexus-7-16gb.html</link><author>noreply@blogger.com (Alex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-6419559065845809747</guid><pubDate>Wed, 08 Dec 2010 02:42:00 +0000</pubDate><atom:updated>2010-12-09T14:00:14.158-05:00</atom:updated><title>HTC 7 Surround</title><atom:summary type="text">Yup, I finally decided to get my hands on a Windows Phone 7 device. The reasons why I chose the HTC Surround 7 are pretty simple. I already had a contract with Telus and right now they only offer this one and the LG Optimus 7, secondly, the Surround as the alarm clock feature that the Optimus doesn&#39;t have and finally, the three main buttons, at the bottom of the screen are &quot;touch&quot; instead of </atom:summary><link>http://writingthecode.blogspot.com/2010/12/htc-7-surround.html</link><author>noreply@blogger.com (Alex)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-1870937772948348159</guid><pubDate>Thu, 02 Dec 2010 23:32:00 +0000</pubDate><atom:updated>2010-12-02T19:21:53.126-05:00</atom:updated><title>Using the ThreadPool - An example as simple as possible</title><atom:summary type="text">I just posted a code sample using the ThreadPool on a forum so I thought I could also post it here. Who knows, it might prove usefull to someone someday. Basically it simply demonstrate how to create and start new threads with the ThreadPool and how to use delegates with parameters. Here it is :
Imports System.Threading

Public Class Form1

    Delegate Sub UpdateItemValueDelegate(ByVal index As </atom:summary><link>http://writingthecode.blogspot.com/2010/12/using-threadpool-example-as-simple-as.html</link><author>noreply@blogger.com (Alex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-7056857703337590852</guid><pubDate>Thu, 02 Dec 2010 23:27:00 +0000</pubDate><atom:updated>2010-12-02T18:27:17.984-05:00</atom:updated><title>Microsoft Press Books</title><atom:summary type="text">For those interested in Microsoft Visual Studio 2010 MCTS or MCPD, the following MCTS book is suppose to be available december 16th :
MCTS Self-Paced Training Kit (Exam 70-515): Web Applications Development with Microsoft .NET Framework 4</atom:summary><link>http://writingthecode.blogspot.com/2010/12/microsoft-press-books.html</link><author>noreply@blogger.com (Alex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-6795633867064259032</guid><pubDate>Tue, 30 Nov 2010 00:03:00 +0000</pubDate><atom:updated>2010-11-29T19:04:16.754-05:00</atom:updated><title>Use VB on Windows Phone 7</title><atom:summary type="text">For those of you VB coders who were interested by the new Windows Phone 7 platform, Visual Basic for Windows Phone Developer Tools - RTW is now available for download here.</atom:summary><link>http://writingthecode.blogspot.com/2010/11/use-vb-on-windows-phone-7.html</link><author>noreply@blogger.com (Alex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-7144519311696366014</guid><pubDate>Mon, 23 Aug 2010 01:44:00 +0000</pubDate><atom:updated>2010-08-22T21:47:38.219-04:00</atom:updated><title>.Net FW 4: Data Parallelism</title><atom:summary type="text">I just started to look at the .NET Framework 4, yeah I know I’m late, and everything new it brings us so I thought I’d do a small post about the Data Paralellism and show a small example of Parallel.For loop and the comparison with a standard for loop. The code bellow is pretty simple, it additions integers from 0 to 2 million (exclusive) and put the result in a long variable and it displays the </atom:summary><link>http://writingthecode.blogspot.com/2010/08/net-fw-4-data-parallelism.html</link><author>noreply@blogger.com (Alex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjicxiRm2TBy_M2KnnL_wH03i06gOJIESEU1qhIxiL_swk6UlKLKV5z9dCeo9EcaPocwvRoNRSCn5xT2EMss1f_sBdQfU6RP35DZBCZthfSvEaBoEmSJFm9wH7RaG37dY4sWFAZ8IUCVWU/s72-c/ParallelFor.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-8277327777531046247</guid><pubDate>Sat, 12 Jun 2010 20:03:00 +0000</pubDate><atom:updated>2010-06-12T16:03:50.167-04:00</atom:updated><title>BackGroundWorker example</title><atom:summary type="text">I’ve seen a lot of questions lately on forums about the BackGroundWorker (BGW) Class and how to use it. The BGW’s purpose is to execute an operation on a separate thread. Whenever you have a time-consuming operation that need to be executed you can use a BGW to avoid having your User Interface (UI) stop responding. It is a convenient solution if you only have a single time-consuming operation to </atom:summary><link>http://writingthecode.blogspot.com/2010/06/backgroundworker-example.html</link><author>noreply@blogger.com (Alex)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-8845420656999137328</guid><pubDate>Mon, 19 Apr 2010 00:06:00 +0000</pubDate><atom:updated>2010-04-18T20:08:02.401-04:00</atom:updated><title>String replacement with Regular Expressions</title><atom:summary type="text">I answered a question last week on a forum about using Regular Expressions for complex string replacements so I thought I might just post a small example. For simple string replacement there’s the String.Replace method, but whenever you need to manipulate the match you want to replace in order to build the replacement string, the RegEx.Replace method does the job.  Here’s a small code sample that</atom:summary><link>http://writingthecode.blogspot.com/2010/04/string-replacement-with-regular.html</link><author>noreply@blogger.com (Alex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-6770148141994718689</guid><pubDate>Sun, 04 Apr 2010 17:37:00 +0000</pubDate><atom:updated>2010-04-04T13:40:10.175-04:00</atom:updated><title>Using the StringBuilder class</title><atom:summary type="text">In .NET I often see people use the plus ‘+’ operator in C# or the ampersand ‘&amp;amp;’ operator in VB.NET to concatenate strings. Whenever these operators are use for concatenation the Framework copies all the strings included in the operation into memory and then reads back those value as a new string. This, even if it doesn’t seem to be, is a costly operation. This is where the StringBuilder comes</atom:summary><link>http://writingthecode.blogspot.com/2010/04/using-stringbuilder-class.html</link><author>noreply@blogger.com (Alex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo22ahqicUWcGDa3Br1cOJ0diFyBPZq-DRWwKqtynzlKvv4uOzWpE-pRFX19qVXmrE7eOo-h17YrMmBNdSj2b2rlIm1S7qcPTrZ_LTh-sEkMJFrhjV_jsV0tViHzniH1tfmcsCN6p87vY/s72-c/StringBuilder.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-2291499471019382130</guid><pubDate>Mon, 15 Mar 2010 05:00:00 +0000</pubDate><atom:updated>2010-03-15T06:41:43.765-04:00</atom:updated><title>Running VS2008 on a Netbook</title><atom:summary type="text">
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:0 0 0 0 0 0 0 0 0 0;
	mso-font-charset:1;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable</atom:summary><link>http://writingthecode.blogspot.com/2010/03/running-vs2008-on-netbook.html</link><author>noreply@blogger.com (Alex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuMatwEJmRb1qw_Ndo_JUWd82tDXRACtrfnGcQ_KpijYUdie9PL0GWNZaQfzKcMB_U5jt4IMdqE8R50XyHIRv5yBh4eUCPH_BHPNiAHR8NY0cN4NNsC6O9lyT7rzkEYTCGV_tWsWrdPfw/s72-c/VS2008.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-24913407079819422</guid><pubDate>Mon, 08 Mar 2010 11:15:00 +0000</pubDate><atom:updated>2010-03-15T06:42:40.525-04:00</atom:updated><title>Tablet PC : ExoPC Slate</title><atom:summary type="text">After having been particularly disappointed by what the iPad will be, I started searching the web for other tablet PCs and I finally found something that might suit my needs. The ExoPC Slate. I don&#39;t think I&#39;ll buy the first version, which should be on the shelves pretty soon maybe even before the iPad as it is now suppose to be released in april, but I might give it a try later if reviews are </atom:summary><link>http://writingthecode.blogspot.com/2010/03/tablet-pc-exopc-slate.html</link><author>noreply@blogger.com (Alex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6731345753991064904.post-6818456123866511312</guid><pubDate>Sat, 06 Mar 2010 16:18:00 +0000</pubDate><atom:updated>2010-03-06T11:31:28.015-05:00</atom:updated><title>Regular Expressions</title><atom:summary type="text">Regular expressions provide a flexible way for matching patterns in text and are commonly used in syntax highlighting systems for example. They can also be used to validate data input like Email addresses format. 

Personally I use regular expression as soon as I need to find many different occurrences of a string that have a common pattern. For example I once needed to insert links into diverse </atom:summary><link>http://writingthecode.blogspot.com/2010/03/regular-expressions.html</link><author>noreply@blogger.com (Alex)</author><thr:total>0</thr:total></item></channel></rss>