<?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>John Lindal&#039;s Blog</title>
	<atom:link href="http://jjlindal.net/jafl/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://jjlindal.net/jafl/blog</link>
	<description>My life and personal interests</description>
	<lastBuildDate>Thu, 21 Jul 2011 02:41:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>We&#8217;ve moved!</title>
		<link>http://jjlindal.net/jafl/blog/2011/07/20/weve-moved/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/07/20/weve-moved/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 16:22:18 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://jjlindal.net/jafl/blog/?p=547</guid>
		<description><![CDATA[This blog has moved to a new location. Please update your bookmarks to http://jjlindal.net/jafl/blog]]></description>
			<content:encoded><![CDATA[<p>This blog has moved to a new location.  Please update your bookmarks to http://jjlindal.net/jafl/blog</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/07/20/weve-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam</title>
		<link>http://jjlindal.net/jafl/blog/2011/07/05/spam/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/07/05/spam/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 17:28:29 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=544</guid>
		<description><![CDATA[This blog only allows registered users to post comments, because I don&#8217;t want to deal with comment spam.  So, of course, I get to deal with user registration spam instead.  Deleting spam users has been annoying because I don&#8217;t want to delete valid users.  Now I finally thought of a good solution for this.  I [...]]]></description>
			<content:encoded><![CDATA[<p>This blog only allows registered users to post comments, because I don&#8217;t want to deal with comment spam.  So, of course, I get to deal with user registration spam instead.  Deleting spam users has been annoying because I don&#8217;t want to delete valid users.  Now I finally thought of a good solution for this.  I created a &#8220;pre-subscriber&#8221; role for all new users.  If a user posts a valid comment, then I promote them to &#8220;subscriber.&#8221;  Wordpress makes it easy to periodically delete all the pre-subscribers who never posted any comments, because they are in a separate category.</p>
<p>Update:  I know Akismet does a great job with comment spam, but even when I enabled comments without registration, I still got spam users <img src='http://jjlindal.net/jafl/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/07/05/spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dark Room — Part 2</title>
		<link>http://jjlindal.net/jafl/blog/2011/07/04/dark-room-%e2%80%94-part-2/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/07/04/dark-room-%e2%80%94-part-2/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 00:33:38 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=543</guid>
		<description><![CDATA[I finally mounted the blinds for the back living room doors, so the back living room is almost a perfect dark room for watching movies.  After measuring, I checked, double checked, and triple checked the positions of the brackets before I drilled because they had to be exactly the right distance apart so the rollers [...]]]></description>
			<content:encoded><![CDATA[<p>I finally mounted the blinds for the back living room doors, so the back living room is almost a perfect dark room for watching movies.  After measuring, I checked, double checked, and triple checked the positions of the brackets before I drilled because they had to be exactly the right distance apart so the rollers would fit, perfectly horizontal so the fabric would roll up correctly, and positioned to align with the doors so the fabric didn&#8217;t bump over the doorknob.</p>
<p>The only remaining issue is that there is a small gap between the blinds and the doors, so a little light leaks in.  I can&#8217;t attach velcro to the fabric, since then it won&#8217;t roll up cleanly, so I&#8217;m going to have to find some clips that I can attach after I lower the blinds.</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/07/04/dark-room-%e2%80%94-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>License Plate</title>
		<link>http://jjlindal.net/jafl/blog/2011/06/23/license-plate/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/06/23/license-plate/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 18:00:28 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Driving in LA]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=541</guid>
		<description><![CDATA[This morning, I found myself behind a car with the license plate: IH8D210]]></description>
			<content:encoded><![CDATA[<p>This morning, I found myself behind a car with the license plate: IH8D210</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/06/23/license-plate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dark Room &#8212; Part 1</title>
		<link>http://jjlindal.net/jafl/blog/2011/05/11/dark-room-part-1/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/05/11/dark-room-part-1/#comments</comments>
		<pubDate>Thu, 12 May 2011 02:51:53 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[House]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=539</guid>
		<description><![CDATA[The back living room is one step closer to being a dark room, suitable for a movie projector. I cut a piece of scrap sound board from my parents to fit the small window high up in the west wall. The immediate benefit is that this darkens the room enough to eliminated the reflections in [...]]]></description>
			<content:encoded><![CDATA[<p>The back living room is one step closer to being a dark room, suitable for a movie projector. I cut a piece of scrap sound board from my parents to fit the small window high up in the west wall. The immediate benefit is that this darkens the room enough to eliminated the reflections in our TV screen!</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/05/11/dark-room-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atheism</title>
		<link>http://jjlindal.net/jafl/blog/2011/04/24/atheism/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/04/24/atheism/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 20:05:33 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Deep Thoughts]]></category>
		<category><![CDATA[Faith]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=535</guid>
		<description><![CDATA[In previous posts, I&#8217;ve touched on the impossibility of proving that God does or does not exist. One implication of this which I have not yet discussed is that Atheism is also a leap of faith. For Bayesians, depending on the priors and the evidence considered to be admissible, it may not seem like a [...]]]></description>
			<content:encoded><![CDATA[<p>In previous posts, I&#8217;ve touched on the impossibility of proving that God does or does not exist.  One implication of this which I have not yet discussed is that Atheism is also a leap of faith.  For Bayesians, depending on the priors and the evidence considered to be admissible, it may not seem like a big leap, but it is still a leap.  It&#8217;s not hard to imagine <a href="/blog/2011/02/19/rationality/">situations</a> where the available evidence points in a completely wrong direction.</p>
<p>If there is no God, if the universe is the result of random chance, e.g., a quantum fluctuation gone wild, then sentience is surely a curse, because it lets us delude ourselves into seeking, assigning, and even trying to create meaning where there is none.  Living in delusion is a sign of insanity.  Unfortunately, reality pokes through the cracks in our delusions and this dissonance causes misery.  So we are insane, but not the <a href="http://dilbert.com/strips/comic/1996-06-13/">happy kind</a>.</p>
<p>If living in delusion isn&#8217;t the right approach, what should we do instead?  We could scream defiance into the abyss, but why bother?  We are less than nothing on the scale of the universe.  Suicide appears to be the only solution.  If there is no God, then death is oblivion.  It ends the suffering with no negative consequences.</p>
<p>Of course, this is not a palatable solution for most people, but that is because we are slaves to the double helix:  we evolved to survive and reproduce.  We fight to stay alive as long as possible, no matter how much it hurts.  Clearly, this is not rational, if we do not have a soul.  Should it not be considered a crime to have sentient offspring, since they are doomed to suffer?</p>
<p>But life is not all suffering.  There is happiness and beauty, too.  If there is no God, however, then it, too, is meaningless, and our craving for it is no different from that of a person addicted to cocaine.</p>
<p>Personally, I consider Atheism to be too bleak.  I struggle with my belief in God, because I do not know how to reconcile all the dissonance, but I prefer it over suicide.  To be honest, I fear the <a href="http://en.wikipedia.org/wiki/To_be,_or_not_to_be">rub</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/04/24/atheism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beauty</title>
		<link>http://jjlindal.net/jafl/blog/2011/03/01/beauty/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/03/01/beauty/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 22:11:20 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Deep Thoughts]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=530</guid>
		<description><![CDATA[I code for a living. I code for a hobby. It&#8217;s almost to the point where I could say, I code, therefore I am, except that I do have a family A while back, somebody in management, who used to be technical, tried to explain that, while doing it is all well and good, it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I code for a living.  I code for a hobby.  It&#8217;s almost to the point where I could say, <q>I code, therefore I am,</q> except that I do have a family <img src='http://jjlindal.net/jafl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>A while back, somebody in management, who used to be technical, tried to explain that, while doing it is all well and good, it&#8217;s even better to get other people to do it for you.  My internal reaction was, <q>No thanks!  That&#8217;s my worst nightmare!</q> and I immediately dismissed it.</p>
<p>Today, I sat in a design review meeting that was scheduled for one hour, but ran over to two, and I was in a really bad mood afterwards.  I asked myself, <q>How can my architect colleagues stand to do this all day, every day?</q></p>
<p>Then it hit me:  For many people, coding is just a job.  If you&#8217;re not passionate about it, and you can earn more doing something else, why not move up?</p>
<p>Of course, I&#8217;m hardly the first person to realize this or blog about it, but then I connected it with my reaction to the programmer-turned-manager:  For those of us who can see the beauty in code, <q>moving up</q> to a position that takes us away from the coding is a fate worse than death.</p>
<p>If this sounds like utter nonsense, consider the possibility that maybe you just can&#8217;t see the beauty in code.  Please don&#8217;t take offense.  I can&#8217;t look at a painting and tell you if it&#8217;s great.  I can&#8217;t look at a building and tell you if the architecture is great.  I can&#8217;t listen to a symphony and tell you if it&#8217;s great.  I can&#8217;t look at a business plan and tell you if it&#8217;s great.  But I can study a piece of code or the design of a user interface and tell you if it&#8217;s great.  And this quest for greatness keeps me going.  I refuse to settle for second rate, no matter how many iterations it takes.  Forcing me to do something else for a living would be like taking a fish out of water.</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/03/01/beauty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rationality</title>
		<link>http://jjlindal.net/jafl/blog/2011/02/19/rationality/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/02/19/rationality/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 23:50:41 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Deep Thoughts]]></category>
		<category><![CDATA[Faith]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=498</guid>
		<description><![CDATA[While I do enjoy the story, Harry Potter and the Methods of Rationality, when I encountered the sentiment (referring to Aslan from Narnia) that if the Lion existed, we wouldn&#8217;t be necessary, I finally realized what was nagging at me: rationality had been taken too far. The claim that we would be unnecessary if God [...]]]></description>
			<content:encoded><![CDATA[<p>While I do enjoy the story, <a href="http://www.fanfiction.net/s/5782108/1/Harry_Potter_and_the_Methods_of_Rationality">Harry Potter and the Methods of Rationality</a>, when I encountered the sentiment (referring to Aslan from Narnia) that <q>if the Lion existed, we wouldn&#8217;t be necessary</q>, I finally realized what was nagging at me: <q>rationality</q> had been taken too far.</p>
<p>The claim that we would be unnecessary if God existed assumes that we can comprehend God&#8217;s motives &#8212; that He operates either the way we do or at least in ways that we can imagine &#8212; but, by definition, that is not God the Creator of the Universe.  God defies rationality because, by definition, He transcends anything we can describe.</p>
<p>Rationality is basically the application of the scientific method to everything we experience.  For it to work, experiences must be reproducible.  Religions experiences, however, are notorious for being irreproducible.  This does not mean they are not real, only that it is difficult or impossible to apply the scientific method.  If there actually is a higher plane of existence with one Intelligence or multiple intelligences that <q>help</q> or <q>interfere</q> on our plane, then there is no reason why they should play along with our attempts to understand them.  They probably look at us the way we look at ants, so <a href="http://xkcd.com/638/">our science cannot find them</a>.</p>
<p>Of course, history is littered with examples of <q>tunnel vision</q> rationality.  The earth seems completely solid, so it took a long time for plate tectonics to be accepted.  Newtonian mechanics worked so well that everybody had a lot of trouble believing Einstein&#8217;s theory of Relativity.  (Einstein received the Nobel Prize in Physics for the explanation of the photoelectric effect, not for Relativity.)  Einstein himself fought against quantum mechanics and the existence of black holes.</p>
<p>Two hundred years from now, today&#8217;s theories will surely also be viewed as incomplete or even obsolete.  The people who will be remembered in the future for advancing mankind&#8217;s understanding will be those who dug deeper, not those who were satisfied with the existing theories.  In the case of spirituality, it does seem awfully difficult to find a place to start, but people do have unexplained experiences, even after you weed out the crackpots.  Personally, I believe that God has spoken to me, guided me, and answered prayers.  Shouldn&#8217;t we at least try to investigate, rather than dismissing it as pure nonsense or overactive imagination?</p>
<p>Of course, we might not like what we discover.  The more we learn about the brain, the more what I call <q>me</q> appears to be merely chemistry.  There are many famous examples of radical personality shifts due to localized damage in one part or another of the brain.  Psychoactive drugs can achieve the same effects.</p>
<p>What, then, is the soul?  Will there be anything left after we fully understand the brain?  Is the point of <q>developing character</q> to create a particular wiring pattern in the brain that something on a higher plane of existence can copy to a different substrate, thereby providing <q>life after death?</q>  Nobody knows, but it would certainly be interesting to find out.</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/02/19/rationality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Naming member variables</title>
		<link>http://jjlindal.net/jafl/blog/2011/02/11/naming-member-variables/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/02/11/naming-member-variables/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 04:00:56 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=506</guid>
		<description><![CDATA[I just got bitten by the following code: public void setDebug(String debugInfo) { this.debug = debug; } It happens to be in Java, but it would fail equally well in C++. It ought have been a compile error, but since it wasn&#8217;t, it took me a long time to notice the problem. It&#8217;s not on [...]]]></description>
			<content:encoded><![CDATA[<p>I just got bitten by the following code:</p>
<pre>
    public void setDebug(String debugInfo)
    {
        this.debug = debug;
    }
</pre>
<p>It happens to be in Java, but it would fail equally well in C++.   It ought have been a compile error, but since it wasn&#8217;t, it took me a long time to notice the problem.  It&#8217;s not on my list of issues to watch out for, because it&#8217;s supposed to be the compiler&#8217;s job.</p>
<p>This is yet another reason to always use a unique prefix for member variables.  (The primary reason, of course, is to make the code easier for humans to parse.)</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/02/11/naming-member-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tabs vs. Spaces</title>
		<link>http://jjlindal.net/jafl/blog/2011/02/07/tabs-vs-spaces/</link>
		<comments>http://jjlindal.net/jafl/blog/2011/02/07/tabs-vs-spaces/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 19:35:45 +0000</pubDate>
		<dc:creator>John Lindal</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://jafl.my.speedingbits.com/blog/?p=499</guid>
		<description><![CDATA[The debate over using tabs vs. spaces for indenting has raged for decades and is unlikely to ever disappear. (Thankfully, jwz clarified the issues.) I use tabs for my personal projects, but I also work on projects where the default is spaces. Some large projects even have a mix! At work, we had the debate [...]]]></description>
			<content:encoded><![CDATA[<p>The debate over using tabs vs. spaces for indenting has raged for decades and is unlikely to ever disappear.  (Thankfully, jwz <a href="http://www.jwz.org/doc/tabs-vs-spaces.html">clarified</a> the issues.)  I use tabs for my personal projects, but I also work on projects where the default is spaces.  Some large projects even have a mix!  At work, we had the debate a couple of years ago when I discovered that there was a mix, but since we couldn&#8217;t reach a consensus, and since the Subversion diffs would be ruined by converting everything either way, we decided to punt by agreeing to keep each file consistent.  I try to do this whenever I work on mixed open source projects, too.</p>
<p>Unfortunately, maintaining consistency can be very tiresome.  Checking every file every time you open it is annoying and error prone.  Embeddable options like emacs&#8217; <code>indent-tabs-mode</code> are widely supported by editors, but they must be placed in every file, and many projects do not use them.</p>
<p>I think I have finally found a nice way to handle this in <a href="http://newplanetsoftware.com/jcc/">Code Crusader</a>. Like all decent editors, it supports both a global preference for tabs/spaces and the ability to override this for individual files.  When a file is opened, Code Crusader can check if the indentation consistently matches the global preference.  If there is a mix of spaces and tabs, then make whitespace visible.  If more than 50% of the lines are the opposite of the global preference, automatically override the global preference.</p>
<p>Once this is implemented (in the upcoming release), my personal projects can continue to use tabs, while any file that uses only spaces will automatically stay consistent, and a file that has a mix of spaces and tabs will be highlighted for cleaning.</p>
]]></content:encoded>
			<wfw:commentRss>http://jjlindal.net/jafl/blog/2011/02/07/tabs-vs-spaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
