<?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" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Code In Vain</title>
	
	<link>http://www.codeinvain.com/blog</link>
	<description>Daniel Cohen talks shop</description>
	<lastBuildDate>Mon, 26 Jul 2010 14:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CodeInVain" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="codeinvain" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Working With Large Arrays in Action Script</title>
		<link>http://www.codeinvain.com/blog/353/working-with-large-arrays-in-action-script/</link>
		<comments>http://www.codeinvain.com/blog/353/working-with-large-arrays-in-action-script/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 14:02:26 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[pattern]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=353</guid>
		<description><![CDATA[While working on partly connected system using flex technology I figured out quick enough that working with large data sets (thousands of records) is not applicable. Especially because i held a number of those sets which I needed to  cross reference in number of occasions. My solution was to create an indexed collection which i can benefit both worlds]]></description>
			<content:encoded><![CDATA[<p>While working on partly connected system using flex technology I figured out quick enough that working with large data sets (thousands of records) is not applicable. Especially because i held a number of those sets which I needed to  cross reference in number of occasions.</p>
<p>My solution was to create an indexed collection which i can benefit both worlds of Dictionary and ArrayCollection , with that in mind I designed and implemented the <strong><em>IndexedArrayCollection</em></strong>.</p>
<p>The collection extends ArrayCollection and adds the capability of indexing a single member of an object in the collection (I assume that each element is an object).</p>
<p>IndexArrayCollection constructor receives two arguments first is a source array and second is the index field name (attribute name).</p>
<script src="http://gist.github.com/479664.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/479664">gist code snippet</a></pre></code></noscript>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/353/working-with-large-arrays-in-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pong Applied Box2DFlex Physics Engine</title>
		<link>http://www.codeinvain.com/blog/358/pong-applied-box2dflex-physics-engine/</link>
		<comments>http://www.codeinvain.com/blog/358/pong-applied-box2dflex-physics-engine/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 10:19:24 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[Box2DFlex]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[TECH]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=358</guid>
		<description><![CDATA[I decided to learn by example and assigned myself the goal of building pong in box2d. box2d is an overkill for pong , but what do you know, it&#8217;s damn easy. the gist of it is : layout world setup event handling Full source code hosted in github Pong in Box2DFlex. The layout a SkinnablePhysicsContainer holding two border]]></description>
			<content:encoded><![CDATA[<p>I decided to learn by example and assigned myself the goal of building pong in box2d.</p>
<p>box2d is an overkill for pong , but what do you know, it&#8217;s damn easy.</p>
<iframe src="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/Pong2D.html" style="width:840px;height:440px;border:0px"></iframe><noscript><pre><a href="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/Pong2D.html">frame content</a></pre></noscript>
<p>the gist of it is :</p>
<ul>
<li>layout</li>
<li>world setup</li>
<li>event handling</li>
</ul>
<p>Full source code hosted in github <a href="http://github.com/codeinvain/Box2DFlex/blob/master/Demos/src/Pong2D.mxml">Pong in Box2DFlex</a>.</p>
<h2>The layout</h2>
<p>a <em>SkinnablePhysicsContainer </em>holding two border containers (named <strong>p1</strong> and <strong>p2</strong>) which are the player bars and corelating <strong>p1Goal</strong> and <strong>p2Goal</strong> which will act as hit area for the <strong>ball</strong><strong> </strong>graphics element (<em>Ellipse</em>).</p>
<script src="http://gist.github.com/485641.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/485641">gist code snippet</a></pre></code></noscript>
<h2>Setting Up the World</h2>
<p>when the application loads it maps all elements in the physics container to box2d bodies , in <em>woldSetup</em> method i specified different mapping types to components</p>
<p>The key thing you need to know is that you want  p1, p2 and the goals controls to be kinematic bodies so</p>
<ul>
<li>they are not affected by collations and</li>
<li>they do not collide with each other</li>
<li>they affect dynamic bodies colliding into them</li>
</ul>
<p>and an event handler <em>onBodiesContact </em> that triggers when two bodies collide .</p>
<script src="http://gist.github.com/485646.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/485646">gist code snippet</a></pre></code></noscript>
<h2>Event Hadnling</h2>
<p><em>onBodiesContact</em> is triggered each time two bodies collide indie it i do a simple test to see which to bodies collided and triggers the respective indicator.</p>
<p><em>world_mouseMoveHandler </em> is handling the translation of mouse position and movement of p2</p>
<div>
<div>var p2b:b2Body = worldUIContainer.getComponentBody(p2);</div>
<div>p2b.SetPosition(new b2Vec2(p2b.GetPosition().x,worldUIContainer.worldDef.meter(nextPos)));</div>
</div>
<script src="http://gist.github.com/485710.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/485710">gist code snippet</a></pre></code></noscript>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/358/pong-applied-box2dflex-physics-engine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Box2D Flex Complex Shapes Mapping</title>
		<link>http://www.codeinvain.com/blog/342/box2d-flex-complex-shapes-mapping/</link>
		<comments>http://www.codeinvain.com/blog/342/box2d-flex-complex-shapes-mapping/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 18:20:36 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[Box2DFlex]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=342</guid>
		<description><![CDATA[One of the drawbacks in box2d is that it&#8217;s not supporting concave polygon shapes . for that box2d flex employs several algorithms and converts a complex shape to a set of polygons (I took the idea from 3d modeling) at this point i would like to give credits to sakri.net for he&#8217;s shape outline algorithm]]></description>
			<content:encoded><![CDATA[<p>One of the drawbacks in box2d is that it&#8217;s not supporting concave polygon shapes .</p>
<p>for that box2d flex employs several algorithms and converts a complex shape to a set of polygons (I took the idea from 3d modeling)</p>
<p>at this point i would like to give credits to</p>
<ul>
<li><a href="http://www.sakri.net/blog/">sakri.net</a> for he&#8217;s <a href="http://www.sakri.net/blog/2009/04/13/extract-shape-outline-points-from-bitmapdata/">shape outline algorithm</a></li>
<li><a href="http://makc.coverthesky.com">makc.coverthesky.com</a> for he&#8217;s <a href="http://makc.coverthesky.com/FlashFX/ffx.php?id=18">polygon2d</a></li>
</ul>
<p>both state that their algorithms are far from perfect but for a v0.2 it&#8217;s a good start.</p>
<p>in this case I&#8217;ll start from the demo and then go into the code so see how the doll bellow is segmented to several triangles.</p>
<iframe src="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/OutlineShape.html" style="width:802px;height:602px;border:0px"></iframe><noscript><pre><a href="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/OutlineShape.html">frame content</a></pre></noscript>
<p>first thing is to understand how what the doll constructs of , in our case it&#8217;s a graphics</p>
<script src="http://gist.github.com/473475.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/473475">gist code snippet</a></pre></code></noscript>
<p>our object can be comprised of anything , graphic shapes , ui controls, images etc&#8217; it has only one caveat - <strong>It&#8217;s edges must be transparent </strong>.</p>
<p>The next thing it to take a look at our physics container</p>
<script src="http://gist.github.com/473480.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/473480">gist code snippet</a></pre></code></noscript>
<p>you can see that <strong><em>autoStartPhysicsEngine </em><span style="font-weight: normal;">is set to false. By default SkinnablePhysicsContainer maps all it&#8217;s flex objects to box2d shapes on creation, this time we want to interfere before hand and give the engine a different directive to try and map the shape not by it&#8217;s boundingBox but by it&#8217;s actual edges.</span></strong></p>
<p><strong><span style="font-weight: normal;">This is done by actionscript code, in which we tell our physics container to parse complex shape and pass it with the shape id and a parsing object, afterwards we call the physics engine to start.</span></strong></p>
<script src="http://gist.github.com/473486.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/473486">gist code snippet</a></pre></code></noscript>
<p>you can see the the shape parser receives an argument specifying the quality of it&#8217;s mapping , this is done for performance  improvement but might impair edges fidelity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/342/box2d-flex-complex-shapes-mapping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Box2D Flex Example</title>
		<link>http://www.codeinvain.com/blog/328/simple-box2d-flex-example/</link>
		<comments>http://www.codeinvain.com/blog/328/simple-box2d-flex-example/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 07:58:25 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[Box2DFlex]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[mxml]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=328</guid>
		<description><![CDATA[following my previous post announcing Box2D Flex framework i want to share some techniques via examples on how to use the library. First thing we create add a SkinableContentContainer to and drop some contorls inside it This, still, does not do anything fancy it just initializes box2d and registers &#38; measures all controls inside our physics container. next step we]]></description>
			<content:encoded><![CDATA[<p>following my previous post announcing <a href="http://www.codeinvain.com/blog/317/announcing-box2dflex-framework/">Box2D Flex framework</a> i want to share some techniques via examples on how to use the library.</p>
<p>First thing we create add a SkinableContentContainer to and drop some contorls inside it</p>
<script src="http://gist.github.com/473443.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/473443">gist code snippet</a></pre></code></noscript>
<p>This, still, does not do anything fancy it just initializes box2d and registers &amp; measures all controls inside our physics container.</p>
<p>next step we add some bindable controls that will change our physics gravity and debug</p>
<script src="http://gist.github.com/473454.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/473454">gist code snippet</a></pre></code></noscript>
<p>and the bindable properties to our physics container</p>
<script src="http://gist.github.com/473449.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/473449">gist code snippet</a></pre></code></noscript>
<p>now we can play with the gravity sliders and see flex controls bounce around</p>
<iframe src="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/Box2DFlex.html" style="width:853px;height:540px;border:0px"></iframe><noscript><pre><a href="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/Box2DFlex.html">frame content</a></pre></noscript>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/328/simple-box2d-flex-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Box2D Flex framework</title>
		<link>http://www.codeinvain.com/blog/317/announcing-box2dflex-framework/</link>
		<comments>http://www.codeinvain.com/blog/317/announcing-box2dflex-framework/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 08:19:51 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[Box2DFlex]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=317</guid>
		<description><![CDATA[Prefix In a previous post demonstrating box2d integration with flex I made a promise (mainly to myself) to share the demo code. When I started to review with sharing in mind it looked cumbersome and overly verbose. So I started cranking on it fixing and straightening the code &#38; architecture and step by step I realized that I&#8217;m creating]]></description>
			<content:encoded><![CDATA[<h3>Prefix</h3>
<p>In a previous post demonstrating <a href="http://www.codeinvain.com/blog/235/box2d-flex-integration/">box2d integration with flex</a> I made a promise (mainly to myself) to share the demo code. When I started to review with sharing in mind it looked cumbersome and overly verbose. So I started cranking on it fixing and straightening the code &amp; architecture and step by step I realized that I&#8217;m creating a small Integration layer rather then a POC.</p>
<h3>Announcing <a href="http://github.com/codeinvain/Box2DFlex">Box2DFlex</a></h3>
<div id="_mcePaste">Box2DFlex framework allows you easely integrate box2d into flex framework using mxml. The framewok helps easy integration with flex and exposes box2d world for advanced manipulation.</div>
<div id="_mcePaste">
<ul>
<li>extends SkinnableContainer uses flex component lifecycle model</li>
<li>uses regular MXML and AS flex components</li>
<li>supports complex shaped flex components (convex and concave) conversion to b2d shapes.</li>
<li>allows multiple worlds side by side</li>
</ul>
</div>
<iframe src="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/HelloBox2DWorld.html" style="width:640px;height:480px;border:0px"></iframe><noscript><pre><a href="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/Box2DDemos/HelloBox2DWorld.html">frame content</a></pre></noscript>
<h3>Getting Started</h3>
<p>In order to play with Box2dFlex you will need <a href="http://www.adobe.com/products/flashbuilder/">flash builder 4</a> and <a href="http://github.com/codeinvain/Box2DFlex">Box2DFlex</a> source which is hosted on GitHub.</p>
<p>and in four simple steps you should</p>
<ol>
<li>download the source code</li>
<li>inport the Box2DFlex and Demos  projects into flash builder 4</li>
<li>compile</li>
<li>Play with the eamples in Box2Demos project</li>
</ol>
<h3>Building Your Own b2d World</h3>
<ol>
<li>download the framework</li>
<li>create a new project</li>
<li>add refrence to  &lt;Box2DFlex dir&gt;/Box2dFlexLib/bin/Box2DFlexLib.swc</li>
<li>in your MXML add a new SkinnablePhysicsContainer</li>
<li>set the container&#8217;s yGravity property to 10 and autoStartPhysicsEngine to true (yGravity=&#8221;10 autoStartPhysicsEngine=&#8221;true&#8221;)</li>
<li>if you want your world to contains walls use setBoundries=&#8221;true&#8221; attribute</li>
<li>place a button inside SkinnablePhysicsContainer and set it&#8217;s properties (width / height / label)</li>
<li>run the project</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/317/announcing-box2dflex-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Timezone shift in bootcamp</title>
		<link>http://www.codeinvain.com/blog/307/timezone-windows-bootcamp/</link>
		<comments>http://www.codeinvain.com/blog/307/timezone-windows-bootcamp/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 14:56:42 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[timezone]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=307</guid>
		<description><![CDATA[Another short one , each time i open my bootcamp or VM (parallels or fusions) i get different timezone for windows and osx. both are configured correctly connected to the internet and updated from ntp server. But the windows machine is persistently offsets by two hours. After some hunting around and some trial and error I]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-309 alignleft" title="dashboard-clocks" src="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/dashboard-clocks-150x150.jpg" alt="" width="105" height="105" /></p>
<p>Another short one , each time i open my bootcamp or VM (parallels  or fusions) i get different timezone for windows and osx.<br />
both are configured correctly connected to the internet and updated from ntp server.</p>
<p>But the windows machine is persistently offsets by two hours. After some hunting around and some trial and error I found that the best and quickest solution is adding a new registry key to <strong><em>HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\ </em></strong>named <strong><em>RealTimeIsUniversal </em><span style="font-weight: normal;"> typed </span><em>REG_DWORD</em><span style="font-weight: normal;"> and set it&#8217;svalue to </span><em>1</em></strong></p>
<p><strong><em><br />
</em></strong></p>
<script src="http://gist.github.com/464413.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/464413">gist code snippet</a></pre></code></noscript>
<p>you can also patch your registry by downloading <a href="http://www.codeinvain.com/blog/wp-content/uploads/2010/07/bootcamp.timezone.reg">bootcamp clock registry update</a> and running it on your windows machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/307/timezone-windows-bootcamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battling with Mac &amp; PC in a local network</title>
		<link>http://www.codeinvain.com/blog/295/mac-cant-resolve-host-names-for-local-network-pc/</link>
		<comments>http://www.codeinvain.com/blog/295/mac-cant-resolve-host-names-for-local-network-pc/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 05:25:44 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[bonjour]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[TECH]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[wins]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=295</guid>
		<description><![CDATA[That&#8217;s a short one , I was banging my head for the last few months with a problem @ my home network. I have a few computers all of which are connected via a router  and all see each other perfectly and can be accessed via IP or computer name. All except one PC and Mac  which]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s a short one , I was banging my head for the last few months with a problem @ my home network.</p>
<p>I have a few computers all of which are connected via a router  and all see each other perfectly and can be accessed via IP or computer name.</p>
<p>All except one PC and Mac  which refused to see each other by computer name but could be accessed by IP.  But today I finally managed, after comparing the installed software on two PC&#8217;s I decided to try and uninstall Bonjour services from my PC to see if it impairs the connection , and luckily it did.</p>
<p>So if it happens to you  <strong>remove Bonjour services from PC </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/295/mac-cant-resolve-host-names-for-local-network-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mid 2010 Podcast List</title>
		<link>http://www.codeinvain.com/blog/183/mid-2010-podcast-list/</link>
		<comments>http://www.codeinvain.com/blog/183/mid-2010-podcast-list/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:55:17 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Kaizen]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[Podcast list]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[TECH]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=183</guid>
		<description><![CDATA[it&#8217;s time to update my podcast list some shows are RIP and some new came to light. so without further ado my mid 2010 podcast list . This time i grouped them by interest . some have fixed amount of episodes and some reoccur weekly . there are some hebrew podcasts in the list as well , I left the name]]></description>
			<content:encoded><![CDATA[<p>it&#8217;s time to update my <a href="http://blogs.microsoft.co.il/blogs/danielisimo/archive/2009/02/11/my-list-of-podcasts-for-not-only-net-programmers.aspx">podcast list</a> some shows are RIP and some new came to light. so without further ado my <strong>mid 2010 podcast list</strong> .</p>
<p>This time i grouped them by interest . some have fixed amount of episodes and some reoccur weekly . there are some hebrew podcasts in the list as well , I left the name and notes in hebrew.</p>
<h2>.NET</h2>
<p><a href="http://www.hanselminutes.com">Hanselminutes</a> - &#8220;is a weekly audio talk show with noted web developer and technologist Scott Hanselman. Scott discusses utilities and tools, gives practical how-to advice, and discusses ASP.NET or Windows issues and workarounds.&#8221;</p>
<p><a href="http://www.dotnetrocks.com ">.NET Rocks!</a> -&#8221; is a weekly talk show for anyone interested in programming on the Microsoft .NET platform. The shows range from introductory information to hardcore geekiness.&#8221;</p>
<p><a href="http://deepfriedbytes.com/">Deep Fried Bytes</a> &#8211; &#8220;The show discusses a wide range of topics including application development, operating systems and technology in general. Anything is fair game if it plugs into the wall or takes a battery.&#8221;  they are .NET centric and focus on mainstream development.</p>
<h2>Alt.NET</h2>
<p>i&#8217;m not sure if Alt.NET is the correct way to call the following section maybe .net with balls is more at it &#8230;.. they push the envelope</p>
<p><a href="http://herdingcode.com">Herding Code</a> &#8211; &#8220;Herding Code is a weekly podcast with K. Scott Allen, Kevin Dente, Scott Koon, and Jon Galloway.&#8221;  it&#8217;s the show with most hosts at once i hear but what can I say when it works it just works.</p>
<p><a href="http://thirstydeveloper.com">The Thirsty Developer</a> &#8211;  &#8220;A podcast with Microsoft Developer Evangelist, Dave Bost and Clark Sell&#8221;  They bring top guests and talk about interesting topics.</p>
<h2>Flex / AS3</h2>
<p><a href="http://www.theflexshow.com/blog/index.cfm">The Flex Show</a> &#8211; Everything Flex and AS3 sadly that&#8217;s the only one I found &#8230;</p>
<h2>Open source  / Versatile technology</h2>
<p style="text-align: left;"><a href="http://thechangelog.com">The Changelog </a> &#8211; very new very cool show about open source , I hope it will last.<br />
<a href="http://www.se-radio.net">Software Engineering Radio</a> &#8211; &#8220;Software Engineering Radio is a podcast targeted at the professional software developer. The goal is to be a lasting educational resource, not a newscast&#8221;<br />
<a href="http://hackermedley.org">Hacker Medley</a> &#8211; &#8221; is a short podcast for curious hackers. Our goal is to talk about the cool things we&#8217;ve learned that we love explaining to our friends.&#8221;</p>
<p><a href="http://www.webdevradio.com">WebDevRadio.com &#8211; web development podcast</a> &#8211; &#8220;News, views and issues for the web developer&#8221;</p>
<p><a href="http://www.reversim.com/">רברס עם פלטפורמה</a></p>
<h2>Tech  / inspiration</h2>
<p><a href="http://www.wnyc.org/shows/radiolab/">WNYC&#8217;s Radiolab</a> &#8211; if nothing else at least you owe it to yourself to subscribe to this one.<br />
<a href="http://www.icast.co.il/default.aspx?p=podcast&amp;#38;ID=50587">עושים היסטוריה! עם רן לוי Making History! with Ran</a></p>
<h2>Business developement</h2>
<p><a href="http://www.startupsfortherestofus.com   ">Startups For the Rest of Us &#8211; about building small ventures </a> - &#8220;the podcast that helps developers be awesome at launching software products&#8221;<br />
<a href="http://itunes.apple.com/us/podcast/harvard-business-ideacast/id152022135">Harvard Business IdeaCast</a> &#8211; &#8220;features breakthrough ideas and commentary from the leading thinkers in business and management&#8221;<br />
<a href="http://www.icast.co.il/default.aspx?p=podcast&amp;#38;ID=354637">כלכלת מוצרי מידע (ספר קולי)</a> &#8211; ספר שמלווה קורס של האוניברסיטה הפתוחה אפשר שווה לכל מי שרוצה לבנות ולתמחר תוכנה<br />
<a href="http://www.icast.co.il/default.aspx?p=podcast&amp;#38;ID=354655">התנהגות ארגונית (ספר קולי)</a> -ספר שמלווה קורס של האוניברסיטה הפתוחה אם אתה עובד באירגון גדול או רוצה להשתלב באחד</p>
<h2>Usability</h2>
<p><a href="http://deimos3.apple.com/WebObjects/Core.woa/Feed/researchchannel.org.1421828844.01421828850">The User @ the Center of it All</a><br />
<a href="http://deimos3.apple.com/WebObjects/Core.woa/Feed/researchchannel.org.1418199288.01418199295">Engineering and Computer Science</a><br />
<a href="http://deimos3.apple.com/WebObjects/Core.woa/Feed/itunes.stanford.edu.1357108180.01432528356">Human-Computer Interaction Seminar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/183/mid-2010-podcast-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 3 hebrew textbox</title>
		<link>http://www.codeinvain.com/blog/64/flex-3-hebrew-textbox/</link>
		<comments>http://www.codeinvain.com/blog/64/flex-3-hebrew-textbox/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 20:16:18 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flex3]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[RTL]]></category>
		<category><![CDATA[textfield]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=64</guid>
		<description><![CDATA[following my last post on flex3 RTL label , next challenge was input text with RTL support , in that case I decided to cheat and use html input overlying flex. Not so elegant solution, but a solution non the less. the trick is to pass the flex component coordinate and position the HTML input accordingly ,]]></description>
			<content:encoded><![CDATA[<p>following my last post on <a href="http://www.codeinvain.com/blog/63/flex-rtl-text-support/">flex3 RTL label</a> , next challenge was input text with RTL support , in that case I decided to cheat and use html input overlying flex.</p>
<p>Not so elegant solution, but a solution non the less. the trick is to pass the flex component coordinate and position the HTML input accordingly , and on the HTML side handle keyboard and mouse event to let the flex developer feel @ home with regular focus and key press events.</p>
<p>Add the following MXML component to your flex project</p>
<script src="http://gist.github.com/457707.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/457707">gist code snippet</a></pre></code></noscript>
<p>Add the following code to your html page</p>
<script src="http://gist.github.com/457718.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/457718">gist code snippet</a></pre></code></noscript>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/64/flex-3-hebrew-textbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 3 label RTL support</title>
		<link>http://www.codeinvain.com/blog/63/flex-rtl-text-support/</link>
		<comments>http://www.codeinvain.com/blog/63/flex-rtl-text-support/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 21:10:16 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[bidi]]></category>
		<category><![CDATA[flex3]]></category>
		<category><![CDATA[RTL]]></category>
		<category><![CDATA[text layout framework]]></category>

		<guid isPermaLink="false">http://www.codeinvain.com/blog/?p=63</guid>
		<description><![CDATA[If you know or not , I&#8217;m leaving and working in Israel, where we have the most annoying text rendering issues. we write in right to left order &#8211; that means  in the opposite direction of most languages. Letters and words are left to right, though  numbers and other symbols remain right to left. Through the years I&#8217;ve seen (and]]></description>
			<content:encoded><![CDATA[<p>If you know or not , I&#8217;m leaving and working in Israel, where we have the most annoying text rendering issues.</p>
<p>we write in right to left order &#8211; that means  in the opposite direction of most languages. Letters and words are left to right, though  numbers and other symbols remain right to left.</p>
<p>Through the years I&#8217;ve seen (and even wrote) noumerous attempts to build an AS class that will provide this functionality to flash, all of them suffered from quirks and different edge cases.</p>
<p>About a year a go Adobe published a new text rendering engine (<a href="http://labs.adobe.com/technologies/textlayout/">TLF</a>) which wasn&#8217;t integrated into Flex3 framework , and though flex4 includes the new TLF some still need to work with the 3.x framework so here is a simple example of implementing true RTL label in flex 3 note that you need to download and install <a href="http://labs.adobe.com/technologies/textlayout/">Text Layout Framework </a> on your development machine in order to compile the code.</p>
<script src="http://gist.github.com/449065.js"></script><noscript><code class="gist"><pre><a href="http://gist.github.com/449065">gist code snippet</a></pre></code></noscript>
]]></content:encoded>
			<wfw:commentRss>http://www.codeinvain.com/blog/63/flex-rtl-text-support/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
