<?xml version="1.0" encoding="utf-8"?>
<!-- generator="wordpress/1.5.1-alpha" -->
<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/"
>

<channel>
	<title>Possibly Deep Thoughts</title>
	<link>http://jsparkes.blogsome.com</link>
	<description>Just another WordPress weblog by Jeff Sparkes</description>
	<pubDate>Tue, 19 May 2009 16:05:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1-alpha</generator>
	<language>en</language>

		<item>
		<title>I changed my mind about Richard Alpert</title>
		<link>http://jsparkes.blogsome.com/2009/05/19/i-changed-my-mind-about-richard-alpert/</link>
		<comments>http://jsparkes.blogsome.com/2009/05/19/i-changed-my-mind-about-richard-alpert/#comments</comments>
		<pubDate>Tue, 19 May 2009 16:05:05 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Opinion</category>
	<category>Television</category>
		<guid>http://jsparkes.blogsome.com/2009/05/19/i-changed-my-mind-about-richard-alpert/</guid>
		<description><![CDATA[	I changed my mind about Richard Alpert a couple of weeks later, before Ben met the smoke monster.

	Horace called him &#8220;your friend with the eye shadow&#8221;, and it clicked for me.  The ancient Egyptians use kohl around their eyes.   There have been hieroglyphics around since the hatch timer.

	Richard Alpert&#8217;s initials are RA. [...]]]></description>
			<content:encoded><![CDATA[	<p>I changed my mind about Richard Alpert a couple of weeks later, before Ben met the smoke monster.</p>

	<p>Horace called him &#8220;your friend with the eye shadow&#8221;, and it clicked for me.  The ancient Egyptians use <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FKohl_%28cosmetics%29&amp;i=0&amp;c=8bf139059d1ac8eea0efc989fec3fdfbe2d4742c">kohl</a> around their eyes.   There have been hieroglyphics around since the hatch timer.</p>

	<p>Richard Alpert&#8217;s initials are RA.   To quote the old fortunes program:<br />
<blockquote>Ra is the sun god!<br />
He is a fun god!<br />
Ra Ra Ra!<br />
</blockquote></p>

	<p>The revelations in the season finale seem to point in a different direction.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2009/05/19/i-changed-my-mind-about-richard-alpert/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Who is Richard Alpert?</title>
		<link>http://jsparkes.blogsome.com/2009/02/13/who-is-richard-alpert/</link>
		<comments>http://jsparkes.blogsome.com/2009/02/13/who-is-richard-alpert/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 18:29:58 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Television</category>
		<guid>http://jsparkes.blogsome.com/2009/02/13/who-is-richard-alpert/</guid>
		<description><![CDATA[	I predict that he will have been the first mate of the Black Rock.  An example of time travel tense trouble.

	Surprisingly, Jughead refuted the main evidence that Richard had traveled through time.

	I just wanted to get on &#8220;the record&#8221; in case I&#8217;m actually right.
 ]]></description>
			<content:encoded><![CDATA[	<p>I predict that he will have been the first mate of the Black Rock.  An example of <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Ftvtropes.org%2Fpmwiki%2Fpmwiki.php%2FMain%2FTimeTravelTenseTrouble&amp;i=0&amp;c=f9c4df42f603333afd3506f8da89c1bb8fec601f">time travel tense trouble</a>.</p>

	<p>Surprisingly, <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Flostpedia.wikia.com%2Fwiki%2FJughead&amp;i=0&amp;c=5b1b550e2411607913020354040f5442cdfcbcd6">Jughead</a> refuted the main evidence that Richard had traveled through time.</p>

	<p>I just wanted to get on &#8220;the record&#8221; in case I&#8217;m actually right.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2009/02/13/who-is-richard-alpert/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Capitalized java variables are unnatural!</title>
		<link>http://jsparkes.blogsome.com/2008/04/25/capitalized-java-variables-are-unnatural/</link>
		<comments>http://jsparkes.blogsome.com/2008/04/25/capitalized-java-variables-are-unnatural/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 16:00:58 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Opinion</category>
	<category>Software</category>
		<guid>http://jsparkes.blogsome.com/2008/04/25/capitalized-java-variables-are-unnatural/</guid>
		<description><![CDATA[	I&#8217;m working on some code where a previous has used capitalized variable names.   This is extremely unsettling.  I keep ask myself &#8220;why is he passing a class here?&#8221;.  That distinction between class and variable names must be deeply ingrained.

	There are also methods with capital letter.  I keep confusing them with [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;m working on some code where a previous has used capitalized variable names.   This is extremely unsettling.  I keep ask myself &#8220;why is he passing a class here?&#8221;.  That distinction between class and variable names must be deeply ingrained.</p>

	<p>There are also methods with capital letter.  I keep confusing them with constructors. I can deal (barely) with irregular formatting and spacing.  How hard is &#8220;space after keyword&#8221; to remember anyway?</p>

	<p>These non-standard names are freaking me out!</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2008/04/25/capitalized-java-variables-are-unnatural/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Git has my favourite darcs feature too.</title>
		<link>http://jsparkes.blogsome.com/2008/04/25/git-has-my-favourite-darcs-feature-too/</link>
		<comments>http://jsparkes.blogsome.com/2008/04/25/git-has-my-favourite-darcs-feature-too/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 15:56:17 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Software</category>
		<guid>http://jsparkes.blogsome.com/2008/04/25/git-has-my-favourite-darcs-feature-too/</guid>
		<description><![CDATA[	git add --interactive allows me to select individual patch chunks to check in.   This allows me to check in separate changes in different parts of the same file.    This is good when I forget to check in after finishing one thing and moving to the next.

	git also has lots of [...]]]></description>
			<content:encoded><![CDATA[	<p><code>git add --interactive</code> allows me to select individual patch chunks to check in.   This allows me to check in separate changes in different parts of the same file.    This is good when I forget to check in after finishing one thing and moving to the next.</p>

	<p>git also has lots of ways to change what was checked in.  I fear those commands!</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2008/04/25/git-has-my-favourite-darcs-feature-too/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Why I like darcs</title>
		<link>http://jsparkes.blogsome.com/2007/12/31/why-i-like-darcs/</link>
		<comments>http://jsparkes.blogsome.com/2007/12/31/why-i-like-darcs/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 21:55:42 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Development</category>
		<guid>http://jsparkes.blogsome.com/2007/12/31/why-i-like-darcs/</guid>
		<description><![CDATA[	Darcs supports the checking in of individual patches, even if they&#8217;re in the same file.

	Often when I&#8217;m fixing a bug, I find a few more too.   Darcs lets me check in each of the fixes separately which give me a better change history.

	I can do this with other SCMs, but it&#8217;s a lot [...]]]></description>
			<content:encoded><![CDATA[	<p><a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fdarcs.net%2F&amp;i=0&amp;c=2e2aa1c55b82dc6408bbc37cc84918f1bf2b911c">Darcs</a> supports the checking in of individual patches, even if they&#8217;re in the same file.</p>

	<p>Often when I&#8217;m fixing a bug, I find a few more too.   Darcs lets me check in each of the fixes separately which give me a better change history.</p>

	<p>I <strong>can</strong> do this with other SCMs, but it&#8217;s a lot of hoop jumping.  I have to copy the fixed file somewhere, revert the working copy and then copy each of the fixes back into the working copy and check each change in.  (I find <code>ediff</code> in valuable for this.  It&#8217;s worth using emacs just for that one feature.)</p>

	<p>Darcs just naturally fits my working style.   I also have a tendency to make other changes while I&#8217;m editing, and sometimes work on more thing at a time.</p>

	<p><a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fgit.or.cz%2F&amp;i=0&amp;c=9cd058db40c4b8620b4fcdc6d88863c5869fc821">Git</a> users say that it operates on content, not files, but it appears that I can only commit a file.  (I haven&#8217;t explored git very much).  None of the other popular <a href="http://en.wikipedia.org/wiki/DRCS#Distributed_revision_control"></a>distributed <span class="caps">SCM </span> programs seem to have that kind of feature.  Maybe &#8220;cherry picking&#8221; is close, but that seems to come after a commit.</p>

	<p>Maybe darcs &#8220;theory of patches&#8221; is unique.   And given the plethora of ways to get different <span class="caps">SCM</span> systems to interconnect, I can likely use darcs locally whatever the originating system is.  This lets me work on various  open source software using different repositories.  The best of both worlds?</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2007/12/31/why-i-like-darcs/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Hibernate3 + JPA + Eclipse = headache</title>
		<link>http://jsparkes.blogsome.com/2007/08/30/hibernate3-jpa-eclipse-headache/</link>
		<comments>http://jsparkes.blogsome.com/2007/08/30/hibernate3-jpa-eclipse-headache/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 19:14:34 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Software</category>
	<category>Development</category>
		<guid>http://jsparkes.blogsome.com/2007/08/30/hibernate3-jpa-eclipse-headache/</guid>
		<description><![CDATA[	Until recently, I had never written Java 1.5 specific code.  For technical and political reasons, it had to run on 1.4 jvms.  I was also not familiar with web frameworks since maybe 2005.

	I was making a web app to manage database information, and I decided to use a modern web framework to make [...]]]></description>
			<content:encoded><![CDATA[	<p>Until recently, I had never written Java 1.5 specific code.  For technical and political reasons, it had to run on 1.4 jvms.  I was also not familiar with web frameworks since maybe 2005.</p>

	<p>I was making a web app to manage database information, and I decided to use a modern web framework to make myself &#8220;more productive&#8221;.  Ha!  They all seemed to use hibernate.  I eventually decided to use Grails.</p>

	<p>I also decided to use Annotations to handle the data descriptions.  The JBoss Tools had hibernate support, and <span class="caps">WST </span>(I think) had <span class="caps">JPA</span> support.  The first annoying part was that Eclipse expects you to create a new project to get <span class="caps">JPA</span> or hibernate support.  I ended up merge .project files to get support for both.</p>

	<p>The <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fwww.eclipse.org%2Fwebtools%2Fdali%2Fmain.php&amp;i=0&amp;c=4d7b98e2cb6124f029d5656414bb4638a2067e1f"><span class="caps">JPA</span> tools</a> are marked 1.0, but I don&#8217;t think they are ready for prime time. I got a lot of null pointer errors, but never got a backtrace in the error dialog to help me figure out what might be the problem.  I got lots of &#8220;persistence.xml not found&#8221; errors. I move the persistence.xml file to various places in the project with no success.  Eventually I edited the file with vi  and discovered that it didn&#8217;t end with a newline.  Adding one at least made it loadable.   I never did get anything in my database.</p>

	<p>Hibernate3 also supported use of annoations, but I never could put all of the pieces together correctly.  The documentation was pretty patchy, odd things happened, and the error messages cryptic.    I never found a single location for the hibernate.cfg.xml that made Eclipse, Maven and runtime  happy.</p>

	<p>I should have switched back to the older hibernate methods, but I was too stubborn.  I wanted make it work the shiny new way at any cost, but it soon reached the point where it didn&#8217;t matter any more.  Sometimes stubborness and persistence are good; sometimes it&#8217;s a character flaw.</p>

	<p>The combination of a newbie and imperfect tools and documentation made me shoot myself in the foot.  Next time, I&#8217;ll quit hitting my head against the brick wall earlier.   I hope.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2007/08/30/hibernate3-jpa-eclipse-headache/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Do Haskell programmers hate variable names?</title>
		<link>http://jsparkes.blogsome.com/2007/08/30/do-haskell-programmers-hate-variable-name/</link>
		<comments>http://jsparkes.blogsome.com/2007/08/30/do-haskell-programmers-hate-variable-name/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 18:44:52 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Development</category>
		<guid>http://jsparkes.blogsome.com/2007/08/30/do-haskell-programmers-hate-variable-name/</guid>
		<description><![CDATA[	I&#8217;ve never programmed in Haskell, but have used Ocaml and SML and have had my programming style affected/improved by my exposure to functional programming.

	This &#8220;Beautiful Code&#8221; example about a regex matcher in Haskell was very instructive, but I agree with one of the comments about variable name.  Almost every example of Haskell I see [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;ve never programmed in Haskell, but have used Ocaml and <span class="caps">SML</span> and have had my programming style affected/improved by my exposure to functional programming.</p>

	<p>This &#8220;Beautiful Code&#8221; example about a <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fwww.oreillynet.com%2Fonlamp%2Fblog%2F2007%2F08%2Fa_beautiful_regex_matcher_in_h.html&amp;i=0&amp;c=ba7adefbe5d4ca2cce193bba54d7bd3872d2f4ff">regex matcher in Haskell</a> was very instructive, but I agree with one of the <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fwww.oreillynet.com%2Fonlamp%2Fblog%2F2007%2F08%2Fa_beautiful_regex_matcher_in_h.html%23comment-1132974&amp;i=0&amp;c=b71e8226af07d0a832a55018ce89c9ccbf575feb">comments</a> about variable name.  Almost every example of Haskell I see uses mostly single character values <code>a,b,n,m,x,y</code>.  Sometime they use<strong> two</strong> letters: xs ys.  I know that Haskell comes from a mathematical background, but I believe that it&#8217;s widely accepted that good variable names make code easier to understand. <code>head:tail</code> instead of<code> x:xs</code>.  Even <code>car:cdr</code> is slightly better.  They do care about good function names, but don&#8217;t apply the same logic to variable names.</p>

	<p>They apparently really program that way, look at the code in the <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fwww.haskell.org%2Fonlinereport%2Fstandard-prelude.html&amp;i=0&amp;c=514758202054933d732189dce5c5b7a73a076c71">standard prelude</a>.   Not all Haskell code is like this,  the <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fwww.haskell.org%2Fhaskellwiki%2FHitchhikers_guide_to_Haskell&amp;i=0&amp;c=6eac2e8df29e9d936dabf7a46f8a48769845f825">Hitchiker&#8217;s Guide</a> for example.  It&#8217;s almost like the old saying &#8220;it was hard to write, it should be hard to read&#8221;.  I sort of believed that in the 80s when I was writing <code>C</code> code, and it took me a long time to get over it.  Hey, <code>*p++ = *s++</code> looked cool!</p>

	<p>If you&#8217;re evangelizing, using good variable names make the code look better, and less scary.  And maybe change a few more minds.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2007/08/30/do-haskell-programmers-hate-variable-name/feed/</wfw:commentRss>
	</item>
		<item>
		<title>great taste doesn&#8217;t live here any more</title>
		<link>http://jsparkes.blogsome.com/2007/08/20/great-taste-doesnt-live-here-any-more/</link>
		<comments>http://jsparkes.blogsome.com/2007/08/20/great-taste-doesnt-live-here-any-more/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 00:17:03 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Television</category>
		<guid>http://jsparkes.blogsome.com/2007/08/20/great-taste-doesnt-live-here-any-more/</guid>
		<description><![CDATA[	I noticed that the KFC jingle has changed from &#8220;great taste lives here&#8221; to &#8220;the taste lives here.&#8221;   Truth-in-advertising perhaps?

	Then again, I remember when it was Kentucky Fried Chicken&#8230;
 ]]></description>
			<content:encoded><![CDATA[	<p>I noticed that the <span class="caps">KFC</span> jingle has changed from &#8220;great taste lives here&#8221; to &#8220;the taste lives here.&#8221;   Truth-in-advertising perhaps?</p>

	<p>Then again, I remember when it was Kentucky Fried Chicken&#8230;</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2007/08/20/great-taste-doesnt-live-here-any-more/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Synchronicity with cracked.com</title>
		<link>http://jsparkes.blogsome.com/2007/07/12/synchronicity-with-crackedcom/</link>
		<comments>http://jsparkes.blogsome.com/2007/07/12/synchronicity-with-crackedcom/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 17:41:14 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>Opinion</category>
	<category>Entertainment</category>
		<guid>http://jsparkes.blogsome.com/2007/07/12/synchronicity-with-crackedcom/</guid>
		<description><![CDATA[	Just yesterday I discovered cracked.com.  It&#8217;s sort of a new version of Cracked Magazine, which I always liked better than Mad.  The content is mainly funny Top XX lists and interesting interviews.

	One of the lists was was the top 25 worst rapper names.  This morning on the way to work I walked [...]]]></description>
			<content:encoded><![CDATA[	<p>Just yesterday I discovered cracked.com.  It&#8217;s sort of a new version of Cracked Magazine, which I always liked better than Mad.  The content is mainly funny Top XX lists and interesting interviews.</p>

	<p>One of the lists was was the top 25 worst rapper names.  This morning on the way to work I walked past a poster for local concert by <a href="http://jsparkes.blogsome.com/go.php?u=http%3A%2F%2Fwww.cracked.com%2Findex.php%3Fname%3DNews%26%2338%3Bsid%3D1776%26%2338%3Bpageid%3D4&amp;i=0&amp;c=d2920b5b381c0c2c843a7b5c99981e256f40dfea">number 10, Del The Funky Homosapien</a>.  He&#8217;s changed the spelling from <em>funkee</em> to <em>funky</em>, but it&#8217;s him.</p>

	<p>Wierd.  Doesn&#8217;t mean anything though.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2007/07/12/synchronicity-with-crackedcom/feed/</wfw:commentRss>
	</item>
		<item>
		<title>stripping the design down</title>
		<link>http://jsparkes.blogsome.com/2007/07/12/stripping-the-design-down/</link>
		<comments>http://jsparkes.blogsome.com/2007/07/12/stripping-the-design-down/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 13:49:18 +0000</pubDate>
		<dc:creator>jsparkes</dc:creator>
		
	<category>General</category>
	<category>Work</category>
		<guid>http://jsparkes.blogsome.com/2007/07/12/stripping-the-design-down/</guid>
		<description><![CDATA[ Really just testing private blog pages for a work journal. h3. Heading * testing textile # list item&nbsp;
 ]]></description>
			<content:encoded><![CDATA[ <p>Really just testing private blog pages for a work journal.</p> h3. Heading * testing textile # list item&nbsp;
 ]]></content:encoded>
			<wfw:commentRss>http://jsparkes.blogsome.com/2007/07/12/stripping-the-design-down/feed/</wfw:commentRss>
	</item>
	</channel>
</rss>
