<?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/"
	>

<channel>
	<title>lifewithpixel</title>
	<atom:link href="http://www.lifewithpixel.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lifewithpixel.com</link>
	<description>My little shoutbox</description>
	<pubDate>Sun, 24 Jan 2010 05:28:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mr. Ballmer, would you sign my Mac?</title>
		<link>http://www.lifewithpixel.com/2010/01/24/mr-ballmer-would-you-sign-my-mac/</link>
		<comments>http://www.lifewithpixel.com/2010/01/24/mr-ballmer-would-you-sign-my-mac/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 05:28:41 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=129</guid>
		<description><![CDATA[I have to agree, this kid has guts.

]]></description>
			<content:encoded><![CDATA[<p>I have to agree, this kid has guts.</p>
<p><object width="560" height="340" data="http://www.youtube.com/v/GwzklHZqkbE&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/GwzklHZqkbE&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2010/01/24/mr-ballmer-would-you-sign-my-mac/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Justice for Gary Robert&#8217;s Death</title>
		<link>http://www.lifewithpixel.com/2009/08/14/justice-for-gary-roberts-death/</link>
		<comments>http://www.lifewithpixel.com/2009/08/14/justice-for-gary-roberts-death/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 08:40:23 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[death after marathon]]></category>

		<category><![CDATA[death due to negligence]]></category>

		<category><![CDATA[death under paramedic's care]]></category>

		<category><![CDATA[gary robert death]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=123</guid>
		<description><![CDATA[Seek justice for Gary Robert&#8217;s Death
Last Sunday (2nd August 2009), my friend, Gary Leon Robert went missing after completing a 22km marathon (Adidas King of the Road) around Shah Alam Stadium organized by none other than Adidas Malaysia. On Monday (3rd August 2009), his body was found in the Stadium basement. The cause of his [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Seek justice for Gary Robert's Death" href="http://justiceforgaryrobert.webs.com/" target="_blank">Seek justice for Gary Robert&#8217;s Death</a></p>
<blockquote><p>Last Sunday (2nd August 2009), my friend, Gary Leon Robert went missing after completing a 22km marathon (Adidas King of the Road) around Shah Alam Stadium organized by none other than Adidas Malaysia. On Monday (3rd August 2009), his body was found in the Stadium basement. The cause of his death is dehydration*, however we believe that perhaps the real cause of his death is negligent.On Thursday, &#8216;The Star&#8217; published 2 pages on how successful the event went but nothing on Gary.**</p>
<p><a href="http://thestar.com.my/metro/story.asp?file=/2009/8/6/central/4445539&amp;sec=central" target="_blank">The Star<br />
</a></p>
<p>To be fair to the media, I believe there are a number of online articles of him but they are relatively short in details. (google them!)</p>
<p><a href="http://www.mmail.com.my/content/9901-gary%E2%80%99s-mysterious-death">Malay Mail</a><br />
<a href="http://www.nst.com.my/Current_News/NST/articles/15deadmarathon/Article/index_html">New Strait Times</a><br />
<a href="http://mstar.com.my/berita/cerita.asp?file=/2009/8/3/mstar_berita/20090803211452&amp;sec=mstar_berita">MStar</a></p>
<p>Participating a run may seem harmless, but in the light of his death we need to take steps to improve the facilities which sport event organizers provide and the care which paramedics give. The Mayor of Majlis Bandaraya Shah Alam said the Gary was given the best medical treatment. If he had, he would still be here with us.</p></blockquote>
<p>Wtf! Death of dehydration while under the care of paramedics? It&#8217;s an unnecessary death and it is SO SO SO avoidable. Healthy and good kid like this shouldn&#8217;t die so young.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/08/14/justice-for-gary-roberts-death/feed/</wfw:commentRss>
		</item>
		<item>
		<title>No more Microsoft® Word</title>
		<link>http://www.lifewithpixel.com/2009/08/13/no-more-microsoft%c2%ae-word/</link>
		<comments>http://www.lifewithpixel.com/2009/08/13/no-more-microsoft%c2%ae-word/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 00:36:24 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[microsoft stop selling word]]></category>

		<category><![CDATA[microsoft sued]]></category>

		<category><![CDATA[no word from microsoft]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=121</guid>
		<description><![CDATA[Judge orders Microsoft to stop selling Word
A judge on Tuesday ordered Microsoft to stop selling Word, one of its premier products, in its current form due to patent infringement.
Judge Leonard Davis of the U.S. District Court for the Eastern District of Texas issued a permanent injunction that &#8220;prohibits Microsoft from selling or importing to the [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Judge orders Microsoft to stop selling Word" href="http://news.cnet.com/8301-10805_3-10308013-75.html?part=rss&amp;subj=news&amp;tag=2547-1_3-0-20" target="_blank">Judge orders Microsoft to stop selling Word</a></p>
<blockquote><p>A judge on Tuesday ordered Microsoft to stop selling Word, one of its premier products, in its current form due to patent infringement.</p>
<p>Judge Leonard Davis of the U.S. District Court for the Eastern District of Texas issued a permanent injunction that &#8220;prohibits Microsoft from selling or importing to the United States any Microsoft Word products that have the capability of opening .XML, .DOCX or DOCM files (XML files) containing custom XML,&#8221; according to a <a href="http://sev.prnewswire.com/banking-financial-services/20090811/DA6039911082009-1.html">statement</a> released by attorneys for the plantiff, i4i.</p>
<p>Microsoft said it was disappointed in the ruling and that it would appeal the verdict.</p>
<p>&#8220;We believe the evidence clearly demonstrated that we do not infringe and that the i4i patent is invalid,&#8221; Microsoft spokesperson Kevin Kutz said in a statement.</p>
<p>Toronto-based i4i sued Microsoft in March 2007 alleging that the Redmond,Wash.-based software giant violated its 1998 patent (<a href="http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&amp;Sect2=HITOFF&amp;p=1&amp;u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&amp;r=12&amp;f=G&amp;l=50&amp;co1=AND&amp;d=PTXT&amp;s1=5,787,449&amp;OS=5,787,449&amp;RS=5,787,449">No. 5,787,449</a>) for a document system that eliminated the need for manually embedded formatting codes.</p></blockquote>
<p>Micro$oft can&#8217;t seem to escape from lawsuits eh? And now they are forbidden to sell Word? Jeez&#8230;what are we supposed to use then? Alphabets?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/08/13/no-more-microsoft%c2%ae-word/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Manage Windows® 7 with Microsoft® .NET Framework</title>
		<link>http://www.lifewithpixel.com/2009/08/12/manage-windows7-with-dotnet-framework/</link>
		<comments>http://www.lifewithpixel.com/2009/08/12/manage-windows7-with-dotnet-framework/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 01:28:39 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[windows 7 api]]></category>

		<category><![CDATA[windows api]]></category>

		<category><![CDATA[windows api with .net framework]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=116</guid>
		<description><![CDATA[Windows® API Code Pack for Microsoft® .NET Framework
The Windows® API Code Pack for Microsoft® .NET Framework provides a source code library that can be used to access some new Windows 7 features (and some existing features of older versions of Windows operating system) from managed code. These Windows features are not available to developers today [...]]]></description>
			<content:encoded><![CDATA[<h4 class="ProjectHeader NoMargin"><a id="ctl00_ctl00_WideContent_ProjectTitleControl1_ProjectTitleLink" title="Windows® API Code Pack for Microsoft® .NET Framework" href="http://code.msdn.microsoft.com/WindowsAPICodePack" target="_blank"><span id="ctl00_ctl00_WideContent_ProjectTitleControl1_TitleLabel">Windows® API Code Pack for Microsoft® .NET Framework</span></a></h4>
<blockquote><p><span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel">The <strong>Windows® API Code Pack for Microsoft® .NET Framework</strong> provides a source code library that can be used to access some new Windows 7 features (and some existing features of older versions of Windows operating system) from managed code. These Windows features are not available to developers today in the .NET Framework.</span></p>
<p>The individual features supported in this version (v1.0) of the library are:</p>
<ul>
<li>Windows 7 Taskbar Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars.</li>
<li>Windows 7 Libraries, Known Folders, non-file system containers.</li>
<li>Windows Shell Search API support, a hierarchy of Shell Namespace entities, and Drag and Drop functionality for Shell Objects.</li>
<li>Explorer Browser Control.</li>
<li>Shell property system.</li>
<li>Windows Vista and Windows 7 Common File Dialogs, including custom controls.</li>
<li>Windows Vista and Windows 7 Task Dialogs.</li>
<li>Direct3D 11.0, Direct3D 10.1/10.0, DXGI 1.0/1.1, Direct2D 1.0, DirectWrite, Windows Imaging Component (WIC) APIs. (DirectWrite and WIC have partial support)</li>
<li>Sensor Platform APIs</li>
<li>Extended Linguistic Services APIs</li>
<li>Power Management APIs</li>
<li>Application Restart and Recovery APIs</li>
<li>Network List Manager APIs</li>
<li>Command Link control and System defined Shell icons.</li>
</ul>
</blockquote>
<p>Can&#8217;t wait to get a copy of the Windows 7 and test this up. Sounds like an opportunity to crank out some utility apps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/08/12/manage-windows7-with-dotnet-framework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joke of the Day</title>
		<link>http://www.lifewithpixel.com/2009/08/07/joke-of-the-day/</link>
		<comments>http://www.lifewithpixel.com/2009/08/07/joke-of-the-day/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 01:41:07 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[Jokes]]></category>

		<category><![CDATA[funny]]></category>

		<category><![CDATA[joke of the day]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=113</guid>
		<description><![CDATA[Bracelet at Tiffany&#8217;
A lady walks into Tiffany&#8217;s.
She looks around, spots a beautiful diamond bracelet and walks over to inspect it.
As she bends over to look more closely, she lets out a fart.
Very embarrassed, she looks around nervously to see if anyone has noticed her little accident and prays that a sales person doesn&#8217;t pop up [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><span style="text-decoration: underline;">Bracelet at Tiffany&#8217;</span></p>
<p>A lady walks into Tiffany&#8217;s.<br />
She looks around, spots a beautiful diamond bracelet and walks over to inspect it.<br />
As she bends over to look more closely, she lets out a fart.</p>
<p>Very embarrassed, she looks around nervously to see if anyone has noticed her little accident and prays that a sales person doesn&#8217;t pop up right now.</p>
<p>As she turns around, her worst nightmare materializes in the form of a salesman standing right behind her.</p>
<p>Cool as a cucumber, he displays all of the qualities one would expect of a professional salesman in a store like Tiffany&#8217;s, and greets the lady with, &#8216;Good day, Madam. How may we help you today?&#8217;</p>
<p>Feeling uncomfortable, but still hoping that the salesman may not have been there at the time of her little &#8216;accident&#8217;, she asks, &#8216;Sir, what is the price of this lovely bracelet?&#8217;</p>
<p>He answers, &#8216;Madam, if you farted just looking at it, you&#8217;re going to sh*t when I tell you the price!&#8217;</p></blockquote>
<p>This one had me cracking. Have a nice day, folks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/08/07/joke-of-the-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Risks with Social Networks</title>
		<link>http://www.lifewithpixel.com/2009/08/06/risks-with-social-networks/</link>
		<comments>http://www.lifewithpixel.com/2009/08/06/risks-with-social-networks/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 02:43:05 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[Rants]]></category>

		<category><![CDATA[facebook]]></category>

		<category><![CDATA[identity theft]]></category>

		<category><![CDATA[linkedin]]></category>

		<category><![CDATA[risk with social networks]]></category>

		<category><![CDATA[social network security]]></category>

		<category><![CDATA[social networks risk]]></category>

		<category><![CDATA[twitter]]></category>

		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=100</guid>
		<description><![CDATA[Many of us are already familiar with social networks. Facebook, Twitter and LinkedIn are among the many familiar names in the web-space today. Social networking has increased sharply in popularity in the past few years. Undeniably, these sites have helped their users in many ways. They can be used for professional networking, marketing, job searching [...]]]></description>
			<content:encoded><![CDATA[<p>Many of us are already familiar with social networks. <a title="Facebook" href="http://www.facebook.com" target="_blank">Facebook</a>, <a title="Twitter" href="http://www.twitter.com" target="_blank">Twitter</a> and <a title="LinkedIn" href="http://www.linkedin.com" target="_blank">LinkedIn</a> are among the many familiar names in the web-space today. Social networking has increased sharply in popularity in the past few years. Undeniably, these sites have helped their users in many ways. They can be used for professional networking, marketing, job searching or just for friends and family interacting.</p>
<p>However, typical PC users may not have realized the risks they are putting on themselves, families and friends when they make a post or update to their social profiles. I&#8217;ll be using Facebook as an example in this entry but to make it clear, I have nothing against Facebook. In fact, I&#8217;m an avid user.</p>
<p>In Facebook, there are three main features that you&#8217;d use almost everyday; Add a friend, update your status and run 3rd party applications such as games and quizzes. We&#8217;ll take a look at each of these features.</p>
<h4>Adding a Friend</h4>
<p>A friend is an individual on the Facebook network whom you assigned permission to view various details of your personal information such as date of birth, address, web address, groups, comments, photos and list of your other friends.</p>
<p>So what&#8217;s the problem with adding friends? After all, Facebook is about meeting and connecting to friends. In fact, adding a friend is the first step to social networking.</p>
<p>Let&#8217;s create a scenario here. You received a friend invitation from someone called Cynthia when you log into your Facebook account. Upon checking, you found that Cynthia is a friend from your elementary school who had found you through one of your mutual friends&#8217; &#8220;Friends&#8221; list. So, without a second thought you click the [<em>Accept</em>] button and added her. Now, you knew that by adding her, you&#8217;ve given her access to all your personal information and vice-versa.</p>
<p>What you may not have realized is, you have just exposed yourself to strangers, kidnappers, robbers and conmen. &#8220;But how?&#8221;, you&#8217;d ask. Unknown to you, Cynthia may have added strangers to her &#8220;Friends&#8221; list. Many applications and games have virtual teams and she may have added her team members as friends. Bad intention individuals often use these application to lure victims into adding them so they can gain access to a larger pool of targets.</p>
<h4>Updating your status</h4>
<p>I don&#8217;t deny this: I like to broadcast my status. I use Twitter a lot and with a browser addon, this will update my Facebook status as well. It&#8217;s a fun and easy to share information and experience to my family and friends. Starbucks giving discount? Twitter it. There is a free gift-away from a local radio station? Twitter it. Bumped into a hot celebrity on your way to lunch? Twitter it!</p>
<p>Here are some status update examples from my friends:</p>
<blockquote><p>[Friend A] is bowling.<br />
[Friend B] tired&#8230;after work and pub.<br />
[Friend C] is off to Singapore tomorrow!!!</p></blockquote>
<p>These status updates look harmless enough but [Friend C] might have just captured some attention. Telling the world that he&#8217;s not going to be home the next day is like hanging a sign in front of your house saying it&#8217;s empty.</p>
<h4>3rd party application and games</h4>
<p>What makes Facebook interesting and fun is the amount of application and games that are built on its platform. FarmVille, Restaurant, 10 Things You Do Not Know About Me, How Well You Know [Name Here], just to name a few, are applications that you allowed to data mine your profile information the moment you added them to your Facebook account.</p>
<p>But that&#8217;s not all, a lot of us have a habit of using the same username and password for many of our logins. This can terribly put our security at risk. As a rule of thumb, never put the same login credentials for your confidential accounts and these 3rd party applications or games. We do not know who are the people behind them and Facebook are not responsible for any identity theft or loss.</p>
<h4>Summary</h4>
<p>As a summary, social-networking opens up a whole new window to a sea of opportunities and fun but without careful thought, it can seriously put, not only ourselves, but the people we know as well, to serious risks.</p>
<p><strong>Side Note</strong>: Love this song, Wonderful by Everclear. It&#8217;s old but still wonderful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/08/06/risks-with-social-networks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pop of a King</title>
		<link>http://www.lifewithpixel.com/2009/08/04/pop-of-a-king/</link>
		<comments>http://www.lifewithpixel.com/2009/08/04/pop-of-a-king/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 09:15:46 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[Death of the King of Pop]]></category>

		<category><![CDATA[king of pop]]></category>

		<category><![CDATA[michael jackson]]></category>

		<category><![CDATA[Micheal Jackson's Death]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=93</guid>
		<description><![CDATA[I&#8217;ve been meaning to write a short entry on Michael ever since the news of his death broke out. I couldn&#8217;t.
It is not because I didn&#8217;t care.
Neither it is because I was too sad nor had I no feelings for the demise of the King of Pop.
It is not because of the scandals that tainted [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-96" title="Michael Jackson at White House (1984)" src="http://www.lifewithpixel.com/blog/wp-content/uploads/2009/08/michael_jackson_1984.jpg" alt="Michael Jackson at White House (1984)" width="147" height="224" />I&#8217;ve been meaning to write a short entry on Michael ever since the news of his death broke out. I couldn&#8217;t.</p>
<p>It is not because I didn&#8217;t care.<br />
Neither it is because I was too sad nor had I no feelings for the demise of the King of Pop.<br />
It is not because of the scandals that tainted the last decade of his life.<br />
It is not because of the hideous look plastic surgery had caused him.</p>
<p>It is because I wanted to give the man a moment of silence.<br />
It is because I wanted to read and see how the hypocrites in the world pretend to care when just less than a decade ago, they were the extreme critics.<br />
It is because I wanted the man to rest in peace.</p>
<p>I grew up with Michael&#8217;s songs. I may not be his greatest fan but without a doubt, his songs and dance moves influenced my adolescent days. The forward-leaning and moon-walking moves, were among the many things I tried, but of course failed, to mimic during those days.</p>
<p>He remained as one of my favourite artists until his child-molestation scandals surfaced about a decade ago. I was drawn to the news and as good as anyone guess, they poisoned my thoughts and slowly, I lost interest in him and the news altogether. What made things worse was the incident when he dangled a baby from a balcony for all his fan to see. From that moment, to me, the King of Pop has failed, both as a sane human and a legend.</p>
<p>On June 25th, 2009, I read about the unsuspected death of Michael. Even as I read the article from The Star newspaper, I still couldn&#8217;t believe it was him. He was trying to make a comeback, at the age of 50. I so wanted to see if he can still do all the slick moves he did a few decades back. But now he&#8217;s dead. Dead before he can recover his fame and innocence?</p>
<p>As I followed the news and read the testimonials from magazines, websites or books alike, only did I realized how wrong I was. He had not lost his fame. Look at the millions of fans who mourned for his death. He regained his innocence when he was not found guilty on all his charges on child-molestations. I just didn&#8217;t know; I wasn&#8217;t following the news. But it hurts to know that sub-consciously, I&#8217;ve sentenced this man to a lifetime exile from my fave list, without even giving him the benefit of the doubt.</p>
<p>Michael&#8217;s legacy will live on, just like Elvis before him. His contribution and love will forever immortalize him in the hearts of many children and adults alike. The story of his life reminded me of a meaningful quote:</p>
<blockquote><p>You came into the world crying, while everyone around you were smiling. Live your life such that when you die, you leave the world smiling while everyone else are crying.</p></blockquote>
<p>T_T</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/08/04/pop-of-a-king/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WOW Tier-9 gears sneak preview</title>
		<link>http://www.lifewithpixel.com/2009/07/03/wow-tier-9-gears-sneak-preview/</link>
		<comments>http://www.lifewithpixel.com/2009/07/03/wow-tier-9-gears-sneak-preview/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 01:53:23 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[Games]]></category>

		<category><![CDATA[mmorpg]]></category>

		<category><![CDATA[tier-9]]></category>

		<category><![CDATA[warcraft]]></category>

		<category><![CDATA[world of warcraft]]></category>

		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=89</guid>
		<description><![CDATA[
Awesome. Tier-9 sets for Patch 3.2 are just awesome in looks and style. Personally, I like the mage set but maybe broaden the shoulder pads a little wee bit. This is too feminine.
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.worldofwarcraft.com/info/underdev/tier9.html" target="_blank"><img class="aligncenter size-full wp-image-90" title="WOW Tier-9 Gear Sets" src="http://www.lifewithpixel.com/blog/wp-content/uploads/2009/07/tier9sets.jpg" alt="WOW Tier-9 Gear Sets" width="450" height="451" /></a></p>
<p>Awesome. Tier-9 sets for Patch 3.2 are just awesome in looks and style. Personally, I like the mage set but maybe broaden the shoulder pads a little wee bit. This is too feminine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/07/03/wow-tier-9-gears-sneak-preview/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How Japanese trains look like during rush hour</title>
		<link>http://www.lifewithpixel.com/2009/07/03/how-japan-trains-look-like-during-rush-hour/</link>
		<comments>http://www.lifewithpixel.com/2009/07/03/how-japan-trains-look-like-during-rush-hour/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 01:38:18 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=86</guid>
		<description><![CDATA[
Making mind note to self: Never, never take a train in Japan during rush hour.
]]></description>
			<content:encoded><![CDATA[<p><object width="375" height="375" data="http://www.youtube.com/v/GlNyCHlLt1Y&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="src" value="http://www.youtube.com/v/GlNyCHlLt1Y&amp;hl=en&amp;fs=1&amp;" /></object></p>
<p>Making mind note to self: <em>Never, never</em> take a train in Japan during rush hour.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/07/03/how-japan-trains-look-like-during-rush-hour/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reduce flickers in Window Forms</title>
		<link>http://www.lifewithpixel.com/2009/06/29/reduce-flickers-in-window-forms/</link>
		<comments>http://www.lifewithpixel.com/2009/06/29/reduce-flickers-in-window-forms/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 01:42:23 +0000</pubDate>
		<dc:creator>OrangeBread</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[C Sharp]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[dotnet]]></category>

		<category><![CDATA[double buffer]]></category>

		<category><![CDATA[double buffering]]></category>

		<category><![CDATA[forms flickering]]></category>

		<category><![CDATA[net]]></category>

		<category><![CDATA[windows form flickers]]></category>

		<guid isPermaLink="false">http://www.lifewithpixel.com/?p=68</guid>
		<description><![CDATA[I know this topic has come up a gazillion times but I&#8217;m just gonna write it anyway lest I totally forgot about it. Flickers happen a lot when you try resizing or changing the content of a windows form especially when the background is filled with an image. Most often, it is caused by the [...]]]></description>
			<content:encoded><![CDATA[<p>I know this topic has come up a gazillion times but I&#8217;m just gonna write it anyway lest I totally forgot about it. Flickers happen a lot when you try resizing or changing the content of a windows form especially when the background is filled with an image. Most often, it is caused by the background repainting in an uncontrolled manner.</p>
<p>There is a technique called double buffering which we could turn on from Form object itself. However, under certain conditions, this does not work for me. So, after further researching into the topic, I&#8217;ve found another solution; That is to implement double buffering myself.</p>
<p>There are two events we can override in the Form object namely, OnPaint and OnPaintBackground. What we are trying to achieve here is to repaint the background ourselves before the Form redraw the child controls. First, we override the OnPaintBackground and make it does absolutely nothing.</p>
<pre class="brush: csharp;">
protected override void OnPaintBackground(PaintEventArgs e)
{
    // Do Nothing
}
</pre>
<p>Okay, here comes the interesting part. We will now declare a buffer to keep the background drawing, changing it only when the Form resizes. Needless to say, this would save a lot of reloading and redrawing of the image from file.</p>
<pre class="brush: csharp;">
private Bitmap _dblBuffer = null;

protected override void OnPaint(PaintEventArgs e)
{
    if (_dblBuffer == null)
    {
        _dblBuffer = new Bitmap(this.ClientSize.Width, this.ClientSize.Height);
        Graphics g = Graphics.FromImage(_dblBuffer);
        g.DrawImage(_backgroundImage, 0, 0, this.ClientSize.Width, this.ClientSize.Height);
        g.Flush();
        g.Dispose();
    }

    e.Graphics.DrawImage(_dblBuffer, 0, 0, this.ClientSize.Width, this.ClientSize.Height);

    base.OnPaint(e);
}

protected override void OnSizeChanged(EventArgs e)
{
    if (_dblBuffer != null)
    {
        _dblBuffer.Dispose();
        _dblBuffer = null;
    }

    base.OnSizeChanged(e);
}
</pre>
<p>That should do it. The flickering should have dramatically improved after this. The code is not perfect, so do post it in the comments if you  have any suggestions.</p>
<p>By the way, if anyone knows how to preserve the codes tabbing with SyntaxHighlighter Plus, please drop me a mail. It seems to remove all my tabs after I save the post.</p>
<p>Update: I&#8217;m now using <a title="SyntaxHighlighter Evolved" href="http://wordpress.org/extend/plugins/syntaxhighlighter/installation/" target="_blank">SyntaxHighlighter Evolved</a> to solve the indentation issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifewithpixel.com/2009/06/29/reduce-flickers-in-window-forms/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
