<?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>Dots and Loops</title>
	<atom:link href="http://dotsandloops.net/feed" rel="self" type="application/rss+xml" />
	<link>http://dotsandloops.net</link>
	<description>Ever more dots and loops, for ever and ever</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:45:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>NoMachine&#039;s NX Changes Everything</title>
		<link>http://dotsandloops.net/vault/240</link>
		<comments>http://dotsandloops.net/vault/240#comments</comments>
		<pubDate>Sat, 31 Dec 2011 15:57:45 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[whatever]]></category>
		<category><![CDATA[*nix]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/240</guid>
		<description><![CDATA[For years now I&#8217;ve been using and managing my Linux server over a SSH connection. Indeed, this entire website was coded up using vim over SSH. In the beginning Unix machines were primarily accessed via teletypewriter (tty&#8217;s) and CRT terminals connected through a serial connection, and this tradition lives on in the plethora of terminal/console [...]]]></description>
			<content:encoded><![CDATA[<p>For years now I&#8217;ve been using and managing my Linux server over a SSH connection. Indeed, this entire website was coded up using vim over SSH. <a title="Unix and ttys" href="http://www.onlamp.com/pub/a/onlamp/2001/03/22/tty.html">In the beginning</a> Unix machines were primarily accessed via teletypewriter (tty&#8217;s) and CRT terminals connected through a serial connection, and this tradition lives on in the plethora of terminal/console applications for *nix systems (unlike Windows systems, which are virtually impossible to administer from a console alone). So, I&#8217;ve been managing my Debian and Ubuntu systems for years now without ever firing up an X server, happily reading my mail with the proud but austere mutt, seeking tech advice on freenode using the ever clever irssi, haunting the occasional programming news group via the enigmatic but flexible slrn, and more recently downloading *nix ISO&#8217;s over bittorrent with rTorrent. All managed with the indispensable terminal multiplexer <a title="Screen" href="http://michael-prokop.at/screen/index.php3">screen</a>, which is essentially a window manager for terminals, with the added goodness of letting you disconnect and reconnect to sessions.<span id="more-240"></span></p>
<p>Of course, I&#8217;ve tinkered with tunneling X through SSH, tunneling VNC, the somewhat faster tight VNC, and I even tried the XRDP project which aims to provide a Windows compatible RDP server (remote desktop) for *nix systems. In the past I&#8217;d combine one of the above with a bare minimal window manager like ratpoison or evilWM, and I&#8217;d achieve somewhat usable speeds. Certainly tight VNC isn&#8217;t a bad option, and it can even provide for detachable and re-attachable X sessions, but nothing has really lured me away from screen till now.</p>
<p>Enter <a title="NX" href="http://en.wikipedia.org/wiki/NX_technology">NoMachine&#8217;s NX</a>. All I can say is I am simple stunned. The speeds are phenomenal. Indeed, nothing really prepared me for this kind of remote X goodness. I have a Gnome desktop running, and I am happily rediscovering X Windows and the Linux desktop after a long absence. As much as I love ncurses and screen, I think it would be foolish to deny that certain applications can benefit from a graphical interface. So, If you need remote access to your Linux desktop, I would definitely check it out. There is an open source offshoot called FreeNX, which is what I currently have installed on my Ubuntu system. NoMachine is also kind enough to offer their server with few strings attached, and clients are available for virtually all platforms.</p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/240/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dots and loops for 2011.12.25</title>
		<link>http://dotsandloops.net/vault/239</link>
		<comments>http://dotsandloops.net/vault/239#comments</comments>
		<pubDate>Sun, 25 Dec 2011 05:05:01 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/239</guid>
		<description><![CDATA[Compiz &#8211; Wikipedia, the free encyclopedia A crazy 3D window manager for *nix systems. You can use this in place of metacity on a gnome desktop. Alan Doyle » Setup FreeNX under Ubuntu 8.10 (Intrepid Ibex) This thing is so fast I&#8217;m speechless. After fiddling with XRDP and VNC, I&#8217;ve decided this is the definitive [...]]]></description>
			<content:encoded><![CDATA[<ul class="linklist">
<li><a title="http://en.wikipedia.org/wiki/Compiz" href="http://en.wikipedia.org/wiki/Compiz">Compiz &#8211; Wikipedia, the free encyclopedia</a>
<div>A crazy 3D window manager for *nix systems. You can use this in place of metacity on a gnome desktop.</div>
</li>
<li><a title="http://alandoyle.com/2008/12/16/setup-freenx-under-ubuntu-810-intrepid-ibex/" href="http://alandoyle.com/2008/12/16/setup-freenx-under-ubuntu-810-intrepid-ibex/">Alan Doyle » Setup FreeNX under Ubuntu 8.10 (Intrepid Ibex)</a>
<div>This thing is so fast I&#8217;m speechless. After fiddling with XRDP and VNC, I&#8217;ve decided this is the definitive remote desktop solution for Linux. And it all happens over ssh automagically (no tunneling required, like with VNC).</div>
</li>
<li><a title="http://rss2email.infogami.com/" href="http://rss2email.infogami.com/">rss2email</a>
<div>A handy tool for delivering RSS feeds to your email account.</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/239/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dots and loops for 2011.12.18</title>
		<link>http://dotsandloops.net/vault/237</link>
		<comments>http://dotsandloops.net/vault/237#comments</comments>
		<pubDate>Sun, 18 Dec 2011 05:05:02 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/237</guid>
		<description><![CDATA[Bash Shell PS1: 10 Examples to Make Your Linux Prompt like Angelina Jolie Huffduffer Delicious for audio files. Lastpod An audioscrobbler (last.fm) client that works nice with the iPod. Very useful for those not using iTunes.]]></description>
			<content:encoded><![CDATA[<ul class="linklist">
<li><a title="http://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/" href="http://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/">Bash Shell PS1: 10 Examples to Make Your Linux Prompt like Angelina Jolie</a>
<div /></li>
<li><a title="http://huffduffer.com/" href="http://huffduffer.com/">Huffduffer</a>
<div>Delicious for audio files.</div>
</li>
<li><a title="http://www.lastpod.org/" href="http://www.lastpod.org/">Lastpod</a>
<div>An audioscrobbler (last.fm) client that works nice with the iPod. Very useful for those not using iTunes.</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/237/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql: backups</title>
		<link>http://dotsandloops.net/vault/38</link>
		<comments>http://dotsandloops.net/vault/38#comments</comments>
		<pubDate>Wed, 15 Jun 2011 20:20:29 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/38</guid>
		<description><![CDATA[Note: Some of this was cut and pasted from this article by Ian Gilfillan, and is printed here merely for my convenience. If you are Ian and have a problem with this, lmk. Thanks. Backing up your database There are two approaches to backing up your mysql database. You can either backup the raw database [...]]]></description>
			<content:encoded><![CDATA[<p><span id="more-38"></span><br />
Note: Some of this was cut and pasted from <a href="http://www.databasejournal.com/features/mysql/article.php/3421751">this</a> article by Ian Gilfillan, and is printed here merely for my convenience. If you are Ian and have a problem with this, lmk. Thanks.</p>
<h5 class="hilight">Backing up your database</h5>
<p>There are two approaches to backing up your mysql database. You can either backup the raw database files themselves (usually found somewhere in the proximity of /var/lib/mysql/), or you can <i>dump</i> the database (or individual tables) to a file that can be used to reconstruct it in the case of a disaster.</p>
<p>The perl script <em>mysqlhotcopy</em> is useful for doing raw copies. For creating a backup .sql <i>script</i> that can be used to recreate your database, I recommend <em>mysqldump</em>.</p>
<p><b>mysqldump dbname > dbname-bkup.sql</b></p>
<p>To restore using this backup:<br />
<b>mysql dbname < filepath_filename.sql</b></p>
<p>Note, before restoring, if a database with this name already exists, you may want to delete it. Alternatively, if you use the switch <b>&#8211;add-drop-table</b> to mysqldump when making the backup, all database tables will be deleted before restoring.</p>
<p>Other switches that may be of interest include:</p>
<table>
<tr>
<td valign="top">
&#8211;add-drop-table
</td>
<td valign="top">
Adds a DROP TABLE statement before each CREATE TABLE. This ensures that when restoring, if the tables already exist, they will first be dropped and not able to interfere with the restoration.
</td>
</tr>
<tr>
<td valign="top">
&#8211;add-locks
</td>
<td valign="top">
Puts a LOCK TABLES statement before each table dump, and an UNLOCK TABLE statement, causing the INSERT statements to be processed much more quickly, as the key buffer is only flushed once per table, after the UNLOCK.
</td>
</tr>
<tr>
<td valign="top">
&#8211;lock-tables, -l
</td>
<td valign="top">
Locks all tables on the server before starting the dump. MySQL uses a READ LOCAL lock, which allows concurrent inserts.
</td>
</tr>
<tr>
<td valign="top">
&#8211;opt
</td>
<td valign="top">
Use this!<br />
Same as  &#8211;add-drop-table &#8211;add-locks &#8211;all &#8211;extended-insert &#8211;quick &#8211;lock-tables
</td>
</tr>
<tr>
<td valign="top">
&#8211;all-databases, -A
</td>
<td valign="top">
Dumps all databases
</td>
</tr>
<tr>
<td valign="top">
&#8211;tables
</td>
<td valign="top">
Dumps a list of tables (this overwrites the &#8211;databases option)
</td>
</tr>
<tr>
<td valign="top">
-u username<br />
-p password<br />
-h host
</td>
<td valign="top">
Allows you to specify the username, password or an alternate host to localhost.
</td>
</tr>
<tr>
<td valign="top">
&#8211;where=&#8217;condition&#8217;
</td>
<td valign="top">
Allows you to dump results returned according to a specific condition.
</td>
</tr>
</table>
<p>Here is a crontab example:</p>
<p>0 5 * * * mysqldump &#8211;user=shortstat &#8211;password=NotTelling &#8211;opt blogstats > /var/www/blogstats.sql</p>
<p>mysqlhotcopy is a Perl script that physically copies files. MyISAM tables are stored as files, and can therefore be backed up and restored simply by copying the data, index and structure files. This is much quicker than mysqldump, but does not work for InnoDB tables, which are not stored individually as files. When copying files, you need to ensure that either the server is offline, or the tables are locked to ensure a consistent backup. mysqlhotcopy does all of this for you by obtaining a read lock on all the tables to be backed up, then copying the tables and releasing the lock. It is a good option for small, live databases, but not for larger, heavily used databases. mysqlhotcopy works as follows:</p>
<p>$ mysqlhotcopy dbname filepath</p>
<p>There are a number of prerequisites to running mysqlhotcopy.</p>
<p>To restore from mysqlhotcopy, simply copy the files back to the data directory:</p>
<p>$ cp filepath_filenames datadir_filepath</p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/38/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vim : search and replace</title>
		<link>http://dotsandloops.net/vault/77</link>
		<comments>http://dotsandloops.net/vault/77#comments</comments>
		<pubDate>Tue, 14 Jun 2011 16:47:36 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/77</guid>
		<description><![CDATA[The basics, for quick reference. Search / Search the file downwards for the string specified after the / ? Search the file upwards for the string specified after the? n Repeat last search given by &#8216;/&#8217; or &#8216;?&#8217; N Repeat the last search given by &#8216;/&#8217; or &#8216;?&#8217;, except in the reverse direction F Search [...]]]></description>
			<content:encoded><![CDATA[<p>The basics, for quick reference.<br />
<span id="more-77"></span></p>
<h5 class="hilight">Search</h5>
<dl>
<dt>/</dt>
<dd>Search the file downwards for the string specified after the /</dd>
<dt>?</dt>
<dd>Search the file upwards for the string specified after the?</dd>
<dt>n</dt>
<dd>Repeat last search given by &#8216;/&#8217; or &#8216;?&#8217;</dd>
<dt>N</dt>
<dd>Repeat the last search given by &#8216;/&#8217; or &#8216;?&#8217;, except in the reverse direction</dd>
<dt>F</dt>
<dd>Search the current line backwards for the character specified after the &#8216;F&#8217; command. If found, move the cursor to the position</dd>
<dt>f</dt>
<dd>Search the current line for the character specified after the &#8216;f&#8217; command. If found, move the cursor to the position</dd>
<dt>;</dt>
<dd>Repeat the last f or F</dd>
</dl>
<h5 class="hilight">Replace</h5>
<p><span class="command">[address] s [/pattern/replacement/] [options] [count]</span></p>
<p>Address can be empty (current line only), or a range designated as follows:</p>
<table class="tb-s">
<tbody>
<tr>
<th>Symbol</th>
<th>Meaning</th>
</tr>
<tr>
<td><tt class="userinput"><strong>1,$</strong></tt></td>
<td>All lines in the file</td>
</tr>
<tr>
<td><tt class="userinput"><strong>%</strong></tt></td>
<td>All lines; same as <strong class="emphasis-bold">1,$</strong></td>
</tr>
<tr>
<td><tt class="userinput"></tt><em class="replaceable">x</em><tt class="userinput"><strong>,</strong></tt><em class="replaceable">y</em></td>
<td>Lines <em class="emphasis">x</em> through <em class="emphasis">y</em></td>
</tr>
<tr>
<td><tt class="userinput"></tt><em class="replaceable">x</em><tt class="userinput"><strong>;</strong></tt><em class="replaceable">y</em></td>
<td>Lines <em class="emphasis">x</em> through <em class="emphasis">y</em>, with current line reset to <em class="emphasis">x</em></td>
</tr>
<tr>
<td><tt class="userinput"><strong>0</strong></tt></td>
<td>Top of file</td>
</tr>
<tr>
<td><tt class="userinput"><strong>.</strong></tt></td>
<td>Current line</td>
</tr>
<tr>
<td><tt class="userinput"></tt><em class="replaceable">n</em></td>
<td>Absolute line number <em class="emphasis">n</em></td>
</tr>
<tr>
<td><tt class="userinput"><strong>$</strong></tt></td>
<td>Last line</td>
</tr>
<tr>
<td><tt class="userinput"></tt><em class="replaceable">x</em><tt class="userinput"><strong>-</strong></tt><em class="replaceable">n</em></td>
<td><em class="emphasis">n</em> lines before <em class="emphasis">x</em></td>
</tr>
<tr>
<td><tt class="userinput"></tt><em class="replaceable">x</em><tt class="userinput"><strong>+</strong></tt><em class="replaceable">n</em></td>
<td><em class="emphasis">n</em> lines after <em class="emphasis">x</em></td>
</tr>
<tr>
<td><tt class="userinput"><strong>-</strong></tt>[<em class="replaceable">n</em>]</td>
<td>One or <em class="emphasis">n</em> lines previous</td>
</tr>
<tr>
<td><tt class="userinput"><strong>+</strong></tt>[<em class="replaceable">n</em>]</td>
<td>One or <em class="emphasis">n</em> lines ahead</td>
</tr>
<tr>
<td><tt class="userinput"><strong>'</strong></tt><em class="replaceable">x</em></td>
<td>Line marked with <em class="emphasis">x</em></td>
</tr>
<tr>
<td><tt class="userinput"><strong>''</strong></tt></td>
<td>Previous mark</td>
</tr>
<tr>
<td><tt class="userinput"><strong>/</strong></tt><em class="replaceable">pattern</em><tt class="userinput"><strong>/</strong></tt></td>
<td>Forward to line matching <em class="emphasis">pattern</em></td>
</tr>
<tr>
<td><tt class="userinput"><strong>?</strong></tt><em class="replaceable">pattern</em><tt class="userinput"><strong>?</strong></tt></td>
<td>Backward to line matching <em class="emphasis">pattern</em></td>
</tr>
</tbody>
</table>
<h5>Options</h5>
<p><em>c</em> Prompt for confirmation before each change<br />
<em>g</em> Substitute all instances of pattern on each line<br />
<em>p</em> Print the last line on which a substitution was made<br />
<em>i</em> Ignore case for the search pattern</p>
<h5>Examples:</h5>
<p>:s/foo/bar/g<br />
Replace every occurrence of the word foo with bar on current line.</p>
<p>:%s/foo/bar/c<br />
For each line on the file, replace the first occurrence of foo with bar and confirm every substitution.</p>
<p>:1,10s/yes/no/g<br />
Substitute on first 10 lines.</p>
<p>:%s/[Hh]ello/Hi/gc<br />
Confirm global substitutions.</p>
<p>:%s/foo/bar/gi<br />
Ignore the case of the pattern you want to substitute. This replaces foo, FOO, Foo, and so on.</p>
<p>:s/Fortran/\U&amp;/ 3<br />
Uppercase first instance of &#8220;Fortran&#8221; on next three lines.</p>
<p>:g/^[0-9][0-9]*/s//Line &amp;:/<br />
For every line beginning with one or more digits, add the &#8220;Line&#8221; and a colon.</p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/77/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arial&#8217;s Sordid Past</title>
		<link>http://dotsandloops.net/vault/65</link>
		<comments>http://dotsandloops.net/vault/65#comments</comments>
		<pubDate>Tue, 07 Jun 2011 16:28:14 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/65</guid>
		<description><![CDATA[The shameful history of the Arial font.]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.ms-studio.com/articles.html">shameful history of the Arial font</a>, and it&#8217;s sordid connections with MS, is recounted with great acumen by Mark Simonson. You&#8217;ll always use the pious and revered Helvitica after reading this. For font junkies only.</p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/65/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>J. River SmartAss Plugin</title>
		<link>http://dotsandloops.net/vault/236</link>
		<comments>http://dotsandloops.net/vault/236#comments</comments>
		<pubDate>Sat, 07 May 2011 15:53:47 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[whatever]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[src]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/236</guid>
		<description><![CDATA[I kind of like the "genius" playlist feature in the new iTunes, so I attempted to do something similar for J. River's Media Center (my music manager of choice at the moment).]]></description>
			<content:encoded><![CDATA[<p>I kind of like the &#8220;genius&#8221; playlist feature in the new iTunes, so I attempted to do something similar for J. River&#8217;s Media Center (my music manager of choice at the moment).</p>
<p>The idea behind iTunes &#8220;genius&#8221; feature is to scour your music database and queue up tracks similar to the one you are currently listening to. How well it does this is debatable. iTunes seems to cook up it&#8217;s &#8220;similarity&#8221; data based on the listening and purchasing habits of it&#8217;s users. Interestingly, if everyone&#8217;s listening habits were completely eclectic, and if they always kept their player on random, there would be nothing to go on. Fortunately, this isn&#8217;t the case.<span id="more-236"></span></p>
<p>Sometimes these genius playlists are spot on, other times they are wildly divergent. Either way it&#8217;s kind of fun.<br />
Unfortunately iTunes doesn&#8217;t make their &#8220;genius&#8221; info available via web services, so my plugin leverages Last FM&#8217;s web services instead, which will give you a list of similar tracks for any track, as well as a list of similar artists. Once again, results vary.<br />
Here&#8217;s an example:</p>
<p>&gt;&gt;&gt; Looking up &#8220;When We Get Famous&#8221; by Math And Physics Club<br />
Merging with current Playlist</p>
<p>Found 149 Similar tracks according to Last FM<br />
Found track: Mars by The Lucksmiths<br />
Found track: Young and Dumb by The Lucksmiths<br />
Found track: Get It Right by The Fairways<br />
Found track: Twee by Tullycraft<br />
Found track: Leaders of the New School by Tullycraft<br />
Found track: Emblematic by Pipas<br />
Found track: Run Run Run by Pipas<br />
Found track: Popkiss by Blueboy<br />
Found track: Talulah Gosh by Talulah Gosh<br />
Found track: One Two Three Four by Acid House Kings<br />
Found track: Springtime Sunshine by The Shermans<br />
&#8230; and so on.</p>
<p>Here&#8217;s a screen shot:</p>
<p><img title="Smart Ass Plugin" src="http://dotsandloops.net/img/posts/SmartAss.jpg" alt="Smart Ass Plugin" /></p>
<p>I&#8217;ve tried this on J. River Media Center versions 12 and 13, and also on Jukebox. Here&#8217;s the installer:<br />
<a title="J. River SmartAss Plugin v. 0.1 " href="http://dotsandloops.net/downloads/SmartAss/JR_SmartAss_0.1_Setup.zip">J. River SmartAlec Plugin v. 0.1 </a></p>
<p>Here&#8217;s the source code as well, in case anyone wants to poke around. I did this in MS&#8217;s Visual C# Express Edition. If you do anything cool or useful please send me a copy. The project uses Martin Lottering&#8217;s CheckBoxComboBox control which can be found on <a title="CodeProject" href="http://www.codeproject.com">CodeProject</a>, as well as an XML-RPC wrapper which can be found <a title="XML-RPC" href="http://www.xml-rpc.net">here</a>.</p>
<p><a href="http://dotsandloops.net/downloads/SmartAss/JR_SmartAss_0.1_src.zip">J. River SmartAlec Plugin v. 0.1 source </a></p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/236/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Will and Causation</title>
		<link>http://dotsandloops.net/vault/314</link>
		<comments>http://dotsandloops.net/vault/314#comments</comments>
		<pubDate>Wed, 20 Apr 2011 19:33:49 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[podcasts]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/?p=314</guid>
		<description><![CDATA[The Brain Science Podcast had an interesting episode devoted to the subject of free will and I think it helped clarify for me some of the concepts. The variant of free will in question is a traditional and spiritually informed one, whereby our actions originate in some unassailable kernel of the self. Some people consider [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://dotsandloops.net/img/posts/Diderot-statue.jpg" alt="Diderot Statue" title="Diderot Statue" class="img-left size-full wp-image-315" />The <a href="http://www.brainsciencepodcast.com/bsp/2007/7/20/is-free-will-a-myth.html">Brain Science Podcast</a> had an interesting episode devoted to the subject of free will and I think it helped clarify for me some of the concepts. The variant of free will in question is a traditional and spiritually informed one, whereby our actions originate in some unassailable kernel of the self. Some people consider the workings of the frontal lobes to be free will, but that is a weaker notion.</p>
<p>The podcast helped me to conceptualize the issue in terms of causation. I&#8217;ll outline two different stances, one spiritual and the other materialistic. I won&#8217;t pretend to get either right. It&#8217;s interesting to note up front that historically there have been theological stances which do not believe in free will, Calvinism being one example. I think the issue partly being the difficulty in reconciling individual free will with the idea of God&#8217;s omnipotence.<span id="more-314"></span></p>
<p>When a conscious agent decides to take some action, how do you conceptualize the chain of causation that preceded that action? In the pro free will stance the chain ends in a kernel of free agency which one might call, alternatively, the self, soul, or spirit, and this kernel operates outside any physical laws that operate on the material world. In the Christian view the kernel was forged by God in His own image, and is usually considered to be immortal. The self becomes a well spring of action in the world that operates from outside the world. A kernel of agency unfettered by physical laws, but which is capable of generating a spark of action within the world. The first, uncaused node in a chain of causation. This freedom from the physical world adheres only in ones mental life, of course. In the attempt to exercise our will we are brought once again into the physical and material world.</p>
<p>Alternatively, in the scientific or materialist view, the chain of causation for every action essentially has one well spring&#8230; the big bang. Thoughts and decisions are synonymous with neural activity in the brain. The more rational the thought or decision, the more the pre-frontal cortex in involved, hopefully, but either way it all amounts to neural activity. This neural activity, in turn, was caused by outside stimulus, or perhaps internal biochemistry. It&#8217;s hard not to resort to the computer as an analogy here, and conceptualize the thoughts as algorithmic in nature. The algorithms and networks themselves are built upon templates ironed out over the course of evolutionary history. The experiential and developmental history of the organism fine tunes the algorithms, as well as creating a repository for data, in the form of memories, which might be used in making future decisions. Of course this explanatory path is no where near complete, scientifically, but in principle the chain of causation becomes a massively tangled web, winding it&#8217;s way back in time to the beginning of our universe.</p>
<p>This is a radically different notion of the self. One in which we are riders on a causal trajectory which started with the big bang. At the end of the podcast, Ginger, who seems to more or less agree with the materialistic notion of free will outlined above, makes a defense for the idea of personal responsibility, but I can&#8217;t help thinking that from within that framework such notions are simply useful fictions. At the very least, notions such as blame, praise, responsibility, guilt, etc&#8230; loose some of their gravity.</p>
<p>This isn&#8217;t necessarily a bad thing, but it&#8217;s a different way of thinking about the world and the self. Different, but certainly not new. Diderot was already writing about these things in works like <a href="http://en.wikipedia.org/wiki/Le_r%C3%AAve_de_D%27Alembert">D’Alembert’s Dream</a> way back in 1769.</p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/314/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drug Dealers and Flow</title>
		<link>http://dotsandloops.net/vault/310</link>
		<comments>http://dotsandloops.net/vault/310#comments</comments>
		<pubDate>Wed, 20 Apr 2011 14:01:19 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[economics]]></category>
		<category><![CDATA[podcasts]]></category>
		<category><![CDATA[psychology]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/?p=310</guid>
		<description><![CDATA[This morning on the way to work I listened to a Planet Money podcast about ex-drug dealer Freeway Rick Ross. The planet money team wanted to get his responses and opinions regarding the economics of drug dealing, to test how well they match up with economists predictions. All of this was very interesting, of course, [...]]]></description>
			<content:encoded><![CDATA[<p>This morning on the way to work I listened to a <a href="http://www.npr.org/blogs/money/2011/04/13/135354436/the-tuesday-podcast-a-former-crack-dealer-on-the-economics-of-drugs">Planet Money podcast</a> about ex-drug dealer Freeway Rick Ross. The planet money team wanted to get his responses and opinions regarding the economics of drug dealing, to test how well they match up with economists predictions. All of this was very interesting, of course, but while listening to Freeway Rick describe the life and times of a L.A. crack dealer I suddenly realized that for Rick, dealing drugs put him in the highly desirable state called <a href="http://en.wikipedia.org/wiki/Flow_(psychology)">flow</a> by positive psychologists. Rick, who spent a while in jail and is now out on parole, says there is nothing else he would rather do than be a drug dealer, and while I can&#8217;t help thinking this betrays a shortcoming of imagination, it is hardly surprising considering how much flow he achieved in his former job, where he was essentially CEO of a thriving business.</p>
<p>Anyway, I haven&#8217;t read much about flow but I imagine it&#8217;s an idea that is not typically called upon to illuminate the motivations and psychology of those striving for goals that don&#8217;t match up with societies.</p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/310/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lesspipe: less on steroids</title>
		<link>http://dotsandloops.net/vault/135</link>
		<comments>http://dotsandloops.net/vault/135#comments</comments>
		<pubDate>Wed, 13 Apr 2011 16:19:57 +0000</pubDate>
		<dc:creator>e-head</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dotsandloops.net/vault/135</guid>
		<description><![CDATA[This is a very nifty tool I forgot about and then rediscovered.]]></description>
			<content:encoded><![CDATA[<p>This is a very nifty tool I forgot about and then rediscovered. It is capable of handling all sorts of input formats, letting you view html, pdf, ps, dvi, and even word files. <span id="more-135"></span>It also can list files from archives, or extract and display specific files from archives. It even will syntax highlight your source files.</p>
<p>You will want to first install all the helper apps. On Debian or Ubuntu :<br />
<span class="command">apt-get install mp3info unrtf antiword xpdf-utils html2text pstotext dvi2tty cabextract</span></p>
<p>Then <a href="http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html">download the tarball</a>, run make, and set up your .bash_profile file properly. I added the following line to my .bash_profile:</p>
<p><span class="command">export LESSOPEN=&#8221;|/usr/local/bin/lesspipe.sh %s&#8221;</span></p>
<p>Now &#8220;re-source&#8221; this file from your prompt (<span class="command">. ~/.bash_profile</span>) and try things out. To view a file from an archive use <span class="command">less archive.tgz:docs/README</span> for example. To turn on the syntax highlighting feature use <span class="command">less -R mycode.c</span>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dotsandloops.net/vault/135/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

