<?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>Labs</title>
	<atom:link href="http://sara-coutinho.com/labs/feed/" rel="self" type="application/rss+xml" />
	<link>http://sara-coutinho.com/labs</link>
	<description>The Garbage Collector</description>
	<lastBuildDate>Fri, 02 Dec 2011 18:28:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Windows server 2008 and large files</title>
		<link>http://sara-coutinho.com/labs/2011/12/windows-server-2008-and-large-files/</link>
		<comments>http://sara-coutinho.com/labs/2011/12/windows-server-2008-and-large-files/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 18:28:45 +0000</pubDate>
		<dc:creator>sara</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://sara-coutinho.com/labs/?p=56</guid>
		<description><![CDATA[I recently came across an issue while trying to upload large files into Umbraco: they would always timeout, even after the usual changes on the web.config file: ... 1234 &#60;system.web&#62; &#60;httpRuntime maxRequestLength="1048576" executionTimeout="3600" /&#62; ... &#60;/system.web&#62; Yesterday, while plotting on my batcave, I came across the solution (and the problem). IIS7 on Windows Server 2008 [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across an issue while trying to upload large files into Umbraco: they would always timeout, even after the usual changes on the web.config file:</p>
<p>

<!-- Crayon Syntax Highlighter v1.5.4 -->

		<div id="crayon-4fb9e342035f7" class="crayon-syntax crayon-theme-classic" crayon-os="pc" settings=" scroll-always" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both;">
		
			<div class="crayon-toolbar" settings="show">
			<div class="crayon-tools"><a href="#" class="crayon-nums-button crayon-button" title="Toggle Line Numbers" onclick="toggle_nums('crayon-4fb9e342035f7'); return false;"></a><a href="#" class="crayon-copy-button crayon-button" title="Copy Plain Code" onclick="copy_plain('crayon-4fb9e342035f7'); return false;"></a><a href="#" class="crayon-popup-button crayon-button" title="Open Code in Window" onclick="return false;"></a><a href="#" class="crayon-plain-button crayon-button" title="Toggle Plain Code" onclick="toggle_plain('crayon-4fb9e342035f7'); return false;"></a><a href="#" class="crayon-nums-button crayon-button crayon-pressed crayon-invisible"></a><a href="#" class="crayon-copy-button crayon-button crayon-pressed crayon-invisible"></a><a href="#" class="crayon-popup-button crayon-button crayon-pressed crayon-invisible"></a><a href="#" class="crayon-plain-button crayon-button crayon-pressed crayon-invisible"></a></div>
			</div><div><textarea class="crayon-plain" settings="click" readonly  wrap="off" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;"><system.web>
    <httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
    ...
</system.web></textarea></div><div class="crayon-info"></div>
			<div class="crayon-main" style="">
				<table class="crayon-table" cellpadding="0" cellspacing="0">
					<tr class="crayon-row">
				<td class="crayon-nums " settings="show">
					<div class="crayon-nums-content"><div class="crayon-num">1</div><div class="crayon-num crayon-striped-num">2</div><div class="crayon-num">3</div><div class="crayon-num crayon-striped-num">4</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre"><div class="crayon-line" id="line-1"><span class="o ">&lt;</span><span class="i ">system</span><span class="sy ">.</span><span class="v ">web</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line crayon-striped-line" id="line-2"><span class="h ">    </span><span class="o ">&lt;</span><span class="i ">httpRuntime</span><span class="h "> </span><span class="i ">maxRequestLength</span><span class="o ">=</span><span class="s ">"1048576"</span><span class="h "> </span><span class="i ">executionTimeout</span><span class="o ">=</span><span class="s ">"3600"</span><span class="h "> </span><span class="o ">/</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line" id="line-3"><span class="h ">    </span><span class="sy ">.</span><span class="sy ">.</span><span class="sy ">.</span><span class="h "></span><span class="h "></span></div><div class="crayon-line crayon-striped-line" id="line-4"><span class="o ">&lt;</span><span class="o ">/</span><span class="i ">system</span><span class="sy ">.</span><span class="v ">web</span><span class="o ">&gt;</span><span class="h "></span></div></div></td>
					</tr>
				</table>
			</div>
		</div>
<!-- [Parse Time: 0.0000 seconds] [Format Time: 0.0014 seconds] -->

</p>
<p>Yesterday, while plotting on my batcave, I came across the solution (and the problem). IIS7 on Windows Server 2008 is limited to a maximum upload size of 30MB. You will need to do the following changes on your web.config file to able to upload large files:</p>
<p>

<!-- Crayon Syntax Highlighter v1.5.4 -->

		<div id="crayon-4fb9e34203631" class="crayon-syntax crayon-theme-classic" crayon-os="pc" settings=" scroll-always" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both;">
		
			<div class="crayon-toolbar" settings="show">
			<div class="crayon-tools"><a href="#" class="crayon-nums-button crayon-button" title="Toggle Line Numbers" onclick="toggle_nums('crayon-4fb9e34203631'); return false;"></a><a href="#" class="crayon-copy-button crayon-button" title="Copy Plain Code" onclick="copy_plain('crayon-4fb9e34203631'); return false;"></a><a href="#" class="crayon-popup-button crayon-button" title="Open Code in Window" onclick="return false;"></a><a href="#" class="crayon-plain-button crayon-button" title="Toggle Plain Code" onclick="toggle_plain('crayon-4fb9e34203631'); return false;"></a><a href="#" class="crayon-nums-button crayon-button crayon-pressed crayon-invisible"></a><a href="#" class="crayon-copy-button crayon-button crayon-pressed crayon-invisible"></a><a href="#" class="crayon-popup-button crayon-button crayon-pressed crayon-invisible"></a><a href="#" class="crayon-plain-button crayon-button crayon-pressed crayon-invisible"></a></div>
			</div><div><textarea class="crayon-plain" settings="click" readonly  wrap="off" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;"><system.webServer>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="200000000" />
        </requestFiltering>
    </security>
    ...
</system.webServer></textarea></div><div class="crayon-info"></div>
			<div class="crayon-main" style="">
				<table class="crayon-table" cellpadding="0" cellspacing="0">
					<tr class="crayon-row">
				<td class="crayon-nums " settings="show">
					<div class="crayon-nums-content"><div class="crayon-num">1</div><div class="crayon-num crayon-striped-num">2</div><div class="crayon-num">3</div><div class="crayon-num crayon-striped-num">4</div><div class="crayon-num">5</div><div class="crayon-num crayon-striped-num">6</div><div class="crayon-num">7</div><div class="crayon-num crayon-striped-num">8</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre"><div class="crayon-line" id="line-1"><span class="o ">&lt;</span><span class="i ">system</span><span class="sy ">.</span><span class="v ">webServer</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line crayon-striped-line" id="line-2"><span class="h ">    </span><span class="o ">&lt;</span><span class="i ">security</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line" id="line-3"><span class="h ">        </span><span class="o ">&lt;</span><span class="i ">requestFiltering</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line crayon-striped-line" id="line-4"><span class="h ">            </span><span class="o ">&lt;</span><span class="i ">requestLimits</span><span class="h "> </span><span class="i ">maxAllowedContentLength</span><span class="o ">=</span><span class="s ">"200000000"</span><span class="h "> </span><span class="o ">/</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line" id="line-5"><span class="h ">        </span><span class="o ">&lt;</span><span class="o ">/</span><span class="i ">requestFiltering</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line crayon-striped-line" id="line-6"><span class="h ">    </span><span class="o ">&lt;</span><span class="o ">/</span><span class="i ">security</span><span class="o ">&gt;</span><span class="h "></span><span class="h "></span></div><div class="crayon-line" id="line-7"><span class="h ">    </span><span class="sy ">.</span><span class="sy ">.</span><span class="sy ">.</span><span class="h "></span><span class="h "></span></div><div class="crayon-line crayon-striped-line" id="line-8"><span class="o ">&lt;</span><span class="o ">/</span><span class="i ">system</span><span class="sy ">.</span><span class="v ">webServer</span><span class="o ">&gt;</span><span class="h "></span></div></div></td>
					</tr>
				</table>
			</div>
		</div>
<!-- [Parse Time: 0.0000 seconds] [Format Time: 0.0011 seconds] -->

</p>
<p>That will do it. Also, if you (and your clients) are uploading large files into Umbraco, using the <a href="http://our.umbraco.org/projects/website-utilities/desktop-media-uploader">Desktop Media Uploader</a> is probably a good idea. The only issue I found is that it is not able to recognize custom media types.</p>
<p>Good bedtime reading:<br />
<a href="http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx">Large file uploads in ASP.NET</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sara-coutinho.com/labs/2011/12/windows-server-2008-and-large-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash and Physics</title>
		<link>http://sara-coutinho.com/labs/2010/02/flash-and-physics/</link>
		<comments>http://sara-coutinho.com/labs/2010/02/flash-and-physics/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 02:03:04 +0000</pubDate>
		<dc:creator>sara</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://sara-coutinho.com/labs/?p=33</guid>
		<description><![CDATA[At some time ago at work I was playing around with Physics in Flash, using Box2Dflash. There are more 2D engines but I decided to give it a try because it was the first one I saw, at one year and half ago. At the time it was untouchable to me due to my lack [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sara-coutinho.com/labsdemo/box2d/Box2DFlash_demo.zip" target="_blank"><img class="alignnone size-full wp-image-44" style="margin-left:-17px;" title="marker_bubbles" src="http://sara-coutinho.com/labs/wp-content/uploads/2010/02/marker_bubbles2.png" alt="marker_bubbles" width="478" height="179" /></a></p>
<p>At some time ago at work I was playing around with Physics in Flash, using <a href="http://box2dflash.sourceforge.net/" target="_blank">Box2Dflash</a>. There are more 2D engines but I decided to give it a try because it was the first one I saw, at one year and half ago. At the time it was untouchable to me due to my lack of knowledge in AS3 and OOP in Flash, and I was very glad that one year later I managed to play around with it.</p>
<p>This is a simplified version of my original file, where I was generating the number of spheres based on the number of entries in an xml file, and attaching an image to all spheres. On that version we were also trying to integrate the spheres with a touchscreen we had at the office but we ran into problems because the interaction between the two media is different; the library used to detect the touch interaction tries to migrate the mouse movements, what is not very effective in some situations. If you are curious about it you can check it <a href="http://nuigroup.com/" target="_blank">here</a>.</p>
<p>You can check the <a href="http://www.sara-coutinho.com/labsdemo/box2d/" target="_blank">demo</a> and download the <a href="http://www.sara-coutinho.com/labsdemo/box2d/Box2DFlash_demo.zip" target="_blank">source</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sara-coutinho.com/labs/2010/02/flash-and-physics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash experience</title>
		<link>http://sara-coutinho.com/labs/2009/11/flash-experience/</link>
		<comments>http://sara-coutinho.com/labs/2009/11/flash-experience/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 02:02:43 +0000</pubDate>
		<dc:creator>sara</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[bubbles]]></category>

		<guid isPermaLink="false">http://sara-coutinho.com/labs/?p=21</guid>
		<description><![CDATA[Hello all, I found this really nice tutorial on abduzeedo and the first thing that came to my mind was that it will look really good animated. Flash was the most obvious option and here is the final result (click on the post image to view). I used an AS2 example but I started the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sara-coutinho.com/labsdemo/bubbles/"><img class="alignnone size-full wp-image-50" style="margin-left: -17px;" title="Bubbles" src="http://sara-coutinho.com/labs/wp-content/uploads/2009/11/marker_soap.png" alt="Bubbles" width="478" height="179" /></a></p>
<p>Hello all,</p>
<p>I found <a href="http://abduzeedo.com/awesome-digital-bokeh-effect-photoshop" target="_blank">this really nice tutorial</a> on abduzeedo and the first thing that came to my mind was that it will look really good animated. Flash was the most obvious option and here is the final result (click on the post image to view).</p>
<p>I used an AS2 example but I started the migration to AS3; the source will be available here when I finish it. <img src='http://sara-coutinho.com/labs/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Sara</p>
]]></content:encoded>
			<wfw:commentRss>http://sara-coutinho.com/labs/2009/11/flash-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery and CSS3</title>
		<link>http://sara-coutinho.com/labs/2009/09/jquery-and-css3/</link>
		<comments>http://sara-coutinho.com/labs/2009/09/jquery-and-css3/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:19:32 +0000</pubDate>
		<dc:creator>sara</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[accordion]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://sara-coutinho.com/labs/?p=15</guid>
		<description><![CDATA[Hello all, This week I was making some experiences with jQuery and CSS3; for various reasons in the last few months I was not working intensively with html/css and feel I needed some updates. I tried jQuery for the first time &#8211; I was using mootools, but jQuery will be more useful to me now [...]]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>This week I was making some experiences with jQuery and CSS3; for various reasons in the last few months I was not working intensively with html/css and feel I needed some updates. I tried jQuery for the first time &#8211; I was using mootools, but jQuery will be more useful to me now &#8211; and tried some new features of CSS3, like @font-face. I can imagine a lot of websites on the future using Helveticas <img src='http://sara-coutinho.com/labs/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>I fond <a href="http://stilbuero.de/jquery/accordion/" target="_blank">this </a>nice and smooth accordion using jQuery; accordion can be a pain, particularly if your using the default ones of jQuery or those created with Sprys on Dreamweaver.</p>
<p>And now <a href="http://www.css3.info/preview/web-fonts-with-font-face/" target="_blank">@font-face</a>: this is an exciting new feature of CSS that will certainly change the way designers build websites. @font-face is working in Firefox 3.5, Opera 10 and Safari 3.1+. Chrome doesn&#8217;t support this feature &#8211; yet &#8211; and IE is a special case (why are we not surprised?). Microsoft developed their own implementation of this, using a proprietary Embedded Open Type (.eot) format. In fact, this is working since IE 5. If you want to use @font-face on IE, you must encode your .ttf or .otf. There are some converters from .ttf to .eot, and from .otf to eot &#8211; some of them free, some of them paid. The small example I made is not working with .eot because i couldn&#8217;t find a free converter. Any suggestion is welcome <img src='http://sara-coutinho.com/labs/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>There is, however, a problem with IE rendering .eot fonts: the anti-alias is terrible. In fact, it seems there is no anti-alias at all.</p>
<p>You can see my example here; please note that older browsers may not display the new CSS3 features:</p>
<p><a href="http://www.sara-coutinho.com/labsdemo/jquery_css3/" target="_blank">http://www.sara-coutinho.com/labsdemo/jquery_css3/</a></p>
<p>I also tried the new multi-column text option and it seems to be working perfectly. In the example it has a &#8220;matrix&#8221; effect because the text is inside the accordion and resizing when it moves.</p>
<p>You can find more about CSS3 <a href="http://www.css3.info/preview/" target="_blank">here</a>.</p>
<p>Hope you find this useful!</p>
]]></content:encoded>
			<wfw:commentRss>http://sara-coutinho.com/labs/2009/09/jquery-and-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Typography and Photoshop tutorial</title>
		<link>http://sara-coutinho.com/labs/2009/09/font-and-photoshop-tutorial/</link>
		<comments>http://sara-coutinho.com/labs/2009/09/font-and-photoshop-tutorial/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 19:26:10 +0000</pubDate>
		<dc:creator>sara</dc:creator>
				<category><![CDATA[graphic design]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://sara-coutinho.com/labs/?p=7</guid>
		<description><![CDATA[This week I was browsing PSD tuts and found this really nice tutorial explaining how to create a nice typographic illustration. The good thing about this tutorials is that we can learn a lot of new features/properties/etc of a program. The final result will be very similar to the example provided, but you&#8217;ll certainly increase [...]]]></description>
			<content:encoded><![CDATA[<p>This week I was browsing <a href="http://psd.tutsplus.com/" target="_blank">PSD tuts</a> and found this really nice <a href="http://psd.tutsplus.com/tutorials/text-effects-tutorials/how-to-create-a-richly-ornate-typographic-illustration/" target="_blank">tutorial</a> explaining how to create a nice typographic illustration. The good thing about this tutorials is that we can learn a lot of new features/properties/etc of a program. The final result will be very similar to the example provided, but you&#8217;ll certainly increase your knowledge and use some of the &#8220;tricks&#8221; in the next projects.</p>
<p>I changed the text to &#8220;Queques &amp; Absinto&#8221;, the name of a<a href="http://queques-e-absinto.blogspot.com/" target="_blank"> friend&#8217;s blog</a> that likes Art Nouveau. I definitely recommend a visit.</p>
<p>This is the final result:</p>
<p style="text-align: center;"><a href="http://sara-coutinho.com/labs/wp-content/uploads/2009/09/typo.jpg"><img class="size-full wp-image-8 aligncenter" title="quequeseabsinto" src="http://sara-coutinho.com/labs/wp-content/uploads/2009/09/typo.jpg" alt="quequeseabsinto" width="491" height="369" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sara-coutinho.com/labs/2009/09/font-and-photoshop-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello!</title>
		<link>http://sara-coutinho.com/labs/2009/09/hello/</link>
		<comments>http://sara-coutinho.com/labs/2009/09/hello/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 18:59:01 +0000</pubDate>
		<dc:creator>sara</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hello world]]></category>

		<guid isPermaLink="false">http://sara-coutinho.com/labs/?p=3</guid>
		<description><![CDATA[Hello all! Labs is a new section of my website where I will post the latest experiences I&#8217;m working on. From simple stuff to not-so-simple ones. I will try to keep this section updated so please stay tuned! Sara]]></description>
			<content:encoded><![CDATA[<p>Hello all!</p>
<p>Labs is a new section of my website where I will post the latest experiences I&#8217;m working on. From simple stuff to not-so-simple ones. I will try to keep this section updated so please stay tuned!</p>
<p>Sara</p>
]]></content:encoded>
			<wfw:commentRss>http://sara-coutinho.com/labs/2009/09/hello/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

