<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/wordpress-mu-1.2.3-2.2.1" -->
<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/"
	>

<channel>
	<title>Omi: Dynamic Interactions Manager</title>
	<link>http://omi.mango6.com</link>
	<description>"In a few words, explain what this weblog is about." No.</description>
	<pubDate>Thu, 04 Dec 2008 01:12:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=wordpress-mu-1.2.3-2.2.1</generator>
	<language>en</language>
			<item>
		<title>Youtube has HD!</title>
		<link>http://omi.mango6.com/2008/12/04/youtube-has-hd/</link>
		<comments>http://omi.mango6.com/2008/12/04/youtube-has-hd/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 01:12:47 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>
<category>youtube</category>
		<guid isPermaLink="false">http://omi.mango6.com/2008/12/04/youtube-has-hd/</guid>
		<description><![CDATA[And as proof of this revelation: an evidentiary link Clickeh
That is all.
]]></description>
			<content:encoded><![CDATA[<p><code>And as proof of this revelation: an evidentiary link <a href="http://uk.youtube.com/watch?v=JHXyDjcLqN0&amp;fmt=22" title="Smith Wesson HD">Clickeh</a></code></p>
<p>That is all.</p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/12/04/youtube-has-hd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SWX AS3 Connecter Small Update</title>
		<link>http://omi.mango6.com/2008/10/22/swx-as3-connecter-small-update/</link>
		<comments>http://omi.mango6.com/2008/10/22/swx-as3-connecter-small-update/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 22:00:18 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>
<category>swx</category>
		<guid isPermaLink="false">http://omi.mango6.com/2008/10/22/swx-as3-connecter-small-update/</guid>
		<description><![CDATA[Here is a small update on the SWX AS3 Connecter which is more backwards compatible with the SWX library. The only change in the SWX library from this version is detailed here.
Download SWX AS3 Connecter Alpha 4.zip (590kb)
The Connecter code has been changed accordingly.
]]></description>
			<content:encoded><![CDATA[<p>Here is a small update on the SWX AS3 Connecter which is more backwards compatible with the SWX library. The only change in the SWX library from this version is detailed <a href="http://swx.pastebin.com/pastebin.php?diff=f8c5f8b6" title="LoadManager.as changes">here.</a></p>
<p>Download <a href="http://files.mangosix.co.uk/omi/as/swx/SWX%20AS3%20Connecter%20Alpha%204.zip" title="SWX AS3 Connecter Alpha 4.zip">SWX AS3 Connecter Alpha 4.zip</a> (590kb)</p>
<p>The Connecter code has been changed accordingly.</p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/10/22/swx-as3-connecter-small-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>mangoSix Update + Smith Wesson</title>
		<link>http://omi.mango6.com/2008/10/08/mangosix-update-smith-wesson/</link>
		<comments>http://omi.mango6.com/2008/10/08/mangosix-update-smith-wesson/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 01:00:33 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>

		<guid isPermaLink="false">http://omi.mango6.com/2008/10/08/mangosix-update-smith-wesson/</guid>
		<description><![CDATA[So I finally got round to updating the site.
See the new projects here.
Not listed on the site are the following projects:

Eid in the Square
Islam Is Peace
Eid in the Park 

And to liven this post up a bit, here&#8217;s a parody trailer I helped make in 24 hours:

]]></description>
			<content:encoded><![CDATA[<p>So I finally got round to updating the site.<br />
See the new projects <a href="http://mangosix.co.uk/whatwevedone" title="mangoSix &gt; what we've done">here</a>.<br />
Not listed on the site are the following projects:</p>
<ul>
<li><a href="http://mangosix.co.uk/whatwevedone/eis" title="Eid in the Square">Eid in the Square</a></li>
<li><a href="http://mangosix.co.uk/whatwevedone/iip" title="Islam Is Peace">Islam Is Peace</a></li>
<li><a href="http://mangosix.co.uk/whatwevedone/eip" title="Eid in the Park">Eid in the Park </a></li>
</ul>
<p>And to liven this post up a bit, here&#8217;s a parody trailer I helped make in 24 hours:<br />
<code></code></p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/10/08/mangosix-update-smith-wesson/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AS3 SWX Connecter: Usable Version!</title>
		<link>http://omi.mango6.com/2008/09/08/as3-swx-connecter-usable-version/</link>
		<comments>http://omi.mango6.com/2008/09/08/as3-swx-connecter-usable-version/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 23:36:48 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>
<category>as</category><category>flash</category><category>swx</category>
		<guid isPermaLink="false">http://omi.mango6.com/2008/09/08/as3-swx-connecter-usable-version/</guid>
		<description><![CDATA[Whilst the initial version worked, it was more of a proof of concept. This version is (more) ready for a production environment.
Changelog

Randomised LocalConnection IDs - now running two movies that both use this connecter works
Say where the connector is stored - just pass the url when you create the SWX object:

swx = new SWX("http://example.com/connecter.swf");
Same bugs [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst the initial version worked, it was more of a proof of concept. This version is (more) ready for a production environment.</p>
<p><strong>Changelog</strong></p>
<ul>
<li>Randomised LocalConnection IDs - now running two movies that both use this connecter works</li>
<li>Say where the connector is stored - just pass the url when you create the SWX object:</li>
</ul>
<p><code>swx = new SWX("http://example.com/connecter.swf");</code></p>
<p>Same bugs are before, Flex compatible version is in the works</p>
<p>Download <a href="http://files.mangosix.co.uk/omi/as/swx/SWX AS3 Connecter Alpha 2.zip" title="SWX AS3 Connecter Alpha 2">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/09/08/as3-swx-connecter-usable-version/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE7 + Prototype  + comma = &#8220;&#8216;undefined&#8217; is null or not an object&#8221;</title>
		<link>http://omi.mango6.com/2008/08/04/ie7-prototype-comma-undefined-is-null-or-not-an-object/</link>
		<comments>http://omi.mango6.com/2008/08/04/ie7-prototype-comma-undefined-is-null-or-not-an-object/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 16:39:17 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>

		<guid isPermaLink="false">http://omi.mango6.com/2008/08/04/ie7-prototype-comma-undefined-is-null-or-not-an-object/</guid>
		<description><![CDATA[So again an infuriating bug, all down to this thing: , &#60;&#8211;
So whenever you&#8217;re iterating (Enumerable.each() in this case) check that you haven&#8217;t got a superfluous comma in the object that you&#8217;re iterating through.
Normally this gets caught as a syntax error, but, because this code was being AJAXed, this didn&#8217;t happen and an obscure runtime [...]]]></description>
			<content:encoded><![CDATA[<p>So again an infuriating bug, all down to this thing: , &lt;&#8211;</p>
<p>So whenever you&#8217;re iterating (Enumerable.each() in this case) check that you haven&#8217;t got a superfluous comma in the object that you&#8217;re iterating through.<br />
Normally this gets caught as a syntax error, but, because this code was being AJAXed, this didn&#8217;t happen and an obscure runtime error occured, buried deep within Prototype (inside 10 levels of anonymous functions)</p>
<p>Firefox it seems is much more lenient than IE in this case as it didn&#8217;t throw any error at all, simply ignoring the comma. Again the age old debate about fixing broken code rises. I think IE got it more right in this case. Markup (HTML) is a different issue - that should be corrected (though use XHTML whenever possible), but when it comes to code you need the extra safety. In a perfect world code thats AJAXed would also throw syntax errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/08/04/ie7-prototype-comma-undefined-is-null-or-not-an-object/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Introducing the AS3 SWX Connecter</title>
		<link>http://omi.mango6.com/2008/07/28/introducing-the-as3-swx-connecter/</link>
		<comments>http://omi.mango6.com/2008/07/28/introducing-the-as3-swx-connecter/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 02:41:06 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>

		<guid isPermaLink="false">http://omi.mango6.com/2008/07/28/introducing-the-as3-swx-connecter/</guid>
		<description><![CDATA[PLEASE USE NEW VERSION
I wanted to use SWX for an upcoming Flex project so I spent yesterday knocking up this AS3 SWX Connecter that currently works, mostly.
What is it?
Essentially its two files:

SWX.as - an AS3 compatible version of the SWX Object that mimics the core library one (source)
connecter.swf - an AS2 SWF that loads the [...]]]></description>
			<content:encoded><![CDATA[<blockquote>PLEASE USE <a href="http://omi.mango6.com/2008/09/08/as3-swx-connecter-usable-version/">NEW VERSION</a></p></blockquote>
<p>I wanted to use SWX for an upcoming Flex project so I spent yesterday knocking up this AS3 SWX Connecter that currently works, mostly.</p>
<p><strong>What is it?</strong></p>
<p>Essentially its two files:</p>
<ul>
<li>SWX.as - an AS3 compatible version of the SWX Object that mimics the core library one (<a href="http://swx.pastebin.com/d59723d73" title="SWX.as Source">source</a>)</li>
<li>connecter.swf - an AS2 SWF that loads the data (<a href="http://swx.pastebin.com/f69091d0b" title="connecter.swf Source">source</a>)</li>
</ul>
<p>It is not a full port of SWX - it still uses AVM1 bytecode in the background, however it can be used with absolutely no code changes to SWX related code.</p>
<p><strong>What&#8217;s new?</strong></p>
<p>Callback functions are AS3 (say hello to Array.foreach()!) and so the scope doesn&#8217;t need to be specified:<br />
<code>result:  resultHandler</code> and <code>result: [this, resultHandler] </code> both work.</p>
<p>The core SWX library has been slightly modified to make it compatible with AS3 and to make it play nicer with the connecter. Changes to <a href="http://swx.pastebin.com/pastebin.php?diff=f55df7e82" title="SWX.as diff">SWX.as</a>, <a href="http://swx.pastebin.com/pastebin.php?diff=fb8da1e8" title="ExternalAsset.as diff">ExternalAsset.as</a> and <a href="http://swx.pastebin.com/pastebin.php?diff=f4dc08668" title="LoadManager.as diff">LoadManager.as</a>.</p>
<p><strong>See it in action</strong></p>
<p>Here&#8217;s an AS3 version of Aral&#8217;s revolutionary number adding app:</p>
<p><code></code></p>
<p><a href="http://swx.pastebin.com/f70322f03" title="Adding Numbers AS2 Source">AS2 Source</a> | <a href="http://swx.pastebin.com/f1ff151be" title="Adding Numbers AS3 Source">AS3 Source</a> | <a href="http://swx.pastebin.com/pastebin.php?diff=f1ff151be" title="AS2/AS3 diff">Compare</a></p>
<p><strong>How does it work?</strong><br />
LocalConnections are used to communicate between the connect SWF and the application, however the new SWX class abstracts away all of this, leaving just the original SWX functions. Thanks to <a href="http://flexgraphix.com/blog/?p=34" title="Nolan Butcher">Nolan Butcher</a> for the starting point.</p>
<p><strong>A Zip You Say?</strong></p>
<p>Here: <a href="http://files.mangosix.co.uk/omi/as/swx/SWX%20AS3%20Connecter%20ALPHA.zip" title="SWX AS3 Connecter ALPHA.zip">SWX AS3 Connecter ALPHA.zip</a> (575kb)</p>
<p>Includes:</p>
<ul>
<li>New SWX.as</li>
<li>connecter.swf and connecter.fla</li>
<li>Modified SWX library</li>
<li>Add Numbers - AS3 style</li>
</ul>
<p><strong>What&#8217;s wrong? </strong></p>
<ul>
<li>SWX.prepare() cannot be accessed - but who uses it anyway??</li>
<li>Setting debug: true breaks it - having looked through the SWX code, I still can&#8217;t figure out why</li>
<li>Does not work in Flex because the LocalConnection does not connect when the connecter is loaded via a Loader. Only way currently is to use a SWFLoader Component (creating a SWFLoader instance in AS does not work) but nobody wants SWFLoader MXML in their source code, defeats the point of abstracting everything to a library - maybe make a SWX component.</li>
</ul>
<p>Anyone have any ideas on these?</p>
<p><strong>TODO</strong></p>
<ul>
<li>Randomise LC ids</li>
<li>Allow user to specify location of connecter.swf</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/07/28/introducing-the-as3-swx-connecter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP: HABTM with hidden input tags</title>
		<link>http://omi.mango6.com/2008/07/01/cakephp-habtm-with-hidden-input-tags/</link>
		<comments>http://omi.mango6.com/2008/07/01/cakephp-habtm-with-hidden-input-tags/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 23:46:03 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>

		<guid isPermaLink="false">http://omi.mango6.com/2008/07/01/cakephp-habtm-with-hidden-input-tags/</guid>
		<description><![CDATA[If you&#8217;re setting the IDs for a HABTM relationship in a hidden input tag to stop the user choosing the ID (I said user, not hacker - use proper AXOs to stop them!) you need to do set the name attribute to &#8220;data[Model][Model][]&#8221; NOT &#8220;data[Model][Model]&#8221;. So you can&#8217;t use the HTML Helper, you have to [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re setting the IDs for a HABTM relationship in a hidden input tag to stop the user choosing the ID (I said user, not hacker - use proper AXOs to stop them!) you need to do set the name attribute to &#8220;data[Model][Model]<strong>[]</strong>&#8221; NOT &#8220;data[Model][Model]&#8221;. So you can&#8217;t use the HTML Helper, you have to output the raw HTML (how last decade!)</p>
<p>Or just do $this-&gt;data[&#8217;Model&#8217;][&#8217;Model&#8217;] = <strong>array($id)</strong>; before you save().</p>
<p>Applies to CakePHP 1.1, may not be relevant to 1.2.</p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/07/01/cakephp-habtm-with-hidden-input-tags/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP: Check your trailing whitespace</title>
		<link>http://omi.mango6.com/2008/06/26/cakephp-check-your-trailing-whitespace/</link>
		<comments>http://omi.mango6.com/2008/06/26/cakephp-check-your-trailing-whitespace/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 11:26:40 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>

		<guid isPermaLink="false">http://omi.mango6.com/2008/06/26/cakephp-check-your-trailing-whitespace/</guid>
		<description><![CDATA[I was having this really weird problem where the current user was being logged out when I accessed any actions from one controller. After some delving it turned out that an internal cake session variable (called Config) didn&#8217;t exist for some reason. 
A bit of Google turned me to this page, so it was just [...]]]></description>
			<content:encoded><![CDATA[<p>I was having this really weird problem where the current user was being logged out when I accessed any actions from one controller. After some delving it turned out that an internal cake session variable (called Config) didn&#8217;t exist for some reason. </p>
<p>A bit of Google turned me to <a href="http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/">this page</a>, so it was just trailing whitespace. </p>
<p>Which is just annoying when you&#8217;ve spent 30 mins debugging a bug that seemed to suddenly appear with no code changes. Now that&#8217;s scary because you&#8217;ve no idea where to start. I&#8217;m sure it wouldn&#8217;t hurt to have the webserver strip trailing whitespace so this sort of thing doesn&#8217;t happen. Unless, of course, you write your web applications in <a href="http://compsoc.dur.ac.uk/whitespace/">Whitespace</a></p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/06/26/cakephp-check-your-trailing-whitespace/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New look!</title>
		<link>http://omi.mango6.com/2008/06/10/new-look/</link>
		<comments>http://omi.mango6.com/2008/06/10/new-look/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 18:11:34 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>

		<guid isPermaLink="false">http://omi.mango6.com/2008/06/10/new-look/</guid>
		<description><![CDATA[I could write about it, but it&#8217;d be fairly boring affair about something which you can find out for yourselves.
The only slightly interesting part is the header - it&#8217;s got all of my display pictures to date and it updates!
]]></description>
			<content:encoded><![CDATA[<p>I could write about it, but it&#8217;d be fairly boring affair about something which you can find out for yourselves.</p>
<p>The only slightly interesting part is the header - it&#8217;s got all of my display pictures to date and it updates!</p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/06/10/new-look/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geek level: Critical</title>
		<link>http://omi.mango6.com/2008/04/24/geek-level-critical/</link>
		<comments>http://omi.mango6.com/2008/04/24/geek-level-critical/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 15:27:38 +0000</pubDate>
		<dc:creator>omi</dc:creator>
		
		<category><![CDATA[Omi's Posts]]></category>
<category>joys of computing</category>
		<guid isPermaLink="false">http://omi.mango6.com/2008/04/24/geek-level-critical/</guid>
		<description><![CDATA[I was astonished to learn that my P1i has had 3 firmware updates since I bought it, and it&#8217;s only because of o2&#8217;s over-protective tendencies that I haven&#8217;t been receiving them. After emancipating  myself I backed up my phone data and off I went. New firmware is much faster, Opera Mini is wicked awesome, [...]]]></description>
			<content:encoded><![CDATA[<p>I was astonished to learn that my P1i has had 3 firmware updates since I bought it, and it&#8217;s only because of o2&#8217;s over-protective tendencies that I haven&#8217;t been receiving them. After <a href="http://blog.artesea.co.uk/2008/01/debrand-your-w960-p1-for-free-or-your-p990-m600-w950.html">emancipating </a> myself I backed up my phone data and off I went. New firmware is much faster, <a href="http://www.operamini.com/">Opera Mini</a> is wicked awesome, I have a much prettier un-o2-ofied theme, access to future firmware upgrades and all is well with the world.</p>
<p>So I go to move my contacts back over from my computer. Ho Hum, oh look it&#8217;s failed, repeatedly, and I&#8217;ve finally given up on SE PC Suite. It&#8217;s been a long and frustrating journey, starting out with the P800 version. It&#8217;s buggy, crashes a lot, has multiple components that confuse me and is just bad in many different and stupid ways. So having given up on it, I did what any self respecting geek would do, which is overkill.</p>
<p>I set up a SBS 2003 server so I can use my phone&#8217;s shiny new ActiveSync support to sync my contacts, emails, RSS feeds, notes, calenders and all that jazz. This is much better than what I had before which was a pidge-podge. Before my desktop, phone and laptop, would sync separately with my multiple email accounts (which is a nightmare) and would sync with each other for everything else. Many a time items have been lost, overwritten and corrupted. Now all of my devices have a common source and all is well with the world once again. I even have web access to it. </p>
<p>I&#8217;m considering whether to move my computers into the domain (which I named lolCorp) and have it managed by the server (which I named lolEnforcer). There&#8217;s no REAL reason to, i.e. I&#8217;ve not yet found a reason apart from its impressive (in some circles) to run your home network on a domain. </p>
<p>Also since the mangoSix internal server gave up last week (it&#8217;s CPU temp would constantly rise when it was booted up until it reached 95C, where it would shutdown instantaneously) I&#8217;m considering whether to move it over to the SBS server. Moving over the configuration wouldn&#8217;t be a problem, just the repository history). </p>
<p>I leave you with a picture of my new workspace after The Great Move of Last Week (I moved from the box room to the lovely newly converted garage):<br />
<a href="http://files.mangosix.co.uk/omi/blog/setup.jpg"><img src="http://files.mangosix.co.uk/omi/blog/setup.jpg" alt="My Cave" width="512"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://omi.mango6.com/2008/04/24/geek-level-critical/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
