<?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>Zach Dwiel &#187; linux</title>
	<atom:link href="http://dwiel.net/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://dwiel.net</link>
	<description>Repository of code snippits and ideas</description>
	<lastBuildDate>Fri, 06 Jan 2012 03:36:06 +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>service error when starting mongodb</title>
		<link>http://dwiel.net/blog/service-error-when-starting-mongodb/</link>
		<comments>http://dwiel.net/blog/service-error-when-starting-mongodb/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 13:12:45 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[fyi]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=335</guid>
		<description><![CDATA[I was trying to start mongodb just now and couldn't understand why it wasn't working. Turns out I needed to be sudo - not the most clear error message ... &#160; $ service mongodb start start: Rejected send message, 1 matched rules; type=&#34;method_call&#34;, sender=&#34;:1.11 212&#34; &#40;uid=1000 pid=1360 comm=&#34;start) interface=&#34;com.ubuntu.Upstart0_6.Job&#34; membe r=&#34;Start&#34; error name=&#34;&#40;unset&#41;&#34; requested_reply=0 destination=&#34;com.ubuntu.Upstart [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to start mongodb just now and couldn't understand why it wasn't working.  Turns out I needed to be sudo - not the most clear error message ...</p>
<pre class="bash">&nbsp;
$ service mongodb start
start: Rejected send message, <span style="color: #000000;">1</span> matched rules; <span style="color: #007800;">type=</span><span style="color: #ff0000;">&quot;method_call&quot;</span>, <span style="color: #007800;">sender=</span><span style="color: #ff0000;">&quot;:1.11
212&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">uid=</span><span style="color: #000000;">1000</span> <span style="color: #007800;">pid=</span><span style="color: #000000;">1360</span> <span style="color: #007800;">comm=</span><span style="color: #ff0000;">&quot;start) interface=&quot;</span>com.ubuntu.Upstart0_6.Job<span style="color: #ff0000;">&quot; membe
r=&quot;</span>Start<span style="color: #ff0000;">&quot; error name=&quot;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">unset</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; requested_reply=0 destination=&quot;</span>com.ubuntu.Upstart
<span style="color: #ff0000;">&quot; (uid=0 pid=1 comm=&quot;</span>/sbin/init<span style="color: #ff0000;">&quot;))
$ sudo service mongodb start
mongodb start/running, process 1326
</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/service-error-when-starting-mongodb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.04 on Thinkpad T420s</title>
		<link>http://dwiel.net/blog/ubuntu-11-04-on-thinkpad-t420s/</link>
		<comments>http://dwiel.net/blog/ubuntu-11-04-on-thinkpad-t420s/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 15:00:01 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[fyi]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=329</guid>
		<description><![CDATA[Just bought this thinkpad 420s. The first thing I did when I got it was install Ubuntu 11.04 on it. Most everything worked on first install, including things which many people seemed to have problems with on the forums. Working: Displays work fine with 3d effects and everything (dual monitor with and without docking station) [...]]]></description>
			<content:encoded><![CDATA[<p>Just bought <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834246117" title="this">this</a> thinkpad 420s.  The first thing I did when I got it was install Ubuntu 11.04 on it.  Most everything worked on first install, including things which many people seemed to have problems with on the forums.</p>
<h3>Working:</h3>
<ul>
<li>Displays work fine with 3d effects and everything (dual monitor with and without docking station) (Intel HD Graphics 3000)
<li>Built in speakers and headphone jack both work
<li>Built-in mic and web-cam both work - I used skype and google hangouts and both worked flawlessly.
<li>wireless worked with my open network connection (I haven't yet tried it on secure networks)
<li>Bay battery seems to work.
</ul>
<h3>Not Working:</h3>
<ul>
<li>Audio output on docking station
<li>Dual Displays sometimes reset to showing the same image on both rather than two seperate displays.  This has always been fixed by reseting the settings in the Monitor configuration page.
</ul>
<p>I am impressed with how flawless the install was.  I was dreading it because last time I did this on my last laptop 4 years ago, I spent a few hours getting everything in working order.  So far I have not yet had to do any custom installation.  Everything that I needed working, worked out of the box!</p>
<p>Let me know if you want me to test anything out and I'll try if I can.</p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/ubuntu-11-04-on-thinkpad-t420s/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>PiCloud Simulation: OSError: [errno 13] permission denied</title>
		<link>http://dwiel.net/blog/picloud-simulation-oserror-errno-13-permission-denied/</link>
		<comments>http://dwiel.net/blog/picloud-simulation-oserror-errno-13-permission-denied/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 04:06:58 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[bug fix]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=286</guid>
		<description><![CDATA[I tried running a PiCloud simulation on Ubuntu 10.04 on linode and got the following error: OSError: [errno 13] permission denied I found the solution here: add the following line to your fstab and reboot: none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 If you don't want to reboot, a temporary fix might be: sudo chgrp $GROUP [...]]]></description>
			<content:encoded><![CDATA[<p>I tried running a PiCloud simulation on Ubuntu 10.04 on linode and got the following error:</p>
<p><code>OSError: [errno 13] permission denied</code></p>
<p>I found the solution <a href="http://stackoverflow.com/questions/2009278/python-multiprocessing-permission-denied/2009505#2009505">here</a>:</p>
<p>add the following line to your fstab and reboot:</p>
<p><code>none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0</code></p>
<p>If you don't want to reboot, a temporary fix might be:</p>
<p><code>sudo chgrp $GROUP /dev/shm<br />
sudo chmod g+w /dev/shm</code></p>
<p>That last part might not be the best way to do it, but it worked for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/picloud-simulation-oserror-errno-13-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TP-Link TL-WN722N on Ubuntu 10.04</title>
		<link>http://dwiel.net/blog/tp-link-tl-wn722n-on-ubuntu-10-04/</link>
		<comments>http://dwiel.net/blog/tp-link-tl-wn722n-on-ubuntu-10-04/#comments</comments>
		<pubDate>Fri, 13 May 2011 17:02:38 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=267</guid>
		<description><![CDATA[Note: according this guy this set of steps also works for Fedora 15. I had a lot of trouble getting this card to work. Here is how I finally got it. I am running 2.6.32-30-generic-pae #59-Ubuntu SMP running "lsusb" shows the following line for my device: 0cf3:9271 Atheros Communications, Inc. I tried a bunch of [...]]]></description>
			<content:encoded><![CDATA[<p>Note: according <a href="http://ricardolopes.net/blog/tutorial-my-perfect-linux-setup-with-fedora-15-lovelock/" title="this guy">this guy</a> this set of steps also works for Fedora 15.</p>
<p>I had a lot of trouble getting this card to work.  Here is how I finally got it.</p>
<p>I am running 2.6.32-30-generic-pae #59-Ubuntu SMP<br />
running "lsusb" shows the following line for my device: 0cf3:9271 Atheros Communications, Inc.</p>
<p>I tried a bunch of different compat-wireless versions and <a href=" http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.38/compat-wireless-2.6.38.2-2.tar.bz2">this one</a> finally did it.  At the time, it was the latest stable release.  The daily snapshots were causing kernel panics ... Download it, decompress it and build it:</p>
<p><code><br />
$ tar xvf compat-wireless-2.6.38.2-2.tar.bz2<br />
$ cd compat-wireless-2.6.38.2-2<br />
$ ./scripts/driver-select ath9k_htc<br />
$ sudo make<br />
$ sudo make install<br />
</code></p>
<p>I had to download version 1.2 of htc_9271.fw the firmware from <a href="http://wireless.kernel.org/download/htc_fw/">here</a> and copied the file to /lib/firmware.</p>
<p>I was getting wlan%d instead of something reasonable like wlan0. Running sudo ifconfig wlan%d showed me the mac address which I could use to add an entry to /etc/udev/rules.d/70-persistent-net.rules.  Heres the entry I added: (note that the browser adds newlines here, but you should add just two lines: one for the comment, and one for the rule)</p>
<p><code><br />
# USB device 0x0cf3:0x9271 (usb)<br />
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="54:e6:fc:94:91:35", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"<br />
</code></p>
<p>reload the drivers by running:<br />
<code><br />
sudo modprobe ath9k_htc<br />
</code></p>
<p>Now plug in the device.  There were a lot of other steps that I followed while trying to get this to work, so I may have left something out.</p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/tp-link-tl-wn722n-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>MySQL Permission Errors After Moving Datadir</title>
		<link>http://dwiel.net/blog/mysql-permission-errors-after-moving-datadir/</link>
		<comments>http://dwiel.net/blog/mysql-permission-errors-after-moving-datadir/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 03:52:11 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[fyi]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=161</guid>
		<description><![CDATA[I wanted to make space on my root partition and so moved my mysql data dir to /home/mysql in /etc/mysql/my.conf and received the following errors: dwiel@dwiel:~$ sudo mysqld 091111 20:39:16 [Warning] Can't create test file /home/mysql/dwiel.lower-test 091111 20:39:16 [Warning] Can't create test file /home/mysql/dwiel.lower-test 091111 20:39:16 [Note] Plugin 'FEDERATED' is disabled. mysqld: Can't find file: [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to make space on my root partition and so moved my mysql data dir to /home/mysql in /etc/mysql/my.conf and received the following errors:</p>
<p><code>dwiel@dwiel:~$ sudo mysqld<br />
091111 20:39:16 [Warning] Can't create test file /home/mysql/dwiel.lower-test<br />
091111 20:39:16 [Warning] Can't create test file /home/mysql/dwiel.lower-test<br />
091111 20:39:16 [Note] Plugin 'FEDERATED' is disabled.<br />
mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)<br />
091111 20:39:16 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.<br />
091111 20:39:16  InnoDB: Operating system error number 13 in a file operation.<br />
InnoDB: The error means mysqld does not have the access rights to<br />
InnoDB: the directory.<br />
InnoDB: File name ./ibdata1<br />
InnoDB: File operation call: 'open'.<br />
InnoDB: Cannot continue operation.<br />
</code></p>
<p>The problem was with apparmor.  It was restricting mysql from reading and writing to /home/mysql.  To correct this I edited the file /etc/apparmor.d/usr.sbin.mysqld and added:</p>
<p><code><br />
/home/mysql r,<br />
/home/mysql** rwk,<br />
</code></p>
<p>to the end of the file.  Then restarted apparmor:</p>
<p><code><br />
sudo /etc/init.d/apparmor restart<br />
</code></p>
<p>and then restarted apache with no problem</p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/mysql-permission-errors-after-moving-datadir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build tolua++ files with makefile</title>
		<link>http://dwiel.net/blog/build-tolua-files-with-makefile/</link>
		<comments>http://dwiel.net/blog/build-tolua-files-with-makefile/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 15:04:46 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=151</guid>
		<description><![CDATA[Here is how you can have your makefile build your tolua++ .cpp and .h files for you. It should work for plain tolua also. TOLUA = tolua++5.1 &#160; tolua_%.cpp tolua_%.h : %.pkg $(TOLUA) -o $(@:%.h=%.cpp) -H $(@:%.cpp=%.h) $&#60; this will generate tolua_file.cpp and tolua_file.h files from corresponding file.pkg files anytime they the .cpp or .h [...]]]></description>
			<content:encoded><![CDATA[<p>Here is how you can have your makefile build your tolua++ .cpp and .h files for you.  It should work for plain tolua also.</p>
<pre>TOLUA = tolua++5.1
&nbsp;
tolua_%.cpp tolua_%.h : %.pkg
	$(TOLUA) -o $(@:%.h=%.cpp) -H $(@:%.cpp=%.h) $&lt;</pre>
<p>this will generate tolua_file.cpp and tolua_file.h files from corresponding file.pkg files anytime they the .cpp or .h file is depended on somewhere else in the file.  In my case I just added tolua_file.o to my list of objects.  Here is the full makefile for the project which required this - for reference:</p>
<pre>&nbsp;
&nbsp;
# LINUX
LIBLUA=lua5.1
# MAC OSX
#LIBLUA=lua
&nbsp;
# LDFLAGS=-arch x86_64
OBJS = swarm.o group.o scene.o vmath.o tolua_group.o tolua_swarm.o tolua_vmath.o
CXX = g++
CXXFLAGS = -Wall -c -O2 `sdl-config --cflags`
LDFLAGS = -Wall `sdl-config --libs`
INCLUDES = -I./include -I/usr/include/lua5.1 -I/opt/local/include
LIBS = -L./lib -lANN -lGL -lGLU -llo -ltolua++5.1 -l$(LIBLUA)
TOLUA = tolua++5.1
&nbsp;
tolua_%.cpp tolua_%.h : %.pkg
	$(TOLUA) -o $(@:%.h=%.cpp) -H $(@:%.cpp=%.h) $&lt;
&nbsp;
%.o: %.cpp
	$(CXX) $(INCLUDES) $(CXXFLAGS) -c $&lt; -o $@
&nbsp;
# the executable
swarm: $(OBJS)
	$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
&nbsp;</pre>
<p><a href="http://github.com/dwiel/swarm/raw/8716451c8b9844bbf9ec8e7f9649aca0b622c752/makefile">download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/build-tolua-files-with-makefile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto install pyclutter 0.8.2 on Ubuntu</title>
		<link>http://dwiel.net/blog/howto-install-pyclutter-082-on-ubuntu/</link>
		<comments>http://dwiel.net/blog/howto-install-pyclutter-082-on-ubuntu/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 21:34:03 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[clutter]]></category>
		<category><![CDATA[gstreamer]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[pyclutter]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=120</guid>
		<description><![CDATA[Ubuntu 8.04 has pyclutter 0.6.2 in the repositories while the current stable version is 0.8.2. Here is how I installed pyclutter 0.8.2 with all of the extra available libraries (gtk, gst, cairo): download: pyclutter-0.8.2 clutter-0.8.4 clutter-gst-0.8.0 clutter-cairo-0.8.2 clutter-gtk-0.8.2 also make sure you have python-cairo-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev installed. There may be more required, but these were [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 8.04 has pyclutter 0.6.2 in the repositories while the current stable version is 0.8.2.  Here is how I installed pyclutter 0.8.2 with all of the extra available libraries (gtk, gst, cairo):</p>
<p>download:</p>
<ul>
<li><a href="http://www.clutter-project.org/sources/pyclutter/0.8/pyclutter-0.8.2.tar.bz2">pyclutter-0.8.2</a>
<li><a href="http://www.clutter-project.org/sources/clutter/0.8/clutter-0.8.4.tar.bz2">clutter-0.8.4</a>
<li><a href="http://www.clutter-project.org/sources/clutter-gst/0.8/clutter-gst-0.8.0.tar.bz2">clutter-gst-0.8.0</a>
<li><a href="http://www.clutter-project.org/sources/clutter-cairo/0.8/clutter-cairo-0.8.2.tar.bz2">clutter-cairo-0.8.2</a>
<li><a href="http://www.clutter-project.org/sources/clutter-gtk/0.8/clutter-gtk-0.8.2.tar.bz2">clutter-gtk-0.8.2</a>
</ul>
<p>also make sure you have <strong>python-cairo-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev</strong> installed.  There may be more required, but these were the only ones I didn't already have installed.</p>
<p>For some reason I had to configure all of these libraries with --prefix /usr to get pycluster to see all of them.</p>
<p>Also, configure pycluster with --enable-docs if you want any documentation.</p>
<p>have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/howto-install-pyclutter-082-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery + Greasemonkey</title>
		<link>http://dwiel.net/blog/jquery-greasemonkey/</link>
		<comments>http://dwiel.net/blog/jquery-greasemonkey/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 22:43:05 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=86</guid>
		<description><![CDATA[Had to look around to figure out how to include jquery in greasemonkey. Should have just guessed this first; Just use the @require, and your standard jquery document ready code. Heres my template anyway. &#160; // ==UserScript== // @name JQuery Template // @author Zach Dwiel // @description Provide a basic template for using jquery in [...]]]></description>
			<content:encoded><![CDATA[<p>Had to look around to figure out how to include jquery in greasemonkey.  Should have just guessed this first; Just use the @require, and your standard jquery document ready code.  Heres my template anyway.</p>
<pre class="javascript">&nbsp;
<span style="color: #009900; font-style: italic;">// ==UserScript==</span>
<span style="color: #009900; font-style: italic;">// @name           JQuery Template</span>
<span style="color: #009900; font-style: italic;">// @author         Zach Dwiel</span>
<span style="color: #009900; font-style: italic;">// @description    Provide a basic template for using jquery in greasemonkey</span>
<span style="color: #009900; font-style: italic;">// @include        *://*</span>
<span style="color: #009900; font-style: italic;">// @require        http://code.jquery.com/jquery-latest.js</span>
<span style="color: #009900; font-style: italic;">// ==/UserScript==</span>
&nbsp;
$<span style="color: #66cc66;">&#40;</span>document<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">ready</span><span style="color: #66cc66;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #009900; font-style: italic;">// your jquery code here</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/jquery-greasemonkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controlling Samples by Spitting Them</title>
		<link>http://dwiel.net/blog/controlling-samples-by-spitting-them/</link>
		<comments>http://dwiel.net/blog/controlling-samples-by-spitting-them/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 06:31:00 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[fft]]></category>
		<category><![CDATA[fftknn]]></category>
		<category><![CDATA[hci]]></category>
		<category><![CDATA[jack]]></category>
		<category><![CDATA[knn]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[pyjack]]></category>
		<category><![CDATA[recognition]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=72</guid>
		<description><![CDATA[Last night, Nate and I were able to sucessfully and intuitively control up to 3 or 4 individual drums based on different sounds vocalized into a mic. The bass drum would play when 'oooh' was sung, a snare when 'eee' was sung and a cymbal when 'aaah' was sung.  There are still some kinks in [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, Nate and I were able to sucessfully and intuitively control up to 3 or 4 individual drums based on different sounds vocalized into a mic. The bass drum would play when 'oooh' was sung, a snare when 'eee' was sung and a cymbal when 'aaah' was sung.  There are still some kinks in the system, but as a proof of concept, it works fairly well.  The mapping between input sound and MIDI event are learned in real time so you are not restricted to different vowel sounds.  The 3 distinguishing sounds could have just as easily been a clap, growl and whistle.  The code: <a href="http://code.google.com/p/fftknn/">fftknn</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/controlling-samples-by-spitting-them/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passwordless login for SSH not working</title>
		<link>http://dwiel.net/blog/passwordless-login-for-ssh-not-working/</link>
		<comments>http://dwiel.net/blog/passwordless-login-for-ssh-not-working/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 07:22:12 +0000</pubDate>
		<dc:creator>dwiel</dc:creator>
				<category><![CDATA[fyi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[passwordless]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>

		<guid isPermaLink="false">http://dwiel.net/?p=63</guid>
		<description><![CDATA[I have not been able to login to my system with passwordless SSH for some time now and finally figured out the problem.  I had to change the permissions of my home directory to disallow writing by everyone.  I knew that ~/.ssh and the files in it required specific permissions to be set, but I [...]]]></description>
			<content:encoded><![CDATA[<p>I have not been able to login to my system with passwordless SSH for some time now and finally figured out the problem.  I had to change the permissions of my home directory to disallow writing by everyone.  I knew that ~/.ssh and the files in it required specific permissions to be set, but I hadn't heard about the home directory having similar requirements.</p>
]]></content:encoded>
			<wfw:commentRss>http://dwiel.net/blog/passwordless-login-for-ssh-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

