<?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>Nothing Fancy</title>
	<atom:link href="http://davidhilton.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidhilton.wordpress.com</link>
	<description>(mostly) Computer-related musings</description>
	<lastBuildDate>Mon, 22 Apr 2013 19:33:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='davidhilton.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Nothing Fancy</title>
		<link>http://davidhilton.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://davidhilton.wordpress.com/osd.xml" title="Nothing Fancy" />
	<atom:link rel='hub' href='http://davidhilton.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Moving&#8230;</title>
		<link>http://davidhilton.wordpress.com/2010/10/26/moving/</link>
		<comments>http://davidhilton.wordpress.com/2010/10/26/moving/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 16:37:22 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=587</guid>
		<description><![CDATA[New blog location!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=587&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.dhiltonp.com/blog">New blog location</a>!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/587/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=587&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2010/10/26/moving/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Closing our Generation&#8217;s Frontier</title>
		<link>http://davidhilton.wordpress.com/2010/09/29/closing-our-generations-frontier/</link>
		<comments>http://davidhilton.wordpress.com/2010/09/29/closing-our-generations-frontier/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 17:32:04 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=578</guid>
		<description><![CDATA[In 1994 President Clinton passed and signed the Communications Assistance to Law Enforcement Act, requiring telecommunications companies (carriers and providers only) to have the ability to intercept commumications and allow access to this data at the request of the government &#8211; in other words, provide mechanisms for government wiretapping. Since then, technologies have advanced and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=578&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In 1994 President Clinton passed and signed the Communications Assistance to Law Enforcement Act, requiring telecommunications companies (carriers and providers only) to have the ability to intercept commumications and allow access to this data at the request of the government &#8211; in other words, <a href="http://www.pbs.org/newshour/bb/government_programs/july-dec10/wiretap_09-27.html">provide mechanisms for government wiretapping</a>.</p>
<p>
Since then, technologies have advanced and the structure of the internet has progressed.  Many services provide encrypted peer to peer chat, which is inherently resistive to wiretapping.</p>
<p>
<a href="http://www.nytimes.com/2010/09/27/us/27wiretap.html?_r=1">The Obama administration is drafting a bill requiring that all communications services be capable of complying with wiretap orders</a>.  Setting aside privacy implications (especially in the context of the Bush administration&#8217;s warrantless wiretapping), the added burden on communications services will slow innovation and herald an era of unnecessary beaurocratic regulation on what is our generation&#8217;s frontier.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/578/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=578&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2010/09/29/closing-our-generations-frontier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Using python&#8217;s imp to dynamically load modules</title>
		<link>http://davidhilton.wordpress.com/2010/09/14/using-pythons-imp-to-dynamically-load-modules/</link>
		<comments>http://davidhilton.wordpress.com/2010/09/14/using-pythons-imp-to-dynamically-load-modules/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 16:40:54 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=564</guid>
		<description><![CDATA[Python&#8217;s imp module is a bit of a bear, but thanks to the groundwork in this thread, I got it straitened out. Here&#8217;s some lightly tested sample code. import imp # the path variable is optional, but possibly necessary tmp = imp.find_module("module", ["relative/path", "/absolute/path"]) try: # the names of the two constants do not seem [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=564&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Python&#8217;s imp module is a bit of a bear, but thanks to the groundwork in <a href="http://mail.python.org/pipermail/python-list/2002-September/164392.html">this thread</a>, I got it straitened out.  Here&#8217;s some lightly tested sample code.</p>
<p><code><br />
import imp<br />
# the path variable is optional, but possibly necessary<br />
tmp = imp.find_module("module", ["relative/path", "/absolute/path"])<br />
try:<br />
# the names of the two constants do not seem to matter<br />
&nbsp;  module = imp.load_module("name", tmp[0], "path", tmp[2])<br />
finally:<br />
&nbsp;  tmp[0].close()<br />
module.thing</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/564/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=564&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2010/09/14/using-pythons-imp-to-dynamically-load-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Python 2.6+MySQL for CentOS/RedHat/Fedora</title>
		<link>http://davidhilton.wordpress.com/2010/04/26/python-2-6mysql-for-centosredhatfedora/</link>
		<comments>http://davidhilton.wordpress.com/2010/04/26/python-2-6mysql-for-centosredhatfedora/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 22:23:22 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=512</guid>
		<description><![CDATA[This is how I created a tarball that, when extracted, gives a fully functioning install of python 2.6 w/ mysql &#8211; while leaving all of the original binaries in place.  The destination of the tarball must be decided at compile time. You may need to recreate the tarball if any of the software packages this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=512&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is how I created a tarball that, when extracted, gives a fully functioning install of python 2.6 w/ mysql &#8211; while leaving all of the original binaries in place.  The destination of the tarball must be decided at compile time.  You may need to recreate the tarball if any of the software packages this is based on (the *-devel packages found below) are upgraded.</p>
<p>The creation process will modify the build server, though the resulting tarball will be completely clean (can be untarred into any similar server with identical software versions and file locations without modification).   You may want to wipe your environment after successfully testing deployment.<br />
<span id="more-512"></span><br />
<span style="font-size:12pt;"><strong>Creation</strong></span><br />
<code>export CDIR=/opt/python-2.6<br />
mkdir py-tmp &amp;&amp; cd py-tmp<br />
# get needed libraries<br />
# if any of these fail to install for whatever reason, you will need to grab the source for the closest available version to what is running on your system, and install it manually into its standard location (specific examples found below).<br />
yum install -y wget zlib-devel openssl-devel readline-devel mysql-devel gcc-c++<br />
<code><br />
# now for Python itself<br />
wget <a href="http://www.python.org/ftp/python/" rel="nofollow">http://www.python.org/ftp/python/</a> (get your own updated link)<br />
tar xf Python-2.6.*.tgz<br />
cd Python-2.6.*<br />
./configure --prefix=$CDIR<br />
make<br />
make install<br />
cd ..<br />
<code><br />
# install setuptools (easy_install)<br />
wget <a href="http://pypi.python.org/packages/2.6/s/setuptools/" rel="nofollow">http://pypi.python.org/packages/2.6/s/setuptools/</a> (get your own link)<br />
PREV_PATH=$PATH<br />
PATH=$CDIR/bin:$PATH<br />
sh setuptools-*.egg<br />
PATH=$PREV_PATH<br />
<code><br />
# install the coveted mysql-python package<br />
wget <a href="http://downloads.sourceforge.net/project/mysql-python/" rel="nofollow">http://downloads.sourceforge.net/project/mysql-python/</a> (get your own link)<br />
tar xf MySQL-python-*.tar.gz<br />
cd MySQL-python-*<br />
$CDIR/bin/python setup.py build<br />
$CDIR/bin/python setup.py install<br />
cd ..<br />
<code><br />
tar -czf python-2.6.tgz $CDIR<br />
</code></p>
<p><span style="font-size:12pt;"><strong>Deployment</strong></span><br />
<code>tar -xzf python-2.6.tgz -C /</code></p>
<p>To use this python binary, you can modify your $PATH, adding $CDIR/bin before /usr/bin or wherever your other version is installed.  To make a python script use this version, either specify the full path on the scripts #! line, or run <code>$CDIR/bin/python script</code>.</p>
<p><span style="font-size:12pt;"><strong>Issues</strong></span><br />
If any of the libraries fail to install (possibly due to crufty servers), you will need to install them manually to their standard location.  Here are some examples of what I've had to do.  Be sure to grab the same version of the software as is already installed.<br />
<code><br />
wget <a href="http://www.zlib.net/zlib-1.2.3.tar.bz2" rel="nofollow">http://www.zlib.net/zlib-1.2.3.tar.bz2</a><br />
tar -xjf zlib-1.2.3.tar.bz2<br />
cd zlib-1.2.3<br />
./configure<br />
make<br />
make install<br />
cd ..<br />
<code><br />
wget <a href="http://www.openssl.org/source/openssl-0.9.7a.tar.gz" rel="nofollow">http://www.openssl.org/source/openssl-0.9.7a.tar.gz</a><br />
tar -xzf openssl-0.9.7a.tar.gz<br />
cd openssl-0.9.7a<br />
./config<br />
make<br />
make install<br />
cd ..<br />
</code></p>
<p>Here is something quite important: if you cannot install mysql-devel, I recommend just grabbing the devel rpm from mysql.com.  Be sure that the mysql version matches as closely as possible to that installed in your system (the version should be spit out when you try to run yum install mysql-devel).  Also, the glibc version must match your system <strong><em>exactly</em></strong>.<br />
<code><br />
wget <a href="http://dev.mysql.com/get/Downloads/MySQL-4.1/MySQL-devel-4.1.22-0.glibc23.i386.rpm/from/http://mirror.services.wisc.edu/mysql/" rel="nofollow">http://dev.mysql.com/get/Downloads/MySQL-4.1/MySQL-devel-4.1.22-0.glibc23.i386.rpm/from/http://mirror.services.wisc.edu/mysql/</a><br />
yum install Mysql-devel*</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/512/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=512&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2010/04/26/python-2-6mysql-for-centosredhatfedora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Clojure: Getting Started in 5 Steps (Intellij+La Clojure)</title>
		<link>http://davidhilton.wordpress.com/2009/12/15/clojure-getting-started-in-5-mostly-gui-steps-intellijla-clojure/</link>
		<comments>http://davidhilton.wordpress.com/2009/12/15/clojure-getting-started-in-5-mostly-gui-steps-intellijla-clojure/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 19:02:16 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[intellij]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=501</guid>
		<description><![CDATA[If emacs isn&#8217;t your thing, or you prefer a modern IDE (read: GUI) for development, I recommend IntelliJ IDEA.  An open-source, community edition was just released, and it is definitely worth giving a spin &#8211; I&#8217;ve been a fan since I first tried it a couple of years ago. Being at a university where the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=501&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If emacs isn&#8217;t your thing, or you prefer a modern IDE (read: GUI) for development, I recommend <a href="http://www.jetbrains.com/idea/index.html">IntelliJ IDEA</a>.  An open-source, community edition was just released, and it is <em>definitely</em> worth giving a spin &#8211; I&#8217;ve been a fan since I <a href="http://davidhilton.wordpress.com/2008/02/23/getting-around-pesky-account-limitations-on-a-linux-box/">first tried it</a> a couple of years ago.</p>
<p>Being at a university where the first language taught is Java, but transferring from an institution where C++ was dominant was a bit of a pain.  IntelliJ got me through my Java-based courses.  I tried and managed with <a href="http://www.eclipse.org/">Eclipse</a> and <a href="http://netbeans.org/">NetBeans</a> for the first semester &#8211; but we were given a significant initial framework.</p>
<p>Enough of my praise for IntelliJ.  Let&#8217;s get started!<br />
<span id="more-501"></span></p>
<ul>
<li>1. <a href="http://www.jetbrains.com/idea/download/">Download IntelliJ</a></li>
</ul>
<ul>
<li>2. Install IntelliJ</li>
</ul>
<ul>
<li>3. Let IntelliJ know where the JDK is (Linux only)</li>
</ul>
<p>Assuming that a JDK is already installed, run<br />
<code>updatedb; locate jdk | grep jre$</code><br />
Do something like the following based on those results<br />
<code>echo "export JDK_HOME=\"/usr/lib/jvm/java-6-openjdk\"" &gt;&gt; ~/.bashrc</code></p>
<ul>
<li>4. Install &#8216;La Clojure&#8217; Plugin</li>
</ul>
<p>Run IntelliJ (linux:bin/idea.sh), open the plugin manager, and search for &#8216;la clojure&#8217;.   Select it for installation, and click OK.</p>
<ul>
<li>5. Create a Clojure Project</li>
</ul>
<p>Click &#8216;Create New Project&#8217;, select &#8216;Create project from scratch&#8217;, give it a descriptive name, and select &#8216;Clojure&#8217; as a desired technology.</p>
<ul>
<li>Start a REPL!</li>
</ul>
<p>Tools -&gt; Start Clojure Console</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=501&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2009/12/15/clojure-getting-started-in-5-mostly-gui-steps-intellijla-clojure/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Italian translation tools</title>
		<link>http://davidhilton.wordpress.com/2009/11/10/italian-translation-tools/</link>
		<comments>http://davidhilton.wordpress.com/2009/11/10/italian-translation-tools/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 22:38:40 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Language]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=480</guid>
		<description><![CDATA[I&#8217;m in an Italian diction class (for singing), and as part of that I get to translate texts sometimes. Having Spanish at my disposal is quite useful, as I can guess most things, and most things I&#8217;m not so sure about can readily be translated into Spanish. As such, I&#8217;m not so sure that these [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=480&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m in an Italian diction class (for singing), and as part of that I get to translate texts sometimes.</p>
<p>Having Spanish at my disposal is quite useful, as I can guess most things, and most things I&#8217;m not so sure about can readily be translated into Spanish.</p>
<p>As such, I&#8217;m not so sure that these will be useful to many, but they are useful to me.</p>
<p>So, first, an <a href="http://www.sapere.it/gr/DictionarySearchServlet?DS_action=ForeignSearch&amp;DS_resType=13">italian-spanish dictionary</a><br />
next, the <a href="http://buscon.rae.es/draeI/">drae (Diccionario Real  Academia Española)</a><br />
and an old <a href="http://books.google.com/books?id=SHAZAAAAYAAJ">spanish-english dictionary</a> for those words not found in the italian-spanish dictionary (deh and fida come to mind).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/480/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=480&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2009/11/10/italian-translation-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Protected: A (fairly vivid and surreal) Dream</title>
		<link>http://davidhilton.wordpress.com/2009/09/25/a-fairly-vivid-dream/</link>
		<comments>http://davidhilton.wordpress.com/2009/09/25/a-fairly-vivid-dream/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 11:58:22 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=470</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=470&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This post is password protected. You must visit the website and enter the password to continue reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/470/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=470&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2009/09/25/a-fairly-vivid-dream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Clojure: Getting Started in 5 Simple Steps (Emacs+Slime)</title>
		<link>http://davidhilton.wordpress.com/2009/07/08/clojure-getting-started-in-5-simple-steps/</link>
		<comments>http://davidhilton.wordpress.com/2009/07/08/clojure-getting-started-in-5-simple-steps/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 02:06:07 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[elpa]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=421</guid>
		<description><![CDATA[More than anything, this post succinctly describes how to get up and running with Clojure + Emacs. Virtually no thinking is required if you are working from a default install of Ubuntu, and not much more is required for any linux distro &#8211; you just need to know how to use your package manager. Furthermore, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=421&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>More than anything, this post succinctly describes how to get up and running with <a href="http://clojure.org/">Clojure</a> + Emacs.  Virtually no thinking is required if you are working from a default install of Ubuntu, and not much more is required for any linux distro &#8211; you just need to know how to use your package manager.</p>
<p>Furthermore, if any of these steps would cause you trouble (deleting .emacs* comes to mind), you probably already know how to handle it.<br />
<span id="more-421"></span></p>
<li>1. Install emacs, git, ant, and a java jdk (distro specific).</li>
<p>Ubuntu: <code>sudo aptitude install emacs git-core ant openjdk-6-jdk</code></p>
<li>2. Install <a href="http://tromey.com/elpa/">Emacs Lisp Package Archive (ELPA)</a></li>
<p>- Evaluate the <a href="http://tromey.com/elpa/install.html">install code</a><br />
- OR evaluate at the cli (<strong>warning</strong>: <code>rm -Rf ~/.emacs*</code> might not do what you want)<br />
<code>rm -Rf ~/.emacs*<br />
git clone git://github.com/technomancy/emacs-starter-kit.git ~/.emacs.d</code></p>
<li>3. Use ELPA to install clojure-mode</li>
<p><code>emacs</code><br />
<code>M-x package-install</code> (M-x corresponds to ALT-x in emacs)</p>
<li>4. Install clojure (using a handy tool in clojure-mode)</li>
<p><code>M-x clojure-install</code></p>
<li>5. Do the following to allow slime to start once clojure-mode is activated</li>
<p><code>echo "(eval-after-load 'clojure-mode '(clojure-slime-config))" &gt;&gt; ~/.emacs.d/<strong>user'name</strong>.el</code></p>
<li>Run Clojure!</li>
<p><code>emacs foo.clj</code><br />
<code>M-x slime</code></p>
<p><strong>Other notes:</strong><br />
- For cli setup, see <a href="http://riddell.us/blog/">Tim Riddell&#8217;s tutorials</a> &#8211; I recommend the bash startup alias, in particular.<br />
- For a longer explanation, see <a href="http://technomancy.us/126">Phil Hagelberg&#8217;s post</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/421/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=421&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2009/07/08/clojure-getting-started-in-5-simple-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>A few new things (to me)</title>
		<link>http://davidhilton.wordpress.com/2009/07/08/a-few-new-things-to-me/</link>
		<comments>http://davidhilton.wordpress.com/2009/07/08/a-few-new-things-to-me/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 21:10:09 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=416</guid>
		<description><![CDATA[Emacs starter kit: improves advanced configuration of emacs OpenDNS: basic web filtering Gizmo: make and receive online calls Google Voice: very nifty phone enhancements (the above two can be combined to give free skype-in/out type service)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=416&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://github.com/technomancy/emacs-starter-kit/tree/master">Emacs starter kit</a>:<br />
improves advanced configuration of emacs</p>
<p><a href="http://www.opendns.com/">OpenDNS</a>:<br />
basic web filtering</p>
<p><a href="http://gizmo5.com/pc/">Gizmo</a>:<br />
make and receive online calls</p>
<p><a href="https://www.google.com/voice">Google Voice</a>:<br />
very nifty phone enhancements</p>
<p>(the above two can be combined to give free skype-in/out type service)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/416/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=416&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2009/07/08/a-few-new-things-to-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
		<item>
		<title>Wiping Data (or Secure Deletion) from Linux</title>
		<link>http://davidhilton.wordpress.com/2009/05/16/wiping-data-or-secure-deletion-from-linux/</link>
		<comments>http://davidhilton.wordpress.com/2009/05/16/wiping-data-or-secure-deletion-from-linux/#comments</comments>
		<pubDate>Sat, 16 May 2009 08:44:25 +0000</pubDate>
		<dc:creator>davidhilton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[barracuda]]></category>
		<category><![CDATA[seagate]]></category>
		<category><![CDATA[seagate chirping]]></category>
		<category><![CDATA[secure erase]]></category>
		<category><![CDATA[wipe]]></category>

		<guid isPermaLink="false">http://davidhilton.wordpress.com/?p=397</guid>
		<description><![CDATA[WARNING: This blog post was posted at approximately 3 AM. As a result, it is not very well defined. Had I been thinking, I would have been more to the point. As it is, I may repost more info about the Seagate HD when it is successfully RMAd. One of my hard drives is making [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=397&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>WARNING: This blog post was posted at approximately 3 AM.  As a result, it is not very well defined.  Had I been thinking, I would have been more to the point.  As it is, I may repost more info about the Seagate HD when it is successfully RMAd.</p>
<p>One of my hard drives is making sounds that indicate that it could fail at any time; In order to prevent any losses, I ordered a <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822148433">new drive</a>.  I spent a while copying all of my data from one drive to the next (I generally have 2 drives in my computer at a given time; the drive closer to failure contains data that is broadly available online, so losses should be minimal if anything happens, while my personal data is semiannually burned to disc and regularly synced to my brother&#8217;s computer).  At any rate, I finished the migration, and started updating my install on the new drive.</p>
<p>The next morning I got up and found that my computer was making a horribly disturbing sound.  The update process had blocked on a prompt for my acceptance of a license agreement.<span id="more-397"></span>  Gkrellm told me that data was not being transfered, so the sound was simply the spinning of the platters.  I ran &#8220;hdparm -y /dev/olddrive&#8221; and &#8220;hdparm -C /dev/olddrive&#8221; to stop my old drive to make sure it wasn&#8217;t responsible for the sound, and then recorded the sound for documentation purposes.</p>
<p>I have a pretty good recording setup, so <a href="http://www.filedropper.com/seagatechirp">the recording</a> is probably about as good quality as is practical &#8211; or even better.  I heard it as soon as I entered the room, so it was fairly loud &#8211; but my system is also fairly quiet.  The sound at the very end is the sound of me clicking a (fairly loud) mouse from a foot away from the mic &#8211; which is about the same distance as the mic was from the disk.</p>
<p>At any rate, I&#8217;m in the habit of keeping multiple copies of my data around until I trust my drives and I need more space, so I was able to undo a few changes I had made to my older drive to make it usable as the master &#8211; so I should have a marginally useful system until the real replacement is mailed to me.</p>
<p><strong>Wiping the Disk for RMA</strong><br />
As I had put nearly all of my data on the new drive, I want to wipe it before returning it &#8211; but I also want to return the drive asap.  I had always used <a href="http://www.dban.org/">DBAN</a> to wipe drives, but I figured I should be able to do it from my normal install.</p>
<p>I first found <a href="http://linux.about.com/library/cmd/blcmdl1_shred.htm">shred</a>, which seemed like it should be quite effective (and useful for shredding specific files, depending on the file system).  It puts random data over the drive in several passes, and it optionally zeros the drive on the final pass.  Unfortunately, I noticed that it was taking a long time &#8211; it uses data from /dev/urandom, which means that the random number generator was cranking like mad.  To sum it up, the bottleneck was the CPU, not the hard disk.</p>
<p>I next tried dding data from /dev/urandom over the file (this was before I completely understood how shred works).  Not surprisingly, it was CPU bound as well (I&#8217;m guessing that disk throughput was at about 10% of its capacity).</p>
<p>Finally, I found <a href="http://wipe.sourceforge.net/">wipe</a>, which uses special patterns, much like DBAN, as opposed to pseudorandom data like shred.  As a result, the data is probably slightly less securely wiped (although it should also be more consistent in its results), but the bottleneck is now the disk.  I expect that it will take 3-4 hours per pass, as opposed to 30-40 hours per pass.</p>
<p><strong>New Seagate Barracudas (.12)</strong><br />
This reminds me, the new barracudas seem to be getting great throughput, at least &#8211; though I can&#8217;t speak for their reliability.  However, I should mention that the packing job was not as good as it could have been, so my issues should probably not be blamed on Seagate, at least not in their entirety.  I bought the OEM drive from Newegg, but the bubble wrap they used has perforations so it can be torn easily.  Unfortunately, one of the perforated lines lined up perfectly with the edge of the disk &#8211; not a good thing, as the perforations pop the bubbles along the line.</p>
<p>I actually took the bubble wrap and tested it to see how much room for error they had in packing.  As it turns out, they have about 1.25 inches of give on either side before one of the corners will not be protected by the bubble wrap.  It&#8217;s enough allowance so that it&#8217;s not generally a problem, but just the same, it may easily have been a factor in my experience.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidhilton.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidhilton.wordpress.com/397/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidhilton.wordpress.com&#038;blog=2768298&#038;post=397&#038;subd=davidhilton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidhilton.wordpress.com/2009/05/16/wiping-data-or-secure-deletion-from-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/fc19990720abb59d30a8a8e55fa99e7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidhilton</media:title>
		</media:content>
	</item>
	</channel>
</rss>
