<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>[K]ontemplations</title>
	<atom:link href="http://kjartanl.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kjartanl.wordpress.com</link>
	<description>An analysis of the implications of, well.. everything.</description>
	<lastBuildDate>Sat, 01 Oct 2011 16:29:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kjartanl.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>[K]ontemplations</title>
		<link>http://kjartanl.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kjartanl.wordpress.com/osd.xml" title="[K]ontemplations" />
	<atom:link rel='hub' href='http://kjartanl.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Book review: &#8220;Influencer&#8221;, by Patterson et. al.</title>
		<link>http://kjartanl.wordpress.com/2011/10/01/influencer-by-patterson-et-al/</link>
		<comments>http://kjartanl.wordpress.com/2011/10/01/influencer-by-patterson-et-al/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 16:17:56 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[incentives]]></category>
		<category><![CDATA[influence]]></category>
		<category><![CDATA[influencer]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=336</guid>
		<description><![CDATA[I&#8217;m currently reading &#8220;Influencer: The power to change anything&#8221; by Patterson, et.al. Despite the somewhat corny title with it&#8217;s grandiose promise, I&#8217;m finding the book quite interesting. It describes a set of factors or forces that affect how people behave, &#8230; <a href="http://kjartanl.wordpress.com/2011/10/01/influencer-by-patterson-et-al/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=336&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently reading &#8220;<em>Influencer: The power to change anything</em>&#8221; by Patterson, et.al. Despite the somewhat corny title with it&#8217;s grandiose promise, I&#8217;m finding the book quite interesting. It describes a set of factors or forces that affect how people behave, and which should be taken into consideration when trying to change behavior. The two main forces are <em>motivation</em> (&#8220;is changing this habit worth the trouble?&#8221;), and <em>belief in ones ability</em> (&#8220;will I be able to change this habit?&#8221;), and these are further subdivided into <em>personal</em>, <em>structural</em>, and <em>social</em> factors. This results in six target areas for incentives, each of which is discussed in detail in the book. When enough effort is put into each of them, change will, according to the authors, be inevitable. </p>
<p>The book includes many and various real-world examples and case-studies, ranging from fighting the spread of diseases such as Aids or the Guinea worm parasite in Africa, to increasing effectiveness in an American car factory, or rehabilitating life-long criminals and helping them integrate into society. Each case describes how the six factors have been targeted in order to make unwanted behavior unappealing or difficult, and new/positive behavior easy and attractive. </p>
<p>I&#8217;m about half way through the book at this point, and the theories and strategies provided have been quite plausible and interesting. Beyond the title, the book does not promise change to be easy. It does, however, provide a framework in which to understand a lot of human behavior and the motivation behind it, and a set of tools and strategies for influencing it. All in all, a good read so far, with a nice mix of theories and strategies, and stories to back them up and make them memorable.</p>
<br />Filed under: <a href='http://kjartanl.wordpress.com/category/english/news/'>News</a>, <a href='http://kjartanl.wordpress.com/category/english/news/politics/'>Politics</a>, <a href='http://kjartanl.wordpress.com/category/english/reviews/'>Reviews</a> Tagged: <a href='http://kjartanl.wordpress.com/tag/books/'>books</a>, <a href='http://kjartanl.wordpress.com/tag/change/'>change</a>, <a href='http://kjartanl.wordpress.com/tag/incentives/'>incentives</a>, <a href='http://kjartanl.wordpress.com/tag/influence/'>influence</a>, <a href='http://kjartanl.wordpress.com/tag/influencer/'>influencer</a>, <a href='http://kjartanl.wordpress.com/tag/review/'>review</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/336/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=336&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2011/10/01/influencer-by-patterson-et-al/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Reactions in Norway after 22.07.2011</title>
		<link>http://kjartanl.wordpress.com/2011/07/29/reactions-in-norway-after-22-07-2011/</link>
		<comments>http://kjartanl.wordpress.com/2011/07/29/reactions-in-norway-after-22-07-2011/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 07:47:21 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=213</guid>
		<description><![CDATA[As a Norwegian, I&#8217;d like to share some thoughts I&#8217;ve had since the terrorist attacks in Oslo and on Utøya last Friday. First of all I would like to extend my condolences and sympathy to all those affected directly by &#8230; <a href="http://kjartanl.wordpress.com/2011/07/29/reactions-in-norway-after-22-07-2011/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=213&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As a Norwegian, I&#8217;d like to share some thoughts I&#8217;ve had since the terrorist attacks in Oslo and on Utøya last Friday. First of all I would like to extend my condolences and sympathy to all those affected directly by the attacks. These have been horrible, tragic events that are difficult to comprehend, and which have shocked us all.</p>
<p><strong>One country</strong><br />
What has happened is terrible, and it is bound to affect us for a long time to come. The way the Norwegian leaders and people have met this however, makes me proud. Our values will remain unchanged or strengthened. To say that we will not be pushed or manipulated into fear or violence by one deluded man with a perverted ideology is to state the obvious. The last few days have been filled with hundreds of thousands of candles and flowers, moving words and songs, interspersed with quiet moments for reflection. A record number of people have been out in the streets day after day to pay their respects and share the pain, and a solemn calm has rested over the entire country in a way we have ever experienced before. </p>
<p><strong>Shame, but also relief</strong><br />
It may sound like a strange sentiment, but I&#8217;ve heard it from many different people, and I feel it myself too: We are ashamed that the terrorist was &#8220;one of our own&#8221;, seemingly a typical, normal young Norwegian man. It disgusts us and his actions go against everything we stand for. At the same time, many of us are  relieved that this was <em>not</em> a plot by fundamentalist Muslim terrorists, for who knows what reactions we would have seen here and in the rest of the world then? The attacks were horrible, no matter who carried them out, but as a group, the Muslims are exceptionally easy to heap together and blame these days. Thankfully the fear and anger that might then have been directed towards innocent people never materialized, since the terrorist did not live up to the stereotype so many had expected.</p>
<p>I think this is a subtle point that needs to be made abundantly clear: We were attacked, not in protest or retaliation by fundamental Muslims, but by a paranoid and deluded Norwegian who fears the open, friendly, multicultural society we are striving to create. In my view, the attacks themselves and the reactions following them can only confirm and strengthen our commitment to that society. </p>
<p><strong>Reactions towards Muslims and our responsibilities</strong><br />
If some ethnic Norwegians were relieved, many Muslims were all the more so. For many, the night following the attacks had been sleepless and filled with fear of blame and repercussions. Instead Muslims are now showing their support along with everyone else. Summer Ejaz is the spokesperson for the Islamic Council in Norway, an organization that tries to help form a Norwegian-Muslim identity that can integrate well into Norwegian society, and to create dialogue between Muslims and non-Muslims. In an interview with the newspaper Aftenbladet he says (my own translation): </p>
<blockquote><p>I think it [the attack] will strengthen the ties between Norwegians and immigrants. The attack has shown that the enemy can be found among all groups, and that evil can only be met with fellowship.<br />
(<a href="http://www.aftenbladet.no/terror/Muslimer-i-sjokk-2841553.html" target="_blank">Original article in Norwegian</a>)</p></blockquote>
<p>Given the new situation in the wake of these attacks, is there anything we can do to improve the ties between Muslims and non-Muslims? There will always to be challenges as we try to build a better society, but I believe this is an opportunity that we ought to make use of. These last few days have brought all who live in Norway closer together. Continuing this, especially with regard to that one group of people which is often eyed with such suspicion, would be the perfect protest against the man and the ideas behind the attacks on Oslo and Utøya. </p>
<p>Parts of the Muslim population itself has been trying to reach out to the rest of us for some time now. Take the &#8220;Tea Time&#8221;-initiative for instance, wherein Muslims are encouraged to invite their neighbors or others over for tea. Commercials aired on TV and radio encourage us to get together, for as one girl in the ad (posted below) states, <em>those who know any Muslims do not seem to be afraid of them</em>. </p>
<p>I think this is a admirable initiative, and one that deserves more attention. You can find more information (unfortunately only in Norwegian) at <a href="http://facebook.com/teatime" target="_blank">facebook.com/teatime</a>, or see the commercial below. </p>
<p>If you are a Muslim living in Norway, what would it take for you to invite someone you don&#8217;t know over for tea? If you are a non-Muslim, would you accept? I&#8217;d like to think that I would; Who knows where such a small first step may lead in time? </p>
<span style="text-align:center; display: block;"><a href="http://kjartanl.wordpress.com/2011/07/29/reactions-in-norway-after-22-07-2011/"><img src="http://img.youtube.com/vi/OE6RnU8yH8o/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://kjartanl.wordpress.com/category/english/news/'>News</a>, <a href='http://kjartanl.wordpress.com/category/english/news/politics/'>Politics</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=213&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2011/07/29/reactions-in-norway-after-22-07-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Wordcount for PDF in Emacs (linux)</title>
		<link>http://kjartanl.wordpress.com/2010/04/27/wordcount-for-pdf-in-emacs-linux/</link>
		<comments>http://kjartanl.wordpress.com/2010/04/27/wordcount-for-pdf-in-emacs-linux/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 23:02:38 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[Science & tech]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[emacs pdf]]></category>
		<category><![CDATA[emacs word count]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[latex in emacs]]></category>
		<category><![CDATA[latex pdf]]></category>
		<category><![CDATA[list of emacs commands]]></category>
		<category><![CDATA[pdf word count]]></category>
		<category><![CDATA[pdf word count in emacs]]></category>
		<category><![CDATA[word count]]></category>
		<category><![CDATA[wordcount]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=191</guid>
		<description><![CDATA[Need to do a word count in Emacs? Strangely enough, that&#8217;s one thing that is not as easy as one would think. Anyway, if you DO need word count, chances are it&#8217;s because your using Latex to write whatever it &#8230; <a href="http://kjartanl.wordpress.com/2010/04/27/wordcount-for-pdf-in-emacs-linux/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=191&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Need to do a word count in Emacs? Strangely enough, that&#8217;s one thing that is not as easy as one would think. Anyway, if you DO need word count, chances are it&#8217;s because your using Latex to write whatever it is you are writing, and exporting it to PDF. If so, here&#8217;s a solution that should work if you&#8217;re using Linux:<br />
<code><br />
(defun pdf-word-count ()<br />
    (interactive)<br />
    (setq cfile (buffer-file-name))<br />
    (setq txt-file (concat cfile ".txt"))<br />
    (shell-command (concat "pdftotext " cfile " " txt-file))<br />
    (shell-command (concat "wc " txt-file))<br />
    (shell-command-to-string (concat "rm " txt-file)))<br />
  (global-set-key "\C-xw" 'pdf-word-count)<br />
</code></p>
<p>Just add this to your .emacs file, and you will be able to count the words in any PDF-file. To count the words in your Latex-document, there are three steps:</p>
<ul>
<li><strong>C-c C-c</strong>: Compile the PDF, as always</li>
<li><strong>C-c C-c</strong> again: Now, the generated PDF should be opened in Emacs, so you can see it, and the buffer containing it will be active. </li>
<li><strong>C-x w</strong>: This executes the code and displays the count in the minibuffer.</li>
</ul>
<p>The result should look something like this:<br />
<code><br />
24    7490    46689  /home/mystuff/mydocument.pdf.txt<br />
</code></p>
<p>The first number is the new-line count, the second is the word count, and the last is the number of bytes (in the temporary file which follows; in this case, &#8220;mydocument.pdf.txt&#8221;, which contains the extracted text from &#8220;mydocument.pdf&#8221;). </p>
<p>The way this works is a little crude, but it gets the job done; It actually fetches the name of the file in the currently active buffer, and creats a variable with the same name, only with &#8220;.txt&#8221; appended to it. The text in the pdf is then extracted with the Linux command &#8220;pdftotext&#8221;, and stored to a file with that name. The word count is then performed on that text using the &#8220;wc&#8221;-command, before the text-file is deleted. </p>
<p><strong>PS:</strong>: </p>
<ul>
<li>This should work on any PDF-file, as long as the text can be exported. </li>
<li>If you want to use a different key-combo, just change &#8220;\C-xw&#8221; in the last line</li>
</ul>
<br />Filed under: <a href='http://kjartanl.wordpress.com/category/english/science-tech/'>Science &amp; tech</a>, <a href='http://kjartanl.wordpress.com/category/english/tips/'>Tips</a> Tagged: <a href='http://kjartanl.wordpress.com/tag/emacs/'>emacs</a>, <a href='http://kjartanl.wordpress.com/tag/emacs-pdf/'>emacs pdf</a>, <a href='http://kjartanl.wordpress.com/tag/emacs-word-count/'>emacs word count</a>, <a href='http://kjartanl.wordpress.com/tag/latex/'>latex</a>, <a href='http://kjartanl.wordpress.com/tag/latex-in-emacs/'>latex in emacs</a>, <a href='http://kjartanl.wordpress.com/tag/latex-pdf/'>latex pdf</a>, <a href='http://kjartanl.wordpress.com/tag/list-of-emacs-commands/'>list of emacs commands</a>, <a href='http://kjartanl.wordpress.com/tag/pdf-word-count/'>pdf word count</a>, <a href='http://kjartanl.wordpress.com/tag/pdf-word-count-in-emacs/'>pdf word count in emacs</a>, <a href='http://kjartanl.wordpress.com/tag/tips/'>Tips</a>, <a href='http://kjartanl.wordpress.com/tag/word-count/'>word count</a>, <a href='http://kjartanl.wordpress.com/tag/wordcount/'>wordcount</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=191&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2010/04/27/wordcount-for-pdf-in-emacs-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Caps Lock as an extra Ctrl in suse 11.2/kde</title>
		<link>http://kjartanl.wordpress.com/2010/04/23/using-caps-lock-as-an-extra-ctrl-in-suse-11-2kde/</link>
		<comments>http://kjartanl.wordpress.com/2010/04/23/using-caps-lock-as-an-extra-ctrl-in-suse-11-2kde/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 13:50:23 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[Science & tech]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[caps]]></category>
		<category><![CDATA[caps lock]]></category>
		<category><![CDATA[caps lock key]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[controll key]]></category>
		<category><![CDATA[ctrl]]></category>
		<category><![CDATA[ctrl key]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[OpenSuse]]></category>
		<category><![CDATA[OpenSuse11.2]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=186</guid>
		<description><![CDATA[As I&#8217;m using Emacs on a regular basis these days, I&#8217;m totally dependent on my left control-key being easy to reach (if you don&#8217;t know what I&#8217;m talking about, go read about emacs before continuing!). It may sound like a &#8230; <a href="http://kjartanl.wordpress.com/2010/04/23/using-caps-lock-as-an-extra-ctrl-in-suse-11-2kde/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=186&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m using Emacs on a regular basis these days, I&#8217;m totally dependent on my left control-key being easy to reach (if you don&#8217;t know what I&#8217;m talking about, go read about emacs before continuing!). It may sound like a trivial problem, but you&#8217;re little-finger will tend to get pretty tired after reaching for that button way-down-there-at-the-corner again and again during a long day of writing (if you think I&#8217;m overstating the problem, you clearly didn&#8217;t follow my first advice: Read about, or better yet, try out Emacs for a couple of weeks!).</p>
<p>Yesterday I came across this tip, that I hadn&#8217;t thought about: Why not switch the Ctrl-key with the Caps Lock? The latter is hardly ever used anyway! At first I thought nah, silly unnecessary idea &#8211; using the control key is not THAT big of a hassle anyway. Then today, after working en Emacs for only a short while, it became too tempting, and I decided to swap it after all. Or rather, I turned Caps into an extra Ctrl-key. The reason is that I use Ctrl + Alt and the arrow keys to switch between desktops, a combo I&#8217;ve used for years, so I wouldn&#8217;t want to mess that up. </p>
<p>Luckily, KDE has this sweet feature, which lets you set just these things, simple as&#8230; well, something really simple:<br />
<div id="attachment_187" class="wp-caption alignnone" style="width: 310px"><a href="http://kjartanl.files.wordpress.com/2010/04/caps_as_ctrl.png"><img src="http://kjartanl.files.wordpress.com/2010/04/caps_as_ctrl.png?w=300&#038;h=200" alt="Using caps as an extra ctrl in KDE" title="caps_as_ctrl" width="300" height="200" class="size-medium wp-image-187" /></a><p class="wp-caption-text">Under system settings -&gt; Regional &amp; Language</p></div></p>
<p>I&#8217;m still getting used to this, but I don&#8217;t think it&#8217;s going to take long. Best of all, this works across the OS, of course; opening a new window in my browser, or what ever else I might use Ctrl for is now easier. I definitely recommend giving it a whirl. Enjoy! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://kjartanl.wordpress.com/category/english/science-tech/'>Science &amp; tech</a>, <a href='http://kjartanl.wordpress.com/category/english/tips/'>Tips</a> Tagged: <a href='http://kjartanl.wordpress.com/tag/caps/'>caps</a>, <a href='http://kjartanl.wordpress.com/tag/caps-lock/'>caps lock</a>, <a href='http://kjartanl.wordpress.com/tag/caps-lock-key/'>caps lock key</a>, <a href='http://kjartanl.wordpress.com/tag/commands/'>commands</a>, <a href='http://kjartanl.wordpress.com/tag/control/'>control</a>, <a href='http://kjartanl.wordpress.com/tag/controll-key/'>controll key</a>, <a href='http://kjartanl.wordpress.com/tag/ctrl/'>ctrl</a>, <a href='http://kjartanl.wordpress.com/tag/ctrl-key/'>ctrl key</a>, <a href='http://kjartanl.wordpress.com/tag/emacs/'>emacs</a>, <a href='http://kjartanl.wordpress.com/tag/guide/'>guide</a>, <a href='http://kjartanl.wordpress.com/tag/help/'>help</a>, <a href='http://kjartanl.wordpress.com/tag/kde/'>KDE</a>, <a href='http://kjartanl.wordpress.com/tag/opensuse/'>OpenSuse</a>, <a href='http://kjartanl.wordpress.com/tag/opensuse11-2/'>OpenSuse11.2</a>, <a href='http://kjartanl.wordpress.com/tag/suse/'>suse</a>, <a href='http://kjartanl.wordpress.com/tag/tips/'>Tips</a>, <a href='http://kjartanl.wordpress.com/tag/ubuntu/'>Ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=186&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2010/04/23/using-caps-lock-as-an-extra-ctrl-in-suse-11-2kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>

		<media:content url="http://kjartanl.files.wordpress.com/2010/04/caps_as_ctrl.png?w=300" medium="image">
			<media:title type="html">caps_as_ctrl</media:title>
		</media:content>
	</item>
		<item>
		<title>The IPhone is compatible with A.D. time travel</title>
		<link>http://kjartanl.wordpress.com/2010/04/12/the-iphone-is-compatible-with-a-d-time-travel/</link>
		<comments>http://kjartanl.wordpress.com/2010/04/12/the-iphone-is-compatible-with-a-d-time-travel/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 19:19:26 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[2038]]></category>
		<category><![CDATA[IPad]]></category>
		<category><![CDATA[IPhone]]></category>
		<category><![CDATA[IPod]]></category>
		<category><![CDATA[Time Travel]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=183</guid>
		<description><![CDATA[I had to reset the date on my IPod today, and stumbled upon something interesting. It happened because the date had somehow been reset to the year 2000. Fine. Ten years back now seems a while ago, but oh well. &#8230; <a href="http://kjartanl.wordpress.com/2010/04/12/the-iphone-is-compatible-with-a-d-time-travel/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=183&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had to reset the date on my IPod today, and stumbled upon something interesting. It happened because the date had somehow been reset to the year 2000. Fine. Ten years back now seems a while ago, but oh well. Not that interesting. Then I tried to see how far back I could scroll. I was expecting something like a few years back, or maybe back to January 1., 1970 (An alternative &#8220;Year 0&#8243; for those of us who know a little about dates in computers). But nope, scrolled back passed it. Way passed it. In fact, it went so far back, I had a little time to think while I was scrolling. I wonder if Dr.Who has an IPad or an IPhone (or had? Or will have? Sidenote: What is the correct verb-form to use when referring to someone who travels in time?). Does his <a href="http://www.thinkgeek.com/interests/giftsunder20/8cff/">sonic screwdriver</a> have a calender, and if so, is it as good as that of the IPhone?</p>
<p>Anyway, I finally reached the year 0001. Then 0001 again. Yup, that&#8217;s right: There are two instances of the year 1, then nothing. I guess that means my IPod (and presumably, IPhones, IPads and possibly other I-thingies) are compatible with time travel, so long as you don&#8217;t go back beyond the birth-year of Jesus, a year that was so great, they decided to run it twice (Probably due to record sales of Christmas-related software from the App-store).</p>
<p>You know what is a little strange though? Although it is possible to <del datetime="2010-04-12T18:52:18+00:00">time travel</del>  scroll forward to beyond the year 9999 (yes, right through 10000 and onwards), as soon as you let go, the dial jumps right back to 2038. So apparently, 2010 years into the past is OK, but <a href="http://en.wikipedia.org/wiki/Year_2038_problem">28 years into the future is not</a>. I&#8217;m guessing Dr.Who would have felt cheated.</p>
<br />Filed under: <a href='http://kjartanl.wordpress.com/category/english/humor/'>Humor</a> Tagged: <a href='http://kjartanl.wordpress.com/tag/2038/'>2038</a>, <a href='http://kjartanl.wordpress.com/tag/ipad/'>IPad</a>, <a href='http://kjartanl.wordpress.com/tag/iphone/'>IPhone</a>, <a href='http://kjartanl.wordpress.com/tag/ipod/'>IPod</a>, <a href='http://kjartanl.wordpress.com/tag/time-travel/'>Time Travel</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=183&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2010/04/12/the-iphone-is-compatible-with-a-d-time-travel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Why latex only includes one of your files</title>
		<link>http://kjartanl.wordpress.com/2010/04/12/why-latex-only-includes-one-of-your-pages/</link>
		<comments>http://kjartanl.wordpress.com/2010/04/12/why-latex-only-includes-one-of-your-pages/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 12:04:33 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[Science & tech]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[latex commands]]></category>
		<category><![CDATA[latex include]]></category>
		<category><![CDATA[latex input]]></category>
		<category><![CDATA[latex pdf]]></category>
		<category><![CDATA[latex problem]]></category>
		<category><![CDATA[multiple latex files]]></category>
		<category><![CDATA[pdf latex]]></category>
		<category><![CDATA[splitting latex documents]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=176</guid>
		<description><![CDATA[Just another quick tip that might help someone save some time and frustration: If when writing in Latex, you try to include one or more finished files into another file and only part of the final documents is generated, check &#8230; <a href="http://kjartanl.wordpress.com/2010/04/12/why-latex-only-includes-one-of-your-pages/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=176&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just another quick tip that might help someone save some time and frustration: </p>
<p>If when writing in <a href="http://www.latex-project.org/">Latex</a>, you try to include one or more finished files into another file and only part of the final documents is generated, check if you&#8217;ve remembered to remove the final line in the included documents, typically:</p>
<blockquote><p><code>\end{document}</code></p></blockquote>
<p>If you don&#8217;t remove it, that line will terminate the output and your document after the first included file, leaving anything after it out.</p>
<p>It&#8217;s strange, how the simplest, silliest, and in retrospect, most obvious mistakes can often be the most frustrating! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://kjartanl.wordpress.com/category/english/science-tech/'>Science &amp; tech</a>, <a href='http://kjartanl.wordpress.com/category/english/tips/'>Tips</a> Tagged: <a href='http://kjartanl.wordpress.com/tag/bugs/'>bugs</a>, <a href='http://kjartanl.wordpress.com/tag/emacs/'>emacs</a>, <a href='http://kjartanl.wordpress.com/tag/include/'>include</a>, <a href='http://kjartanl.wordpress.com/tag/input/'>input</a>, <a href='http://kjartanl.wordpress.com/tag/latex/'>latex</a>, <a href='http://kjartanl.wordpress.com/tag/latex-commands/'>latex commands</a>, <a href='http://kjartanl.wordpress.com/tag/latex-include/'>latex include</a>, <a href='http://kjartanl.wordpress.com/tag/latex-input/'>latex input</a>, <a href='http://kjartanl.wordpress.com/tag/latex-pdf/'>latex pdf</a>, <a href='http://kjartanl.wordpress.com/tag/latex-problem/'>latex problem</a>, <a href='http://kjartanl.wordpress.com/tag/multiple-latex-files/'>multiple latex files</a>, <a href='http://kjartanl.wordpress.com/tag/pdf-latex/'>pdf latex</a>, <a href='http://kjartanl.wordpress.com/tag/splitting-latex-documents/'>splitting latex documents</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=176&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2010/04/12/why-latex-only-includes-one-of-your-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Cheat sheet 1.1 for Emacs</title>
		<link>http://kjartanl.wordpress.com/2010/02/08/cheat-sheet-1-1-for-emacs/</link>
		<comments>http://kjartanl.wordpress.com/2010/02/08/cheat-sheet-1-1-for-emacs/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 12:41:29 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=172</guid>
		<description><![CDATA[I added a couple of minor new things to my (old) Emacs cheat-sheet, and cleared up a couple of old things. Just thought I&#8217;d share it, hope someone finds it usefull. You&#8217;ll find the updated version here. Enjoy! Filed under: &#8230; <a href="http://kjartanl.wordpress.com/2010/02/08/cheat-sheet-1-1-for-emacs/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=172&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I added a couple of minor new things to my <a href="http://kjartanl.wordpress.com/2009/10/05/cheat-sheet-for-emacs/">(old) Emacs cheat-sheet</a>, and cleared up a couple of old things. Just thought I&#8217;d share it, hope someone finds it usefull.</p>
<p><a href="http://kjartanl.files.wordpress.com/2010/02/emacs-cheat-sheet-1_1.pdf">You&#8217;ll find the updated version here.</a> Enjoy! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://kjartanl.wordpress.com/category/english/news/'>News</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=172&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2010/02/08/cheat-sheet-1-1-for-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Update: Installing R and XCMS (OpenSuse11.2)</title>
		<link>http://kjartanl.wordpress.com/2009/12/13/update-installing-r-and-xcms-opensuse11-2/</link>
		<comments>http://kjartanl.wordpress.com/2009/12/13/update-installing-r-and-xcms-opensuse11-2/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 17:40:33 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[Science & tech]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[cran]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[molecular biology]]></category>
		<category><![CDATA[OpenSuse]]></category>
		<category><![CDATA[OpenSuse11.2]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[R Statistics]]></category>
		<category><![CDATA[The R Project]]></category>
		<category><![CDATA[xcms]]></category>
		<category><![CDATA[zypper]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=149</guid>
		<description><![CDATA[(*14.Dec.&#8217;09: Minor update, see point 3 at the bottom about installing &#8220;multtest&#8221;). I recently switched from KUbuntu to OpenSuse, and had to install R and XCMS again. And again, it proved difficult. 1) R is easily installed from the links &#8230; <a href="http://kjartanl.wordpress.com/2009/12/13/update-installing-r-and-xcms-opensuse11-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=149&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(*14.Dec.&#8217;09: Minor update, see point 3 at the bottom about installing &#8220;multtest&#8221;).</p>
<p>I recently switched from KUbuntu to OpenSuse, and had to install R and XCMS again. And again, it proved difficult. </p>
<p><strong>1)</strong> R is easily installed from the links to the one-click-install packages on the R-Project web page, or one of their mirrors. (I used <a href="http://cran.ii.uib.no/bin/linux/suse/#sec-1.1">the one from the University of Bergen</a>, but you should be able to find the same packages under any of the mirror-sites listed at <a href="http://cran.r-project.org/mirrors.html">http://cran.r-project.org/mirrors.html</a> ). Just look for section 1.1: &#8220;Directly installing R from this page (preferred)&#8221;.</p>
<p><strong>2)</strong> Now, for the XCMS packages. This proved more difficult, but it worked in the end. What to try:</p>
<p><strong>.a)</strong> INSTALLING XCMS FROM R:<br />
Start R, and run the following commands in it (Note, if this does not complete successfully, don&#8217;t worry, we&#8217;ll get to that):<br />
<code><br />
source("http://bioconductor.org/biocLite.R")<br />
biocLite("xcms")<br />
</code><br />
(source/for more info: <a href="http://www.bioconductor.org/packages/release/bioc/html/xcms.html">see the bioconductor.org page for xcms</a>)</p>
<p>You MAY have everything you need, and it MAY work out fine (if so, you can jump to point 3), or you may like me, need to get some extra libraries such as NetCDF and zlib for the install to work.</p>
<p><strong>.b)</strong> INSTALLING NetCDF:<br />
Get NetCDF from <a href="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-4_0_1/index.jsp">here</a> (<a href="http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.0.1.tar.gz">Direct link to the gzipped tar-file</a>).<br />
Download that, place it in a directory, and run the following commands in the console to install it:<br />
<code><br />
tar -xzf netcdf-4.0.1.tar.gz<br />
cd netcdf-4.0.1<br />
#"--prefix..." is optional # (installs in a<br />
# directory other than the current):<br />
./configure --prefix=/usr/local<br />
make<br />
sudo make install<br />
</code><br />
This may work for you. If so, attempt to install XCMS from within R again. I was missing the programs to compile the code, and to run &#8220;make&#8221; and &#8220;make install&#8221; here, on my brand new installation. If you&#8217;re in the same situation, install the needed programs as follows:</p>
<p><strong>.c)</strong> Installing GCC and MAKE:<br />
Run the following commands in the console:<br />
<code><br />
# Installs the Gnu C Compiler<br />
sudo zypper install gcc<br />
# Installs the "make"-utility<br />
sudo zypper install make<br />
sudo zypper install gcc-c++<br />
</code></p>
<p>There. Now you should repeat point 2(b) again, and then 2(a). I was missing zlib too, so the installation still would not complete. </p>
<p><strong>.d)</strong> Getting and installing zlib-devel:<br />
You can find zlib in the the <a href="http://software.opensuse.org/search">OpenSuse build service</a>, BUT what you want for this to work is the DEVEL-version, so search for the packages &#8220;zlib-devel&#8221;, and use what corresponds to your system. <a href="http://download.opensuse.org/repositories/openSUSE:/11.2/standard/i586/zlib-devel-1.2.3-140.2.i586.rpm">This package (direct link)</a> worked for me (zlib-devel-1.2.3-140.2.i586.rpm for OpenSuse 11.2). </p>
<p>Now run point (2.a) again, and XCMS should be installed.</p>
<p><strong>3)</strong> Xcms should now be installed. You can check that it is available for loading into R with the command:<br />
<code><br />
library(xcms)<br />
</code><br />
If you just get a blank new line with a &#8220;&gt;&#8221;, and no error, Great. Congratulations, xcms is now loaded into R. </p>
<p>You can get a good introductory example to using XCMS <a href="http://www.bioconductor.org/packages/release/bioc/vignettes/xcms/inst/doc/xcmsPreprocess.pdf">here (pdf)</a>. NOTE: To run the example, you need the datasets from <a href="http://bioconductor.org/packages/2.5/data/experiment/html/faahKO.html">faahKO</a>, which can be installed directly from within R like this:<br />
<code><br />
source("http://bioconductor.org/biocLite.R")<br />
biocLite("faahKO")<br />
</code></p>
<p>*UPDATE: You will also need the R-package &#8220;multtest&#8221; to run the example. Some <a href="http://bioconductor.org/packages/2.5/bioc/html/multtest.html">info about it is provided here</a>, or you can simply install it directly in R like this:<br />
<code><br />
source("http://bioconductor.org/biocLite.R")<br />
 biocLite("multtest")<br />
</code></p>
<p>Hope this was helpful to someone out there! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Posted in Science &amp; tech, Tips Tagged: bugs, commands, cran, KDE, molecular biology, OpenSuse, OpenSuse11.2, R, R Statistics, The R Project, xcms, zypper <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/149/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=149&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2009/12/13/update-installing-r-and-xcms-opensuse11-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Cheat sheet for Emacs</title>
		<link>http://kjartanl.wordpress.com/2009/10/05/cheat-sheet-for-emacs/</link>
		<comments>http://kjartanl.wordpress.com/2009/10/05/cheat-sheet-for-emacs/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 09:23:57 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[Science & tech]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[basic emacs commands]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[download cheat sheet]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[emacs cheat sheet]]></category>
		<category><![CDATA[list of emacs commands]]></category>
		<category><![CDATA[minimalistic cheat sheet]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/?p=133</guid>
		<description><![CDATA[I just made my own minimalistic cheat-sheet for Emacs, with only the most basic and absolutely-necessary commands. The goal was simply to get all the most basic commands up on one page. Feel free to download and use it yourself! &#8230; <a href="http://kjartanl.wordpress.com/2009/10/05/cheat-sheet-for-emacs/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=133&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just made my own minimalistic cheat-sheet for Emacs, with only the most basic and absolutely-necessary commands. The goal was simply to get all the most basic commands up on one page. </p>
<p>Feel free to <a href="http://kjartanl.files.wordpress.com/2009/10/emacs-cheat-sheet1.pdf">download and use it yourself</a>! (The format is PDF). </p>
<br />Posted in Science &amp; tech, Tips Tagged: basic emacs commands, cheat sheet, commands, download, download cheat sheet, emacs, emacs cheat sheet, list of emacs commands, minimalistic cheat sheet, pdf <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=133&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2009/10/05/cheat-sheet-for-emacs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing the kickoff app launcher</title>
		<link>http://kjartanl.wordpress.com/2009/09/19/changing-the-kickoff-application-launcher-menu/</link>
		<comments>http://kjartanl.wordpress.com/2009/09/19/changing-the-kickoff-application-launcher-menu/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 18:33:11 +0000</pubDate>
		<dc:creator>kjartanl</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[KDE k-menu menu kickoff application launcher reorganize rearrange arrange order reorder]]></category>

		<guid isPermaLink="false">http://kjartanl.wordpress.com/2009/09/19/changing-the-kickoff-application-launcher-menu/</guid>
		<description><![CDATA[Just a quick tip for KDE; Reorganizing and changing the order of applications in the K-menu is trivial. I didn&#8217;t realize this until just now, but you can right-click on the menu itself (on the &#8220;K&#8221;), and choose &#8220;Menu Editor&#8221;. &#8230; <a href="http://kjartanl.wordpress.com/2009/09/19/changing-the-kickoff-application-launcher-menu/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=131&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just a quick tip for KDE; Reorganizing and changing the order of applications in the K-menu is trivial. I didn&#8217;t realize this until just now, but you can right-click on the menu itself (on the &#8220;K&#8221;), and choose &#8220;Menu Editor&#8221;. That will let you rearrange your menus by &#8220;drag &amp; drop&#8221;. Simple as that!  </p>
<br />Posted in Tips Tagged: KDE k-menu menu kickoff application launcher reorganize rearrange arrange order reorder <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kjartanl.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kjartanl.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kjartanl.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kjartanl.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kjartanl.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kjartanl.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kjartanl.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kjartanl.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kjartanl.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kjartanl.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kjartanl.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kjartanl.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kjartanl.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kjartanl.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kjartanl.wordpress.com&amp;blog=1619728&amp;post=131&amp;subd=kjartanl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kjartanl.wordpress.com/2009/09/19/changing-the-kickoff-application-launcher-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a1c669e7a6a898831c30daaaa15b88d?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">kjartanl</media:title>
		</media:content>
	</item>
	</channel>
</rss>
