<?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>Spare Pencil &#187; Software</title>
	<atom:link href="http://sparepencil.com/archives/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://sparepencil.com</link>
	<description></description>
	<lastBuildDate>Sun, 06 Jun 2010 03:17:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>It&#8217;s timing time</title>
		<link>http://sparepencil.com/archives/2007/07/03/its-timing-time/</link>
		<comments>http://sparepencil.com/archives/2007/07/03/its-timing-time/#comments</comments>
		<pubDate>Tue, 03 Jul 2007 16:44:00 +0000</pubDate>
		<dc:creator>Bas</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sparepencil.com/archives/2007/07/03/its-timing-time/</guid>
		<description><![CDATA[<p>Have you ever been doing something without realising how much time it required, even though it would be quite useful to know? I have. Actually, it is something you must keep track of when doing some freelance work (unless you&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Have you ever been doing something without realising how much time it required, even though it would be quite useful to know? I have. Actually, it is something you must keep track of when doing some freelance work (unless you and your client really don&#8217;t care).</p>
<p><img src="/wp-content/uploads/2007/07/st-logo_large.gif" class="alignright" alt="SlimTimer Logo" /><br />
Anyway, I have been looking for some cool free tool to do this for me and I have found <a href="http://slimtimer.com">SlimTimer</a>. This tool is fairly simple, you basically make a todo-list and whenever you start working on something of the list, you click the item and the timer starts running. This all happens in a &#8216;client&#8217; page, which you can simply bookmark (as a sidebar in Firefox).</p>
<p>On the SlimTimer website, you can view all your tasks and see the total amount of time spent per task (which may have been spread over any amount of time).</p>
<p>My only problem so far was that I had to keep my browser open while timing. Even the sidebar in Firefox is not perfect, because it gets in the way and if I accidentally close the browser it&#8217;s gone and the timing is stopped. Luckily, this issue is solved by viewing the page in <a href="http://www.slimtimer.com/help#desktop">Bubbles</a>. (I guess there must be a Linux equivalent to Bubbles out there somewhere.)</p>
]]></content:encoded>
			<wfw:commentRss>http://sparepencil.com/archives/2007/07/03/its-timing-time/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Developing with Symfony</title>
		<link>http://sparepencil.com/archives/2007/06/30/developing-with-symfony/</link>
		<comments>http://sparepencil.com/archives/2007/06/30/developing-with-symfony/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 16:13:03 +0000</pubDate>
		<dc:creator>Bas</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sparepencil.com/archives/2007/06/30/developing-with-symfony/</guid>
		<description><![CDATA[<p>After reading many promising stories about development frameworks such as <a href="http://www.rubyonrails.org/">Ruby on Rails</a>, I decided that I actually had to see it for myself. PHP is probably the one programming language that I know best (<a href="/archives/2007/03/04/programming-languages-i-want-to-learn/">at the moment</a>,&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>After reading many promising stories about development frameworks such as <a href="http://www.rubyonrails.org/">Ruby on Rails</a>, I decided that I actually had to see it for myself. PHP is probably the one programming language that I know best (<a href="/archives/2007/03/04/programming-languages-i-want-to-learn/">at the moment</a>, that is), so the options were limited to, well, <a href="http://en.wikipedia.org/wiki/List_of_web_application_frameworks#PHP">a dozen or so frameworks</a>.</p>
<p><img src="http://sparepencil.com/wp-content/uploads/2007/06/sf-logo.gif" class="alignright" alt="Symfony logo" /><br />
<a href="http://symfony-project.com/">Symfony</a> was chosen for, as far as I am concerned, no apparent reason. But I think it came to my attention due to its growing popularity. Anyway, Symfony has a number of features that are not present in most of the other frameworks.</p>
<p>First of all, Javascript integration. Symfony allows you to enhance your application with Javascript, using mostly PHP!. AJAX is also pretty straightforward and <a href="http://www.prototypejs.org/">Prototype</a> is part of the package.<br />
Furthermore, there are a few useful generators. The most notable is the <a href="http://downloads.symfony-project.com/demo/admin/admin_generator_commented.mov">admin generator</a>.</p>
<p>Besides these features, Symfony has all the conveniences you would expect from a framework. It can really speed up a project once you know how it all works. I am currently in the process of doing just that, learning how it works. This is my first time actually using a framework, though, but I got the hang of it quite fast. I do have to look up all of the built-in functions, which is slightly annoying (Symfony&#8217;s reference documentation is not as good as, for example, PHP&#8217;s).</p>
<p>By the way, if you like using <a href="http://jedit.org/">jEdit</a>, like I do, there are <a href="http://trac.symfony-project.com/trac/wiki/UsingJEdit">some nice tips</a> on how to use it with Symfony. Those tips should be useful for almost any framework, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://sparepencil.com/archives/2007/06/30/developing-with-symfony/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
<enclosure url="http://downloads.symfony-project.com/demo/admin/admin_generator_commented.mov" length="18537976" type="video/quicktime" />
		</item>
		<item>
		<title>Clonk, fun and addictive</title>
		<link>http://sparepencil.com/archives/2007/06/19/clonk-fun-and-addictive/</link>
		<comments>http://sparepencil.com/archives/2007/06/19/clonk-fun-and-addictive/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 18:50:21 +0000</pubDate>
		<dc:creator>Bas</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sparepencil.com/archives/2007/06/19/clonk-fun-and-addictive/</guid>
		<description><![CDATA[<p>Quite a few years ago (I think 6 or so) I used to play a nice sort of strategy game called <a href="http://clonk.de">Clonk</a>. I don&#8217;t know why I stopped playing it, but it just happened. I also forgot the name&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Quite a few years ago (I think 6 or so) I used to play a nice sort of strategy game called <a href="http://clonk.de">Clonk</a>. I don&#8217;t know why I stopped playing it, but it just happened. I also forgot the name of the game&#8230; until I ran into it on a freeware site just a week ago!</p>
<p>New versions have been released since the time when I first played it, but the concept is still the same. The game is 2D and viewed from the side. The basic idea of the game is to build, mine and survive. As a player, you are in control of one or several small humanoid creatures&#8230; Clonks. They can dig, build, chop wood and do a whole range of other things. Mining is one of the most fun things (which is good, because it needs to be done often), because you get to dig a whole tunnel network underground. Survival is an important aspect of the game. The environment is never really friendly; it can rain, it can snow, it can freeze, there can be volcanic eruptions and so on. For example, while mining, you don&#8217;t want your mine to be flooded because of the rain.</p>
<p>Actually, you should see it for yourself. The <a href="http://clonk.de/contents_en.html?/classics_en.html">old release</a> is now free of charge (a registration key is provided). The new releases are shareware, but there are still many features available. You can use these versions on Windows. If you are using Linux, please read on. <img src='http://sparepencil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Now on Linux!</h2>
<p>The <a href="http://clonk.de/contents_en.html?/cr_en.html">latest version</a> of Clonk (currently a Beta release) has introduced a couple of gameplay improvements. The most significant improvement, however, has nothing to do with gameplay: the game is available for Linux!</p>
<p>I have just installed this release on my Ubuntu system and I must say that it works very well. It&#8217;s great to see that the developers of a less well-known game like Clonk are introducing their game to the Linux platform (they also ported it to Mac OS, by the way, great work!).</p>
<p>So, that is another addictive game to add to the Linux games list. How about getting it installed?</p>
<h2>Basic installation guide (Linux)</h2>
<p>Clonk is not completely open source (yet) and it has been released for Linux only recently. Obviously, it is probably not in your distribution&#8217;s package repository. Therefore we need to install it the unofficial way.</p>
<p>First of all, <a href="http://www.clonkx.de/rage/cr_game_linux.tar.bz2">get the files</a> for <a href="http://clonk.de/contents_en.html?/cr_en.html">Clonk Rage</a>.</p>
<p>Now make sure you have the following things installed on your system:</p>
<ul>
<li>SDL (Clonk requires SDL_mixer, you might have this installed already if you have more games on Linux)</li>
<li>Timidity</li>
<li>GTK+ >=2.8</li>
<li>libstdc++6</li>
</ul>
<p>If you don&#8217;t have these, the game might not work or just crash, so beware. You can probably find the packages you need by searching with your package manager.</p>
<p>Extract the contents of the previously downloaded archive to any folder you like (I just dumped everything in a folder in my home directory). You&#8217;ll probably want to make sure you have read and write permissions on whatever directory you choose, as to prevent privilege issues (if these might exist). Feel free to extract anywhere you like, though. <img src='http://sparepencil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now run the <code>install.sh</code> script which was included in the archive (run it from the directory where it was extracted). It creates a few files, including a (local) desktop entry. The Clonk Rage icon will now show up in your applications menu. I had a little problem with that, though, because it would not launch that way. I can start the game properly by executing the executable file from the installation directory, though.</p>
<p>Anyway, I hope you enjoy this game as much as I do. Consider buying the game if you play it often; it&#8217;s a nice reward for the developers who are spending time to port this great game.</p>
<p>By the way, I might try to make a Debian package for Clonk if some of you think this game is Linux-worthy. <img src='http://sparepencil.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://sparepencil.com/archives/2007/06/19/clonk-fun-and-addictive/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>jEdit on Ubuntu</title>
		<link>http://sparepencil.com/archives/2007/06/14/jedit-on-ubuntu/</link>
		<comments>http://sparepencil.com/archives/2007/06/14/jedit-on-ubuntu/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 17:46:50 +0000</pubDate>
		<dc:creator>Bas</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sparepencil.com/archives/2007/06/14/jedit-on-ubuntu/</guid>
		<description><![CDATA[<p>There is no denying that jEdit is one of the most versatile editors in existence. Okay, maybe you have a different taste, but there is nothing in jEdit that really should not be there and it is also very extensible&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>There is no denying that jEdit is one of the most versatile editors in existence. Okay, maybe you have a different taste, but there is nothing in jEdit that really should not be there and it is also very extensible and customisable. Even though it is written in Java, it loads fast and does not lag.<br />
That&#8217;s the promotional talk done, I&#8217;ll get to the point now.</p>
<p>jEdit is a cross-platform editor. On Windows it works fine, on Mac OS it does too (I guess) and on Linux it should as well. Getting it installed on Ubuntu might be a hassle, though; it is not in the official repositories. There are 3rd-party repositories for jEdit, though, but I&#8217;ve tried those myself and those packages tend to install badly.</p>
<p>You might get it to work from the unofficial repositories, I am not stopping you. But I found that installing jEdit manually (well, it&#8217;s semi-automatic, in fact) went very well. So here is what to do:</p>
<ol>
<li>Make sure you <a href="https://help.ubuntu.com/community/Java#head-f4267cc37a197ccf46397cc58ff0944838741956">have Java installed</a>. I recommend Sun&#8217;s version.<br />
Also make sure that this version of Java is <a href="https://help.ubuntu.com/community/Java#head-fef9352fb26820bb774df978180c9dd3a60e777b">your default</a>.</li>
<li><a href="http://jedit.org/index.php?page=download">Download</a> the Java-based installer from the jEdit website.<br />
The latest development version (4.3pre9 at the moment of writing) should be a good choice.</li>
<li>Run the installer.<br />
This should be able from your file manager, but, alternatively, you can run:<br />
<code>java -jar jedit4.3pre9install.jar</code></li>
<li>At the step that asks for installation locations:<br />
program: <code>~/jedit/4.3pre9</code><br />
shortcut: <code>~/bin</code><br />
man: <code>~/jedit/man/man1</code><br />
(<code>~</code> is your home directory, eg: <code>/home/joe</code>)<br />
Note that the man page for jEdit will not be indexed by the man-pages this way. Don&#8217;t worry, you probably won&#8217;t need it.</li>
<li>Finish the installer.<br />
You might consider unchecking the API documentation, since you probably won&#8217;t need it either.</li>
</ol>
<p>So now you have jEdit installed on Ubuntu. To see if it works, browse to <code>~/bin</code> and run the file named <code>jedit</code>. Fine, it should work. You can start using it like this, but it would be great to be able to start jEdit from the applications menu like any other editor. Luckily, you can also do this for individual user accounts.</p>
<ol>
<li>Open your favourite editor. This could be jEdit. <img src='http://sparepencil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Make a new file with the following contents:
<pre><code>[Desktop Entry]
Name=jEdit
Comment=Programmer's text editor
Exec=/home/username/bin/jedit %F
Icon=/home/username/jedit/4.3pre9/doc/jedit.png
Terminal=false
Type=Application
Categories=Application;Development;WebDevelopment;
Encoding=UTF-8
MimeType=text/html; text/css; text/x-javascript; text/x-python; text/x-perl; application/x-php; text/x-java; text/javascript; text/x-php; application/x-cgi; application/x-javascript; application/x-perl; application/x-python; application/xhtml+xml; text/mathml; text/x-csrc; text/x-chdr; text/x-dtd; text/x-sql; text/xml;</code></pre>
<p>Replace <code>username</code> with your user name, so <code>Exec</code> and <code>Icon</code> point to the correct location.</li>
<li>Name the file <code>jedit.desktop</code> and save it in <code>.local/share/applications</code> (which is a hidden folder in your home directory).</li>
<li>Check whether the jEdit icon is now visible in your applications menu. You might have to login again before it shows up.</li>
</ol>
<p>Well, that&#8217;s it. jEdit is now installed. Note that this is not a global installation; because we installed everything in the home directory, only one user can use jEdit. It shouldn&#8217;t be hard to install this globally, you&#8217;ll need to use different installation directories and be root, though.<br />
I personally don&#8217;t think it is necessary to install jEdit globally; it is small and easy to install and it is not an official package, so you never know whether something will break if you install globally. I haven&#8217;t tested this method for a global installation, so I won&#8217;t post instructions about it either.</p>
<p>jEdit does not look very much like the rest of your software, because it uses Java for its appearance. You can tweak it a little to make it look a bit more native, though:<br />
Launch jEdit. Go to <strong>Utilities</strong> &rsaquo; <strong>Global options</strong> and select <strong>Appearance</strong>. Uncheck all the boxes under <strong>Experimental options</strong>. Your jEdit windows should now be managed by your current window manager, so that will look better in most cases. <img src='http://sparepencil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://sparepencil.com/archives/2007/06/14/jedit-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
