<?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>UNENDED &#187; Programming</title>
	<atom:link href="http://unended.com/blog/topics/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://unended.com/blog</link>
	<description>Blog</description>
	<lastBuildDate>Tue, 29 Nov 2011 18:36:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fatal Error: Allowed Memory Size Fix for ExpressionEngine 2.0 PB</title>
		<link>http://unended.com/blog/archives/fatal-error-allowed-memory-expressionengine-2/</link>
		<comments>http://unended.com/blog/archives/fatal-error-allowed-memory-expressionengine-2/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 03:43:57 +0000</pubDate>
		<dc:creator>Patrick Ashamalla</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ExpressionEngine]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://unended.com/blog/?p=207</guid>
		<description><![CDATA[I've been running a couple of tests with a new installation of Expression Engine 2.0 Public Beta. Everything has been running pretty smoothly, but I did run into an error when I tried to edit existing pages added during the installation (if you selected to have Agile Records added).]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running a couple of tests with a new installation of Expression Engine 2.0 Public Beta. Everything has been running pretty smoothly, but I did run into an error when I tried to edit existing pages added during the installation (if you selected to have Agile Records added).</p>
<p>When trying to edit an entry would get:</p>
<pre><code>Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 311296 bytes) in...</code></pre>
<p>A quick workaround for this is to add the following line of code at the top of your admin index.php page.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'memory_limit'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'32M'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>I&#8217;m only running a local version on my MacBook Pro MAMP PRO setup for my own testing purposes so this is going to be pretty isolated, but I thought I&#8217;d post this in case somebody else runs into the same snag.</p>
]]></content:encoded>
			<wfw:commentRss>http://unended.com/blog/archives/fatal-error-allowed-memory-expressionengine-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&quot;No input file specified.&quot; ExpressionEngine Issue Resolved</title>
		<link>http://unended.com/blog/archives/no-input-file-specified-expressionengine/</link>
		<comments>http://unended.com/blog/archives/no-input-file-specified-expressionengine/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:29:15 +0000</pubDate>
		<dc:creator>Patrick Ashamalla</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[ExpressionEngine]]></category>

		<guid isPermaLink="false">http://unended.com/blog/?p=204</guid>
		<description><![CDATA[This morning I woke up to a downed site. I could log into the administration section of the site, but none of the public-facing pages worked. Turns out it ended up being a small change that was needed in the .htaccess file.]]></description>
			<content:encoded><![CDATA[<p>This morning I woke up to a downed site. I could log into the administration section of the site, but none of the public-facing pages worked. Looks like this might be specific to ExpressionEngine on Dreamhost, but I&#8217;m not completely sure about this.</p>
<p>Since we hadn&#8217;t made any changes to the site in a long while I was a little confused about what could be causing the issue. Turns out it ended up being a small change that was needed in the .htaccess file.</p>
<p>Here is a copy of line 3 in the .htaccess code before the change:</p>
<p><code>RewriteRule ^(.*)$ /index.php/$1 [L]</code></p>
<p>Turns out that I just needed to add a &#8216;?&#8217; right after the &#8216;php&#8217; like this:</p>
<p><code>RewriteRule ^(.*)$ /index.php?/$1 [L]</code></p>
<p>Once I made this little change everything was back up and running.</p>
<p>Again, this change looks like it was specific to Dreamhost. I checked out a few other sites that use ExpressionEngine on other hosts where I know the .htaccess file hasn&#8217;t been changed, and they are still up and running.</p>
<p>If somebody else knows what might have caused the change in functionality please feel free to weigh in.</p>
]]></content:encoded>
			<wfw:commentRss>http://unended.com/blog/archives/no-input-file-specified-expressionengine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MathUtilities Class (AS 3)</title>
		<link>http://unended.com/blog/archives/math2-class-actionscript-2-and-3/</link>
		<comments>http://unended.com/blog/archives/math2-class-actionscript-2-and-3/#comments</comments>
		<pubDate>Tue, 29 May 2007 03:20:21 +0000</pubDate>
		<dc:creator>Patrick Ashamalla</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.unended.com/blog/archives/2007/05/math2-class-actionscript-20/</guid>
		<description><![CDATA[A couple of years ago I put together a class called Math2. It was an ActionScript 2.0 class that extends the core Math class in Flash. A majority of the methods are based off of functions Robert Penner's <strong>Programming for Macromedia Flash MX</strong>. I have since extended this class and converted it to ActionScript.]]></description>
			<content:encoded><![CDATA[<p>While the core classes in Flash have most of what I need, I often find myself wishing there were a few extra elements built into those classes.</p>
<p>A couple of years ago I put together a class called Math2. It was an ActionScript 2.0 class that extends the core Math class in Flash. A majority of the methods are based off of functions <a href="http://www.robertpenner.com/">Robert Penner&#8217;s <strong>Programming for Macromedia Flash MX</strong></a>. I have since extended this class and converted it to ActionScript.</p>
<p>MathUtilities features include:</p>
<p>- radiansToDegrees<br />
- <strong>degreesToRadians</strong><br />
- sinD<br />
- cosD<br />
- tanD<br />
- atan2D<br />
- angleOfLine<br />
- acosD<br />
- asinD<br />- fixAngle<br />
- cartisianToPolar<br />
- polarToCartisian<br />
- color24<br />
- color32</p>
<p>I also added the following public methods to the class:</p>
<p>- mean<br />
- median<br />
- mode<br />
- range</p>
<p><span class="strike">I have not yet updated the class for ActionScript 3.0, but hope to do so soon.</span> Converting this to AS 3 was easier than I thought seeing as this class isn&#8217;t very involved. The link is below. If you find this class useful, feel free to use and distribute this class freely, provided that it is not modified in any way (including removing the header or changing the package path):</p>
<p>- <a href='/blog/?dl=MathUtilities_as3.zip' title='Math2 ActionScript 3.0 Class'><span class="strike">Math 2</span>MathUtilities &#8211; ActionScript 3.0</a></p>
<p>Unfortunately I cannot provide any support for this class so please use the class in your projects at your own risk. If you would like to report any bugs, or have any feature requests, please feel free to post them here. All feedback is welcome.</p>
<p><a href='/blog/?dl=MathUtilities_as3.zip' title='ActionScript 3.0 Math Utilities Class (was Math2).'>ActionScript 3.0 Math Utilities Class (was Math2).</a></p>
<p>&#8211;</p>
<p><strong>Updates</strong><br />
// 16.11.2008 &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - -<br />
New behaviors added:<br />
- radiansToDegrees<br />
- color24<br />
- color32</p>
<p>Syntax changes:<br />
- minor parameter names<br />
- changed class name to MathUtilities from Math2<br />
- moved the class to the new package &#8216;com.unended.util&#8217; (from com.unended.core)</p>
]]></content:encoded>
			<wfw:commentRss>http://unended.com/blog/archives/math2-class-actionscript-2-and-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

