<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A Clockwork Noodle</title>
	<atom:link href="http://greensweater.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://greensweater.wordpress.com</link>
	<description>Make such knaveries yours!</description>
	<lastBuildDate>Wed, 07 Dec 2011 23:58:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='greensweater.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Clockwork Noodle</title>
		<link>http://greensweater.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://greensweater.wordpress.com/osd.xml" title="A Clockwork Noodle" />
	<atom:link rel='hub' href='http://greensweater.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Eclipse PHP with VMWare LAMP on Windows</title>
		<link>http://greensweater.wordpress.com/2011/01/21/eclipse-php-with-vmware-lamp-on-windows/</link>
		<comments>http://greensweater.wordpress.com/2011/01/21/eclipse-php-with-vmware-lamp-on-windows/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 18:56:34 +0000</pubDate>
		<dc:creator>greensweater</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://greensweater.wordpress.com/?p=207</guid>
		<description><![CDATA[With the free tools now available I decided to jump in and finally set up a better PHP toolkit. I work primarily in Windows&#8230; so there&#8217;s that&#8230; and my end production environments are half IIS and half LAMP so I set up IIS locally with PHP and also installed VMWare Player with a LAMP appliance [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greensweater.wordpress.com&amp;blog=195740&amp;post=207&amp;subd=greensweater&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the free tools now available I decided to jump in and finally set up a better PHP toolkit. I work primarily in Windows&#8230; so there&#8217;s that&#8230; and my end production environments are half IIS and half LAMP so I set up IIS locally with PHP and also installed VMWare Player with <a href="http://www.rpath.com/corp/try-rpath">a LAMP appliance from rPath</a> on the VMWare site. My criteria for the LAMP appliance were a. LAMP and b. smallest download.</p>
<p>VMWare Player is awesome. Installation is a breeze, and running the appliance is pretty simple. One annoying trick with this one is that Ctrl-Alt is the shortcut to return keyboard/mouse control to the system, and the VM demands Ctrl-Alt-F2 for shell login. You need to hold Ctrl-Alt-SPACE-F2. </p>
<p>VMWare installs a pair of virtual network interfaces which you can use in Windows to talk to your VM. You have network options of Host-Only, NAT or Bridged. I first used Host-Only which assigned an IP address from my machine, but ended up using Bridged which uses an IP from your physical network &#8212; this was needed in order to connect to the outside world to retrieve installation packages. Either way, you want to be able to hit http://192.168.x.x which is the address the VM is running on, and you should see a LAMP appliance welcome screen. Use ifconfig, ifdown eth0 and ifup eth0 to mess around with the interface.</p>
<p>At first all I cared about was setting up FTP access so I could dump my files into the Apache document root. On this VM the documents are stored under /srv which was a little weird. I needed to make some changes to /etc/vsftpd.conf in order to set up FTP service the way I wanted it. Once that was done, I had my working LAMP dev environment and could do things the way I always had.</p>
<p>Once I had Eclipse installed, I wanted a way to simplify the way to deploy code to the VM. I found <a href="http://aptana.com/">Aptana Studio</a> which, among other things, allows you to synchronize local project files to a remote system (or VM in this case). All that was left was a way to round out the IDE with integrated debugging.</p>
<p>Eclipse PHP is automatically set up for use with Zend or XDebug. Zend didn&#8217;t seem like an option after the above setup so I went after XDebug. However it was a little tricky to get going on the VM since rPath had trimmed out a lot of utility &#8220;stuff&#8221;. They used a package manager called conary (new to me) and XDebug wasn&#8217;t included. XDebug would have been a snap to install using PECL but there were several missing dependencies:</p>
<p> &#8211; php (the php:devel libraries needed to build php extensions with phpize were not included, such as php.h)<br />
 &#8211; autoconf (from the world of compiling-from-source)<br />
 &#8211; gcc (the c compiler)<br />
 &#8211; glibc (the c libraries with which to build the extension)</p>
<p>As you can guess, I trudged through these missing dependencies as PECL returned error messages. Luckily all of these were available in rPath&#8217;s repository. I had no problems running these installers:</p>
<p><code>conary update php<br />
conary update autoconf<br />
conary update gcc<br />
conary update glibc</code></p>
<p>During my flailings I got an error about out-of-date channel for PECL so I ran a channel update (basically, what it told me to do):</p>
<p><code>pecl channel-update pecl.php.net</code></p>
<p>Then the XDebug install using PECL went perfectly.</p>
<p><code>pecl install xdebug</code></p>
<p>Once I actually had the XDebug.so created, I added the following lines to /etc/php.ini:</p>
<p><code>[xdebug]<br />
zend_extension="/usr/lib/php5/xdebug.so"<br />
xdebug.remote_enable=on<br />
xdebug.remote_log="/var/log/xdebug.log"<br />
xdebug.remote_host=127.0.0.1<br />
xdebug.remote_handler=dbgp<br />
xdebug.remote_port=9000</code></p>
<p>Restarted apache (/etc/init.d/httpd restart).</p>
<p>In Eclipse, I needed to set up my debugging to use an SSH tunnel (Run-&gt;Debug Configurations-&gt;Advanced) which allowed me to connect to the &#8220;remote host&#8221; of 127.0.0.1. Apparently Eclipse will automatically set up forwarding for port 9000.</p>
<p>That&#8217;s it! Eclipse PHP with full debug capabilities through a LAMP VM appliance. It may have been easier to put XAMPP on my machine but I think I prefer the cleanliness of the VM. Also, rPath itself offers a way to generate custom VMs which includes all of the above, but I&#8217;m still fiddling around with their interface.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greensweater.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greensweater.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greensweater.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greensweater.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greensweater.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greensweater.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greensweater.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greensweater.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greensweater.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greensweater.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greensweater.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greensweater.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greensweater.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greensweater.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greensweater.wordpress.com&amp;blog=195740&amp;post=207&amp;subd=greensweater&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greensweater.wordpress.com/2011/01/21/eclipse-php-with-vmware-lamp-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a11a3ee9df2b8e876a2b3e4a2f9a821?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greensweater</media:title>
		</media:content>
	</item>
		<item>
		<title>AVISynth and Premiere Pro CS4, audio problems</title>
		<link>http://greensweater.wordpress.com/2010/04/26/avisynth-and-premiere-pro-cs4-audio-problems/</link>
		<comments>http://greensweater.wordpress.com/2010/04/26/avisynth-and-premiere-pro-cs4-audio-problems/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 15:00:07 +0000</pubDate>
		<dc:creator>greensweater</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[AVISynth]]></category>
		<category><![CDATA[Premiere]]></category>
		<category><![CDATA[VOB]]></category>

		<guid isPermaLink="false">http://greensweater.wordpress.com/2010/04/26/avisynth-and-premiere-pro-cs4-audio-problems/</guid>
		<description><![CDATA[I am trying to import VOB files into Premiere using AVISynth and the AVISynth v1.95 plugin. My VOBs use MPA audio. I was having major problems with audio coming across as absolutely blasting &#8212; I thought my earbuds were going to explode in my head. The solution was to use ConvertAudioTo16Bit(clip) as the plugin was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greensweater.wordpress.com&amp;blog=195740&amp;post=204&amp;subd=greensweater&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am trying to import VOB files into Premiere using AVISynth and the AVISynth v1.95 plugin. My VOBs use MPA audio. I was having major problems with audio coming across as absolutely blasting &#8212; I thought my earbuds were going to explode in my head.</p>
<p>The solution was to use ConvertAudioTo16Bit(clip) as the plugin was unable to recognize that the audio was originally in 16bit MP3 format.</p>
<p>The clip works fine in VirtualDub so I&#8217;m thinking it&#8217;s just a problem with the Premiere plugin. Hopefully my ears will stop ringing soon so I can finish this project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greensweater.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greensweater.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greensweater.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greensweater.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greensweater.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greensweater.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greensweater.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greensweater.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greensweater.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greensweater.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greensweater.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greensweater.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greensweater.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greensweater.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greensweater.wordpress.com&amp;blog=195740&amp;post=204&amp;subd=greensweater&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greensweater.wordpress.com/2010/04/26/avisynth-and-premiere-pro-cs4-audio-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a11a3ee9df2b8e876a2b3e4a2f9a821?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greensweater</media:title>
		</media:content>
	</item>
	</channel>
</rss>
