<?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>humantropy</title>
	<atom:link href="http://humantropy.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://humantropy.com/blog</link>
	<description>a tendency towards disorder...</description>
	<lastBuildDate>Thu, 15 Mar 2012 13:28:48 +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>remotely debugging PHP in netbeans</title>
		<link>http://humantropy.com/blog/?p=576</link>
		<comments>http://humantropy.com/blog/?p=576#comments</comments>
		<pubDate>Wed, 14 Mar 2012 15:56:58 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[jEdit]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=576</guid>
		<description><![CDATA[<p>I normally edit PHP in jEdit but it does not support PHP debugging. Netbeans is an open-source free editor that can be configured with a PHP module that does support debugging, which turns out works pretty well (as of this writing I am using Netbeans 7.1).  Xdebug is the PHP extension I am using. In [...]]]></description>
			<content:encoded><![CDATA[<p>I normally edit PHP in jEdit but it does not support PHP debugging. <a title="netbeans" href="http://netbeans.org/" target="_blank">Netbeans</a> is an open-source free editor that can be configured with a PHP module that does support debugging, which turns out works pretty well (as of this writing I am using Netbeans 7.1).  <a href="http://xdebug.org" target="_blank">Xdebug</a> is the PHP extension I am using. In Ubuntu you can install it with:</p>
<pre>sudo apt-get install php5-xdebug
sudo /etc/init.d/apache2 force-reload</pre>
<p>Of course you install it either on your local machine for local debugging, or on the remote server you want to debug. I won&#8217;t go into detail about the increased load on your server or security risks, those are for you to research and make informed decisions. Here&#8217;s more information about  configuring <a href="http://wiki.netbeans.org/HowToConfigureXDebug" target="_blank">Netbeans to use Xdebug</a>. If you are trying to debug a remote server, make sure to read <a href="http://wiki.netbeans.org/HowToConfigureXDebug#Remote_Debuging" target="_blank">this</a>. Basically your php.ini has to have the following:</p>
<pre>[xdebug]
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=LOCAL_MACHINE_IP
xdebug.remote_port=9000</pre>
<p>Replace LOCAL_MACHINE_IP with your ip address. Xdebug is set up to only allow one IP to use the debugging feature. My setup is such that I have a fixed IP to use. I&#8217;m sure you could use DynDNS or some other such service if you do not have a fixed IP.</p>
<p>My breakthrough in getting this to work was understanding the debugging dynamics. It is easy to debug a simple page, but what if you need to debug a form submission? You can&#8217;t just go to the submission page and hit debug, because you&#8217;ll be missing the GET or POST variables you need to make it work. To make this work a bit more easily, download and install <a href="https://addons.mozilla.org/en-US/firefox/addon/easy-xdebug/">Easy-Xdebug</a>, a Firefox extension.</p>
<p>Now go to Netbeans, and &#8220;Tools-&gt;Options-&gt;PHP&#8221;. Go to the debugging tab and make sure you select &#8220;stop at first line&#8221;. Now, right-click on  your project in the Project window (usually on the upper left in Netbeans).  You are looking for the project properties. When this window opens, go to &#8220;Run Configuration-&gt;Advanced&#8221;. Select &#8220;Do Not Open Web Browser&#8221;. This was the only way I could stop Netbeans from debugging the file (without GET or POST vars) instead of just listening for a debug connection. I&#8217;m assuming you&#8217;ve set up everything else under project properties to enable the debugger to connect to the server (correct paths, etc). Save preferences, and hit the debug button. It doesn&#8217;t really matter what file you have open, you are just putting Netbeans into &#8220;listening mode&#8221;. Now go to Firefox, load the form and fill it out, but before submitting click on Easy-Xdebug&#8217;s small icon in the lower right corner of the page. If you don&#8217;t see it go to &#8220;Views-&gt;Toolbars&#8221; and make sure &#8220;Add-Ons Bar&#8221; is selected. Now hit submit. If you&#8217;ve done it correctly, the browser will just hang there as if waiting for the server. Now go to Netbeans and the submission page should be open and in debug mode with all the required GET or POST parameters. Credit to<a href="http://forums.netbeans.org/post-9585.html" target="_blank"> this post</a> for helping me make this work.</p>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=576</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new recovery string</title>
		<link>http://humantropy.com/blog/?p=502</link>
		<comments>http://humantropy.com/blog/?p=502#comments</comments>
		<pubDate>Thu, 15 Dec 2011 16:44:52 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=502</guid>
		<description><![CDATA[<p>A new stripped down recovery string, just the basics:</p> <p>sudo apt-get install ne ssh sshfs smbfs filezilla openbox obmenu obconf tint2 wmii nitrogen agave ubuntu-restricted-extras jedit exuberant-ctags gnome-schedule nautilus-open-terminal nautilus-script-manager grsync preload network-manager-pptp network-manager-openvpn</p> <p>The older string:</p> <p>sudo apt-get install ne ssh sshfs smbfs filezilla php5-cli php-net-socket php5-imap phpmyadmin paman paprefs pavucontrol mysql-server-5.1 mysql-client-5.1 ubuntu-restricted-extras [...]]]></description>
			<content:encoded><![CDATA[<p>A new stripped down recovery string, just the basics:</p>
<blockquote><p>sudo apt-get install ne ssh sshfs smbfs filezilla openbox obmenu obconf tint2 wmii nitrogen agave ubuntu-restricted-extras jedit exuberant-ctags gnome-schedule nautilus-open-terminal nautilus-script-manager grsync preload network-manager-pptp network-manager-openvpn</p></blockquote>
<p>The older string:</p>
<blockquote><p>sudo apt-get install ne ssh sshfs smbfs filezilla php5-cli php-net-socket php5-imap phpmyadmin paman paprefs pavucontrol mysql-server-5.1 mysql-client-5.1 ubuntu-restricted-extras jedit exuberant-ctags gnome-schedule tangerine-icon-theme human-theme nautilus-open-terminal nautilus-script-manager easystroke grsync gnome-alsamixer preload gimp python-gtk2 python-gtk2-doc python-gtk2-tutorial python-setuptools devhelp glade winpdb network-manager-pptp network-manager-openvpn compizconfig-settings-manager &amp;&amp; sudo add-apt-repository ppa:chromium-daily/ppa &amp;&amp; sudo apt-get update &amp;&amp; sudo apt-get install chromium chromium-browser &amp;&amp; sudo pear install Net_POP3 Auth_SASL  &amp;&amp; chmod go-w ~/ &amp;&amp; chmod 700 ~/.ssh &amp; chmod 600 ~/.ssh/authorized_keys</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=502</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>finally&#8230;kindle on maverick</title>
		<link>http://humantropy.com/blog/?p=560</link>
		<comments>http://humantropy.com/blog/?p=560#comments</comments>
		<pubDate>Fri, 06 May 2011 13:36:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[books]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=560</guid>
		<description><![CDATA[<p>I was able get this working on Ubuntu Maverick 10.10, thanks to the links below. Here is the skinny. Run this on the command line:</p> sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine1.3 <p>when done, download this file (http://d1xhj100piaj9u.cloudfront.net/25338/KindleForPC-installer.exe). When doing so, it should give you the option of having Wine open it. [...]]]></description>
			<content:encoded><![CDATA[<p>I was able get this working on Ubuntu Maverick 10.10, thanks to the links below. Here is the skinny. Run this on the command line:</p>
<pre>sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.3</pre>
<p>when done, download <a href="http://d1xhj100piaj9u.cloudfront.net/25338/KindleForPC-installer.exe">this file</a> (http://d1xhj100piaj9u.cloudfront.net/25338/KindleForPC-installer.exe). When doing so, it should give you the option of having Wine open it. If not, make it executable and run it from the command line.</p>
<pre>wget http://d1xhj100piaj9u.cloudfront.net/25338/KindleForPC-installer.exe
chmod +x KindleForPC-installer.exe
./KindleForPC-installer.exe</pre>
<p>This worked for me without setting Wine to run this app as windows 98 as well. Seems wine1.3 could make it work, while the default wine1.2 did not, at least for me. Kept getting the &#8220;fixme:system:SetProcessDPIAware stub!&#8221; error. Thanks to the following:</p>
<h5><a href="http://ubuntuforums.org/archive/index.php/t-1690235.html">link one</a> &#8211; http://ubuntuforums.org/archive/index.php/t-1690235.html<br />
<a href="http://harikrish.wordpress.com/2011/04/17/installing-kindle-for-pc-on-ubuntu-10-10-maverick-meerkat/">link two</a> &#8211; http://harikrish.wordpress.com/2011/04/17/installing-kindle-for-pc-on-ubuntu-10-10-maverick-meerkat/<br />
<a href="http://www.winehq.org/download/ubuntu">link three</a> &#8211; http://www.winehq.org/download/ubuntu</h5>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=560</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>we&#8217;ve been cialis&#8217;d</title>
		<link>http://humantropy.com/blog/?p=554</link>
		<comments>http://humantropy.com/blog/?p=554#comments</comments>
		<pubDate>Sat, 29 Jan 2011 21:52:39 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[offtopic]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=554</guid>
		<description><![CDATA[<p>Some moron hacked the site, spraying &#8220;buy cialis&#8221; links everywhere. I fixed about twenty of them, but there are plenty more. Sorry about that.</p> <p>Dude, I get like three page views a year. But I&#8217;m sure your 8 hours of effort was worth it.</p> ]]></description>
			<content:encoded><![CDATA[<p>Some moron hacked the site, spraying &#8220;buy cialis&#8221; links everywhere. I fixed about twenty of them, but there are plenty more. Sorry about that.</p>
<p>Dude, I get like three page views a year. But I&#8217;m sure your 8 hours of effort was worth it.</p>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=554</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capturing webcam video on Ubuntu via command line</title>
		<link>http://humantropy.com/blog/?p=499</link>
		<comments>http://humantropy.com/blog/?p=499#comments</comments>
		<pubDate>Sun, 21 Nov 2010 19:18:42 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=499</guid>
		<description><![CDATA[<p>If you have a webcam and want to capture basic video with sound, first check here and then try cheese, a simple app that seems to work pretty well.</p> <p>But  if you want to capture video from the command line, I did the following. It may help to enable the medibuntu repositories first!.</p> sudo apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a webcam and want to capture basic video with sound, first <a href="https://help.ubuntu.com/community/Webcam">check here</a> and then try cheese, a simple app that seems to work pretty well.</p>
<p>But   if you want to capture video from the command line, I did the following. It may help to <a href="https://help.ubuntu.com/community/Medibuntu">enable the medibuntu repositories</a> first!.</p>
<pre>sudo apt-get install mencoder</pre>
<p>First, you need to know your devices. One way to do this is to run these commands before, and then after you plug in your webcam:</p>
<pre>ls /dev/video*

ls /dev/audio*</pre>
<p>Then you can use this command (note these are for my devices, video1 and audio1, and the output file is webcam.avi):</p>
<pre>mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video1:forceaudio:adevice=/dev/audio1 -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi</pre>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=499</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comments back on</title>
		<link>http://humantropy.com/blog/?p=514</link>
		<comments>http://humantropy.com/blog/?p=514#comments</comments>
		<pubDate>Sat, 16 Oct 2010 23:03:31 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[musings]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=514</guid>
		<description><![CDATA[<p>Not that it matters all that much, but I&#8217;ve finally figured out you&#8217;ve got to install a good set of spam filtering plugins for comments to be anything but garbage. I&#8217;ve enabled them, and comments have been open for several weeks, with no spam yet. Knock on wood of course. I&#8217;ve also turned off a [...]]]></description>
			<content:encoded><![CDATA[<p>Not that it matters all that much, but I&#8217;ve finally figured out you&#8217;ve got to install a good set of spam filtering plugins for comments to be anything but garbage. I&#8217;ve enabled them, and comments have been open for several weeks, with no spam yet. Knock on wood of course. I&#8217;ve also turned off a caching plugin, which means comments should appear when entered.</p>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=514</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how did I miss pulseaudio-equalizer?</title>
		<link>http://humantropy.com/blog/?p=486</link>
		<comments>http://humantropy.com/blog/?p=486#comments</comments>
		<pubDate>Sun, 19 Sep 2010 23:25:20 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=486</guid>
		<description><![CDATA[<p>From this post, instructions on how to hook up the ppa for pulseaudio-equalizer, a system-wide audio equalizer. I was looking for something like this, and it works pretty well. The only shortcomings I can see is that you are required to hit &#8220;apply&#8221; after changing the settings. No real time feedback to what you are [...]]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://www.webupd8.org/2010/02/pulseaudio-system-wide-equalizer-now.html">this post</a>, instructions on how to hook up the ppa for pulseaudio-equalizer, a system-wide audio equalizer. I was looking for something like this, and it works pretty well. The only shortcomings  I can see is that you are required to hit &#8220;apply&#8221; after changing the settings. No real time feedback to what you are doing. But all in all, great work.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="pulseaudio-equalizer" src="http://humantropy.com/blog/wp-content/uploads/images/pae.jpg" alt="pulseaudio-equalizer screenshot" width="500" height="208" /><p class="wp-caption-text">pulseaudio-equalizer...sweet.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=486</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>amazon mp3 downloader is crap for 10.04? try pymazon</title>
		<link>http://humantropy.com/blog/?p=463</link>
		<comments>http://humantropy.com/blog/?p=463#comments</comments>
		<pubDate>Tue, 17 Aug 2010 01:53:01 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=463</guid>
		<description><![CDATA[<p>pymazon totally rocks for ubuntu 10.04 x64. I&#8217;m just sayin&#8217;.</p> <p>This post I wrote on fixing amazon mp3 downloader for Ubuntu Jaunty doesn&#8217;t work for Lucid. I&#8217;m sure there&#8217;s some hack or other if you aren&#8217;t lazy like I am. If you are, pymazon is a pretty amazing little replacement!</p> <p>http://code.google.com/p/pymazon/</p> <p>or to save you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/pymazon/">pymazon</a> totally rocks for ubuntu 10.04 x64. I&#8217;m just sayin&#8217;.</p>
<p><a href="http://humantropy.com/blog/?p=260">This post</a> I wrote on fixing amazon mp3 downloader for Ubuntu Jaunty doesn&#8217;t work for Lucid. I&#8217;m sure there&#8217;s some hack or other if you aren&#8217;t lazy like I am. If you are, pymazon is a pretty amazing little replacement!</p>
<p>http://code.google.com/p/pymazon/</p>
<p>or to save you some time:</p>
<pre>sudo apt-get install python-setuptools
sudo easy_install pymazon</pre>
<pre>

<div class="wp-caption alignnone" style="width: 510px"><img title="pymazon" src="http://humantropy.com/blog/wp-content/uploads/images/pymazon.jpg" alt="pymazon image" width="500" height="332" /><p class="wp-caption-text">I know I w00ted.</p></div></pre>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=463</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>picasa upload fix for 10.04</title>
		<link>http://humantropy.com/blog/?p=449</link>
		<comments>http://humantropy.com/blog/?p=449#comments</comments>
		<pubDate>Thu, 15 Jul 2010 14:55:47 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=449</guid>
		<description><![CDATA[<p>From a smart user over at google-labs-picasa group, a fix for uploading photos in Picasa from 10.04. This broke sometime earlier (9.10?) and I&#8217;ve used this fix since.</p> <p>To locate where your defaults.ini file is run this command: sudo updatedb &#38;&#38; locate defaults.ini &#124; grep picasa</p> <p>Create a backup of the defaults.ini file: sudo cp [...]]]></description>
			<content:encoded><![CDATA[<p>From a smart user over at google-labs-picasa group, a fix for uploading photos in Picasa from 10.04. This broke sometime earlier (9.10?) and I&#8217;ve used this fix since.</p>
<blockquote><p>To locate where your defaults.ini file is run this command:<br />
sudo updatedb &amp;&amp; locate defaults.ini | grep picasa</p>
<p>Create a backup  of the defaults.ini file:<br />
sudo cp /opt/google/picasa/3.0/wine/drive_c/Program\ Files/Google/<br />
Picasa3/runtime/defaults.ini /opt/google/picasa/3.0/wine/drive_c/<br />
Program\ Files/Google/Picasa3/runtime/defaults.ini.bak</p>
<p>Then edit the defaults.ini file with your editor of choice:<br />
sudo vim /opt/google/picasa/3.0/wine/drive_c/Program\ Files/Google/<br />
Picasa3/runtime/defaults.ini<br />
replace the line -<br />
printerURL=<a rel="nofollow" href="http://www.google.com/url?sa=D&amp;q=https://uploader.picasa.com/providers/wine/printers.php%3F&amp;usg=AFQjCNGr8MPlCtpYRY3x7Ckw_O0Bmjt2Lg" target="_blank">https://uploader.picasa.com/providers/wine/printers.php?</a><br />
picasaversion=30<br />
with this line -<br />
printerURL=<a rel="nofollow" href="http://www.google.com/url?sa=D&amp;q=https://client4.google.com/providers/printers.html&amp;usg=AFQjCNFEWhf2oDcxKNsgDxf51ivfaNhLmQ" target="_blank">https://client4.google.com/providers/printers.html</a></p></blockquote>
<p>Original link <a href="http://groups.google.com/group/google-labs-picasa-for-linux/browse_thread/thread/76b23f4514edb3e9/42dac98f28485f9e">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=449</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nautilus &#8211; Control L is your friend</title>
		<link>http://humantropy.com/blog/?p=441</link>
		<comments>http://humantropy.com/blog/?p=441#comments</comments>
		<pubDate>Mon, 14 Jun 2010 20:31:09 +0000</pubDate>
		<dc:creator>db</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://humantropy.com/blog/?p=441</guid>
		<description><![CDATA[<p>Hitting Control-L when in Nautilus (the Ubuntu default file manager) will change your location buttons into a string field so you can enter the text manually to jump to a location. This used to be available in earlier versions of Ubuntu, but at some point went away. I never realized you could still access it [...]]]></description>
			<content:encoded><![CDATA[<p>Hitting Control-L when in Nautilus (the Ubuntu default file manager) will change your location buttons into a string field so you can enter the text manually to jump to a location. This used to be<a href="http://www.coastalrock.com/"></a> available in earlier versions of Ubuntu, but at some point went away. I never realized you could still access it this way! Good deal.  Gives you a lot more flexibility and speed sometimes.</p>
]]></content:encoded>
			<wfw:commentRss>http://humantropy.com/blog/?feed=rss2&#038;p=441</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

