<?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>General Geekery</title>
	<atom:link href="http://geekery.etherknet.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://geekery.etherknet.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 Apr 2010 00:31:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Unreliable wireless on Acer Aspire 5536 with Ubuntu 9.10</title>
		<link>http://geekery.etherknet.com/?p=374</link>
		<comments>http://geekery.etherknet.com/?p=374#comments</comments>
		<pubDate>Thu, 08 Apr 2010 00:30:27 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[5536]]></category>
		<category><![CDATA[5536G]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[ath9k]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://geekery.etherknet.com/?p=374</guid>
		<description><![CDATA[I have an Acer Aspire 5536G. It&#8217;s a good laptop, but the wireless support under Ubuntu 9.10 is poor. The wireless always has a weak signal (even sitting within half a metre of the router) and there are frequent drop-outs. The problem is with the ath9k driver. The fix is in a more recent version [...]]]></description>
			<content:encoded><![CDATA[<p>I have an Acer Aspire 5536G.  It&#8217;s a good laptop, but the wireless support under Ubuntu 9.10 is poor.  The wireless always has a weak signal (even sitting within half a metre of the router) and there are frequent drop-outs.</p>
<p>The problem is with the <code>ath9k</code> driver.</p>
<p>The fix is in a more recent version of the <code>ath9k</code> driver.  To install it, simply install the <code>linux-backports-modules-karmic</code> and <code>linux-backports-modules-wireless-karmic-generic</code> packages:</p>
<p><blockquote>david@continuity:~$ sudo apt-get install linux-backports-modules-karmic linux-backports-modules-wireless-karmic-generic</blockquote></p>
<p>Next: reboot.</p>
<p>Simple as that.</p>
<p>ps.  Technically, you should be able to unload the old module and load the new module, but my laptop didn&#8217;t seem to play well with that&#8230; or, at least, the Network Manager in Ubuntu didn&#8217;t like it.  When in doubt, take the Windows approach: reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekery.etherknet.com/?feed=rss2&amp;p=374</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Eclipse 3.4 with the Force.com IDE</title>
		<link>http://geekery.etherknet.com/?p=366</link>
		<comments>http://geekery.etherknet.com/?p=366#comments</comments>
		<pubDate>Fri, 12 Feb 2010 00:32:54 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[force.com]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://geekery.etherknet.com/?p=366</guid>
		<description><![CDATA[At this time, Eclipse is at 3.5 (Galileo). However, the Force.com IDE still only works with Eclipse 3.4 (Ganymede). That&#8217;s more than just annoying &#8211; trying to code for the Force.com platform using their web interface is not a pleasant experience, to say the least. To install Eclipse 3.4, grab the appropriate download from http://www.eclipse.org/downloads/packages/eclipse-classic-34/ganymeder. [...]]]></description>
			<content:encoded><![CDATA[<p>At this time, Eclipse is at 3.5 (Galileo).  However, the Force.com IDE still only works with Eclipse 3.4 (Ganymede).  That&#8217;s more than just annoying &#8211; trying to code for the Force.com platform using their web interface is not a pleasant experience, to say the least.</p>
<p>To install Eclipse 3.4, grab the appropriate download from <a href="http://www.eclipse.org/downloads/packages/eclipse-classic-34/ganymeder">http://www.eclipse.org/downloads/packages/eclipse-classic-34/ganymeder</a>.  Keep in mind, it&#8217;s big, approximately 150MB.</p>
<p>Once downloaded, extract it.  In my case, I unzipped it to my own <code>$HOME/bin</code> directory, as I didn&#8217;t want to mess with the system installation of Eclipse 3.5.  This will create an <code>eclipse</code> subdirectory containing an <code>eclipse</code> binary.</p>
<p>As I&#8217;m only going to be using this version of Eclipse for working with Force.com, I renamed the unzipped directory and created an alias for convenience.</p>
<p><pre><blockquote>david@continuity:~/bin$ ls
eclipse
david@continuity:~/bin$ mv eclipse eclipse-3.4</blockquote></pre></p>
<p>I added my alias to <code>$HOME/.bashrc</code>:</p>
<p><blockquote>alias force.com=$HOME/bin/eclipse-3.4/eclipse</blockquote></p>
<p>If you wanted to go even further, you could create a launcher in your applications menu or on your toolbar or desktop.  However, I&#8217;m not <em>that</em> in love with Force.com (or even Eclipse)&#8230;</p>
<p>Next, launch Eclipse and follow the installation instructions for the Force.com IDE at <a href="http://wiki.developerforce.com/index.php/Force.com_IDE_Installation_for_Eclipse_3.4.x">http://wiki.developerforce.com/index.php/Force.com_IDE_Installation_for_Eclipse_3.4.x</a>.  There&#8217;s no point in me repeating those instructions &#8211; they&#8217;re comprehensive and easy to follow.</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekery.etherknet.com/?feed=rss2&amp;p=366</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick hack to test the Cubetree API</title>
		<link>http://geekery.etherknet.com/?p=361</link>
		<comments>http://geekery.etherknet.com/?p=361#comments</comments>
		<pubDate>Wed, 10 Feb 2010 01:07:52 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[cubetree]]></category>
		<category><![CDATA[force.com]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://geekery.etherknet.com/?p=361</guid>
		<description><![CDATA[I&#8217;ve been working on integrating Cubetree with Force.com. I&#8217;m not a web developer but, if forced to, I can manage. However, working in and debugging using the Force.com environment is a pain in the proverbial, regardless of background. So, to get testing done in a more timely manner, I&#8217;ve had to resort to quick hacks [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on integrating Cubetree with Force.com.  I&#8217;m not a web developer but, if forced to, I can manage.  However, working in and debugging using the Force.com environment is a pain in the proverbial, regardless of background.</p>
<p>So, to get testing done in a more timely manner, I&#8217;ve had to resort to quick hacks at the command line to test the Cubetree API, verify their message format, etc:</p>
<p><pre><blockquote>david@continuity:~$ curl -d &quot;login=MyUsername&amp;password=MyPassword&quot; -D headers https://www.cubetree.com/api/v1/login &amp;&amp; curl -s -b headers https://www.cubetree.com/api/v1/feed | python -c &quot;
import sys
for item in eval(sys.stdin.read()): print &#039;Creator: %s\nAction: %s\n&#039; % (item[&#039;creator-name&#039;], item[&#039;action&#039;])
&quot;

. . .

Creator: David Taylor
Action: has to keep reminding himself: Although a Cubetree integration would be much easier with Ruby/Python/C#/etc (any common language, really), Force.com can make other tasks much easier 

Creator: David Taylor
Action: got the custom setting code to work in Force.com ... it required knowing about an undocumented variable, SetupOwnerId ... go on, try Googling it and see for yourself&nbsp;&nbsp;:-) 

. . .</blockquote></pre></p>
<p>All in the name of good, clean fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekery.etherknet.com/?feed=rss2&amp;p=361</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dovecot: &#8220;Ambiguous mail location setting&#8230;&#8221;</title>
		<link>http://geekery.etherknet.com/?p=356</link>
		<comments>http://geekery.etherknet.com/?p=356#comments</comments>
		<pubDate>Tue, 09 Feb 2010 13:30:47 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[E-mail]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[delivery]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[lda]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://geekery.etherknet.com/?p=356</guid>
		<description><![CDATA[My ever-present ongoing project with etherknet.com is to develop a virtual hosting platform. One part of that uses dovecot as the LDA, backed by LDAP (which contains all the virtual-hosted sites, including people, roles, DNS, etc). Today I added my wife&#8217;s new domain to my server, then I began to see the following error messages [...]]]></description>
			<content:encoded><![CDATA[<p>My ever-present ongoing project with etherknet.com is to develop a virtual hosting platform.  One part of that uses dovecot as the LDA, backed by LDAP (which contains all the virtual-hosted sites, including people, roles, DNS, etc).  Today I added my wife&#8217;s new domain to my server, then I began to see the following error messages in <code>/var/log/mail.err</code>:</p>
<p><pre><blockquote>dovecot: IMAP(nerida [AT] mygreenme.com.au): Ambiguous mail location setting, don&#039;t know what to do with it: /var/spool/vmail/mygreenme.com.au/nerida/ (try prefixing it with mbox: or maildir:)
dovecot: IMAP(nerida [AT] mygreenme.com.au): Mail storage creation failed with mail_location: /var/spool/vmail/mygreenme.com.au/nerida/</blockquote></pre></p>
<p>Curiously, this has never occurred before, even though I provide virtual hosting services for other domains in the same manner.</p>
<p>Not to worry&#8230;</p>
<p>The fix requires finding the dovecot query that produces the <code>mail=</code> value and prefixing it with the desired mail format.  I prefer <code>maildir:</code>.  So, in my case, that involved editing <code>/etc/dovecot/dovecot.conf</code> and changing from:</p>
<p><pre><blockquote>&nbsp;&nbsp;userdb static {
&nbsp;&nbsp;&nbsp;&nbsp;args = uid=vmail gid=vmail home=/var/spool/vmail/%d/%n/ mail=/var/spool/vmail/%d/%n/
&nbsp;&nbsp;}</blockquote></pre></p>
<p>to:</p>
<p><pre><blockquote>&nbsp;&nbsp;userdb static {
&nbsp;&nbsp;&nbsp;&nbsp;args = uid=vmail gid=vmail home=/var/spool/vmail/%d/%n/ mail=maildir:/var/spool/vmail/%d/%n/
&nbsp;&nbsp;}</blockquote></pre></p>
<p>Simple.</p>
<p>Oh, also, in the logs above I changed the &#8220;@&#8221; symbols to &#8221; [AT] &#8221; &#8230; my wife would never let me live it down if I primed her new mail account with spam.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekery.etherknet.com/?feed=rss2&amp;p=356</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet tethering with Ubuntu 9.10 and the iPhone</title>
		<link>http://geekery.etherknet.com/?p=348</link>
		<comments>http://geekery.etherknet.com/?p=348#comments</comments>
		<pubDate>Wed, 27 Jan 2010 23:53:09 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[tethering]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://geekery.etherknet.com/?p=348</guid>
		<description><![CDATA[To get internet tethering working between Ubuntu 9.10 and your iPhone you need to use the blueman project. The blueman project uses the BlueZ API to simplify integration with bluetooth devices. It is not part of the standard Ubuntu 9.10 repositories. The Blueman Project To get started, you will need to add the repository for [...]]]></description>
			<content:encoded><![CDATA[<p>To get internet tethering working between Ubuntu 9.10 and your iPhone you need to use the <a href="http://blueman-project.org/">blueman project</a>.  The blueman project uses the BlueZ API to simplify integration with bluetooth devices.  It is not part of the standard Ubuntu 9.10 repositories.</p>
<p><strong>The Blueman Project</strong></p>
<p>To get started, you will need to add the repository for the blueman project.  As root:</p>
<p><pre><blockquote>root@continuity:~# add-apt-repository ppa:blueman/ppa
root@continuity:~# apt-get update
. . .
root@continuity:~# apt-get install blueman
. . .</blockquote></pre></p>
<p>After it is installed, you may need to start/restart the bluetooth service.</p>
<p><blockquote>root@continuity:~# restart bluetooth</blockquote></p>
<p><strong>Enable Bluetooth</strong></p>
<p>If, like me, you&#8217;re using GNOME, you can find the new Bluetooth Manager in your menu under <code>System -&gt; Preferences</code>.  Start the Bluetooth Manager.  Its icon should appear in your task bar.  Left-click on the icon to open the Bluetooth Manager interface.  At this point, make sure you have enabled bluetooth on your computer (typically a switch or button on your laptop&#8230; or even a USB dongle for your desktop).</p>
<p>Enable bluetooth on your iPhone.  Go into the Settings application, press the General button, then press the Bluetooth button.  Press the Bluetooth switch to turn it on.  The interface should now say <em>Now Discoverable</em>.</p>
<p><em>While you are searching for your iPhone and pairing with your iPhone, you need to make sure your iPhone remains on and unlocked and in the Bluetooth screen.  Your iPhone is only discoverable while in this screen.</em></p>
<p><strong>Pairing</strong></p>
<p>Back to the Bluetooth Manager interface on your computer.  Press the Search button.  A list of visible bluetooth devices should appear (if there is more than one visible bluetooth device in the vicinity) and one of them should be your iPhone.  Your iPhone will be identified by the name you have given it using iTunes (in my case <em>David&#8217;s iPhone</em>) or by the default name, <em>iPhone</em>.</p>
<p>If you see multiple iPhones you will need to select the one that has a matching bluetooth MAC address for your iPhone.  To determine your iPhone&#8217;s bluetooth MAC address, go into the Settings application on your iPhone, press the General button, press the About button, then scroll down to the Bluetooth value.  Your iPhone will be listed in the Bluetooth Manager interface with this address as a sub-heading.  Take a note of this and make sure you go back to the Bluetooth screen so that your iPhone is discoverable again.</p>
<p>Back to the Bluetooth Manager.  Select your iPhone.  Click on the plus icon to register it.</p>
<p>For the next step, you will need to select a 4 digit passcode to use to authenticate your computer to your iPhone.  Click on the <em>keys</em> icon.  A dialog box will appear.  Type in your chosen 4 digit passcode and click on OK.  Your iPhone should now prompt you for a passcode.  Enter the same 4 digit passcode.  Your computer and iPhone are now paired.</p>
<p><strong>Enable Tethering</strong></p>
<p>Enable internet tethering on your iPhone.  In the Settings application, back in the General settings, press the Network button.  Press the Internet Tethering switch to turn it on.</p>
<p>Back to the Bluetooth Manager on your computer.  Right-click on your iPhone and click on Connect To: Network Access Point.  After a short while, a new network connection should be announced in your task bar.  In the Bluetooth Manager, select your iPhone and click on the star icon to indicate that you trust this device.</p>
<p><strong>Finished</strong></p>
<p>From now on, as long as bluetooth is enabled on both your computer and iPhone and internet tethering is also enabled, you will be able to right-click on the bluetooth icon in your task bar and connect to the internet via your iPhone.</p>
<p>While you&#8217;re not using Bluetooth and Internet tethering, I highly recommend you disable them on your iPhone and laptop to conserve battery power.</p>
]]></content:encoded>
			<wfw:commentRss>http://geekery.etherknet.com/?feed=rss2&amp;p=348</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
