<?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" version="2.0">

<channel>
	<title>Nuno Silva</title>
	
	<link>http://nunos.zi-yu.com</link>
	<description>Tecnology, Programming, Game Development, Curiosities</description>
	<pubDate>Fri, 30 Oct 2009 11:00:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/nunos" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">nunos</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Lazy Loading and Eager Loading in the Entity Framework</title>
		<link>http://nunos.zi-yu.com/2009/10/lazy-loading-and-eager-loading-in-the-entity-framework/</link>
		<comments>http://nunos.zi-yu.com/2009/10/lazy-loading-and-eager-loading-in-the-entity-framework/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:18:41 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Eager Loadingg]]></category>

		<category><![CDATA[Entity Framework]]></category>

		<category><![CDATA[Lazy Loading]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=360</guid>
		<description><![CDATA[By default, the entity framework works on a lazy load mode. this means that, if you want to load a reference, you must do it explicitly.
Imagine the scenario:
Normally, when we make a linq query to get all the Person we would do:

Entities entities = new Entities();
var persons = from Person p in entities.Person
select p;

but in [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Lazy Loading and Eager Loading in the Entity Framework", url: "http://nunos.zi-yu.com/2009/10/lazy-loading-and-eager-loading-in-the-entity-framework/" });</script>]]></description>
			<content:encoded><![CDATA[<p>By default, the entity framework works on a lazy load mode. this means that, if you want to load a reference, you must do it explicitly.</p>
<p>Imagine the scenario:</p>
<div id="attachment_361" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-361" title="Linq example" src="http://nunos.zi-yu.com/wp-content/uploads/2009/10/linqexample.jpg" alt="Linq example" width="500" height="165" /><p class="wp-caption-text">Linq example</p></div>
<p>Normally, when we make a linq query to get all the Person we would do:</p>
<pre>
Entities entities = new Entities();
var persons = from Person p in entities.Person
select p;
</pre>
<p>but in this scenario, if we wanted the books, we have to explicitly load then:</p>
<pre>
foreach(Person p in persons){
p.Book.Load();
//Handle the books
}
</pre>
<p>This would do a query for each person just to retrieve the books.</p>
<p>But you can explicitly load the books right in the query:</p>
<pre>
Entities entities = new Entities();
var persons = from Person p in entities.Person.Include("Book")
select p;
</pre>
<p>this would allow you to load all the books from all the persons. This is called eager loading.</p>
<p>If you want to retrive all the persons and all the books and all the pages of those books, the query would be:</p>
<pre>
Entities entities = new Entities();
var persons = from Person p in entities.Person.Include("Book.Page")
select p;
</pre>
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2008/12/version-1-of-orions-belt-died-today/" title="Version 1 of Orion&#8217;s Belt died today">Version 1 of Orion&#8217;s Belt died today</a></li>
<li><a href="http://nunos.zi-yu.com/2008/03/wrapp-a-div-around-other-divs-with-float/" title="Wrapp a div around other div&#8217;s with float">Wrapp a div around other div&#8217;s with float</a></li>
<li><a href="http://nunos.zi-yu.com/2008/09/firefox-commands/" title="Firefox Commands">Firefox Commands</a></li>
<li><a href="http://nunos.zi-yu.com/2008/05/ajax-requests-and-mootools/" title="Ajax Requests and Mootools">Ajax Requests and Mootools</a></li>
<li><a href="http://nunos.zi-yu.com/2009/05/blizzard-campus/" title="Blizzard Campus">Blizzard Campus</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=Lazy+Loading+and+Eager+Loading+in+the+Entity+Framework&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F10%2Flazy-loading-and-eager-loading-in-the-entity-framework%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/10/lazy-loading-and-eager-loading-in-the-entity-framework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Out and out again</title>
		<link>http://nunos.zi-yu.com/2009/08/out-and-out-again/</link>
		<comments>http://nunos.zi-yu.com/2009/08/out-and-out-again/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 08:53:45 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=357</guid>
		<description><![CDATA[It&#8217;s been a while since i posted something in my blog (2 months actually). Shame on me!!!
But it has been 2 crazy months:
- First Orion&#8217;s Belt little marketing campaign (ok almost a spread a word thing) in the main Browser MMO Sites and several bug corrections. With all the &#8220;spread the word&#8221; and without spending [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Out and out again", url: "http://nunos.zi-yu.com/2009/08/out-and-out-again/" });</script>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since i posted something in my blog (2 months actually). Shame on me!!!</p>
<p>But it has been 2 crazy months:<br />
- First <a href="http://www.orionsbelt.eu">Orion&#8217;s Belt</a> little marketing campaign (ok almost a spread a word thing) in the main Browser MMO Sites and several bug corrections. With all the &#8220;spread the word&#8221; and without spending a cent, we already have +4000 players. Our objective is to achieve the 10000 until the end of the year without spending money. By the way things are going, we think is possible.<br />
- New project in the area of security and defense has kept me pretty occupied. Classified sorry. The only thing i can say is that is being made using Managed C++ and C#.<br />
- Girlfriend - ok this part was implicit, but in the last few months the time spent with her has increased almost 60%. So i think is time to start looking for a house.</p>
<p>And today is my last day of work. Tomorrow is vacation time! 11 days of deserved vacations without thinking in a line of code. The destiny: 5 days at South of Spain and 6 days somewhere (dunno&#8230;yet!).</p>
<p>I&#8217;ll post some pictures when i return (hopefully pictures taken with my new acquisition, a <a href="http://www.canon-europe.com/500D/">Cannon EOS 500D</a> (if it arrives on time&#8230; saying TODAY!).</p>
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2008/12/new-dragon-ball-trailer/" title="New Dragon Ball Trailer">New Dragon Ball Trailer</a></li>
<li><a href="http://nunos.zi-yu.com/2007/11/orions-belt-tasks/" title="Orion&#8217;s Belt Tasks">Orion&#8217;s Belt Tasks</a></li>
<li><a href="http://nunos.zi-yu.com/2008/05/selectors-in-mooltools/" title="Selectors in Mooltools">Selectors in Mooltools</a></li>
<li><a href="http://nunos.zi-yu.com/2008/12/im-a-fan-of-amazon/" title="I&#8217;m a Fan of Amazon!!!">I&#8217;m a Fan of Amazon!!!</a></li>
<li><a href="http://nunos.zi-yu.com/2007/11/the-beginning/" title="The Beginning &#8230;">The Beginning &#8230;</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=Out+and+out+again&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F08%2Fout-and-out-again%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/08/out-and-out-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Joke of the day….</title>
		<link>http://nunos.zi-yu.com/2009/06/the-joke-of-the-day/</link>
		<comments>http://nunos.zi-yu.com/2009/06/the-joke-of-the-day/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 12:54:44 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=355</guid>
		<description><![CDATA[Didn&#8217;t know that microsoft had entered in the comedy business&#8230;
But, checking the page below i think they might actually trying to enter that market:
http://www.microsoft.com/windows/internet-explorer/get-the-facts/browser-comparison.aspx
Random Posts

TED talks
&#8220;Fiero&#8221;
50 games in one Semester?
Civilization IV
This presentation ROCKS!

<script type="text/javascript">SHARETHIS.addEntry({ title: "The Joke of the day&#8230;.", url: "http://nunos.zi-yu.com/2009/06/the-joke-of-the-day/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Didn&#8217;t know that microsoft had entered in the comedy business&#8230;</p>
<p>But, checking the page below i think they might actually trying to enter that market:</p>
<p><a href="http://www.microsoft.com/windows/internet-explorer/get-the-facts/browser-comparison.aspx">http://www.microsoft.com/windows/internet-explorer/get-the-facts/browser-comparison.aspx</a><br />
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2008/03/shuffle-a-collection/" title="Shuffle a Collection">Shuffle a Collection</a></li>
<li><a href="http://nunos.zi-yu.com/2009/01/street-fighter-4-only-a-month-left/" title="Street Fighter IV - only a month left">Street Fighter IV - only a month left</a></li>
<li><a href="http://nunos.zi-yu.com/2009/01/collection-was-modified/" title="Collection was modified">Collection was modified</a></li>
<li><a href="http://nunos.zi-yu.com/2008/06/firefox-3/" title="Firefox 3">Firefox 3</a></li>
<li><a href="http://nunos.zi-yu.com/2009/02/revenge-of-the-fallen-first-glimpse/" title="Revenge of the Fallen - First glimpse">Revenge of the Fallen - First glimpse</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=The+Joke+of+the+day%26%238230%3B.&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F06%2Fthe-joke-of-the-day%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/06/the-joke-of-the-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wolfram Alpha</title>
		<link>http://nunos.zi-yu.com/2009/05/wolfram-alpha/</link>
		<comments>http://nunos.zi-yu.com/2009/05/wolfram-alpha/#comments</comments>
		<pubDate>Mon, 18 May 2009 16:04:19 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=351</guid>
		<description><![CDATA[


For many, wolfram alpha is the search application that can overthrone google. It does not give you a series of web sites where you can find the information that you are searching. Instead it tries to give you the exact information that you are searching.
Confused? try it: http://www36.wolframalpha.com
If you insert a word like milk the [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Wolfram Alpha", url: "http://nunos.zi-yu.com/2009/05/wolfram-alpha/" });</script>]]></description>
			<content:encoded><![CDATA[<div class='center'>
<img src="http://nunos.zi-yu.com/wp-content/uploads/2009/05/wolframalpha.png" alt="" title="wolfram alpha" width="357" height="45" class="alignnone size-full wp-image-352" />
</div>
<p>For many, wolfram alpha is the search application that can overthrone google. It does not give you a series of web sites where you can find the information that you are searching. Instead it tries to give you the exact information that you are searching.</p>
<p>Confused? try it: <a href="http://www36.wolframalpha.com">http://www36.wolframalpha.com</a></p>
<p>If you insert a word like milk the search box will give you detailed information about milk <img src='http://nunos.zi-yu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> cool, isn&#8217;t it?</p>
<p>It&#8217;s very incomplete but it is certainly a very good concept. Maybe google will buy it and merge it with its search tool.<br />
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2008/07/recursive-operator-because-of-a-null/" title="Recursive operator == because of a null">Recursive operator == because of a null</a></li>
<li><a href="http://nunos.zi-yu.com/2008/05/fiero/" title="&#8220;Fiero&#8221;">&#8220;Fiero&#8221;</a></li>
<li><a href="http://nunos.zi-yu.com/2008/10/warcraft-retrospective/" title="Warcraft Retrospective">Warcraft Retrospective</a></li>
<li><a href="http://nunos.zi-yu.com/2009/10/lazy-loading-and-eager-loading-in-the-entity-framework/" title="Lazy Loading and Eager Loading in the Entity Framework">Lazy Loading and Eager Loading in the Entity Framework</a></li>
<li><a href="http://nunos.zi-yu.com/2008/11/75-of-the-world-spam-eliminated/" title="75% of the World Spam eliminated">75% of the World Spam eliminated</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=Wolfram+Alpha&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F05%2Fwolfram-alpha%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/05/wolfram-alpha/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blizzard Campus</title>
		<link>http://nunos.zi-yu.com/2009/05/blizzard-campus/</link>
		<comments>http://nunos.zi-yu.com/2009/05/blizzard-campus/#comments</comments>
		<pubDate>Mon, 11 May 2009 19:30:59 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Blizzard]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=342</guid>
		<description><![CDATA[If i worked in a place like this, i would be in heaven:




And the best of them all:

Pictures Taken from Blizzard&#8217;s official website.
Random Posts

Frankfurt
4 Reasons not to use the out keyword
And now , the dessert!
Orion&#8217;s Belt Development Blog
Real Programmers Don’t Write Documentation

<script type="text/javascript">SHARETHIS.addEntry({ title: "Blizzard Campus", url: "http://nunos.zi-yu.com/2009/05/blizzard-campus/" });</script>]]></description>
			<content:encoded><![CDATA[<p>If i worked in a place like this, i would be in heaven:</p>
<p><img src="http://nunos.zi-yu.com/wp-content/uploads/2009/05/ss4.jpg" alt="" title="ss4" width="500" height="375" class="alignnone size-full wp-image-343" /></p>
<p><img src="http://nunos.zi-yu.com/wp-content/uploads/2009/05/ss5.jpg" alt="" title="ss5" width="500" height="375" class="alignnone size-full wp-image-344" /></p>
<p><img src="http://nunos.zi-yu.com/wp-content/uploads/2009/05/ss21.jpg" alt="" title="ss21" width="500" height="335" class="alignnone size-full wp-image-346" /></p>
<p><img src="http://nunos.zi-yu.com/wp-content/uploads/2009/05/ss25.jpg" alt="" title="ss25" width="500" height="750" class="alignnone size-full wp-image-347" /></p>
<p>And the best of them all:</p>
<p><img src="http://nunos.zi-yu.com/wp-content/uploads/2009/05/ss18.jpg" alt="" title="ss18" width="500" height="334" class="alignnone size-full wp-image-345" /></p>
<p>Pictures Taken from <a href="http://www.blizzard.com/us/jobopp/#photos">Blizzard&#8217;s official website</a>.<br />
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2009/08/out-and-out-again/" title="Out and out again">Out and out again</a></li>
<li><a href="http://nunos.zi-yu.com/2008/01/holes/" title="Holes!">Holes!</a></li>
<li><a href="http://nunos.zi-yu.com/2008/03/i-am-legend-did-that-guys/" title="I am Legend - Did that guys&#8230;">I am Legend - Did that guys&#8230;</a></li>
<li><a href="http://nunos.zi-yu.com/2009/02/javascript-frameworks/" title="Javascript Frameworks">Javascript Frameworks</a></li>
<li><a href="http://nunos.zi-yu.com/2008/05/prince-of-persia/" title="Prince of Persia">Prince of Persia</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=Blizzard+Campus&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F05%2Fblizzard-campus%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/05/blizzard-campus/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Prototype</title>
		<link>http://nunos.zi-yu.com/2009/05/prototype/</link>
		<comments>http://nunos.zi-yu.com/2009/05/prototype/#comments</comments>
		<pubDate>Sat, 09 May 2009 09:23:32 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=334</guid>
		<description><![CDATA[Protype is a game that will be released in PS3, XBOX and PC. It´s a single player game, third person and based on an open world.  It centers around Alex Mercer, a guy infected by a deadly virus that gave him special shape shifting powers.
Here is the opening cinematic:

Here is the direct link to [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Prototype", url: "http://nunos.zi-yu.com/2009/05/prototype/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Protype is a game that will be released in PS3, XBOX and PC. It´s a single player game, third person and based on an open world.  It centers around Alex Mercer, a guy infected by a deadly virus that gave him special shape shifting powers.</p>
<p>Here is the opening cinematic:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="392"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid=49000"/><param name="quality" value="high" /><embed src="http://www.gametrailers.com/remote_wrap.php?mid=49000" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="392"></embed></object></p>
<p>Here is the direct link to amazon page:</p>
<div style='overflow:none;'>
<div style='float:left;'>
<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=nunsil-21&#038;o=2&#038;p=8&#038;l=as1&#038;asins=B0015IQG5E&#038;md=0M5A6TN3AXP2JHJBWT02&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</div>
<div style='float:left;'>
<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=nunsil-21&#038;o=2&#038;p=8&#038;l=as1&#038;asins=B0015IQG40&#038;md=0M5A6TN3AXP2JHJBWT02&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</div>
<div style='float:left;'>
<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=nunsil-21&#038;o=2&#038;p=8&#038;l=as1&#038;asins=B0016649VS&#038;md=0M5A6TN3AXP2JHJBWT02&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</div>
</div>
<div style='clear:both;'></div>
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2008/01/10000-bc/" title="10,000 BC">10,000 BC</a></li>
<li><a href="http://nunos.zi-yu.com/2009/05/wolfram-alpha/" title="Wolfram Alpha">Wolfram Alpha</a></li>
<li><a href="http://nunos.zi-yu.com/2008/12/im-a-fan-of-amazon/" title="I&#8217;m a Fan of Amazon!!!">I&#8217;m a Fan of Amazon!!!</a></li>
<li><a href="http://nunos.zi-yu.com/2009/01/cinema-in-2009/" title="Cinema In 2009">Cinema In 2009</a></li>
<li><a href="http://nunos.zi-yu.com/2008/03/shuffle-a-collection/" title="Shuffle a Collection">Shuffle a Collection</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=Prototype&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F05%2Fprototype%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/05/prototype/feed/</wfw:commentRss>
		</item>
		<item>
		<title>TED talks</title>
		<link>http://nunos.zi-yu.com/2009/05/ted-talks/</link>
		<comments>http://nunos.zi-yu.com/2009/05/ted-talks/#comments</comments>
		<pubDate>Fri, 08 May 2009 23:36:55 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=332</guid>
		<description><![CDATA[Today i found in youtube some videos about inventions, inventions that can be the next big thing of tomorrow. Here are 2 of them that i loved:


Want more? Visit their official website: http://www.ted.com/
Random Posts

Hard Weekend&#8230;
I, Videogame
&#8220;Fiero&#8221;
4 Reasons not to use the out keyword
Battles in Orion&#8217;s Belt

<script type="text/javascript">SHARETHIS.addEntry({ title: "TED talks", url: "http://nunos.zi-yu.com/2009/05/ted-talks/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Today i found in youtube some videos about inventions, inventions that can be the next big thing of tomorrow. Here are 2 of them that i loved:</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/HF9G9M0cR0E&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/HF9G9M0cR0E&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/JP0w9lZoLwU&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/JP0w9lZoLwU&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<p>Want more? Visit their official website: <a href="http://www.ted.com/">http://www.ted.com/</a><br />
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2008/06/hello-world/" title="Hello World">Hello World</a></li>
<li><a href="http://nunos.zi-yu.com/2008/06/4-reasons-not-to-use-the-out-keyword/" title="4 Reasons not to use the out keyword">4 Reasons not to use the out keyword</a></li>
<li><a href="http://nunos.zi-yu.com/2008/05/asirra/" title="Asirra">Asirra</a></li>
<li><a href="http://nunos.zi-yu.com/2008/03/and-its-official/" title="And it&#8217;s Official&#8230;">And it&#8217;s Official&#8230;</a></li>
<li><a href="http://nunos.zi-yu.com/2009/04/orions-belt-on-axn/" title="Orion&#8217;s Belt on AXN">Orion&#8217;s Belt on AXN</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=TED+talks&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F05%2Fted-talks%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/05/ted-talks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Orion’s Belt on AXN</title>
		<link>http://nunos.zi-yu.com/2009/04/orions-belt-on-axn/</link>
		<comments>http://nunos.zi-yu.com/2009/04/orions-belt-on-axn/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 07:30:02 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=326</guid>
		<description><![CDATA[
Insert Coin, a program about games that airs on AXN will feature an interview with all the members of the team that is developing the game made by the host, Filipa Brazona (very nice by the way).
If you are in Portugal, the episode (517) will air on the following days:



25-04-2009
AXN

15:02 - Insert Coin
Insert Coin (5): [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Orion&#8217;s Belt on AXN", url: "http://nunos.zi-yu.com/2009/04/orions-belt-on-axn/" });</script>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.axn.pt/sites/all/themes/spti_axn/images/logo.png" alt="AXN" title="AXN" style="float:right" /></p>
<p>Insert Coin, a program about games that airs on AXN will feature an interview with all the members of the team that is developing the game made by the host, Filipa Brazona (very nice by the way).</p>
<p>If you are in Portugal, the episode (517) will air on the following days:</p>
<table border="0">
<tbody>
<tr>
<td class="date">25-04-2009</td>
<td class="channel">AXN</td>
<td class="description">
<p class="p-title">15:02 - <a href="/shows/insert-coin">Insert Coin</a></p>
<p class="program-meta">Insert Coin (5): Ep 517</p>
</td>
</tr>
<tr class="odd">
<td class="date">26-04-2009</td>
<td class="channel">AXN</td>
<td class="description">
<p class="p-title">10:20 - <a href="/shows/insert-coin">Insert Coin</a></p>
<p class="program-meta">Insert Coin (5): Ep 517</p>
</td>
</tr>
<tr class="even">
<td class="date">26-04-2009</td>
<td class="channel">AXN</td>
<td class="description">
<p class="p-title">17:05 - <a href="/shows/insert-coin">Insert Coin</a></p>
<p class="program-meta">Insert Coin</p>
<p class="p-desc">Insert Coin (5): Ep 517</p>
</td>
</tr>
<tr class="odd">
<td class="date">27-04-2009</td>
<td class="channel">AXN</td>
<td class="description">
<p class="p-title">02:05 - <a href="/shows/insert-coin">Insert Coin</a></p>
<p class="program-meta">Insert Coin (5): Ep 517</p>
</td>
</tr>
<tr class="even">
<td class="date">27-04-2009</td>
<td class="channel">AXN</td>
<td class="description">
<p class="p-title">06:26 - <a href="/shows/insert-coin">Insert Coin</a></p>
<p class="program-meta">Insert Coin (5): Ep 517</p>
</td>
</tr>
<tr class="odd">
<td class="date">28-04-2009</td>
<td class="channel">AXN</td>
<td class="description">
<p class="p-title">05:50 - <a href="/shows/insert-coin">Insert Coin</a></p>
<p class="program-meta">Insert Coin (5): Ep 517</p>
</td>
</tr>
</tbody>
</table>
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2008/10/dawn-of-war-2/" title="Dawn of War II">Dawn of War II</a></li>
<li><a href="http://nunos.zi-yu.com/2007/11/so-you-do-you-want-stars/" title="So, do you want stars?">So, do you want stars?</a></li>
<li><a href="http://nunos.zi-yu.com/2009/10/lazy-loading-and-eager-loading-in-the-entity-framework/" title="Lazy Loading and Eager Loading in the Entity Framework">Lazy Loading and Eager Loading in the Entity Framework</a></li>
<li><a href="http://nunos.zi-yu.com/2008/05/asirra/" title="Asirra">Asirra</a></li>
<li><a href="http://nunos.zi-yu.com/2008/04/earth-day/" title="Earth Day">Earth Day</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=Orion%26%238217%3Bs+Belt+on+AXN&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F04%2Forions-belt-on-axn%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/04/orions-belt-on-axn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding a frame to a thumbnail picture using css</title>
		<link>http://nunos.zi-yu.com/2009/03/adding-a-frame-to-a-thumbnail-picture-using-css/</link>
		<comments>http://nunos.zi-yu.com/2009/03/adding-a-frame-to-a-thumbnail-picture-using-css/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 07:30:33 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[Html and Css]]></category>

		<category><![CDATA[add frame to image]]></category>

		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=308</guid>
		<description><![CDATA[Today i was helping Pre finishing our Screenshot and Art Work page of Orion&#8217;s Belt.
One of the thinks i wanted to add was a frame to the thumbnail pictures, but i didn&#8217;t want to add that frame to the image itself.
I saw this kind of thing done in the StartCraft 2 Artwork page. I inspected [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Adding a frame to a thumbnail picture using css", url: "http://nunos.zi-yu.com/2009/03/adding-a-frame-to-a-thumbnail-picture-using-css/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Today i was helping <a href="http://psantos-blog.zi-yu.com">Pre</a> finishing our <a href="http://www.orionsbelt.eu/Screenshots.aspx">Screenshot</a> and <a href="http://www.orionsbelt.eu/ArtWork.aspx">Art Work</a> page of <a href="http://www.orionsbelt.eu">Orion&#8217;s Belt</a>.</p>
<p>One of the thinks i wanted to add was a frame to the thumbnail pictures, but i didn&#8217;t want to add that frame to the image itself.</p>
<p>I saw this kind of thing done in the <a href="http://www.starcraft2.com/artwork.xml">StartCraft 2 Artwork page</a>. I inspected the code but didn&#8217;t like what i saw.</p>
<p>They basically have 2 divs ( with styles inline <img src='http://nunos.zi-yu.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> &#8230; bahhh!!!), anchor and a image (all by this order).</p>
<p>Their strategy was to associate a thumbnail image with a style and in the end insert the frame as the final element, the top most, something like this:</p>
<pre>
&lt;div style='ThumbnailImage'&gt;
    &lt;div style='some image to give some effect'&gt;
        &lt;a href='Place to see the image in a good size'&gt;
             &lt;img src='a transparent with Frame'/&gt;
        &lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Problems with this solution? The only problem i see is that you are obligated to have the style inline or you have to add a list of all the thumbnails to your css file, and have a map&#8230; ok, no..</p>
<p>If you have a thumbnail image:</p>
<pre>
&lt;a href='Place to see the image in a good size'&gt;
       &lt;img src='ThumbNail Image'/&gt;
&lt;/a&gt;
</pre>
<p>and you want to put a frame on to it, simply insert a div before your image. This div will contain your frame:</p>
<pre>
 &lt;a href='Place to see the image in a good size'&gt;
       &lt;div class='frame'&gt;&lt;/div&gt;
       &lt;img src='ThumbNail Image'/&gt;
&lt;/a&gt;
</pre>
<p>the css style is also very simple:</p>
<pre>
.frame{
	width:XXXpx; /*Width of the thumbnail*/
	height:XXXpx; /*Heightof the thumbnail*/
	background:url(ThumbnailFrame.png);
	position:absolute;
}
img{
	margin:Wpx
}
</pre>
<p>Notice that i added a margin to the image? This is just to center the image in the frame.</p>
<p>You can see the result of this example in the <a href="http://www.orionsbelt.eu/Screenshots.aspx">Screenshot</a> and <a href="http://www.orionsbelt.eu/ArtWork.aspx">Art Work</a> page of <a href="http://www.orionsbelt.eu">Orion&#8217;s Belt</a>.</p>
<h3>Random Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2009/06/the-joke-of-the-day/" title="The Joke of the day&#8230;.">The Joke of the day&#8230;.</a></li>
<li><a href="http://nunos.zi-yu.com/2009/01/street-fighter-4-only-a-month-left/" title="Street Fighter IV - only a month left">Street Fighter IV - only a month left</a></li>
<li><a href="http://nunos.zi-yu.com/2007/11/call-center/" title="Call center">Call center</a></li>
<li><a href="http://nunos.zi-yu.com/2009/04/orions-belt-on-axn/" title="Orion&#8217;s Belt on AXN">Orion&#8217;s Belt on AXN</a></li>
<li><a href="http://nunos.zi-yu.com/2009/02/revenge-of-the-fallen-first-glimpse/" title="Revenge of the Fallen - First glimpse">Revenge of the Fallen - First glimpse</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=Adding+a+frame+to+a+thumbnail+picture+using+css&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F03%2Fadding-a-frame-to-a-thumbnail-picture-using-css%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/03/adding-a-frame-to-a-thumbnail-picture-using-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>God of War 3 New Trailer</title>
		<link>http://nunos.zi-yu.com/2009/02/god-of-war-3-new-trailer/</link>
		<comments>http://nunos.zi-yu.com/2009/02/god-of-war-3-new-trailer/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 22:31:16 +0000</pubDate>
		<dc:creator>Nuno Silva</dc:creator>
		
		<category><![CDATA[Games]]></category>

		<category><![CDATA[God of War]]></category>

		<category><![CDATA[Playstation 3]]></category>

		<guid isPermaLink="false">http://nunos.zi-yu.com/?p=305</guid>
		<description><![CDATA[God of War has always been one off my favorite games. It has a je ne se quois. Bot GOW I and II are Beautiful. 
Now the cinematic trailer of GOW III Makes me think. Will they be able to surpass the other 2 predecessors???
Trailer after the break.

Related Posts

God of War 3 online?
Playstation 3 Media [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "God of War 3 New Trailer", url: "http://nunos.zi-yu.com/2009/02/god-of-war-3-new-trailer/" });</script>]]></description>
			<content:encoded><![CDATA[<p>God of War has always been one off my favorite games. It has a je ne se quois. Bot GOW I and II are Beautiful. </p>
<p>Now the cinematic trailer of GOW III Makes me think. Will they be able to surpass the other 2 predecessors???</p>
<p>Trailer after the break.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="392"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="movie" value="http://www.gametrailers.com/remote_wrap.php?umid=305264"/><param name="quality" value="high" /><embed src="http://www.gametrailers.com/remote_wrap.php?umid=305264" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="392"></embed></object><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://nunos.zi-yu.com/2009/02/god-of-war-3-online/" title="God of War 3 online?">God of War 3 online?</a></li>
<li><a href="http://nunos.zi-yu.com/2008/12/playstation-3-media-server/" title="Playstation 3 Media Server">Playstation 3 Media Server</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.6.2&amp;publisher=4b6f8f7f-589f-4b13-ae46-647ffc36ac13&amp;title=God+of+War+3+New+Trailer&amp;url=http%3A%2F%2Fnunos.zi-yu.com%2F2009%2F02%2Fgod-of-war-3-new-trailer%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://nunos.zi-yu.com/2009/02/god-of-war-3-new-trailer/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
