<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>massive missive</title>
	<atom:link href="http://blog.massivemissive.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.massivemissive.com</link>
	<description>you are having problems.</description>
	<lastBuildDate>Fri, 31 Oct 2008 12:53:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>using the parent() function in e4x epressions and actionscript to create complex queries.</title>
		<link>http://blog.massivemissive.com/?p=9</link>
		<comments>http://blog.massivemissive.com/?p=9#comments</comments>
		<pubDate>Fri, 31 Oct 2008 12:35:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[e4x]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://blog.massivemissive.com/?p=9</guid>
		<description><![CDATA[Let&#8217;s say you have the following xml for greeting cards.

&#60;designlist&#62;


 &#60;design
 id="123"
 title="Happy Hanukkah"
 previewImageUrl="assets/demo/images/g0022_4x6h_preview.jpg"
 thumbImageUrl=""&#62;
 &#60;tags&#62;
 &#60;tag id='1231'&#62;Holiday&#60;/tag&#62;
 &#60;tag id='3242'&#62;Hanukkah&#60;/tag&#62;
 &#60;/tags&#62;
 &#60;/design&#62;
&#160;
&#60;design

 id="456"
 title="Happy New Year"
 previewImageUrl="assets/demo/images/g0412_4x6h_preview.jpg"
 thumbImageUrl=""&#62;
 &#60;tags&#62;
 &#60;tag id='1231'&#62;Holiday&#60;/tag&#62;
 &#60;tag id='2342'&#62;New Year&#60;/tag&#62;
 &#60;/tags&#62;

 &#60;/design&#62;
&#160;
&#60;design

 id="8284"
 title="Merry Xmas"
 previewImageUrl="assets/demo/images/g0256_4x6v_preview.jpg"
 thumbImageUrl=""&#62;

 &#60;tags&#62;
 &#60;tag id='1231'&#62;Holiday&#60;/tag&#62;
 &#60;tag id='3242'&#62;XMas&#60;/tag&#62;
 &#60;tag id='8323'&#62;Christmas&#60;/tag&#62;
 &#60;/tags&#62;

 &#60;/design&#62;
&#160;
&#60;design

 id="8284"
 title="Happy Happy Happy"
 [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you have the following xml for greeting cards.<br />
<code><br />
&lt;designlist&gt;</code><code><br />
</code></p>
<blockquote>
<p align="left"><code> &lt;design</code></p>
<blockquote><p><code> id="123"</code><br />
<code> title="Happy Hanukkah"</code><br />
<code> previewImageUrl="assets/demo/images/g0022_4x6h_preview.jpg"</code><br />
<code> thumbImageUrl=""&gt;</code><br />
<code> &lt;tags&gt;</code></p>
<blockquote><p><code> &lt;tag id='1231'&gt;Holiday&lt;/tag&gt;</code><br />
<code> &lt;tag id='3242'&gt;Hanukkah&lt;/tag&gt;</code></p></blockquote>
<p><code> &lt;/tags&gt;</code></p></blockquote>
<p><code> &lt;/design&gt;</code></p>
<p align="left">&nbsp;</p>
<p align="left"><code>&lt;design<br />
</code></p>
<blockquote><p><code> id="456"</code><br />
<code> title="Happy New Year"</code><br />
<code> previewImageUrl="assets/demo/images/g0412_4x6h_preview.jpg"</code><br />
<code> thumbImageUrl=""&gt;</code><br />
<code> &lt;tags&gt;</code></p>
<blockquote><p><code> &lt;tag id='1231'&gt;Holiday&lt;/tag&gt;</code><br />
<code> &lt;tag id='2342'&gt;New Year&lt;/tag&gt;</code></p></blockquote>
<p><code> &lt;/tags&gt;</code><br />
<code></code></p></blockquote>
<p align="left"><code> &lt;/design&gt;</code></p>
<p align="left">&nbsp;</p>
<p align="left"><code>&lt;design<br />
</code></p>
<blockquote><p><code> id="8284"</code><br />
<code> title="Merry Xmas"</code><br />
<code> previewImageUrl="assets/demo/images/g0256_4x6v_preview.jpg"</code><br />
<code> thumbImageUrl=""&gt;</code><br />
<code></code></p></blockquote>
<blockquote><p><code> &lt;tags&gt;</code></p>
<blockquote><p><code> &lt;tag id='1231'&gt;Holiday&lt;/tag&gt;</code><br />
<code> &lt;tag id='3242'&gt;XMas&lt;/tag&gt;</code><br />
<code> &lt;tag id='8323'&gt;Christmas&lt;/tag&gt;</code></p></blockquote>
<p><code> &lt;/tags&gt;</code><br />
<code></code></p></blockquote>
<p align="left"><code> &lt;/design&gt;</code></p>
<p align="left">&nbsp;</p>
<p align="left"><code>&lt;design<br />
</code></p>
<blockquote><p><code> id="8284"</code><br />
<code> title="Happy Happy Happy"</code><br />
<code> previewImageUrl="assets/demo/images/g0055_4x6v_preview.jpg"</code><br />
<code> thumbImageUrl=""&gt;</code><br />
<code></code></p></blockquote>
<blockquote><p><code> &lt;tags&gt;</code></p>
<blockquote><p><code> &lt;tag id='1231'&gt;Holiday&lt;/tag&gt;</code><br />
<code> &lt;tag id='3242'&gt;Happy&lt;/tag&gt;</code><br />
<code> &lt;tag id='3242'&gt;Wonderful&lt;/tag&gt;</code></p></blockquote>
<p><code> &lt;/tags&gt;</code><br />
<code></code></p></blockquote>
<p align="left"><code> &lt;/design&gt;</code></p>
</blockquote>
<p><code>&lt;/designlist&gt;</code></p>
<p><code>&lt;/design&gt;</code></p>
<p>And let&#8217;s say we wanted to return the titles for designs for that are tagged with &#8220;New Year&#8221;. This is tricky because the tags are further down the XML tree than the title, which is an attribute of the design itself.  How would we express this in e4x and actionscript?</p>
<h5><code>var titles:XMLList = designViewerPanel.designListXml.design.@title.(parent().design.tags.(tag=="New Year"));</code></h5>
<p>The key here is to use the parent() function, which returns us back to the top level of the xml tree. We can then express the particular tag we are looking for.</p>
<p>I still haven&#8217;t figured out how to do the same expression with out specifying the designs.tags&#8230;in other words, I&#8217;d like to say something like</p>
<p><code><br />
(parent()..(tag=="New Year"))<br />
</code></p>
<p>but when I try this I get an error&#8230;actionscript doesn&#8217;t seem to like the parenthesis next to &#8216;tag&#8217;. Ideas anyone?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massivemissive.com/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing the default setting for del.icio.us bookmarks app to Do Not Share</title>
		<link>http://blog.massivemissive.com/?p=7</link>
		<comments>http://blog.massivemissive.com/?p=7#comments</comments>
		<pubDate>Tue, 10 Jun 2008 09:22:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.massivemissive.com/?p=7</guid>
		<description><![CDATA[When I tag a page using del.icio.us, I always have to click &#8220;do not share&#8221; if I don&#8217;t want the link showing up on facebook and elsewhere. Annoying!
This can be changed.
Open firefox. Type in
about:config
into the address bar. Right click anywhere on the page. From the menu that appears, select New-&#62;Interger.
It will ask for a name [...]]]></description>
			<content:encoded><![CDATA[<p>When I tag a page using del.icio.us, I always have to click &#8220;do not share&#8221; if I don&#8217;t want the link showing up on facebook and elsewhere. Annoying!</p>
<p>This can be changed.</p>
<p>Open firefox. Type in</p>
<p>about:config</p>
<p>into the address bar. Right click anywhere on the page. From the menu that appears, select New-&gt;Interger.</p>
<p>It will ask for a name of the new preference. Enter:</p>
<p>extensions.ybookmarks@yahoo.sharemode</p>
<p>It will ask for a value next. Type</p>
<p>1</p>
<p>That&#8217;s it! Now the delicious app will default to having the &#8220;Do Not Share&#8221; option selected. I really wish they made this more straight forward.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massivemissive.com/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Subversion integration with Active Reload&#8217;s wonderful Lighthouse Issue Tracking site.</title>
		<link>http://blog.massivemissive.com/?p=5</link>
		<comments>http://blog.massivemissive.com/?p=5#comments</comments>
		<pubDate>Thu, 03 Apr 2008 22:12:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.massivemissive.com/?p=5</guid>
		<description><![CDATA[I realize this post is probably not as interesting as  integrating Lighthouseapp with GIT but I thought I would jot down a couple of notes.
There is a great script that shows you how to set up subversion with lighthouse here:
http://www.lighthouseapp.com/help/setting-up-subversion-integration
The documentation is sufficient, but too sparse for my tastes.
Here&#8217;s some notes that might help [...]]]></description>
			<content:encoded><![CDATA[<p>I realize this post is probably not as interesting as  <a href="http://weblog.rubyonrails.org/2008/4/2/rails-is-moving-from-svn-to-git">integrating Lighthouseapp with GIT</a> but I thought I would jot down a couple of notes.</p>
<p>There is a great script that shows you how to set up subversion with lighthouse here:</p>
<p><a href="http://www.lighthouseapp.com/help/setting-up-subversion-integration">http://www.lighthouseapp.com/help/setting-up-subversion-integration</a></p>
<p>The documentation is sufficient, but too sparse for my tastes.</p>
<p>Here&#8217;s some notes that might help you.</p>
<p>1.  First of all, you&#8217;ll need to know where your subversion repository is stored on your server. Let&#8217;s say its in: /svn/repos</p>
<p>2. In that folder there should be another folder called &#8220;hooks&#8221;. You&#8217;ll need to create a file called &#8220;post-commit&#8221; in this directory, if there isn&#8217;t one already. In that empty file put the following:</p>
<p><code><br />
#!/bin/sh</code></p>
<p><code>REPOS="$1"<br />
REV="$2"<br />
</code><br />
<code>/svn/repos/hooks/lighthouse.rb "$REPOS" "$REV"</code></p>
<p>4. Next, copy the script from the link at the top of this page to a file called &#8220;lighthouse.rb&#8221; in the /svn/repos/hooks/ directory. You&#8217;ll need to change a few things in this file. You&#8217;ll need to set the token to the api token you created on lighthouseapp. I&#8217;m not entirely sure what the seperate user tokens that follow that are for&#8230;ours seems to work fine without each user having their own token. &#8220;Account&#8221; is the the base url of your lighthouseapp page. Should be something like &#8216;http://mycompany.lighthouseapp.com&#8217;. The project number, which the author claims is self expanatory, is the number that you find in the URL when you are looking at a particular issue. For instance, your URL might look like this:</p>
<p><code></p>
<p>http://mycompany.lighthouseapp.com/projects/8958-launch/overview</code></p>
<p>You want the 8958 from here&#8230;you don&#8217;t want to include the &#8220;-launch&#8221; part. I disabled  the &#8220;prefix:&#8221; option by deleting this line completely, and removing the comma from the previous line.</p>
<p>5. Finally, you have to make sure that your permissions on your post-commit and your lighthouse.rb file are executable. To test, you could do a chmod 777 lighthouse.rb and chmod 777 post-commit. You&#8217;ll want to set these more strictly once you have your server set up.</p>
<p>6. That&#8217;s it. You should be able to run</p>
<p>./post-commit /svn/repos 200</p>
<p>from your hooks directory (200 is the number of an existing revision in your subversion repository), and it should run. On lighthouse, you should see a new entry that says &#8220;changeset&#8221; with information about the revision, and who made it. Any new commits with now show up in lighthouse as well.</p>
<p><a href="http://blog.massivemissive.com/wp-content/uploads/2008/04/picture-3.png" title="picture-3.png"><img src="http://blog.massivemissive.com/wp-content/uploads/2008/04/picture-3.png" alt="picture-3.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massivemissive.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>creating control arrays with qcodo</title>
		<link>http://blog.massivemissive.com/?p=4</link>
		<comments>http://blog.massivemissive.com/?p=4#comments</comments>
		<pubDate>Wed, 12 Mar 2008 05:12:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[qcodo]]></category>

		<guid isPermaLink="false">http://blog.massivemissive.com/?p=4</guid>
		<description><![CDATA[Lately I&#8217;ve been playing around with the qcodo framework. There&#8217;s a lot of things to love about qcodo, but the 4 or 5 lines of code required to put together a single control is not one of them.
For instance, if I wanted to create a text box on a page. I could something like this.
class [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been playing around with the <a href="http://qcodo.com">qcodo</a> framework. There&#8217;s a lot of things to love about qcodo, but the 4 or 5 lines of code required to put together a single control is not one of them.</p>
<p>For instance, if I wanted to create a text box on a page. I could something like this.</p>
<p><code>class MyCoolPage extends QForm {<br />
</code></p>
<blockquote><p><code> protected $txtYourNameGoesHere;</code><br />
<code> function Form_Create{</code></p>
<blockquote><p><code> $txtYourNameGoesHere = new QLabel($this);</code><br />
<code> $txtYourNameGoesHere-&gt;Name = "NameBox";</code><br />
<code> $txtYourNameGoesHere-&gt;Text = "Write your name here";</code><br />
<code> $txtYourNameGoesHere-&gt;Width = 100;</code><br />
<code> $txtYourNameGoesHere-&gt;CssClass = "name-box";</code><br />
<code> $txtYourNameGoesHere-&gt;Required = TRUE;</code></p></blockquote>
<p><code> }</code><br />
<code></code></p></blockquote>
<p><code> }<br />
</code></p>
<p>If you just have one or two controls on a page, this is not big deal, but if you have a full page of text boxes and labels this gets unwieldy quickly. One solution for this is to first create an array with details about all the controls you&#8217;d like to have on your pages, then create a second control array that contains all of your controls. For instance, you can do something like this:<br />
<code><br />
protected $arrListOfControls = Array();<br />
protected $arrControls = Array();<br />
function Form_Create() {<br />
</code></p>
<blockquote><p><code> $arrListOfControls = Array(</code><br />
<code></code></p>
<blockquote><p><code> 'BillName' 		=&gt; Array('Name' =&gt; 'BillName',		'Text'=&gt;'Default Name', 			'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'addressee'),</code><br />
<code> 'BillAddress1' 	=&gt; Array('Name' =&gt; 'BillAddress1',	'Text'=&gt;'default Address1', 		'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'street-address'),</code><br />
<code> 'BillAddress2' 	=&gt; Array('Name' =&gt; 'BillAddress2',	'Text'=&gt;'default Address2', 		'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'street-address'),</code><br />
<code> 'BillCity' 		=&gt; Array('Name' =&gt; 'BillCity',		'Text'=&gt;'default City', 			'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'locality'),</code><br />
<code> 'BillZip' 		=&gt; Array('Name' =&gt; 'BillZip',		'Text'=&gt;'99999', 					'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'postal-code'),</code><br />
<code> 'BillState'		=&gt; Array('Name' =&gt; 'BillState',		'Text'=&gt;'ST', 						'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'region'),</code><br />
<code> 'BillPhone' 	=&gt; Array('Name' =&gt; 'BillPhone',		'Text'=&gt;'123-452-4444', 			'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'country-name'),</code><br />
<code> 'ShipName'		=&gt; Array('Name' =&gt; 'ShipName',		'Text'=&gt;'Default Name',			 	'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'addressee'),</code><br />
<code> 'ShipAddress1' 	=&gt; Array('Name' =&gt; 'ShipAddress1',	'Text'=&gt;'default Address1', 		'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'street-address'),</code><br />
<code> 'ShipAddress2' 	=&gt; Array('Name' =&gt; 'ShipAddress2',	'Text'=&gt;'default Address2', 		'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'street-address'),</code><br />
<code> 'ShipCity' 		=&gt; Array('Name' =&gt; 'ShipCity',		'Text'=&gt;'default City',			 	'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'locality'),</code><br />
<code> 'ShipZip' 		=&gt; Array('Name' =&gt; 'ShipZip',		'Text'=&gt;'99998', 					'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'postal-code'),</code><br />
<code> 'ShipState'		=&gt; Array('Name' =&gt; 'ShipState',		'Text'=&gt;'TS', 						'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'region'),</code><br />
<code> 'ShipPhone' 	=&gt; Array('Name' =&gt; 'ShipPhone',		'Text'=&gt;'777-777-7777', 			'Width' 	=&gt; 100,	'Required' =&gt; false,	'Type' =&gt; 'Label', 	'CssClass'=&gt;'country-name')</code></p></blockquote>
<p><code> foreach ($arrListOfControls as $ctlname =&gt; $properties) {</code></p>
<blockquote><p><code> buildTextBoxes ( $arrControls[$ctlname] );</code><br />
<code></code></p></blockquote>
<p><code> }</code><br />
<code></code></p></blockquote>
<p><code> }<br />
function buildTextBoxes(&amp;$ctl , array $properties) {<br />
</code></p>
<blockquote><p><code> $ctl = new QTextBox($this, $properties['Name']);</code><br />
<code> $ctl-&gt;CssClass = $properties['CssClass'];</code><br />
<code> $ctl-&gt;Width = $properties['Width'];</code><br />
<code> $ctl-&gt;Text = $properties['Text'];</code><br />
<code> $ctl-&gt;BlahBlahBlah = $properties['BlahBlahBlah'];</code><br />
<code></code></p></blockquote>
<p><code> }<br />
</code></p>
<p>Notice two things of importance here&#8230;in the buildTextBoxes function, there is an ampersand&#8230;this informs php to pass the whole variable, instead of just the value of the variable. When the function is complete, the new control object dressed up in the properties you provided. Another thing to note is when we create the QTextBox, we specifiy a name for the control. This is important to distinguish the contols in your html source when you view them page&#8230;it makes formatting your template easier!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massivemissive.com/?feed=rss2&amp;p=4</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is this all about?</title>
		<link>http://blog.massivemissive.com/?p=3</link>
		<comments>http://blog.massivemissive.com/?p=3#comments</comments>
		<pubDate>Fri, 07 Mar 2008 09:36:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.massivemissive.com/?p=3</guid>
		<description><![CDATA[So I&#8217;ve been wanting, for some time now, to put together a blog, the sole purpose of which is to record my geeky finds from around the internet. Others have saved me countless hours by posting their solutions, I just want to give something back.
My plan here is to not waste a lot of time [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been wanting, for some time now, to put together a blog, the sole purpose of which is to record my geeky finds from around the internet. Others have saved me countless hours by posting their solutions, I just want to give something back.</p>
<p>My plan here is to not waste a lot of time customizing this site; I spent 10 minutes getting this blog in place and I don&#8217;t want to spend any more time. I don&#8217;t want a headache when I go to upgrade to the next version of wordpress.</p>
<p>This blog is all about keeping it simple and saving time.</p>
<p>So there you have it, the stock theme,  plaintxtBlog, by Scott Allan Wallick. Thanks Scott!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massivemissive.com/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
