<?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>David Lynch</title>
	<atom:link href="http://davidlynch.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidlynch.org/blog</link>
	<description>has a blog</description>
	<lastBuildDate>Fri, 18 Jun 2010 07:37:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Change your surroundings</title>
		<link>http://davidlynch.org/blog/2010/06/change-your-surroundings/</link>
		<comments>http://davidlynch.org/blog/2010/06/change-your-surroundings/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 07:37:01 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[work habits]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/?p=101</guid>
		<description><![CDATA[I work from home. I like it. However, it&#8217;s easy to get distracted and slack off. I find that the longer I spend with my workplace set up in one location at home, the less productive I get. I seem to come to associate that spot with being distracted, instead of working. So I move [...]]]></description>
			<content:encoded><![CDATA[<p>I work from home. I like it. However, it&#8217;s easy to get distracted and slack off.</p>
<p>I find that the longer I spend with my workplace set up in one location at home, the less productive I get. I seem to come to associate that spot with being distracted, instead of working.</p>
<p>So I move regularly. Spend a few days/weeks with one workplace, then move to another in my home. Or spend a week going out to a coffee shop every day to work there. It breaks the association and lets me get things done.</p>
<p>Works for me, anyway.</p>
<p>My experience working in offices indicates that the peer pressure of other people being around working balances out the accumulated slacking habits of a single desk. Still, given the choice I&#8217;d rather work at home and have to move around.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2010/06/change-your-surroundings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ooo capitalism</title>
		<link>http://davidlynch.org/blog/2010/05/ooo-capitalism/</link>
		<comments>http://davidlynch.org/blog/2010/05/ooo-capitalism/#comments</comments>
		<pubDate>Mon, 24 May 2010 01:25:10 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[maphilight]]></category>
		<category><![CDATA[money]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/2010/05/ooo-capitalism/</guid>
		<description><![CDATA[&#8220;Clickable Maps&#8221; is selling pre-made maps explicitly for use with Maphilight. The pre-purchase samples are pretty good examples of what&#8217;s possible. This USA map shows remote triggering of a hilight, for instance. Note: I wouldn&#8217;t have released under the MIT license if this sort of thing bothered me.]]></description>
			<content:encoded><![CDATA[<p>
<a  href="http://www.clickablemaps.com/">&#8220;Clickable Maps&#8221;</a> is selling pre-made maps explicitly for use with Maphilight.</p>
<p>The pre-purchase samples are pretty good examples of what&#8217;s possible. This 
<a  href="http://www.clickablemaps.com/clickable-map-of-the-united-states-small/">USA map</a> shows remote triggering of a hilight, for instance.</p>
<p>Note: I wouldn&#8217;t have released under the MIT license if this sort of thing bothered me.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2010/05/ooo-capitalism/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simplecomic</title>
		<link>http://davidlynch.org/blog/2010/05/simplecomic/</link>
		<comments>http://davidlynch.org/blog/2010/05/simplecomic/#comments</comments>
		<pubDate>Sun, 23 May 2010 04:38:32 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[simplecomic]]></category>
		<category><![CDATA[webcomic]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/?p=96</guid>
		<description><![CDATA[Another new-ish release, this time a PHP webcomic content management system called simplecomic. Features: Multiple comics per day Schedule posting of comics in advance Masking of comic filenames so scheduled comics can&#8217;t be easily found Comic descriptions, alt text, and transcripts Optional chapter divisions for comics &#8220;Rants&#8221; as a lightweight blog, with scheduled posting Theme [...]]]></description>
			<content:encoded><![CDATA[<p>Another new-ish release, this time a PHP webcomic content management system called 
<a  href="http://github.com/kemayo/simplecomic">simplecomic</a>.</p>
<p>Features:</p>
<ul>
<li>Multiple comics per day</li>
<li>Schedule posting of comics in advance</li>
<li>Masking of comic filenames so scheduled comics can&#8217;t be easily found</li>
<li>Comic descriptions, alt text, and transcripts</li>
<li>Optional chapter divisions for comics</li>
<li>&#8220;Rants&#8221; as a lightweight blog, with scheduled posting</li>
<li>Theme system</li>
<li>Static pages</li>
<li>Support for the frontpage showing the first comic from the most recent day with comics, to allow posting of &#8220;issues&#8221;</li>
</ul>
<p>I wrote it for a friend who wanted to start her own webcomic and wasn&#8217;t happy with the existing options in the field of webcomic CMSes.</p>
<p>You can see an example 
<a  href="http://acidreflux.ficwad.com/">here</a>. It&#8217;s a dead webcomic that I happen to be hosting for sentimental reasons. Ignore the Comic Sans&#8230; it&#8217;s also there for sentimental reasons. :P</p>
<p>Get it 
<a  href="http://github.com/kemayo/simplecomic">on github</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2010/05/simplecomic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AckMate</title>
		<link>http://davidlynch.org/blog/2010/05/ackmate/</link>
		<comments>http://davidlynch.org/blog/2010/05/ackmate/#comments</comments>
		<pubDate>Sat, 22 May 2010 08:10:59 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[ack]]></category>
		<category><![CDATA[ackmate]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/2010/05/ackmate/</guid>
		<description><![CDATA[In the event that anyone was using my TextMate Ack In Project fork, protocool released a successor to Ack In Project called AckMate. It&#8217;s better. Get it instead.]]></description>
			<content:encoded><![CDATA[<p>In the event that anyone was using my TextMate 
<a  href="http://davidlynch.org/blog/2009/02/textmate-bundle-ack-in-project-improved/">Ack In Project fork</a>, protocool released a successor to Ack In Project called 
<a  href="http://github.com/protocool/AckMate">AckMate</a>.</p>
<p>It&#8217;s better. Get it instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2010/05/ackmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>maphilight 1.2</title>
		<link>http://davidlynch.org/blog/2010/05/maphilight-1-2/</link>
		<comments>http://davidlynch.org/blog/2010/05/maphilight-1-2/#comments</comments>
		<pubDate>Sat, 22 May 2010 08:05:28 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[maphilight]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/?p=87</guid>
		<description><![CDATA[I finally got around to officially releasing maphilight 1.2. This mostly just updates the official jquery.com release to the HEAD of the github project. I&#8217;d been putting it off because I spent quite a while without easy access to a Windows machine with IE8 to test the fixes that people provided. But I switched back [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to 
<a  href="http://plugins.jquery.com/node/1837/release">officially releasing maphilight 1.2</a>.</p>
<p>This mostly just updates the official jquery.com release to the HEAD of 
<a  href="http://github.com/kemayo/maphilight/">the github project</a>.</p>
<p>I&#8217;d been putting it off because I spent quite a while without easy access to a Windows machine with IE8 to test the fixes that people provided. But I switched back to Windows as my main desktop recently (mainly to play games), so that was resolved.</p>
<p>There&#8217;s not much in the way of changes:</p>
<ul>
<li>IE8 works now</li>
<li>New &#8220;neverOn&#8221; option for use with metadata by Zach Dennis, which stops individual areas from ever being hilighted</li>
<li>Handles being called on the same area twice differently; now rebuilds the hilighted regions</li>
<li>&#8230;and I added 
<a  href="http://davidlynch.org/js/maphilight/docs/demo_simple.html">an example</a> of triggering the hilight from another element, since it&#8217;s one of the most commonly asked questions</li>
</ul>
<p>Hopefully I&#8217;ll be able to post here a bit more now that I have some of that guilt for not updating off my shoulders. :P</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2010/05/maphilight-1-2/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Oasis Storage and Moving, Inc.</title>
		<link>http://davidlynch.org/blog/2009/09/oasis-storage-and-moving-inc/</link>
		<comments>http://davidlynch.org/blog/2009/09/oasis-storage-and-moving-inc/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:41:17 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[chair]]></category>
		<category><![CDATA[moving]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/2009/09/oasis-storing-and-moving-inc/</guid>
		<description><![CDATA[On balance, I would not recommend Oasis Storage and Moving, Inc. They lost my chair.]]></description>
			<content:encoded><![CDATA[<p>On balance, I would not recommend Oasis Storage and Moving, Inc. They lost my chair.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2009/09/oasis-storage-and-moving-inc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A jQuery 1.3 quirk that bit me</title>
		<link>http://davidlynch.org/blog/2009/07/a-jquery-13-quirk-that-bit-me/</link>
		<comments>http://davidlynch.org/blog/2009/07/a-jquery-13-quirk-that-bit-me/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 22:58:04 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/?p=84</guid>
		<description><![CDATA[deviantART just upgraded to jQuery 1.3, and we found an undocumented jQuery change that broke some things. The behavior of the :enabled selector changed. Before it selected all enabled form elements, now it selects all enabled and non-hidden form elements. This bit us, because we were using jQuery to assemble some form elements to submit [...]]]></description>
			<content:encoded><![CDATA[<p>deviantART just upgraded to jQuery 1.3, and we found an undocumented jQuery change that broke some things.</p>
<p>The behavior of the <code>:enabled</code> selector changed. Before it selected all enabled form elements, now it selects all enabled <em>and non-hidden</em> form elements. This bit us, because we were using jQuery to assemble some form elements to submit over xmlhttprequest&#8230; and now some hidden fields weren&#8217;t getting included.</p>
<p>This means that if you were using <code>:enabled</code>, you now need to use <code>:not(:disabled)</code> to get the old behavior.</p>
<p>A bit of googling turned up that 
<a  href="http://www.nabble.com/Re%3A-Selector-%3Aenabled-no-longer-finds-hidden-elements-p21743026s27240.html">this is a deliberate change, to match the behavior of querySelectorAll</a> in browsers that have implemented it. I&#8217;d disagree with the phrasing John Resig used, &#8220;more standards compliant&#8221;, since &#8220;enabled&#8221; has a specific meaning in the standards.</p>
<p>This should really have been in 
<a  href="http://docs.jquery.com/Release:jQuery_1.3">the release notes</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2009/07/a-jquery-13-quirk-that-bit-me/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NautilusSVN</title>
		<link>http://davidlynch.org/blog/2009/04/nautilussvn/</link>
		<comments>http://davidlynch.org/blog/2009/04/nautilussvn/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 01:58:47 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[svn linux gnome nautilus]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/2009/04/nautilussvn/</guid>
		<description><![CDATA[NautilusSVN is a TortoiseSVN clone for the GNOME file browser, Nautilus. I am very happy to have found this. Now, I just need someone to write &#8220;NautilusGit&#8221;. (Or wait for the NautilusSVN project to do what they say they plan to, and extend it to cover multiple VCSs&#8230;)]]></description>
			<content:encoded><![CDATA[<p>
<a  href="http://code.google.com/p/nautilussvn/">NautilusSVN</a> is a TortoiseSVN clone for the GNOME file browser, Nautilus.</p>
<p>I am very happy to have found this. Now, I just need someone to write &#8220;NautilusGit&#8221;. (Or wait for the NautilusSVN project to do what they say they plan to, and extend it to cover multiple VCSs&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2009/04/nautilussvn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smart Home in TextMate</title>
		<link>http://davidlynch.org/blog/2009/03/smart-home-in-textmate/</link>
		<comments>http://davidlynch.org/blog/2009/03/smart-home-in-textmate/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 09:59:41 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/?p=74</guid>
		<description><![CDATA[I really like &#8220;smart home&#8221; behavior in text editors. That is, I like it when pressing the &#8220;home&#8221; key first moves the cursor to the start of the indented text on that line, and then to the very beginning of the line on a second press. I go out of my way to enable this [...]]]></description>
			<content:encoded><![CDATA[<p>I really like &#8220;smart home&#8221; behavior in text editors. That is, I like it when pressing the &#8220;home&#8221; key first moves the cursor to the start of the indented text on that line, and then to the very beginning of the line on a second press.</p>
<p>I go out of my way to enable this behavior, where possible. For instance, I wrote a 
<a  href="http://github.com/kemayo/gedit-smarthome/tree/master">gedit plugin</a> to get it working properly in gedit, the Gnome text editor.</p>
<p>Unfortunately, TextMate is a harder nut to crack. I worked out the following as a TextMate command, and bound it to command-left:</p>
<pre class="prettyprint"><code>#!/usr/bin/ruby
current_line = ENV['TM_LINE_NUMBER']
current_column  = ENV['TM_LINE_INDEX'].to_i
whitespace_column = /^(\s*)/.match(ENV['TM_CURRENT_LINE'])[1].length + 1

column = if current_column == 0 or current_column &gt; whitespace_column
           whitespace_column
         else
           0
         end

`open "txmt://open?line=#{current_line}&amp;column=#{column}"`</code></pre>
<p>It works, but is far too slow to be usable for me. There&#8217;s a perceptible lag of probably around 100-200ms between hitting the shortcut and the cursor moving.</p>
<p>I think this is an unavoidable limitation of TextMate&#8217;s approach to letting commands navigate within the file. It has to spawn a process to run the command, and the command then spawns a process to run the OSX command <code>open</code> which handles a &#8220;txmt://&#8221; protocol that TextMate has registered with the OS. There&#8217;s some inherent inefficiency there.</p>
<p>(Writing a command with pure shell scripting doesn&#8217;t help, incidentally. It&#8217;s slightly faster, but still not enough to be worth it.)</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2009/03/smart-home-in-textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TextMate bundle: Ack in Project (improved)</title>
		<link>http://davidlynch.org/blog/2009/02/textmate-bundle-ack-in-project-improved/</link>
		<comments>http://davidlynch.org/blog/2009/02/textmate-bundle-ack-in-project-improved/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 05:54:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[ack]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://davidlynch.org/blog/?p=63</guid>
		<description><![CDATA[I use TextMate for work. It&#8217;s a good editor, doesn&#8217;t get in my way, and I take advantage of relatively few of its nifty features. One problem with TextMate is that its built-in search is very slow, especially across a large project. Since I work with a full checkout of the deviantART source code, searches [...]]]></description>
			<content:encoded><![CDATA[<p>I use 
<a  href="http://macromates.com/">TextMate</a> for work.  It&#8217;s a good editor, doesn&#8217;t get in my way, and I take advantage of relatively few of its nifty features.</p>
<p>One <em>problem</em> with TextMate is that its built-in search is very slow, especially across a large project.  Since I work with a full checkout of the deviantART source code, searches can take a while.</p>
<p>So I started using 
<a  href="http://github.com/protocool/ack-tmbundle/tree/master">Ack in Project</a>, a TextMate bundle that uses 
<a  href="http://petdance.com/ack/">ack</a> to search your project.  (Ack is a nifty little tool that combines grep and find, along with a number of useful optimizations for searching checked-out source code.)</p>
<p>However, Ack in Project doesn&#8217;t expose a very useful part of ack&#8217;s functionality, which is the ability to search just particular filetypes.  This has occasionally been a pain &#8212; some words appear commonly in PHP and JS files, but I only care about them in the PHP.</p>
<p>So I spent a little while this evening adjusting Ack in Project to let you choose a file type to search.</p>
<p><img src="http://davidlynch.org/blog/wp-content/uploads/2009/02/picture-9.png" alt="My Ack in Project tweak" title="my-ack-in-project" width="561" height="268" class="size-full wp-image-67" /></p>
<p>My version is up on 
<a  href="http://github.com/kemayo/ack-tmbundle/tree/master">github</a>.</p>
<p>If you&#8217;d like to use it, do this:</p>
<pre><code class="prettyprint">cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/kemayo/ack-tmbundle.git Ack.tmbundle</code></pre>
<p>(It was my first time messing with tm_dialog, so I&#8217;m not necessarily confident about how I did it. But it works!)</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlynch.org/blog/2009/02/textmate-bundle-ack-in-project-improved/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
