<?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"
	>

<channel>
	<title>AkillesBlog</title>
	<atom:link href="http://blog.akilles.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.akilles.org</link>
	<description>Talk on computers, photography, electronics etc</description>
	<pubDate>Thu, 15 May 2008 19:06:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Gentoo md (Software RAID) RAID5 disk crash</title>
		<link>http://blog.akilles.org/2008/05/13/exciting-days-with-md-raid5-disk-crash/</link>
		<comments>http://blog.akilles.org/2008/05/13/exciting-days-with-md-raid5-disk-crash/#comments</comments>
		<pubDate>Mon, 12 May 2008 23:55:44 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[crash]]></category>

		<category><![CDATA[gentoo]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[md]]></category>

		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=64</guid>
		<description><![CDATA[How to recreate and assemble a Gentoo md software RAID (RAID5) array, where two disks have bad superblocks and one of these are permanently faulty.<script type="text/javascript">SHARETHIS.addEntry({ title: "Gentoo md (Software RAID) RAID5 disk crash", url: "http://blog.akilles.org/2008/05/13/exciting-days-with-md-raid5-disk-crash/" });</script>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s spring, so the weather outside is outstanding. The days are longer, the birds are singing and people enjoy the nature wakening up for a new summer of growth.<br />
Having my exams in near future, I&#8217;m content that I can&#8217;t use a great deal of my time enjoying the spring yet for another few weeks. But at least I&#8217;ve set aside the time I need for preparing my exams&#8230;<br />
&#8230;, I thought. Then, in the middle of my mail inbox I&#8217;ve received a mail from Charlie Root at my Gentoo server. Hardly a request for a bicycle ride in the sunshine:<br />
<code>WARNING: Some disks in your RAID arrays seem to have failed!</code> is the message.</p>
<p></p>
<p><i>Damn,</i> the third year in a row(!) something erroneous happens to my server in the middle of my exam preparations. Why can&#8217;t it happen during fall, when the weather&#8217;s bad and I have the time for such challenges.<br />
Well, I suppose it&#8217;s <em><a href="http://en.wikipedia.org/wiki/Murphy's_law">Murphy&#8217;s law</a></em>. However, over to a more precise description of the problem&#8230;</p>
<h2>The problem</h2>
<p>I have 6 SATA disks in a RAID5 software array (through the use of Gentoo&#8217;s md), on which an XFS filesystem is mounted.</p>
<p>The actual error is that two(!) of my disks became faulty overnight. Diagnostics follow.</p>
<p><em>/proc/mdstat</em>:<br />
<code>md0 : active raid5 sdf1[5] sde1[6](F) sdd1[3] sdc1[2] sdb1[1] sda1[7](F)<br />
      (some number) blocks level 5, 64k chunk, algorithm 2 [6/4] [_UUU_U]</code><br />
I really got nervous here; 2 faulty disks in a RAID5 array means trouble. But why on earth did two disks fail at one time??  I&#8217;m not sure yet.</p>
<p><em>dmesg</em> excerpt:<br />
<code>md: Autodetecting RAID arrays.<br />
md: autorun ...<br />
md: considering sdf1 ...<br />
md:  adding sdf1 ...<br />
md:  adding sde1 ...<br />
md:  adding sdd1 ...<br />
md:  adding sdc1 ...<br />
md:  adding sdb1 ...<br />
md:  adding sda1 ...<br />
md: created md0<br />
md: bind<sda1><br />
md: bind<sdb1><br />
md: bind<sdc1><br />
md: bind<sdd1><br />
md: bind<sde1><br />
md: bind<sdf1><br />
md: running: <sdf1><sde1><sdd1><sdc1><sdb1><sda1><br />
md: kicking non-fresh sde1 from array!<br />
md: unbind<sde1><br />
md: export_rdev(sde1)<br />
md: kicking non-fresh sda1 from array!<br />
md: unbind<sda1><br />
md: export_rdev(sda1)<br />
raid5: device sdf1 operational as raid disk 5<br />
raid5: device sdd1 operational as raid disk 3<br />
raid5: device sdc1 operational as raid disk 2<br />
raid5: device sdb1 operational as raid disk 1<br />
raid5: not enough operational devices for md0 (2/6 failed)<br />
RAID5 conf printout:<br />
 &#8212; rd:6 wd:4<br />
 disk 1, o:1, dev:sdb1<br />
 disk 2, o:1, dev:sdc1<br />
 disk 3, o:1, dev:sdd1<br />
 disk 5, o:1, dev:sdf1<br />
raid5: failed to run raid set md0<br />
md: pers->run() failed &#8230;<br />
md: do_md_run() returned -5<br />
md: md0 stopped.<br />
md: unbind<sdf1><br />
md: export_rdev(sdf1)<br />
md: unbind<sdd1><br />
md: export_rdev(sdd1)<br />
md: unbind<sdc1><br />
md: export_rdev(sdc1)<br />
md: unbind<sdb1><br />
md: export_rdev(sdb1)</code></p>
<p>It seems like sda is the only faulty one (<i>mdadm &#8211;examine</i> says it doesn&#8217;t have a superblock at all), but the crash of this one must have messed up the superblock of sde. However, it (the superblock of sde) was recreatable, and thereby also the RAID5-array as a whole: RAID5 allows for one disk (in this case, sda) to fail, but then you have no extra parachute, until you replace that faulty one.</p>
<p></p>
<h2>The (temporary) solution</h2>
<p>The superblock information for the different disks in the RAID-array were extracted for each disk with<br />
<code>mdadm --examine /dev/sda1</code><br />
and so on. I noted (that is, copy-paste) the exact information for all disks, for (at least) using as option input to the <i>mdadm &#8211;create</i>-command in the next paragraph.</p>
<p>I ran (<b><em>Warning:</em></b> do this at your <b>own risk</b>! It&#8217;s incredibly important setting the right options here, so be sure you&#8217;ve read and understand the contents of <i>man mdadm</i> first! Failing to do so will result in loss of data!):<br />
<code>mdadm --create --verbose /dev/md0 --level=5 --raid-devices=6 missing /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1</code>, which put the array back up in degraded mode, with the erroneous disk sda set to missing. This was sufficient to be able to mount the array, but not without problems.</p>
<h2>Mounting the degraded array</h2>
<p>A first attempt on &#8220;mount /dev/md0 /mnt&#8221; gave the error &#8220;mount: Structure needs cleaning&#8221;. This is the XFS filesystem telling it&#8217;s not entirely consistent. I could possibly run xfs_repair (I did, in a pretend-type-mode, with the -n option), but I&#8217;m not willing to risk my data on this yet. Instead, I did get the device mounted with this command:<br />
<code>mount -r -o norecovery /dev/md0  /mnt</code></p>
<p>In this way, I can now access my data and make a backup of them. Some data is probably corrupted without repairing the XFS file system, but hopefully most of it is recoverable&#8230;</p>
<h2>Some of the pages I visited in my frustration</h2>
<ul>
<li><a href="http://www.issociate.de/board/post/461227/kicking_non-fresh_member_from_array?.html">Kicking non-fresh member from array</a></li>
<li><a href="http://www.issociate.de/board/post/413817/Linux_Software_RAID_Bitmap_Question.html">Linux RAID bitmap question</a></li>
</ul>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=Gentoo+md+%28Software+RAID%29+RAID5+disk+crash&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F05%2F13%2Fexciting-days-with-md-raid5-disk-crash%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/05/13/exciting-days-with-md-raid5-disk-crash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Saving as JPEG with Photoshop</title>
		<link>http://blog.akilles.org/2008/04/21/saving-as-jpeg-with-photoshop/</link>
		<comments>http://blog.akilles.org/2008/04/21/saving-as-jpeg-with-photoshop/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 18:07:59 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[jpeg]]></category>

		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=63</guid>
		<description><![CDATA[After having edited a photo from camera with 16-bit AdobeRGB color, here is what I do to save as JPEG while maintaining finetuned colors and tones:

Flatten image (from many layers to one layer).
Convert to 8 bit (JPEG doesn&#8217;t support 16 bit): Image -> Mode -> 8 bits/Channel
Convert Color Profile (Edit->Convert To Profile&#8230;) to sRGB.
Important to [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Saving as JPEG with Photoshop", url: "http://blog.akilles.org/2008/04/21/saving-as-jpeg-with-photoshop/" });</script>]]></description>
			<content:encoded><![CDATA[<p>After having edited a photo from camera with 16-bit AdobeRGB color, here is what I do to save as JPEG while maintaining finetuned colors and tones:</p>
<ul>
<li>Flatten image (from many layers to one layer).</li>
<li>Convert to 8 bit (JPEG doesn&#8217;t support 16 bit): Image -> Mode -> 8 bits/Channel</li>
<li><strong>Convert</strong> Color Profile (Edit->Convert To Profile&#8230;) to sRGB.<br />
Important to choose <em>Convert to&#8230;</em> and not <em>Assign&#8230;</em>!</li>
<li>Then save as JPEG using either <em>Save As</em> or <em>Save for Web &#038; Devices</em>. Use the first to preserve EXIF tags from camera, use the latter if you want to finetune compression and target file size.</li>
</ul>
<p>Read more about color spaces/profiles and skin tones at <a href="http://www.smugmug.com/help/srgb-versus-adobe-rgb-1998">SmugMug.com</a></p>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=Saving+as+JPEG+with+Photoshop&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F04%2F21%2Fsaving-as-jpeg-with-photoshop%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/04/21/saving-as-jpeg-with-photoshop/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby on Rails: Experimenting with ActiveScaffold</title>
		<link>http://blog.akilles.org/2008/04/17/ruby-on-rails-experimenting-with-activescaffold/</link>
		<comments>http://blog.akilles.org/2008/04/17/ruby-on-rails-experimenting-with-activescaffold/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 01:00:58 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[ActiveScaffold]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[scaffolding]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=61</guid>
		<description><![CDATA[Introduction
Here I will set up a sample Ruby on Rails application with the ActiveScaffold scaffolding plugin. I will first give the basic instructions to a default setup (as found on ActiveScaffold&#8217;s site, only with my field names and values), and will then make some tweaks and override some of the default configuration. It&#8217;s all very [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Ruby on Rails: Experimenting with ActiveScaffold", url: "http://blog.akilles.org/2008/04/17/ruby-on-rails-experimenting-with-activescaffold/" });</script>]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>Here I will set up a sample Ruby on Rails application with the ActiveScaffold scaffolding plugin. I will first give the <strong><a href="#basic">basic instructions to a default setup</a></strong> (as found on ActiveScaffold&#8217;s site, only with my field names and values), and will then make some <strong><a href="#overrides">tweaks and override</a></strong> some of the default configuration. It&#8217;s all very basic, but it can be a help for those trying out ActiveScaffold for their first time.</p>
<p><strong>The case we&#8217;re working on:</strong> create a list of <em>Equipment</em>, i.e. electronic gadgets you&#8217;re planning to buy. We want to register title, price, an url to the product page of a webstore, an image url, some description and whether it&#8217;s in the webstore&#8217;s stock. Aditionally, we would like to <em>calculate</em> the registered price into another currency. All of this is to be shown in a sortable, searchable list.</p>
<p>It will be <strong><a href="http://blog.akilles.org/wp-content/uploads/2008/04/equipment.png">looking like this</a></strong> when we&#8217;re done.</p>
<p>After some years developing and experimenting with PHP, I&#8217;ve become curious of Ruby on Rails and what it has to offer in ease and &#8220;speedy&#8221; development. I&#8217;m for the time being an absolute rookie in RoR, but I&#8217;ve had a look on some resources on the net and have tried making a few very basic &#8220;test&#8221; applications.</p>
<p>Having limited experience regarding web development <em>frameworks</em>, it takes a few scratches on the head to get the <a href="http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/">concept of MVC</a> and knowing what does what (M=model, V=view, C=controller) and what calls what. Generating a scaffold and investigating the different files helps grasping the concept after a while.</p>
<p>The first time I saw the result of a scaffold-generation, I was convinced that this kind of development was something to look further into. However, after having seen samples of other scaffold generators, the default one seems a little <em>static</em> and cumersome to override: It seems like the default scaffolding generator is meant for running once, and then hardcode-editing the scaffold-generated code. Then, if you for some reason have to rescaffold, you must reimplement the changes. Also, the result is rather static without &#8220;fancy stuff&#8221; like Ajax.</p>
<p>Therefore, I had to test out the ActiveScaffold scaffolding plugin. It&#8217;s very easily installed, quickly up and running (a getting-started-tutorial on their site is estimated to 2 minutes from scratch), produces a smooth Ajax&#8217;ed design and is very easily to override and configure.</p>
<p>Remember, though, that I&#8217;m quite new to RoR, so I haven&#8217;t a broad basis of comparison, and there may be better practices for what I&#8217;m doing here. If so, please tell me! <img src='http://blog.akilles.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>Assumptions</h3>
<p>I think the majority of the steps in this tutorial should work with most versions (except the scaffolding, which is different in rails v. >= 2), but here&#8217;s what I&#8217;ve used:</p>
<ul>
<li>Rails 1.2.6 <em>(yes, I know, it&#8217;s time to upgrade&#8230;)</em></li>
<li>Ruby 1.8.6</li>
<li>ActiveScaffold rev. 739</li>
</ul>
<p><strong>I assume you have</strong> a working rails-application, set up with connection to an existing database and accessible through a web browser before starting off.</p>
<p></p>
<p><a name="basic"><br />
<h3>Basic setup</h3>
<p></a></p>
<p>The first thing we&#8217;re gonna do, is <strong>create a new table</strong> in the database to which the application connects. I created a table called <em>equipment</em> like this in my MySql database:</p>
<pre name="code" class="sql">

CREATE TABLE equipment (
  id int(10) unsigned NOT NULL auto_increment,
  title varchar(255) NOT NULL,
  descr text NOT NULL,
  price float NOT NULL,
  updated timestamp NOT NULL
    default CURRENT_TIMESTAMP
    on update CURRENT_TIMESTAMP,
  url varchar(255) NOT NULL,
  imgurl varchar(255) NOT NULL,
  instock tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (id)
) ;
</pre>
<p>Then, let the generator scripts <strong>make the appropriate files</strong> we&#8217;ll be working on. 4 types of files are created, but we&#8217;re only interested in 3 of these; the <em>model</em>, <em>controller</em> and <em>helper</em> files, not the <em>view</em> files. However, we&#8217;ll just delete the view files afterwards&#8230;<br />
Open up a terminal window, and cd to your rails application root folder. Then run<br />
<code>./script/generate scaffold Equipment</code></p>
<p>Now, <strong>delete</strong> the unnecessary views files (not only unnecessary; they also override the ActiveScaffold which we&#8217;ll put to work later on, so <strong>follow this step!</strong>):<br />
<code>rm -R app/views/equipment/</code></p>
<p>Now it&#8217;s about time to <strong>install</strong> the ActiveScaffold plugin:<br />
<em>([Parts of] the following few steps are borrowed from ActiveScaffold&#8217;s <a href="http://activescaffold.com/">website</a>)</em><br />
<code>./script/plugin install http://activescaffold.googlecode.com/svn/tags/active_scaffold</code></p>
<p>When the plugin has been downloaded and installed, you need to <strong>update</strong> a few of your files.<br />
Add this to the <em>head</em>-section of your <em>app/views/layouts/equipment.rhtml</em> file:</p>
<pre name="code" class="ruby">

  &lt;%= javascript_include_tag :defaults %&gt;
  &lt;%= active_scaffold_includes %&gt;
</pre>
<p>It should then look something like this:</p>
<pre name="code" class="ruby">

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
       &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
&lt;head&gt;
  &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;charset=UTF-8&quot; /&gt;
  &lt;title&gt;as test&lt;/title&gt;
  &lt;%= javascript_include_tag :defaults %&gt;
  &lt;%= active_scaffold_includes %&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;p style=&quot;color: green&quot;&gt;&lt;%= flash[:notice] %&gt;&lt;/p&gt;

&lt;%= yield  %&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Then, <strong>edit</strong> your <em>app/controllers/equipment_controller.rb</em>, so that it looks similar to this:</p>
<pre name="code" class="ruby">

class EquipmentController &lt; ApplicationController
  @equipment_pages, @equipment = paginate :equipment, :per_page =&gt; 10
  layout &quot;equipment&quot;
  active_scaffold :equipment
end
</pre>
<p>Also, quote from <a href="http://activescaffold.com/tutorials/getting-started">http://activescaffold.com/tutorials/getting-started</a>:</p>
<blockquote><p>3a. Make sure that you don’t have AjaxScaffold installed in your project. Since ActiveScaffold evolved out of AjaxScaffold they share some common method names and are incompatible with each other.</p></blockquote>
<p>Then you&#8217;re <strong>done</strong> with basic setup. Now browse to http://your-rails-app-root/Equipment, and hopefully you&#8217;ll see the magnificent Ajax&#8217;ed layout created by ActiveScaffold. Isn&#8217;t it wonderful?</p>
<p>If you, like me, are running Rails on Apache/FastCGI, you may have to restart your Apache httpd-server every now and then (I don&#8217;t know of any other methods of killing/restarting the rails fastCGI-scripts being run by apache. If you know; please tell me!). When testing new stuff and/or when getting errors, I always restart apache to see if the problem still persists.</p>
<p>Up to now, we&#8217;ve basically dealt with initial setup covered by ActiveScaffold&#8217;s own <a href="http://activescaffold.com/tutorials/getting-started">Getting Started-tutorial</a>. Now it&#8217;s time to tweak the config to our needs.</p>
<p></p>
<p><a name="overrides"><br />
<h3>Tweaking and overriding default ActiveScaffold config</h3>
<p></a></p>
<p>I&#8217;m over all very satisfied with the looks and functionality of the initial output, especially when considering it almost takes no time at all. However, since ActiveScaffold can&#8217;t know how I plan to view my data, there are some overrides to be done. Datafields are overridden very smoothly by creating small methods with designated names in the right classes.</p>
<p>Anyways, here&#8217;s what I&#8217;m gonna do:</p>
<ul>
<li>Show the <strong>image</strong> pointed to by <em>imgurl</em> instead of the url itself.</li>
<li>Put the image inside an <em>&lt;a href&#8230;&gt;</em>-tag, so that the image <strong>links to the url</strong> in the <em>url</em>-field.</li>
<li>Create/include a <strong>virtual column</strong> that shows the price in <strong>a foreign currency</strong> as well as in USD.</li>
<li><strong>Format</strong> the two price-columns with <em>sprintf</em></li>
<li><strong>Reorder</strong> the columns</li>
<li><strong>Exclude</strong> the <em>descr</em>-column from list view</li>
<li>Tweak the output of the boolean field <em>instock</em></li>
<li>Apply a <strong>default sorting</strong> of the rows in the list view</li>
</ul>
<p>This may sound as a lot of work, but fact is it&#8217;s quite easily implemented.</p>
<p>First a note on the two price-columns: I live in Norway, and am sometimes interested in monitoring prices in some US webshops. Therefore, I register the USD price in the <em>price</em>-field in the database, while I calculate what this will cost me in NOK (Norwegian kroner) based on the current exchange rate. Since most of you probably are not from Norway, I called NOK the foreign currency.</p>
<p>First, place a floating point number (for instance 4.99 - the actual rate on 2008-Apr-15, the lowest rate in 25 years!) as the only line in a file placed here (though customized for your rails-path!):<br />
<em>/usr/local/www/rails/as/myincludes/nok_usd_rate.txt</em></p>
<p>We want a global variable (<em>yeah, I know everyone&#8217;s not found of that</em>) to hold the exchange rate, read from a file in the event of page loading. I do this so that I won&#8217;t have to read the file over for each record.</p>
<p>Edit the <em>app/controllers/application.rb</em>-file, so that it looks like this:</p>
<pre name="code" class="ruby">

# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.

class ApplicationController &lt; ActionController::Base
  def setmyglobalvar
    # reads exchange rate from file: UPDATE TO YOUR PATH!
    contents = File.read('/usr/local/www/rails/as/myincludes/nok_usd_rate.txt')
    # converts to NOK and includes 25% &quot;mva&quot; (=Norwegian VAT). Stores in global var:
    $myglobalvar= contents.to_f * 1.25
  end

  # Pick a unique cookie name to distinguish our session data from others'
  session :session_key =&gt; '_testapp_session_id'

  before_filter :setmyglobalvar
end
</pre>
<p>Here, we have defined a method, and calls this by the <em>before_filter</em>-statement.</p>
<p>Next, we must extend our record-model so that it includes the field to be used as a virtual column. Edit <em>app/models/equipment.rb</em> to look like this:</p>
<pre name="code" class="ruby">

class Equipment &lt; ActiveRecord::Base
  def price_nok
    # $myglobalvar is set in controllers/application_controller,
    # and contains exchange rate incl VAT:
    # self.price references the price-
    # field from current database record.
    self.price * $myglobalvar
  end
end
</pre>
<p>Then we must tell the controller to include this new field as a (virtual) column.<br />
At the same time, we reorder the columns and apply a default sorting for the list view.<br />
Note that we only alter the columns of the <em>list</em> action and not of any other actions (<em>list</em> is an action, so is <em>new</em>, <em>edit</em>, <em>show</em> etc). Altering the columns of <em>edit</em> or <em>new</em> can result in an error on record edit or creation attempts.<br />
Note also that only the columns listed in <em>config.list.columns</em> will be shown in the list view.<br />
Here it goes - <em>app/controllers/equipment_controller.rb</em>:</p>
<pre name="code" class="ruby">

class EquipmentController &lt; ApplicationController
  @equipment_pages, @equipment = paginate :equipment, :per_page =&gt; 10
  layout &quot;equipment&quot;

  active_scaffold :equipment do |config|
    list.sorting = {:price =&gt; 'DESC'}
    config.list.columns = [:imgurl, :instock, :price, :price_nok, :title, :updated]
  end
end
</pre>
<p>Then, at last, we alter the way some of the columns are shown. This is done in <em>app/helpers/equipment_helper.rb</em>, by creating methods with name <em>columnname_column</em>. All output within the method will be printed in the respective table cell (td) for each record of that column. Here is the contents of that file:</p>
<pre name="code" class="ruby">

module EquipmentHelper
  def imgurl_column(record)
    '&lt;a href=&quot;'+record.url+'&quot;&gt;' + image_tag(record.imgurl, :alt =&gt; &quot;Image&quot;) + '&lt;/a&gt;'
  end
  def url_column(record)
    '&lt;b&gt;&lt;a href=&quot;'+record.url+'&quot;&gt;[ link ]&lt;/a&gt;&lt;/b&gt;'
  end
  def instock_column(record)
    if record.instock
      image_tag(&quot;/img/yes.png&quot;, :alt =&gt; &quot;yes!&quot;)
    else
      image_tag(&quot;/img/no.png&quot;, :alt =&gt; &quot;no, sadly!&quot;)
    end
  end
  def price_column(record)
    # http://railsmanual.org/module/ActionView::Helpers::NumberHelper
    number_to_currency(record.price)
  end
  def price_nok_column(record)
    number_to_currency(record.price_nok, :unit =&gt; &quot;NOK &quot;, :delimiter =&gt; &quot; &quot;, :separator =&gt; &quot;,&quot;)
  end
  def descr_column(record)
    # for the show action, where we want to show the description as well.
    record.descr.gsub(&quot;\n&quot;, &quot;&lt;br /&gt;&quot;)
  end
end
</pre>
<h5>Custom stylesheet</h5>
<p>If you want to apply your own css-formatting, don&#8217;t edit the default stylesheets, because they may be overwritten. Instead, include this <strong>as the very last line</strong> in the <em>head</em>-section of <em>app/views/layouts/equipment.rhtml</em>:</p>
<pre name="code" class="ruby">

  &lt;%= stylesheet_link_tag 'active_scaffold_overrides' %&gt;
</pre>
<p>Then, add your css rules in the stylesheet <em>public/stylesheets/active_scaffold_overrides.css</em>! For instance:</p>
<pre name="code" class="css">

.price_nok-column
{
        font-weight: bold;
}
</pre>
<hr />
<p><a name="links"><br />
<h3>Links</h3>
<p></a></p>
<ul>
<li><a href="http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/">MVC-concept @ betterexplained.com</a></li>
</ul>
<p></p>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=Ruby+on+Rails%3A+Experimenting+with+ActiveScaffold&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F04%2F17%2Fruby-on-rails-experimenting-with-activescaffold%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/04/17/ruby-on-rails-experimenting-with-activescaffold/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The last days of my Logitech MX3200 wireless keyboard/mouse?</title>
		<link>http://blog.akilles.org/2008/04/07/the-last-days-of-my-logitech-mx3200-wireless-keyboardmouse/</link>
		<comments>http://blog.akilles.org/2008/04/07/the-last-days-of-my-logitech-mx3200-wireless-keyboardmouse/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 18:16:11 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[keyboards]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/2008/04/07/the-last-days-of-my-logitech-mx3200-wireless-keyboardmouse/</guid>
		<description><![CDATA[I found this very thorough review regarding the MX5500, with some comparisons to the MX3200:
http://aphnetworks.com/reviews/logitech_mx5500_revolution
I&#8217;ve had my MX3200 for a year and five months now, and it has been alright, but the last few months I&#8217;ve experienced times of frustration:
Sometimes when I write a character (which requires the shift-button??), the character is being repeated until [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "The last days of my Logitech MX3200 wireless keyboard/mouse?", url: "http://blog.akilles.org/2008/04/07/the-last-days-of-my-logitech-mx3200-wireless-keyboardmouse/" });</script>]]></description>
			<content:encoded><![CDATA[<p>I found this very thorough review regarding the MX5500, with some comparisons to the MX3200:</p>
<p><a href="http://aphnetworks.com/reviews/logitech_mx5500_revolution">http://aphnetworks.com/reviews/logitech_mx5500_revolution</a></p>
<p>I&#8217;ve had my MX3200 for a year and five months now, and it has been alright, but the last few months I&#8217;ve experienced times of frustration:<br />
Sometimes when I write a character (which requires the shift-button??), the character is being repeated until I hit another key, even though I released the first key. The problem is not related to the key itself, so I guess it&#8217;s a problem regarding weak wireless reception or something. When the problem first occurs, it can happen over and over again for hours, while other times there can be days/weeks when there&#8217;s no problem at all. This makes me suspect that maybe the signal/noise ratio is too low; maybe the signal reception is too weak on this model and that the problem occurs when the noise from cellulars etc is having its peaks?</p>
<p>What made me suspect the reception quality in the first place, was when I first plugged the receiver in the back of my computer, curious to try out my new keyboard. The reception was less than low: Not all keystrokes were recorded, and I had to use the equipped USB extension cable to place the receiver nearer my keyboard. Considering that the back of my computer is no more than 1,5 m away from the keyboard &#8212; though visually hidden by the cabinet itself &#8212; I think <em>that&#8217;s</em> poor reception.</p>
<p>Anyways, I haven&#8217;t had this problem with any other (Logitech) wireless keyboards I&#8217;ve had, so I hope and think it&#8217;s just this model. Therefore, I found the review linked to above interesting, especially since they mention good reception on the MX5500.</p>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=The+last+days+of+my+Logitech+MX3200+wireless+keyboard%2Fmouse%3F&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F04%2F07%2Fthe-last-days-of-my-logitech-mx3200-wireless-keyboardmouse%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/04/07/the-last-days-of-my-logitech-mx3200-wireless-keyboardmouse/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Escaping backslash character in C# .NET MySQL-queries</title>
		<link>http://blog.akilles.org/2008/03/12/escaping-backslash-character-in-c-net-mysql-queries/</link>
		<comments>http://blog.akilles.org/2008/03/12/escaping-backslash-character-in-c-net-mysql-queries/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 00:20:01 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[.NET]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[escapecharacters]]></category>

		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/2008/03/12/escaping-backslash-character-in-c-net-mysql-queries/</guid>
		<description><![CDATA[Using escape-sequences like \t or \n is one thing, but escaping the escapecharacter (often &#8216;\&#8217;) can sometimes be a pain in the A*S*S&#8230; This is especially true when the string you&#8217;re escaping is about to be processed by several succeeding processes, like: 1) a compiler, 2) a regex-engine, 3) a database, &#8230; , etc.
Anyways, I&#8217;ve [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Escaping backslash character in C# .NET MySQL-queries", url: "http://blog.akilles.org/2008/03/12/escaping-backslash-character-in-c-net-mysql-queries/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Using escape-sequences like \t or \n is one thing, but escaping the escapecharacter (often &#8216;\&#8217;) can sometimes be a pain in the A*S*S&#8230; This is especially true when the string you&#8217;re escaping is about to be processed by several succeeding processes, like: 1) a compiler, 2) a regex-engine, 3) a database, &#8230; , etc.</p>
<p>Anyways, I&#8217;ve experimented some with MySql-queries from within C# .NET, using Windows paths (containing backslashes as path separators) in the WHERE-clauses. We have a query of one of the forms:</p>
<p><strong>case 1: = operator</strong></p>
<pre name="code" class="c#">
querystring1 =
  &quot;SELECT a,b,path FROM table &quot; +
  &quot;WHERE path = '&quot; + patharg1 + &quot;';&quot;;
</pre>
<p><em>or</em></p>
<p><strong>case 2: LIKE operator</strong></p>
<pre name="code" class="c#">
querystring2 =
  &quot;SELECT a,b,path FROM table &quot; +
  &quot;WHERE path LIKE '&quot; + patharg2 + &quot;';&quot;;
</pre>
<p>Here is what I&#8217;ve found out:</p>
<p><strong>case 1: = operator</strong><br />
Use <strong>4</strong> backslashes for each backslash in the saved record you&#8217;re matching against. You could do:</p>
<pre name="code" class="c#">
patharg1 =
  patharg1.Replace(&quot;\\&quot;, &quot;\\\\&quot;);
</pre>
<p>(The 2 backslashes in the first replace-argument is for escaping the backslash within the compiler.)</p>
<p><strong>case 1: LIKE operator</strong><br />
Use <strong>8</strong>(!) backslashes for each backslash in the saved record you&#8217;re matching against. You could do:</p>
<pre name="code" class="c#">
patharg2 =
  patharg2.Replace(&quot;\\&quot;, &quot;\\\\\\\\&quot;);
</pre>
<p>(The 2 backslashes in the first replace-argument is for escaping the backslash within the compiler.)</p>
<p>The two cases could then look like this:</p>
<p><strong>case 1:</strong></p>
<pre name="code" class="c#">
querystring1 =
  &quot;SELECT a,b,path FROM table &quot; +
  &quot;WHERE path = 'c:\\\\some\\\\path.txt';&quot;;
</pre>
<p><strong>case 2:</strong></p>
<pre name="code" class="c#">
querystring2 =
  &quot;SELECT a,b,path FROM table &quot; +
  &quot;WHERE path LIKE 'c:\\\\\\\\some\\\\\\\\path.txt';&quot;;
</pre>
<p>The above is if you put the querystring into, for instance, a MySqlCommand&#8217;s CommandText.</p>
<p>However, if you use datasets and run something like</p>
<pre name="code" class="c#">
dataTable.Select(filterExpression)
</pre>
<p>where dataTable is a DataTable instance and filterExpression is a string, you must <strong>not</strong> escape the backslash more than for a usual string (you&#8217;ll just write &#8220;\\&#8221; or @&#8221;\&#8221;, because some kind of escape of the backslash is <em>always</em> necessary for the compiler).</p>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=Escaping+backslash+character+in+C%23+.NET+MySQL-queries&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F03%2F12%2Fescaping-backslash-character-in-c-net-mysql-queries%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/03/12/escaping-backslash-character-in-c-net-mysql-queries/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Note to self: C# and logical shortcircuiting</title>
		<link>http://blog.akilles.org/2008/03/10/note-to-self-c-and-logical-shortcircuiting/</link>
		<comments>http://blog.akilles.org/2008/03/10/note-to-self-c-and-logical-shortcircuiting/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 17:44:22 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[.NET]]></category>

		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/2008/03/10/note-to-self-c-and-logical-shortcircuiting/</guid>
		<description><![CDATA[C# (.NET) do short-circuit logical expressions; i.e.:
1)

(A &#124;&#124; B)

==> If A is true, then only A is evaluated.
2)

(C &#38;&#38; D)

==> If C is false, then only C is evaluated.
This means that, provided that A is true, expression 1 is true even though B would throw an exception if evaluated.
An example use of expression 2:


if ((filename [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Note to self: C# and logical shortcircuiting", url: "http://blog.akilles.org/2008/03/10/note-to-self-c-and-logical-shortcircuiting/" });</script>]]></description>
			<content:encoded><![CDATA[<p>C# (.NET) <strong>do</strong> short-circuit logical expressions; i.e.:</p>
<p>1)</p>
<pre name="code" class="csharp">
(A || B)
</pre>
<p>==> If A is true, then only A is evaluated.</p>
<p>2)</p>
<pre name="code" class="csharp">
(C &amp;&amp; D)
</pre>
<p>==> If C is false, then only C is evaluated.</p>
<p>This means that, provided that A is true, expression 1 is true even though B would throw an exception if evaluated.</p>
<p>An example use of expression 2:</p>
<pre name="code" class="csharp">

if ((filename != &quot;&quot;) &amp;&amp; (new FileInfo(filename).Exists))
	//file exists
</pre>
<p>If filename == &#8220;&#8221;, the Exists-statement would throw an exception. However, since the first expression (&#8230;!=&#8230;) is false, the Exists-statement is never evaluated, and the exception doesn&#8217;t occur.</p>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=Note+to+self%3A+C%23+and+logical+shortcircuiting&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F03%2F10%2Fnote-to-self-c-and-logical-shortcircuiting%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/03/10/note-to-self-c-and-logical-shortcircuiting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Garmin Colorado 300 vs old Garmin 60CS : First impressions review</title>
		<link>http://blog.akilles.org/2008/02/29/first-impressions-garmin-colorado-300-vs-garmin-60cs/</link>
		<comments>http://blog.akilles.org/2008/02/29/first-impressions-garmin-colorado-300-vs-garmin-60cs/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 03:38:27 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Electronics]]></category>

		<category><![CDATA[GPS]]></category>

		<category><![CDATA[Garmin 60CS]]></category>

		<category><![CDATA[Garmin Colorado]]></category>

		<category><![CDATA[reviews]]></category>

		<category><![CDATA[screenshots]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=4</guid>
		<description><![CDATA[Dear readers!
I&#8217;ve recently bought myself a new GPS, namely the new Garmin Colorado 300, replacing my old Garmin GpsMap 60CS.

The 60CS was a great trekking companion for a good two years, outperforming my old Garmin eTrex Vista in many ways - for instance; PC-&#62;GPS transfer time (serial cable vs USB(!)), graphical experience (b&#38;w vs colors), map rendering [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "New Garmin Colorado 300 vs old Garmin 60CS : First impressions review", url: "http://blog.akilles.org/2008/02/29/first-impressions-garmin-colorado-300-vs-garmin-60cs/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Dear readers!</p>
<p>I&#8217;ve recently bought myself a new GPS, namely the new Garmin Colorado 300, replacing my old Garmin GpsMap 60CS.<br />
<span id="more-4"></span></p>
<p>The 60CS was a great trekking companion for a good two years, outperforming my old Garmin eTrex Vista in many ways - for instance; PC-&gt;GPS transfer time (serial cable vs USB(!)), graphical experience (b&amp;w vs colors), map rendering time and, IMHO, user-friendliness.</p>
<p>I&#8217;d kept my 60CS for a lot longer time if it hadn&#8217;t been for a loose USB-connector: Sometime last year the USB-connector on the unit decided it wanted to join the USB-cable being (not roughly) pulled out.  The connector didn&#8217;t loosen entirely, but ever since the USB-connections to my PCs have been unstable and troublesome.<br />
I&#8217;m not sure whether anybody else has experienced the same USB-connector problem on the 60CS, but I decided I wanted to go with something new, also tempted by Colorado&#8217;s better graphical resolution.</p>
<p>However, since I unpacked my new Colorado 300 yesterday, I&#8217;ve browsed throught the menus, gotten familiar with the button configuration, uploaded a topographic map (for those of you familiar with Norway; Trondheim Topo Pro) to it and compared the map screen to that of the 60CS.</p>
<p></p>
<h2>Exterior </h2>
<p>Before getting soft (as in software, mohahah), I want to show you a few images of the Colorado 300 lined up side-by-side with my old 60CS for comparison of physical dimensions:</p>
<p>Front:<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/front.jpg" alt="front.jpg" /></p>
<p>Back:<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/back.jpg" alt="back.jpg" /></p>
<p>Back with battery covers removed (we see the Colorado with an SD-card inserted. The 60CS didn&#8217;t have a card slot):<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/back_batt.jpg" alt="back_batt.jpg" /></p>
<p>Side:<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/side.jpg" alt="side.jpg" /></p>
<p>The Colorado lies perfectly in my palm, with my thumb ready to access the rock-and-roller-button:<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/hand.jpg" alt="hand.jpg" /></p>
<p>Focusing on the Colorado, here are some more exterior images:<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/front_col.jpg" alt="front_col.jpg" /><br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/map.jpg" alt="map.jpg" /><br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/trip.jpg" alt="trip.jpg" /></p>
<p>The last pair of images is included only so that you can see what the physical screen actually looks like. IMHO, it&#8217;s excellent to look at IRL, and I hope that these photos can give that impression. I read somewhere that the screen brightness of the Colorado 300 isn&#8217;t as bright as the 60CS(x), but I can&#8217;t say I&#8217;ve noticed any difference between the 60CS and this one on that matter. The backlight brightness is sufficient, and being transreflective, there should be no problem reading the screen in sunshine either (just like the 60CS).</p>
<p></p>
<h2>Screen resolution</h2>
<p>On the contrary, what I have noticed, is the increase in resolution, which is rather significant. This may make some of the text on the map too small for those of you forgetting to put your glasses on, but for those of us who either remember to do so or don&#8217;t use glasses at all (sorry, just had to), this increase in screen resolution makes the map a dream to use! The increase from 160&#215;240 to 240&#215;400 pixels makes it able to show the same detail covering 2.5 times the area. Quite an improvement:-)</p>
<p>Screenshots from the two units compare map resolution of the terrain in the neighbourhood. 60CS on the left, Colorado on the right. Note how cluttery the 60CS seems compared to the Colorado! The two mapscreens cover about the same area, except that the Colorado map is turned some degrees CCW compared to the 60CS-map, because I forgot to set &#8220;North Up&#8221;&#8230;:<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/_map_compare.png" alt="_map_compare.png" /></p>
<h2>More map screenshots of the Colorado 300</h2>
<p>The basemap and its looks (shading etc) also impresses me. Having both topo-map and basemap turned on, the topomap shows for zoom-scales below 3km, while the basemap shows else. (Turning off the topo-map makes the basemap show for all zoom-scales).<br />
For fun, here are screenshots zooming in on my neighbourhood in Trondheim:</p>
<p><img src="http://blog.akilles.org/wp-content/uploads/2008/02/738.png" alt="738.png" /> Notice how the borders of the topo-maps show here.<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/756.png" alt="756.png" /><br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/770.png" alt="770.png" /><br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/785.png" alt="785.png" /><br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/793.png" alt="793.png" /><br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/798.png" alt="798.png" /><br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/805.png" alt="805.png" /></p>
<h2>Improved satellite reception</h2>
<p>This really impresses me, and I can&#8217;t wait to test this further in a city with tall buildings.<br />
Anyway; I live in the lowest level of a block, and while sitting in my chair indoors (although next to the window) I got satellite reception good enough for the GPS to tell my position(!). Amazing! This wasn&#8217;t possible at all with my old 60CS! This is the reception I had sitting in my chair:<br />
<img src="http://blog.akilles.org/wp-content/uploads/2008/02/mottak-i-stresslessen.png" alt="mottak-i-stresslessen.png" /></p>
<p>Okay, folks, that&#8217;ll be all for now. I&#8217;m going into bed now, but I&#8217;ll be back with some more screenshots of other pages later. Until then!</p>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=New+Garmin+Colorado+300+vs+old+Garmin+60CS+%3A+First+impressions+review&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F02%2F29%2Ffirst-impressions-garmin-colorado-300-vs-garmin-60cs%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/02/29/first-impressions-garmin-colorado-300-vs-garmin-60cs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome!</title>
		<link>http://blog.akilles.org/2008/02/29/welcome/</link>
		<comments>http://blog.akilles.org/2008/02/29/welcome/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 01:50:41 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[AkillesBlog]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=3</guid>
		<description><![CDATA[Welcome to AkillesBlog!
This is my blog&#8217;s very first post, and there will be a new one every now and then.
I&#8217;m not yet (and probably never will be) ready to define an agenda for this blog, but I think it will be used to memorize for myself - as well as sharing with others who may be interested - [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Welcome!", url: "http://blog.akilles.org/2008/02/29/welcome/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Welcome to AkillesBlog!</p>
<p>This is my blog&#8217;s very first post, and there will be a new one every now and then.</p>
<p>I&#8217;m not yet (and probably never will be) ready to define an agenda for this blog, but I think it will be used to memorize for myself - as well as sharing with others who may be interested - thoughts, techiques, tests, &#8220;reviews&#8221; and so on about <em>general stuff</em>.</p>
<p>Being somewhat of a geek taking great interest in computer programming, photography and electronic widgets, I think you&#8217;ll understand my meaning of <em>general stuff</em>&#8230; <img src='http://blog.akilles.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Anyway, please understand that this site is purely subject to my personal, subjective thoughts, and that I do NOT take any responsibility whatsoever for what anyone might think or do as a result of this site. I do not guarantee the correctness or accuracy of any of the contents either.</p>
<p>Happy surfing!</p>
<p>Best regards,<br />
Christian</p>
<p><a href="http://sharethis.com/item?&wp=2.5&amp;publisher=50a89276-58fb-456f-98a9-a1e22d07eb11&amp;title=Welcome%21&amp;url=http%3A%2F%2Fblog.akilles.org%2F2008%2F02%2F29%2Fwelcome%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2008/02/29/welcome/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
