<?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>kidder&#039;s blog</title>
	<atom:link href="http://www.thekidder.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thekidder.com</link>
	<description></description>
	<lastBuildDate>Sun, 23 Aug 2009 01:02:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GSoc 2009: Wrap up</title>
		<link>http://www.thekidder.com/2009/08/22/gsoc-2009-wrap-up/</link>
		<comments>http://www.thekidder.com/2009/08/22/gsoc-2009-wrap-up/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 00:54:12 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://www.thekidder.com/?p=42</guid>
		<description><![CDATA[A Small Recap
My intent in this project was to improve the state of the nepomuksearch:/ kioslave. Specifically, I wanted to add the features required to make desktop search a better experience in KDE. I also wanted to work on a more accessible GUI for desktop search. About halfway through the project I blogged about my [...]]]></description>
			<content:encoded><![CDATA[<h3>A Small Recap</h3>
<p>My intent in <a title="Hello, Planet!" href="http://www.thekidder.com/2009/05/15/hello-planet/">this project</a> was to improve the state of the nepomuksearch:/ kioslave. Specifically, I wanted to add the features required to make desktop search a better experience in KDE. I also wanted to work on a more accessible GUI for desktop search. About halfway through the project <a title="GSoC Progress Report (plus screenshots!)" href="http://www.thekidder.com/2009/07/01/gsoc-progress-report-plus-screenshots/">I blogged</a> about my work to date.</p>
<h3>The State of KDE Search</h3>
<p>I&#8217;ve introduced several new features since I&#8217;ve last blogged about my project.</p>
<ul>
<li>Date parsing has been improved. In particular relative dates are now supported (although this still needs work. More about that in a bit!)</li>
<li>SPARQL queries are now supported directly in the kioslave. This is great if you want to show the results of a SPARQL query directly in a UI element &#8211; you simply create a KDirModel and point it to a nepomuksearch:/ URL. This was implemented directly as a result of a request from <a title="Alessandro's blog" href="http://www.chimera-bellerofonte.eu/">Alessandro Sivieri</a>, who is using this in his <a title="GSoC 200: wrap up" href="http://www.chimera-bellerofonte.eu/2009/08/gsoc-2009-wrap-up/">GSoC project</a>.</li>
<li>Folder limiting is supported: it is now possible to specify where (and where not) to search, when searching for files.</li>
<li>&#8220;Pretty sizes&#8221; are supported through the kioslave, so you can search by the size 7MB instead of just 7000000.</li>
<li>Other minor improvements.</li>
</ul>
<p>As well as improvements to the backend kioslave, I have also started on a UI for search.</p>
<div id="attachment_43" class="wp-caption alignnone" style="width: 468px"><a href="http://www.thekidder.com/wp-content/uploads/search_client.png"><img class="size-full wp-image-43" title="Search Client" src="http://www.thekidder.com/wp-content/uploads/search_client.png" alt="In progress search client" width="458" height="328" /></a><p class="wp-caption-text">In progress search client</p></div>
<p>This is the beginning of what will be integrated into Dolphin in time for 4.4 It is possible to search via full-text, as well as add various criteria that will be searched. The &#8220;Save This&#8221; button saves the search into the kioslave config file for later access.</p>
<h3>Wrap Up and Thoughts</h3>
<p>GSoC has been a great experience for me and I encourage any students interested in KDE, or open source in general, to consider applying next year. KDE has been a great project to work with, with great libraries and code, but most importantly great people to work with. I&#8217;d like to thank <a href="http://trueg.wordpress.com/">Sebastian Trüg</a> most of all for his help as my mentor, and for putting up with me through the summer. <img src='http://www.thekidder.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I consider my project mostly successful, although there were a few more things I would have liked to implement. One of the features that didn&#8217;t make it in time was automatic refreshing of relative date queries: so a date modified query with a time of &#8220;one hour ago&#8221; will update each hour to remain accurate. I had planned to implement this before the end of GSoC but it ended up being more complex than I originally thought.</p>
<h3>The Future</h3>
<p>I fully intend to remain developing for KDE after GSoC. I&#8217;m taking a short break to mark the end of GSoC, and then I will be back developing in KDE.</p>
<p>My immediate plans are to finish a few of the backend issues in the kioslave, and then merge this branch back into trunk. I&#8217;ll also continue working with <a href="http://ppenz.blogspot.com/">Peter Penz</a> on getting the UI code integrated into Dolphin in time for 4.4. Later on, I&#8217;d like to work on a more semantic-focused search UI, perhaps using the filter model developed by Alessandro.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2009/08/22/gsoc-2009-wrap-up/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>GSoC Progress Report (plus screenshots!)</title>
		<link>http://www.thekidder.com/2009/07/01/gsoc-progress-report-plus-screenshots/</link>
		<comments>http://www.thekidder.com/2009/07/01/gsoc-progress-report-plus-screenshots/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 01:37:32 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://www.thekidder.net/?p=29</guid>
		<description><![CDATA[I have been neglecting this blog ever since GSoC started, but I think I will finally sit down and write about my progress. Also, if you read the entire post, you may find some screenshots at the end.  
Progress So Far.
So far I have only been working on backend-type code for the nepomuksearch:/ protocol. [...]]]></description>
			<content:encoded><![CDATA[<p>I have been neglecting this blog ever since GSoC started, but I think I will finally sit down and write about my progress. Also, if you read the entire post, you may find some screenshots at the end. <img src='http://www.thekidder.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Progress So Far.</h3>
<p>So far I have only been working on backend-type code for the nepomuksearch:/ protocol. I have finished some important features that were missing, however.</p>
<h4>Custom Default Search Queries</h4>
<p>As an easy introduction to the world of KDE programming, I changed the hardcoded default search folders to be configurable in .kde/share/config/kionepomukuserqueriesrc (now that&#8217;s a mouthful!) So now instead of navigating to nepomuksearch:/ and seeing this:</p>
<p><a href="http://www.thekidder.net/wp-content/uploads/default_search_folders.png"><img class="alignnone size-medium wp-image-32" title="old default search folders" src="http://www.thekidder.net/wp-content/uploads/default_search_folders-300x203.png" alt="old default search folders" width="300" height="203" /></a></p>
<p>You will see something like this:</p>
<p><a href="http://www.thekidder.net/wp-content/uploads/default_search_folders1.png"><img class="alignnone size-medium wp-image-33" title="new default search folders" src="http://www.thekidder.net/wp-content/uploads/default_search_folders1-300x203.png" alt="new default search folders" width="300" height="203" /></a></p>
<p>where the config file looks like this:</p>
<pre>[Searches]
All searches=tag_nepomuk

[tag_nepomuk]
Query=hasTag:nepomuk</pre>
<p>In the future this config file will allow you to specify additional options per default search.</p>
<h4>Negation Queries</h4>
<p>Next I implemented various improvements to the query parser and query service. It is now possible to use negative queries, both in the Lucene full-text index, and in SPRAQL requests. For example, I can search for documents containing the tag <strong>nepomuk</strong> but not the tag <strong>soprano</strong> with a query like this:</p>
<pre>nepomuksearch:/hasTag:nepomuk -hasTag:soprano</pre>
<p>Similarly, it is possible to search for resources that are not rated above a certain value.</p>
<pre>nepomuksearch:/-numericRating&gt;8</pre>
<p>Of course, this is pretty silly, as this is equal to using &lt;= (in fact, in the SPARQL generation, this is exactly what happens). It is also possible to use negation queries in full-text queries with the same syntax:</p>
<pre>nepomuksearch:/hasTag:nepomuk -gsoc</pre>
<p>This will return all resources tagged with the tag <strong>nepomuk</strong> without &#8220;gsoc&#8221; in any indexed field. Of course, there is a caveat: Lucene only allows queries with at least one positive term, so only specifying only a negative term will give you zero results, rather than all resources not containing that term. This is not generally a problem &#8211; only specifying a negative term will return many many results if your entire home folder is indexed, which is not generally very useful.</p>
<h4>Date Parsing</h4>
<p>Up until now, there has been no method to specify dates in a nepomuksearch:/ query. This means there was no possible way to say &#8220;show me all resources modified after yesterday.&#8221; I&#8217;ve built upon (read: shamelessly stolen <img src='http://www.thekidder.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) some work that Sebastian Trüg has done for Scribo to implement a generic date/time parsing framework for use in Nepomuk. This means queries such as</p>
<pre>nepomuksearch:/sourceModified&gt;"July 26"</pre>
<p>will now work properly. This is still quite raw, and will be seeing many new things soon. One of the features I&#8217;m working on is support for relative dates and times &#8211; that is, instead of specifying a date such as &#8220;June 30&#8243;, you can say &#8220;yesterday&#8221;. This will allow you to make a virtual folder containing all resources changed after yesterday that will always stay updated. Wait a minute, you might say, this is already possible &#8211; one of the default search folders is &#8220;Yesterday&#8217;s Files&#8221;. These default folders are hardcoded, however, and there is no method to make a query like this through a nepomuksearch:/ query string.</p>
<h3>Next Steps</h3>
<p>While there is still some backend type code to work on, I&#8217;m starting to working on the new UI for search. Here is my first UI mockup:</p>
<p><a href="http://www.thekidder.net/wp-content/uploads/search_mockup1.png"><img class="alignnone size-medium wp-image-34" title="Search UI Mockup" src="http://www.thekidder.net/wp-content/uploads/search_mockup1-300x216.png" alt="Search UI Mockup" width="300" height="216" /></a></p>
<p>The idea is that when the user types a query into the search box, the advanced search pane drops down. The user can select a search criterion in the first combo box, and an appropriate set of relations will appear in  the second. The third field will contain an appropriate input field for the type of date: for tags, a button to bring up a tag cloud, for dates, a date widget that brings up a calendar, etc. Users can press the &#8220;+&#8221; and &#8220;-&#8221; buttons to add and remove criteria to the search.</p>
<p>Instead of a breadcrumb type display for the location bar, Dolphin will simply display &#8220;Custom Search  Query&#8221;. Upon a click, just like in the breadcrumb display, this will change to show the actual URI.</p>
<p>Any thoughts, improvements, suggestions, flames? Please post them in the comments! This will also be cross-posted to kde-usability.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 162px; width: 1px; height: 1px;">fancy graphical improvements to show here.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2009/07/01/gsoc-progress-report-plus-screenshots/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Hello Planet!</title>
		<link>http://www.thekidder.com/2009/05/15/hello-planet/</link>
		<comments>http://www.thekidder.com/2009/05/15/hello-planet/#comments</comments>
		<pubDate>Sat, 16 May 2009 02:30:31 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://www.thekidder.net/?p=26</guid>
		<description><![CDATA[As I&#8217;m participating in GSoC this summer I finally decided to add my blog to the planet. A little about me: I&#8217;ve been using KDE and lurking^Wreading the planet for a while, but never got around to contributing to KDE until I wrote my GSoC application this spring. I&#8217;m hoping this will be the beginning [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m participating in GSoC this summer I finally decided to add my blog to the planet. A little about me: I&#8217;ve been using KDE and lurking^Wreading the planet for a while, but never got around to contributing to KDE until I wrote my GSoC application this spring. I&#8217;m hoping this will be the beginning of a long and prosperous relationship contributing to KDE. <img src='http://www.thekidder.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My project this summer is to do a little work to improve the lacking desktop search, via a relatively new technology in KDE: Nepomuk. Nepomuk allows us to do many cool things, but the big part I&#8217;m concerned with is the ability to do full-text indexed search. I plan to do both some UI improvements, mostly in Dolphin, and some changes to the nepomuksearch kio_slave to allow for greater usability. My full proposal is available <a title="GSoC Project Proposal" href="http://www.thekidder.net/gsoc_2009_proposal.pdf">here</a>.</p>
<p>I&#8217;ll be posting here regularly with details of my project, as well as calls for input on the desktop search interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2009/05/15/hello-planet/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>My Summer of Code Proposal</title>
		<link>http://www.thekidder.com/2009/04/22/my-summer-of-code-proposal/</link>
		<comments>http://www.thekidder.com/2009/04/22/my-summer-of-code-proposal/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 17:32:07 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://www.thekidder.net/?p=23</guid>
		<description><![CDATA[One of the things that I found helpful in writing my proposal was to look at succesful proposals from previous years. This helped me gain an appreciation for the depth and breadth utilized in previous accepted proposals. On this note, I&#8217;d like to post the proposal I used for 2009 &#8211; Improving Search and Virtual [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things that I found helpful in writing my proposal was to look at succesful proposals from previous years. This helped me gain an appreciation for the depth and breadth utilized in previous accepted proposals. On this note, I&#8217;d like to post the proposal I used for 2009 &#8211; <a href="http://www.thekidder.net/gsoc_2009_proposal.pdf">Improving Search and Virtual Folders in KDE4</a>.</p>
<p>Of course, this may also be useful to people who are just interested in my project this summer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2009/04/22/my-summer-of-code-proposal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Summer of Code 2009</title>
		<link>http://www.thekidder.com/2009/04/20/google-summer-of-code-2009/</link>
		<comments>http://www.thekidder.com/2009/04/20/google-summer-of-code-2009/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 21:27:27 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://www.thekidder.net/blargh/?p=19</guid>
		<description><![CDATA[This year I have been accepted for the Google Summer of Code, for the mentoring organization KDE. I am incredibly excited to get to know the folks from KDE (my application abstract is here) &#8211; from my experiences reading their blogs and other materials they seem to be a very close and friendly community.
My project&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>This year I have been accepted for the Google Summer of Code, for the mentoring organization KDE. I am incredibly excited to get to know the folks from KDE (my application abstract is <a href="http://socghop.appspot.com/student_project/show/google/gsoc2009/kde/t124022558129">here</a>) &#8211; from my experiences reading their blogs and other materials they seem to be a very close and friendly community.</p>
<p>My project&#8217;s primary proposal is to implement what I see as one of the biggest deficiencies in KDE &#8211; the lack of a full-featured search feature. Being my preferred desktop environment, it was slightly disappointing to see this left undone. A little searching, however, revealed that all of the backend code is actually there &#8211; it is merely some front-end work that needs to be accomplished. This got my very worked up for a bit as I realized what I could do to remedy this situation &#8211; and so I submitted my application for GSoC 2009. I think it is a great thing that I have the opportunity to contribute to my most-used and favorite open source project, and I&#8217;d like to thank all the nice folks at KDE and Google for making this happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2009/04/20/google-summer-of-code-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automagically add version numbers in your builds</title>
		<link>http://www.thekidder.com/2009/02/01/automagically-add-version-numbers-in-your-builds/</link>
		<comments>http://www.thekidder.com/2009/02/01/automagically-add-version-numbers-in-your-builds/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 21:25:35 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[build-management]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://www.thekidder.net/blargh/?p=15</guid>
		<description><![CDATA[It is often very useful to be able to identify builds with version numbers automatically &#8211; for example, when diagnosing bugs reported by users. For a while I struggled with this, but I think I have a robust solution now.
I use subversion for source control, so it seems natural to use subversion version numbers to [...]]]></description>
			<content:encoded><![CDATA[<p>It is often very useful to be able to identify builds with version numbers automatically &#8211; for example, when diagnosing bugs reported by users. For a while I struggled with this, but I think I have a robust solution now.</p>
<p>I use subversion for source control, so it seems natural to use subversion version numbers to automatically add a version string. This turns out to have a couple of subtle issues:</p>
<ul>
<li>I need one version number for the whole program, not individual version numbers for each file</li>
<li>I want to see if the code built has been modified since the last commit</li>
</ul>
<p>Now I did a bit of internet searching, and came across <a title="svnversion" href="http://svnbook.red-bean.com/en/1.1/re57.html">svnversion</a>! This seems to solve both of my problems quite nicely &#8211; it will output a version number for a directory, and it can append &#8216;M&#8217; to the end of the version string if the working copy was modified. This even seems to be cross platform! The only thing left to do is to make a script to embed this information into a source file, and then add this script to out build system.</p>
<p>However, I&#8217;ve neglected a couple of missing things that could be useful:</p>
<ul>
<li>what if I want the revision number as an integer?</li>
<li>what if I want the modified flag as a boolean?</li>
<li>what if I want the date the application was built?</li>
</ul>
<p>These are all minor issues &#8211; nothing some perl-fu can&#8217;t solve. It would still be nice if I didn&#8217;t have to write all of this myself (as laziness is the foundation of efficiency).</p>
<p>Lucky for me, I don&#8217;t. There is a nice program called <a href="http://www.compuphase.com/svnrev.htm">svnrev</a> that will embed all of this information into a C++ or Java source file. It&#8217;s cross-platform and even comes with a Linux and Windows binary. Now I just needed to embed all of this into my build scripts.</p>
<p>I was only able to solve this problem satisfactorally when I started using CMake for builds. Before, I had been building on Linux and Windows, and had to maintain both an autotools configuration and Visual Studio solution. Switching to CMake gave me an easy way to generate native builds for each platform (as well as solve my versioning problems!) I now have a custom target in my CMakeLists.txt that my main target depends on. This looks something like this:</p>
<pre>IF(UNIX)</pre>
<pre>  ADD_CUSTOM_TARGET(svnversion ALL ./svn_update.sh WORKING_DIRECTORY ${SOURCE_DIR}/tools/)</pre>
<pre>ENDIF(UNIX)</pre>
<pre>IF(WIN32)</pre>
<pre>  ADD_CUSTOM_TARGET(svnversion ALL ./svn_update.bat WORKING_DIRECTORY ${SOURCE_DIR}/tools/)</pre>
<pre>ENDIF(WIN32)</pre>
<p>svn_update.{bat,sh} is a simple shell script that calls svnrev on all of my source files. I then add the svn_update script and svnrev to a tools/ directory in subversion, as well as a CMakeLists.txt like the one above. In my main CMake target, I just call</p>
<pre>ADD_DEPENDENCIES(target svnversion)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2009/02/01/automagically-add-version-numbers-in-your-builds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>emacs &#8211; Reload File</title>
		<link>http://www.thekidder.com/2008/10/21/emacs-reload-file/</link>
		<comments>http://www.thekidder.com/2008/10/21/emacs-reload-file/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 23:21:29 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://www.thekidder.net/blargh/?p=11</guid>
		<description><![CDATA[I wrote my first emacs lisp function today. Emacs is a little annoying when the files get changed outside of the editor &#8211; such as when you are working with svn. I found several methods to tell emacs to reload the file (C-x C-v) but they all have one caveat: they forget where you are [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote my first emacs lisp function today. Emacs is a little annoying when the files get changed outside of the editor &#8211; such as when you are working with svn. I found several methods to tell emacs to reload the file (C-x C-v) but they all have one caveat: they forget where you are in the buffer. I fixed this situation with a short function:</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> reload-file <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span>interactive<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">let</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>curr-scroll <span style="color: #66cc66;">&#40;</span>window-vscroll<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span>find-file <span style="color: #66cc66;">&#40;</span>buffer-<span style="color: #b1b100;">name</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span>set-window-vscroll <span style="color: #b1b100;">nil</span> curr-scroll<span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span>message <span style="color: #ff0000;">&quot;Reloaded file&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>global-set-key <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\C</span>-c<span style="color: #000099; font-weight: bold;">\C</span>-r&quot;</span> 'reload-file<span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>Put that in .emacs, and you simply have to type C-c C-r to reload the current file (while saving your scroll position!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2008/10/21/emacs-reload-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hello, World!</title>
		<link>http://www.thekidder.com/2008/09/20/hello-world/</link>
		<comments>http://www.thekidder.com/2008/09/20/hello-world/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 03:35:57 +0000</pubDate>
		<dc:creator>thekidder</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thekidder.net/blargh/?p=3</guid>
		<description><![CDATA[It looks like I have a blog now. I&#8217;ve been convinced to start one by this post, and also by the hope[less dream] that maybe I&#8217;ll become a better writer. At the moment, I don&#8217;t really have a whole lot to say, so let&#8217;s kick off the blog with some other introductions:

&#40;defun hello-world &#40;&#41;
  [...]]]></description>
			<content:encoded><![CDATA[<p>It looks like I have a blog now. I&#8217;ve been convinced to start one by this <a title="You Should Write Blogs" href="http://steve.yegge.googlepages.com/you-should-write-blogs">post</a>, and also by the hope[less dream] that maybe I&#8217;ll become a better writer. At the moment, I don&#8217;t really have a whole lot to say, so let&#8217;s kick off the blog with some other introductions:</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> hello-world <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span>format t <span style="color: #ff0000;">&quot;Hello, world!~%&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;iostream&gt;</span>
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
  std<span style="color: #008080;">::</span><span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Hello, world!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Hello, world!&lt;br /&gt;&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.thekidder.com/2008/09/20/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
