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

<channel>
	<title>Maan's Blog</title>
	<atom:link href="http://www.ashgar.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ashgar.net</link>
	<description>a blog about nothing!</description>
	<pubDate>Fri, 07 Nov 2008 16:04:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Functions Order is No Laughing Matter</title>
		<link>http://www.ashgar.net/2008/11/07/functions-order-is-no-laughing-matter</link>
		<comments>http://www.ashgar.net/2008/11/07/functions-order-is-no-laughing-matter#comments</comments>
		<pubDate>Fri, 07 Nov 2008 16:04:37 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/11/07/functions-order-is-no-laughing-matter</guid>
		<description><![CDATA[I admit it, I used to consider computing the Big-O of algorithms you write is ridiculously useless. &#8220;We have these powerful machines nowadays!&#8221; and boy was I wrong &#8230;. In http://leepoint.net/notes-java/algorithms/big-oh/bigoh.html and under Why Size Matters 
Does anyone really have that much data?
It&#8217;s quite common. For example, it&#8217;s hard to find a digital camera that [...]]]></description>
			<content:encoded><![CDATA[<p>I admit it, I used to consider computing the Big-O of algorithms you write is ridiculously useless. &#8220;We have these powerful machines nowadays!&#8221; and boy was I wrong &#8230;. In <a title="http://leepoint.net/notes-java/algorithms/big-oh/bigoh.html" href="http://leepoint.net/notes-java/algorithms/big-oh/bigoh.html">http://leepoint.net/notes-java/algorithms/big-oh/bigoh.html</a> and under <strong>Why Size Matters </strong></p>
<blockquote><h5><em>Does anyone really have that much data?</em></h5>
<p>It&#8217;s quite common. For example, it&#8217;s hard to find a digital camera that that has fewer than a million pixels (1 mega-pixel). These images are processed and displayed on the screen. The algorithms that do this had better not be O(N<sup>2</sup>)! If it took one microsecond (1 millionth of a second) to process each pixel, an O(N<sup>2</sup>) algorithm would take more than a week to finish processing a 1 megapixel image, and more than three months to process a 3 megapixel image (note the rate of increase is definitely not linear).
<p>Another example is sound. CD audio samples are 16 bits, sampled 44,100 times per second for each of two channels. A typical 3 minute song consists of about 8 million data points. You had better choose the write algorithm to process this data.
<p>A dictionary I&#8217;ve used for text analysis has about 125,000 entries. There&#8217;s a big difference between a linear O(N), binary O(log N), or hash O(1) search. </p>
</blockquote>
<p>&nbsp;</p>
<p>HOWEY! a week for 1 megapixel image using an O(N<sup>2</sup>) algorithm!! &#8230;. Ok, sure, on a desktop application where the data are usually small and the processor is fast, it doesn&#8217;t matter much. But for heavily visited web sites (huge data) or for small devices (slow processor) it makes a world of difference. I better watch for this in my current projects, one&#8217;s expect heavy traffic (huge data) and the other is a mix of medium/big data and slow-ish server. Better go revise the code.
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8ceb2c86-92e7-42f0-8790-3abe7d98a509" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">del.icio.us Tags: <a href="http://del.icio.us/popular/computerscience" rel="tag">computerscience</a>,<a href="http://del.icio.us/popular/computing" rel="tag">computing</a>,<a href="http://del.icio.us/popular/math" rel="tag">math</a>,<a href="http://del.icio.us/popular/programming" rel="tag">programming</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/11/07/functions-order-is-no-laughing-matter/feed</wfw:commentRss>
		</item>
		<item>
		<title>Learn to use Source Control</title>
		<link>http://www.ashgar.net/2008/10/26/learn-to-use-source-control</link>
		<comments>http://www.ashgar.net/2008/10/26/learn-to-use-source-control#comments</comments>
		<pubDate>Sun, 26 Oct 2008 09:06:07 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/10/26/learn-to-use-source-control</guid>
		<description><![CDATA[Call it &#8220;source control&#8221;, call it &#8220;version control&#8221;, call it &#8220;revision control&#8221;,&#160; or call it &#8220;Big Mac with no cheese!&#8221;. What ever you call it, source control is an important concept of modern day software projects.&#8220;What is source control?&#8221; I hear you say. Well, allow me to point you to Mr. Eric Sink. He works [...]]]></description>
			<content:encoded><![CDATA[<p>Call it &#8220;source control&#8221;, call it &#8220;version control&#8221;, call it &#8220;revision control&#8221;,&nbsp; or call it &#8220;Big Mac with no cheese!&#8221;. What ever you call it, source control is an important concept of modern day software projects.<br />&#8220;<b>What is source control?</b>&#8221; I hear you say. <br />Well, allow me to point you to Mr. Eric Sink. He works on Source Control tools. He also wrote a nice guide for complete beginners to learn source control (not surprisingly, using his own tools for the guide. But he does it in a general way so that the tool he/you use doesn&#8217;t matter much).<br /><a href="http://www.ericsink.com/scm/source_control.html">http://www.ericsink.com/scm/source_control.html</a><br />&#8220;<b>&#8230;umm, still, what is source control?</b>&#8220;<br />In short, source control is a way to keep your projects source code : <br />A) Safe (Backed up).<br />B) Easy to share between developers working on a project.<br />C) Allow developers to work in parallel.<br />D) Keep all the versions of your files (ie enable you to go back in time to see how the code evolved).<br />And other features that I currently cant bother to mention since these are the main ones.<br /><b>And why should you learn it?</b> well &#8230; because college don&#8217;t teach you how and employers (the good ones that is) expect you to know it already. Even with bad employers &#8230; its up to you as a professional developer to introduce professional development methods in the work place. Your boss will thank you, your team will thank you and the team that was hired after you got fired and has to work on your projects will REALLY thank you.<br />Enjoy.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:861ee4a0-588b-4528-b52e-935bff517299" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">del.icio.us Tags: <a href="http://del.icio.us/popular/programming" rel="tag">programming</a>,<a href="http://del.icio.us/popular/SourceControl" rel="tag">SourceControl</a>,<a href="http://del.icio.us/popular/tutorial" rel="tag">tutorial</a>,<a href="http://del.icio.us/popular/SoftwareEngineering" rel="tag">SoftwareEngineering</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/10/26/learn-to-use-source-control/feed</wfw:commentRss>
		</item>
		<item>
		<title>Awesome line of the day</title>
		<link>http://www.ashgar.net/2008/08/12/awesome-line-of-the-day</link>
		<comments>http://www.ashgar.net/2008/08/12/awesome-line-of-the-day#comments</comments>
		<pubDate>Tue, 12 Aug 2008 18:08:42 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Personal Life]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/08/12/awesome-line-of-the-day</guid>
		<description><![CDATA[I was reading Penelope Trunk&#8217;s blog when this line in &#8220;How to be more interesting to other people&#8221; just struck my 
So look, interesting does not come from greatness. Interesting comes from conflict.

Something about this line just rings to me. It seems so freaking true, and I cant tell why. She follows it with this [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading <a href="http://blog.penelopetrunk.com/" target="_blank">Penelope Trunk&#8217;s blog</a> when this line in &#8220;<a href="http://blog.penelopetrunk.com/2008/02/10/how-to-be-more-interesting-to-other-people/">How to be more interesting to other people</a>&#8221; just struck my </p>
<blockquote><p><em>So look, interesting does not come from greatness. Interesting comes from conflict.</em></p>
</blockquote>
<p>Something about this line just rings to me. It seems so freaking true, and I cant tell why. She follows it with this line, which I guess illustrates what is meant with the pervious line.</p>
<blockquote><p><em>Tolstoy opens </em><a href="http://www.bibliomania.com/0/0/52/95/frameset.html"><em>Anna Karenina</em></a><em> with the line, “Happy families are all alike; every unhappy family is unhappy in its own way.”</em>&nbsp;</p>
</blockquote>
<p>Even thought I&#8217;m in the last paragraph, I couldn&#8217;t continue until I share this line with someone. Now that I did that &#8230;. I&#8217;ll go finish that post.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5507228e-29f4-4ead-9ace-7f460690c5ca" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">del.icio.us Tags: <a href="http://del.icio.us/popular/wisdom" rel="tag">wisdom</a>,<a href="http://del.icio.us/popular/interesting" rel="tag">interesting</a>,<a href="http://del.icio.us/popular/Brazen%20Careerist" rel="tag">Brazen Careerist</a>,<a href="http://del.icio.us/popular/Penelope%20Trunk" rel="tag">Penelope Trunk</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/08/12/awesome-line-of-the-day/feed</wfw:commentRss>
		</item>
		<item>
		<title>Regular Blogging &#8230;. apparently a must! But &#8230;</title>
		<link>http://www.ashgar.net/2008/07/06/regular-blogging-apparently-a-must-but</link>
		<comments>http://www.ashgar.net/2008/07/06/regular-blogging-apparently-a-must-but#comments</comments>
		<pubDate>Sun, 06 Jul 2008 01:11:27 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Personal Life]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/07/06/regular-blogging-apparently-a-must-but</guid>
		<description><![CDATA[Following the advice of many people (notably Penelope Trunk , Steve Yegge), one (I) must maintain and update a personal blog in order to success in the work place/job market. In You should write blogs, Steve lists 4 reasons why many don&#8217;t blog. I mostly identify with: 
Reason #3: Nobody will read my blog. 
and [...]]]></description>
			<content:encoded><![CDATA[<p>Following the advice of many people (notably <a href="http://blog.penelopetrunk.com" target="_blank">Penelope Trunk</a> , <a href="http://steve-yegge.blogspot.com" target="_blank">Steve Yegge</a>), one (I) must maintain and update a personal blog in order to <a href="http://blog.penelopetrunk.com/2006/05/23/blogging-essential-for-a-good-career/" target="_blank">success in the work place/job market</a>. In <a href="http://steve.yegge.googlepages.com/you-should-write-blogs" target="_blank">You should write blogs</a>, Steve lists 4 reasons why many don&#8217;t blog. I mostly identify with: </p>
<p><em>Reason #3: Nobody will read my blog. </em></p>
<p>and its simple, I got nothing interesting to talk about.</p>
<p>Here I am, a 24 years old software engineering Grad, freelancing on a game project. Technical issues? I&#8217;m still not experienced for that, and there are million of blogs for that and will do it 10-20 times better. Work place issues? I work from home and don&#8217;t get out much (so that kills talking about local events). And don&#8217;t say about working from home. <a href="http://freelanceswitch.com" target="_blank">Freelance Switch</a>, <a href="http://www.anti9to5guide.com" target="_blank">Anti 9 to 5 Guide</a>, <a href="http://locationindependent.com/blog/" target="_blank">Location Independent</a>&nbsp; all do a fine job at that. Drawing? again, million other artists got that covered. Video games &#8230; <a href="http://kotaku.com/" target="_blank">covered</a>. Daily life tips and tricks? &#8230;<a href="http://lifehacker.com/" target="_blank">covered</a> (I love you lifeHacker!). Anime &#8230;<a href="http://theanimeblog.com/category/anime-news/" target="_blank">covered</a>. Oh coffee! I can &#8230; nope, <a href="http://www.brewed-coffee.com/" target="_blank">covered</a>.</p>
<p>&nbsp;</p>
<p>That leaves me with the last thing, a blog that points to other blogs entries and talk about them (I know, highly original). I&#8217;m not bashing the people that do it, some of them give you a very interesting read, even without reading the blog they are pointing to. But again, there isn&#8217;t a single topic that I can devote a blog to (or make it worthy of following/subscribing to), nor can I give thoughtful insights on other peoples blogs.</p>
<p>But, I can try.</p>
<p>What comes to mind is that I can pull a Seinfeld and make it a blog &#8216;about nothing&#8217;. Just daily (weekly &#8230; every 10 days) ramblings that may seem interesting to someone. If I can build a crowed, write interesting stuff and get that great programming job in the process, great! If not, then at least I&#8217;ll have a log of what I liked and disliked in a certain period of my life (in case I had amnesia or early Alzheimer&#8217;s). Or I can read my blog 10 years from now and laugh/cry saying &#8220;What a noob!&#8221;</p>
<p>Noticing that I wrote 2 paragraphs with almost one &#8216;I&#8217; per sentence, here is &#8216;my&#8217; other problem with blogging from Steve&#8217;s list:</p>
<p><em><em>Reason #4: Blogging is narcissistic.</em></em></p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:086059b0-bec5-40d9-8295-2b759ad706f0" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">del.icio.us Tags: <a href="http://del.icio.us/popular/blogging" rel="tag">blogging</a></div>
<p>As much as &#8216;I&#8217; love to stand out in anything &#8216;I&#8217; do, &#8216;I&#8217; hate portraying that &#8216;I&#8221;m narcissistic or even hint it (looking at all the &#8216;I&#8217;s, apparently I&#8217;m not doing a good job in that).</p>
<p>But I&#8217;ll risk it, just in case one day</p>
<blockquote><p>When it comes down to it, I&#8217;m asking you to write blogs because I know you&#8217;ve got really interesting things to say, even if you don&#8217;t think they&#8217;re that interesting. Your life is interesting, and your opinions of technology, Amazon, and life in general matter to me, and to others. I bet you&#8217;ve got a lot you could teach me, even if you don&#8217;t think you do. Heck, I was in my mid-twenties when I realized I had a gross conceptual misunderstanding about the reason it&#8217;s hot in the summer and cold in the winter. The stuff I think I know is an invisible speck compared to the superset of what all people know today. Do me a favor and save me the effort of tracking you down in the hall and asking you to enlighten me.
<p>Besides, I&#8217;m not ready to hear what you have to say yet. When I <em>am</em> ready, it&#8217;ll be in your blog
<p> &#8212; Steve Yegge</p>
</blockquote>
<p>I&#8217;m blogging for you Steve (narcissism overload!!).</p>
<p>Thanks for reading, have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/07/06/regular-blogging-apparently-a-must-but/feed</wfw:commentRss>
		</item>
		<item>
		<title>My First RIA Application!!</title>
		<link>http://www.ashgar.net/2008/02/29/my-first-ria-application</link>
		<comments>http://www.ashgar.net/2008/02/29/my-first-ria-application#comments</comments>
		<pubDate>Fri, 29 Feb 2008 03:02:26 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/02/29/my-first-ria-application</guid>
		<description><![CDATA[Following the tutorial at http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA
Flicker image search :) ! try it!

You need flash 9 or higher, c&#8217;mon just download it. It&#8217;s so cool and sweet you&#8217;ll love it!!!one.
         var so = new SWFObject("http://www.ashgar.net/CodeFolder/FlickerRIA.swf", "Flicker Image Search", "500", "500", "9", "#FFFFFF");     so.write("flashcontent");
]]></description>
			<content:encoded><![CDATA[<p>Following the tutorial at <a href="http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA" title="http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA">http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA</a></p>
<p>Flicker image search :) ! try it!</p>
<p><script type="text/javascript" src="http://www.ashgar.net/CodeFolder/swfobject.js"></script></p>
<div id ="flashcontent">You need flash 9 or higher, c&#8217;mon just download it. It&#8217;s so cool and sweet you&#8217;ll love it!!!one.</div>
<p><script type="text/javascript">         var so = new SWFObject("http://www.ashgar.net/CodeFolder/FlickerRIA.swf", "Flicker Image Search", "500", "500", "9", "#FFFFFF");     so.write("flashcontent");</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/02/29/my-first-ria-application/feed</wfw:commentRss>
		</item>
		<item>
		<title>Learning Flex for Beginners</title>
		<link>http://www.ashgar.net/2008/02/29/learning-flex-for-beginners</link>
		<comments>http://www.ashgar.net/2008/02/29/learning-flex-for-beginners#comments</comments>
		<pubDate>Fri, 29 Feb 2008 00:22:14 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/02/29/learning-flex-for-beginners</guid>
		<description><![CDATA[Following my last post, I kept trying to learn Flex when I can (interrupted by the arrival of my new Wacom, I reach over to draw whenever I want to program!).
I kept trying to find learning resources for complete beginners (who can program at least, but didn&#8217;t do any RIA development of Action Script programming [...]]]></description>
			<content:encoded><![CDATA[<p>Following my last post, I kept trying to learn Flex when I can (interrupted by the arrival of my new Wacom, I reach over to draw whenever I want to program!).</p>
<p>I kept trying to find learning resources for complete beginners (who can program at least, but didn&#8217;t do any RIA development of Action Script programming before). In the end, I found that returning to Adobe is your best bet: <a title="http://www.adobe.com/devnet/flex/?tab:quickstart=1" href="http://www.adobe.com/devnet/flex/?tab:quickstart=1">http://www.adobe.com/devnet/flex/?tab:quickstart=1</a>.</p>
<p>Also, keep this open when you program, or at least add it to your favorites : <a title="http://www.adobe.com/support/documentation/en/flex/" href="http://www.adobe.com/support/documentation/en/flex/">http://www.adobe.com/support/documentation/en/flex/</a>&nbsp;</p>
<p>That&#8217;s about all you need (well, so far). Adobe will recommend that you buy their Flash Build to develop flex, but you can use the free FlashDevelop&nbsp; <a title="http://www.flashdevelop.org/community/" href="http://www.flashdevelop.org/community/">http://www.flashdevelop.org/community/</a> for your Action Script and MXML needs (and its really good).</p>
<p>Remember to pass by <a title="http://flex.org/" href="http://flex.org/">http://flex.org/</a> to see some Flex application and see what it can do!</p>
<p>and lastly &#8230;.. Good Luck :)</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9bab3254-6b76-481c-ac5c-40a2741181a4" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Flex" rel="tag">Flex</a>,<a href="http://technorati.com/tags/Learn" rel="tag">Learn</a>,<a href="http://technorati.com/tags/Programming" rel="tag">Programming</a>,<a href="http://technorati.com/tags/Adobe" rel="tag">Adobe</a>,<a href="http://technorati.com/tags/Flash" rel="tag">Flash</a>,<a href="http://technorati.com/tags/RIA" rel="tag">RIA</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/02/29/learning-flex-for-beginners/feed</wfw:commentRss>
		</item>
		<item>
		<title>Flash is for designers, Flex is for programmers</title>
		<link>http://www.ashgar.net/2008/02/20/flash-is-for-designers-flex-is-for-programmers</link>
		<comments>http://www.ashgar.net/2008/02/20/flash-is-for-designers-flex-is-for-programmers#comments</comments>
		<pubDate>Wed, 20 Feb 2008 14:41:04 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/02/20/flash-is-for-designers-flex-is-for-programmers</guid>
		<description><![CDATA[I needed to learn flex for a project, what is Flex? http://en.wikipedia.org/wiki/Adobe_Flexin short, flex is AJAX nerdy cousin, and both are used to develop Rich Internet Applications (RIA). The advantage of Flash is that it will look the same on all browser (pixel to pixel likeness), and it is a true write-once-run-everywhere. it can run [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to learn flex for a project, what is Flex? <a href="http://en.wikipedia.org/wiki/Adobe_Flex">http://en.wikipedia.org/wiki/Adobe_Flex</a><br />in short, flex is AJAX nerdy cousin, and both are used to develop Rich Internet Applications (RIA). The advantage of Flash is that it will look the same on all browser (pixel to pixel likeness), and it is a true write-once-run-everywhere. it can run from a browser, using Flash player, or it can run on desktops, using Adobe AIR.<br />Adobe has released the Flex SDK for free, but their IDE for making Flex application (Eclipse-based) cost around $1000 to get a licence.</p>
<p>What&#8217;s the difference between Flash and Flex? the answer is in the title, and here <a href="http://kanuwadhwa.wordpress.com/2007/08/03/choose-the-best-flashflex/">http://kanuwadhwa.wordpress.com/2007/08/03/choose-the-best-flashflex/</a></p>
<p>So, how can I learn Flex for free and develop free RIA applications? ( I spent 3 hours on this and it is what this post is all about)<br />My friend Sirisian has the answer here <a href="http://www.kirupa.com/forum/showpost.php?p=2229691&amp;postcount=9">http://www.kirupa.com/forum/showpost.php?p=2229691&amp;postcount=9</a><br />The post is actually an answer to someone wanting to develop flash games, so it can be used for games as well.</p>
<p>I hope someone saves 3 hours thanks to this,<br />Have a nice day</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:3de72acd-e42b-4231-9b61-72a55bdb5548" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Flex" rel="tag">Flex</a>,<a href="http://technorati.com/tags/Learn" rel="tag">Learn</a>,<a href="http://technorati.com/tags/Programming" rel="tag">Programming</a>,<a href="http://technorati.com/tags/Adobe" rel="tag">Adobe</a>,<a href="http://technorati.com/tags/Flash" rel="tag">Flash</a>,<a href="http://technorati.com/tags/RIA" rel="tag">RIA</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/02/20/flash-is-for-designers-flex-is-for-programmers/feed</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m a Alpha Geek!</title>
		<link>http://www.ashgar.net/2008/01/13/im-a-alpha-geek</link>
		<comments>http://www.ashgar.net/2008/01/13/im-a-alpha-geek#comments</comments>
		<pubDate>Sun, 13 Jan 2008 00:05:51 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Personal Life]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2008/01/13/im-a-alpha-geek</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.g33ktest.com" target="_blank"><img height="370" alt="alpha geek" src="http://www.g33ktest.com/images/alpha_m.gif" width="330"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2008/01/13/im-a-alpha-geek/feed</wfw:commentRss>
		</item>
		<item>
		<title>Testing Windows Live Writer</title>
		<link>http://www.ashgar.net/2007/12/07/testing-windows-live-writer</link>
		<comments>http://www.ashgar.net/2007/12/07/testing-windows-live-writer#comments</comments>
		<pubDate>Fri, 07 Dec 2007 12:11:58 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2007/12/07/testing-windows-live-writer/</guid>
		<description><![CDATA[Reason 
this is a test to try out&#160; Windows Live Writer that I just installed.

 Lets try a picture here, this drawing is from JollyJack gallery on deviantart jollyjack.deviantart.com
And here is a table &#8230; just for test



Table head one
Table head Wheeee


[1,0]
[1,1]



&#160;
I think that&#8217;s good enough. Lets try it.
]]></description>
			<content:encoded><![CDATA[<h3>Reason </h3>
<p>this is a test to try out&#160; Windows Live Writer that I just installed.</p>
<p><span id="more-70"></span></p>
<p><a href="http://www.ashgar.net/wp-content/uploads/2007/12/leaf-glue-by-jollyjack.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 5px; border-right-width: 0px" height="261" alt="Leaf_Glue_by_jollyjack" src="http://www.ashgar.net/wp-content/uploads/2007/12/leaf-glue-by-jollyjack-thumb.jpg" width="181" align="left" border="0" /></a> Lets try a picture here, this drawing is from JollyJack gallery on deviantart <a href="http://jollyjack.deviantart.com" target="_blank">jollyjack.deviantart.com</a></p>
<p>And here is a table &#8230; just for test</p>
<table cellspacing="0" cellpadding="2" width="349" border="0">
<tbody>
<tr>
<td valign="top" width="199">Table head one</td>
<td valign="top" width="148">Table head Wheeee</td>
</tr>
<tr>
<td valign="top" width="199">[1,0]</td>
<td valign="top" width="148">[1,1]</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>I think that&#8217;s good enough. Lets try it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2007/12/07/testing-windows-live-writer/feed</wfw:commentRss>
		</item>
		<item>
		<title>Project Hoshimi 2007</title>
		<link>http://www.ashgar.net/2007/11/27/project-hoshimi-2007</link>
		<comments>http://www.ashgar.net/2007/11/27/project-hoshimi-2007#comments</comments>
		<pubDate>Mon, 26 Nov 2007 23:04:23 +0000</pubDate>
		<dc:creator>Maan</dc:creator>
		
		<category><![CDATA[C# &amp; XNA]]></category>

		<guid isPermaLink="false">http://www.ashgar.net/2007/11/27/project-hoshimi-2007/</guid>
		<description><![CDATA[This is my submission to Microsoft Imagine Cup: Project Hoshimi 2007.
Competition idea:
To program the AI/Strategy for a group of nano-bots. This strategy is then played in a 3D-simulated environment and you get points for accomplishing certain tasks and mission with that strategy. The simulated environment represent a human tissue, and your nano-robots has to be [...]]]></description>
			<content:encoded><![CDATA[<p>This is my submission to Microsoft Imagine Cup: Project Hoshimi 2007.</p>
<h2>Competition idea:</h2>
<p>To program the AI/Strategy for a group of nano-bots. This strategy is then played in a 3D-simulated environment and you get points for accomplishing certain tasks and mission with that strategy. The simulated environment represent a human tissue, and your nano-robots has to be injected in a certain place in that tissue in order to do all/most of the tasks required. Tasks include visiting a number of points in the tissue, building enzyme needles, and going to enzyme points to collect enzyme and take it to an enzyme needle and fill it.</p>
<p><strong>There are many constrains that makes this a tough competition:</strong></p>
<p><span id="more-66"></span></p>
<p>- Your nano-bots has only 5 min from the start of the simulation.   <br />- In Round 2, you don&#8217;t get to see the area map before hand, so your path algorithm has to be dynamic.    <br />- If your nano-bots takes too much time processing, the simulation engine will freeze them all and continue running the game until they finish processing and they can move again.    <br />- You have five nano-bot classes, each with its own weakness/advantage points.    <br />- Only one nano-bot is injected in the tissue at the beginning of the simulation, and that nano-bot is the nano-AI, your main bot.    <br />- Only the nano-AI can build other bots and needles. Needles count as bots.    <br />- you cant have more than 40 bot at any time during the simulation.    <br />- All your bots can do only one task at a given time (move, walk, collect enzyme). So your nano-AI cant move and build bots at the same time.    <br />- There are 3 colored tissue areas in the area map. The red area let your bots move at their normal speed, the blue area make them move at half of their speed and the green area make them run at one-forth of their speed. This makes path finding harder than it seems.    <br />- To top it all off, there are another injected nano-bots group, and they have one mission, TO DESTROY YOU! &#8230;. needless to say that when they kill your main nano-bot, all the other bots you have freeze and stop moving.</p>
<p>There also other constrains in the game, you can read more about the game by downloading it from the link below.</p>
<h2>How did I do?</h2>
<p>There were hardly any competition with me from Saudi Arabia. Only one team was there before round 1 and it looks like they didn&#8217;t submit their files before the deadline. I advanced easily to round 2 (round 1 is so easy that they want you to pass!). I didn&#8217;t have time to fully finish my 2nd round submission, I was working alone and I went through a month in the hospital for a major surgery. The submission has no defense strategy against the attacking nano-bots, so I was hoping on luck to get enough points before they kill my main bot.   <br />Seeing that there is only one team from Saudi Arabia, I advanced to the international round, where they get the top 3 teams from each country, and put them in random 4 team leagues, every top 2 advance and they put them again in random leagues, and so on.    <br />I lost at this stage. At first I though that I didn&#8217;t do well, but when the rest of the leagues results were posted, I saw that I could have easily advanced to the next round have I been placed in a different league. Mine was the &quot;Iron group&quot; so to speak. But oh well, this is life.</p>
<h2>Project files and download</h2>
<p><a href="http://www.ashgar.net/CodeFolder/alamedPH.zip">Here</a> you can find the project files for my strategy (which will produce a .dll file on compilation). You&#8217;ll need to change the output folder for dll file if you want to compile it.    <br />Here*Not yet* you will find the entire project hoshimi SDK and files, including my submission dll file. Just run the ProjectHoshimi.exe, choose alamed as a user, click on expert mode, choose &quot;AlamedPH&quot; and a map and click start. The simulation should run and it will show you my plan on the chosen map.</p>
<h2>Special Thanks</h2>
<p>goes to my best friend, Motaz, for making me enter this competition :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashgar.net/2007/11/27/project-hoshimi-2007/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
