<?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>anderstornvig.dk</title>
	<atom:link href="http://anderstornvig.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anderstornvig.wordpress.com</link>
	<description>Where's your head at?</description>
	<lastBuildDate>Mon, 21 Sep 2009 16:46:59 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='anderstornvig.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/8659d62486586f5a757823bd889186c7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>anderstornvig.dk</title>
		<link>http://anderstornvig.wordpress.com</link>
	</image>
			<item>
		<title>Using Mozilla Weave with Vimperator enabled in Firefox</title>
		<link>http://anderstornvig.wordpress.com/2009/07/27/using-mozilla-weave-with-vimperator-enabled-in-firefox/</link>
		<comments>http://anderstornvig.wordpress.com/2009/07/27/using-mozilla-weave-with-vimperator-enabled-in-firefox/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 14:46:17 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[addon]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[synchronization]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[Vimperator]]></category>
		<category><![CDATA[Weave]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=372</guid>
		<description><![CDATA[Vimperator
I&#8217;ve used Vimperator for about a year and a half now and I&#8217;m very happy with it. For those who don&#8217;t know what Vimperator is, here&#8217;s from wiki:
Vimperator is a Mozilla Firefox extension designed to provide a more efficient user interface for keyboard-fluent users. The design is heavily inspired by the Vim text editor, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=372&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Vimperator</strong></p>
<p>I&#8217;ve used <a href="http://vimperator.org/trac/wiki/Vimperator">Vimperator</a> for about a year and a half now and I&#8217;m very happy with it. For those who don&#8217;t know what Vimperator is, here&#8217;s from <a href="http://en.wikipedia.org/wiki/Vimperator">wiki</a>:</p>
<blockquote><p><strong>Vimperator</strong> is a <a title="Mozilla Firefox" href="http://en.wikipedia.org/wiki/Mozilla_Firefox">Mozilla Firefox</a> <a title="Extension (Mozilla)" href="http://en.wikipedia.org/wiki/Extension_%28Mozilla%29">extension</a> designed to provide a more efficient user interface for keyboard-fluent users. The design is heavily inspired by the <a title="Vim (text editor)" href="http://en.wikipedia.org/wiki/Vim_%28text_editor%29">Vim text editor</a>, and the authors try to maintain consistency with it wherever possible.</p></blockquote>
<p>I never used it because of its similarity with Vim, but simply because it makes browsing the web exactly the experience I want it to be. Highly recommendable.</p>
<p>Some times though, Vimperator has a hard time adjusting its philosophy to its surroundings. Take for instance the shortcut features in Web 2.0 applications like <em>Gmail</em>, <em>Google Reader</em>, etc. The solution to this has been to temporarily disable the Vimperator key bindings by pressing <em>Ctrl-z</em> in normal mode.</p>
<p>The new and fancy Mozilla Weave project is no exception.</p>
<p><strong>Mozilla Weave</strong></p>
<p><a href="http://labs.mozilla.com/projects/weave/">Weave Sync</a> is a brand new synchronization tool, still under heavy development. You can do <a href="http://labs.mozilla.com/2007/12/introducing-weave/">lots of sync stuff between Firefox browsers</a> but I mainly just want to use it for synchronizing the tabs I have open on my laptop and my desktop computer.</p>
<p>So, the only way in which Weave can represent the synchronized tabs at the moment is in an option in the top menu bar, &#8220;File, Edit, &#8230;&#8221; you know. But the problem  is that this menu is gone when using Vimperator (at least in the default setting) because you can do everything with the keyboard.</p>
<p><strong>The vague fix<br />
</strong></p>
<p>There&#8217;s nothing fantastic about the fix. It&#8217;s just a small setting in Vimperator that makes it possible to access &#8220;History-&gt;Tabs From Other Computers&#8221; in the top menu bar. I found it in the manual (:help).</p>
<p>Assuming that you have installed Weave yourself and are now setting in Firefox with the Vimperator addon enabled, simply write <strong>:set go+=m</strong> to enable the top menu bar on the fly. To add the setting permanently, put &#8220;set go+=m&#8221; in your <em>~/.vimperatorrc</em>.</p>
<p>If you want to know more of the go (for guioptions) option you can investigate the manual. It allows you to enable or disable most elements in the regular Firefox GUI.</p>
<p>That&#8217;s the best I can come up with. For the future I hope to see a better representation of the synchronized tabs, perhaps some button in the status bar. A feature to <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=501547">restore an entire session from another computer</a> would also be cool.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=372&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/07/27/using-mozilla-weave-with-vimperator-enabled-in-firefox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>My visit at CERN</title>
		<link>http://anderstornvig.wordpress.com/2009/07/26/my-visit-at-cern/</link>
		<comments>http://anderstornvig.wordpress.com/2009/07/26/my-visit-at-cern/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 17:56:41 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[ATLAS]]></category>
		<category><![CDATA[CERN]]></category>
		<category><![CDATA[geneva]]></category>
		<category><![CDATA[LHC]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[summer]]></category>
		<category><![CDATA[vacation]]></category>
		<category><![CDATA[visit]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=363</guid>
		<description><![CDATA[As part of my summer vacation with my parents I had the chance to swing by CERN in Geneva, Switzerland. A place I&#8217;ve been wanting to go for a long time.
CERN

If you don&#8217;t know what CERN is, here&#8217;s a quick run-down by wiki and myself:
CERN is the world&#8217;s largest particle physics laboratory, situated in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=363&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As part of my summer vacation with my parents I had the chance to swing by <a href="http://www.cern.ch">CERN</a> in Geneva, Switzerland. A place I&#8217;ve been wanting to go for a long time.</p>
<p><strong>CERN</strong></p>
<p style="text-align:center;">
<p>If you don&#8217;t know what CERN is, here&#8217;s a quick run-down by <a href="http://en.wikipedia.org/wiki/CERN">wiki</a> and myself:</p>
<blockquote><p><strong>CERN</strong> is the world&#8217;s largest <a title="Particle physics" href="http://en.wikipedia.org/wiki/Particle_physics">particle physics</a> <a title="Laboratory" href="http://en.wikipedia.org/wiki/Laboratory">laboratory</a>, situated in the northwest suburbs of <a title="Geneva" href="http://en.wikipedia.org/wiki/Geneva">Geneva</a> on the <a title="France" href="http://en.wikipedia.org/wiki/France">Franco</a>-<a title="Switzerland" href="http://en.wikipedia.org/wiki/Switzerland">Swiss</a> border, established in <a title="1954 in science" href="http://en.wikipedia.org/wiki/1954_in_science">1954</a>.<sup><a href="http://en.wikipedia.org/wiki/CERN#cite_note-foundation-0"><span>[</span>1<span>]</span></a></sup> The organization has twenty <a title="Europe" href="http://en.wikipedia.org/wiki/Europe">European</a> <a href="http://en.wikipedia.org/wiki/CERN#Member_States">member states</a>, and is currently the workplace of approximately 2,600 full-time employees, as well as some 7,931 <a title="Scientists" href="http://en.wikipedia.org/wiki/Scientists">scientists</a> and <a title="Engineers" href="http://en.wikipedia.org/wiki/Engineers">engineers</a> (representing 580 universities and research facilities and 80 nationalities).</p></blockquote>
<p><strong>The Large Hadron Collider</strong></p>
<p>Besides being <a href="http://en.wikipedia.org/wiki/CERN#Computer_science">the birthplace of the World Wide Web</a>, the biggest and probably best known project at CERN is <a href="http://en.wikipedia.org/wiki/Large_Hadron_Collider">the Large Hadron Collider (LHC)</a> as I mentioned in <a href="http://anderstornvig.dk/2008/09/10/goodbye-earth/">a post</a> a while ago. The LHC is a particle accelerator designed to smash particles travelling nearly at the speed of light together to recreate the conditions present at the very beginning of the universe, the Big Bang.</p>
<p><strong>ATLAS</strong></p>
<p>The biggest experiment making use of the LHC is <a href="http://en.wikipedia.org/wiki/ATLAS_experiment">ATLAS</a>, occupying around 2000 scientists and engineers round the globe. ATLAS is a humongous particle detector wrapped around the LHC tunnel, which detects and carefully stores (using a state of the art computer grid) what is present before, while and after a particle collision. The data generated will hopefully in the near future serve as empirical evidence proving or revolutionising old theories of physics, and lay the basis for many new ones.</p>
<p><strong>My experience</strong></p>
<p>I hope I succeeded in convincing you that this place is kind of a big deal, at least in the world of science. Spots for visits are popular so you&#8217;ll have to book your visit long time in advance if you want to go. We&#8217;re talking several months. For me, being only myself, about one month turned out to be enough.</p>
<p style="text-align:center;">
<div id="attachment_366" class="wp-caption aligncenter" style="width: 570px"><img class="size-full wp-image-366 " title="At CERN" src="http://anderstornvig.files.wordpress.com/2009/07/img_1424.jpg?w=560&#038;h=420" alt="Outside one of the characteric buildings of CERN above ground. The blue thingy is a huge magnet exactly like the ones used to create a magnetic field in the tunnel a hundred metres below strong enough to accelerate particles to nearly the speed of light. I apologize for the poor photo." width="560" height="420" /><p class="wp-caption-text">Outside one of the characteric buildings of CERN above ground. The blue thingy is a huge magnet exactly like the ones used to create a magnetic field in the tunnel a hundred metres below strong enough to accelerate particles to nearly the speed of light. I apologize for the poor photo.</p></div>
<p>So, Friday 24-07-2009 at 10am I went. The visit lasted for a little more that two hours.</p>
<p>The tour was given by an English experimental particle physicist who had been there for years helping out on some component of ATLAS. He carried a laptop, had a big hole in his pocket through which his wallet nearly fell out, wild hair and talked really fast about really complex stuff. I guess he fitted the stereotype pretty well. You could feel that he was excited about his work and the possibility of discovering something really big.</p>
<p>Since visitors are not allowed in the experimental areas these times, the tour was limited to a couple of films, a couple of slide shows, questions and some of the buildings above ground.</p>
<p>The most interesting part were definitely the lots of questions asked, mainly concerning particle physics. I was at the visit with a bunch of American and Scottish students of physics, and they managed to ask about some interesting stuff, some of it way above my humble knowledge of physics.</p>
<p>Topics touched were big bang, the lack of proof for the standard model, how the Higgs field gives elementary particles mass, what the Higgs boson is expected to be, the actual detection of particles, elementary particles in general, mass and how we have no idea what gravity is, matter, antimatter, black holes, the LHC, life, the universe and everything. Moreover, I was very excited to hear about the gigantic computer grid set up, primarily at CERN but also around the whole world, to support the enormous amount of data analysis necessary to achieve meaningful results from particle collision. In 2004 there were over 5000 computers in the CERN part of the grid, all set up in a center 100 meters below the surface of earth (we saw pictures). Also, hundreds employed only with monitoring that everything is working as intended. Fascinating stuff, especially because the building of it is expected to contribute greatly to the &#8220;new&#8221; World Wide Web.</p>
<p>Obviously, none of the topics were discussed very much in-depth because of the time frame. But it was there and once again, I felt like studying physics.</p>
<p>In conclusion, because I wasn&#8217;t able to see the LHC underground, (except through 3d glasses on a projector) I&#8217;d like to go back. We were told that the LHC would be turned off about once every a year in the future. During those off-periods it will be open for visitors again, and I&#8217;ll be there.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/363/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=363&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/07/26/my-visit-at-cern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>

		<media:content url="http://anderstornvig.files.wordpress.com/2009/07/img_1424.jpg" medium="image">
			<media:title type="html">At CERN</media:title>
		</media:content>
	</item>
		<item>
		<title>Mapping multimedia keys in Linux</title>
		<link>http://anderstornvig.wordpress.com/2009/05/16/map-volume-multimedia-keys-in-linux/</link>
		<comments>http://anderstornvig.wordpress.com/2009/05/16/map-volume-multimedia-keys-in-linux/#comments</comments>
		<pubDate>Sat, 16 May 2009 15:01:01 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Awesome window manager]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[key binding]]></category>
		<category><![CDATA[xev]]></category>
		<category><![CDATA[ALSA]]></category>
		<category><![CDATA[multimedia keys]]></category>
		<category><![CDATA[volume keys]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[Xmonad]]></category>
		<category><![CDATA[xbindkeys]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=341</guid>
		<description><![CDATA[By default no &#8220;extra&#8221; keys have ever worked on my Arch Linux installs. Today I made an effort for solving that and I succeeded primarily on the basis of this forum thread, this blog post, this article and Extra Keyboard Keys in Xorg on the ArchWiki. The task is simple:
Adjust the output volume on my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=341&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>By default no &#8220;extra&#8221; keys have ever worked on my Arch Linux installs. Today I made an effort for solving that and I succeeded primarily on the basis of <a href="http://bbs.archlinux.org/viewtopic.php?id=64822">this forum thread</a>, <a href="http://www.bytetrap.com/blog/2008/11/04/configuring-special-keys-thinkpad-t60-arch-linux/">this blog post</a>, <a href="http://wiki.zenwalk.org/index.php?title=Enabling_the_Multimedia_Keys_on_your_Keyboard">this article</a> and <a href="http://wiki.archlinux.org/index.php/Extra_Keyboard_Keys_in_Xorg">Extra Keyboard Keys in Xorg</a> on the ArchWiki. The task is simple:</p>
<blockquote><p><em>Adjust the output volume on my computer when I press the multimedia keys (play, mute, volume up, volume down) on my keyboard.</em></p></blockquote>
<p><strong>How key presses are registered and handled (simplified)<br />
</strong></p>
<p>So what happens on the inside when you press the keys on my keyboard? Well, each key press is recognized by the X server as an X event. When an event is registered the X server executes a routine assigned to that specific event. E.g. if the letter &#8220;k&#8221; is pressed it will simply echo a &#8220;k&#8221; to the application that is listening for keyboard input. This &#8220;application&#8221; is usually the window manager running on top of the X server and when the window manager registers the keyboard input it will pass it on to the application which has focus right now. Could be Firefox. Let&#8217;s have a small ASCII flowchart to sum up the example. Firefox has focus, runs inside the window manager and the window manager runs on top of the X server.</p>
<pre>The user presses the key "k" inside Firefox -&gt;
The X server registers the "k-key-pressed"-event -&gt;
The X server passes the event to the window manager -&gt;
The window manager passes the event to Firefox which has focus -&gt;
The letter "k" is written into the address bar, a textarea, whatever.</pre>
<p>Brilliant. Now, what happens if there&#8217;s no X server routine assigned to a specific X event? Nothing. This is exactly the reason why the multimedia keys does not work in my X by default on Arch Linux, thus the problem we are going to address in the following. Before that I should say that the problem is not distribution nor window manager related. You&#8217;ll encounter it on any installation where the X server is not set up properly or there&#8217;s no dummy application taking care of the specific event.</p>
<p><strong>Identify keycodes for multimedia keys</strong><br />
Each key on your keyboard has a keycode assigned within the X server whether there&#8217;s a routine assigned for it or not. First we need to find out which keycodes <em>Play, Mute</em>, <em>Volume up</em> and <em>Volume down</em> have. We can do this by running <em>xev</em> inside a terminal instance running in X. You&#8217;ll most likely have <em>xev</em> already, if not then install it. When you have it running, press the four keys shortly right after each other. Look for output similar to this:</p>
<pre>KeyRelease event, serial 28, synthetic NO, window 0x2800001,
   root 0x253, subw 0x0, time 28502634, (263,0), root:(3169,410),
   state 0x0, <strong>keycode 172</strong> (<strong>keysym 0x1008ff14</strong>, <strong>XF86AudioPlay</strong>), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x2200001,
   root 0x253, subw 0x0, time 21416440, (235,1), root:(3141,411),
   state 0x0, <strong>keycode 121</strong> (<strong>keysym 0x1008ff12</strong>, <strong>XF86AudioMute</strong>), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x2200001,
   root 0x253, subw 0x0, time 21417224, (235,1), root:(3141,411),
   state 0x0, <strong>keycode 122</strong> (<strong>keysym 0x1008ff11</strong>, <strong>XF86AudioLowerVolume</strong>), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x2200001,
   root 0x253, subw 0x0, time 21417968, (235,1), root:(3141,411),
   state 0x0, <strong>keycode 123</strong> (<strong>keysym 0x1008ff13</strong>, <strong>XF86AudioRaiseVolume</strong>), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False</pre>
<p>These are the outputs of the four key presses<em> Play, Mute</em>, <em>Volume up</em> and <em>Volume down</em> and I&#8217;ve marked the parts relevant to us <strong>bold</strong>.</p>
<p><strong>Map keycodes to routines for multimedia control in X</strong><br />
Routines for volume adjustments in X is defined by the &#8220;labels&#8221; <em>XF86Audio*</em>. <em>xmodmap</em> is a small utility that will bind any of your keys to labels by referencing them to keycodes. The procedure for setting it up is simple. Install it if necessary, then create a file <em>.Xmodmap</em> in your home directory and put the keycodes and labels in it. In my case (and probably also yours) the content will look like this.</p>
<pre>keycode 172 = XF86AudioPlay
keycode 121 = XF86AudioMute
keycode 122 = XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume</pre>
<p>Run</p>
<pre>xmodmap ~/.Xmodmap</pre>
<p>to activate it in the current session. To make it permanently start when you start X, put the command in your  <em>~/.xinitrc</em> also.</p>
<p><strong>Bind volume multimedia keys</strong><br />
All of the four keys actually works now when multimedia applications like <em>mplayer</em>, <em>VLC</em> and <em>Rhythmbox</em> have focus in your window manager. But the volume keys currently do not control the <em>ALSA</em> sound system directly (I assume that&#8217;s what your using for sound). By adjusting the volume directly in <em>ALSA</em> rather than your player you adjust it globally.</p>
<p>ALSA can be controlled by <em>amixer</em> (you already have <em>amixer</em> if you have <em>ALSA</em> installed), so what we want to do is <em><strong>bind an amixer shell command to our volume keys</strong></em>.</p>
<p>This can be done in many ways and I&#8217;m going to share three of them with you here. Two window manager (<em>Xmonad</em>, <em>Awesome</em>) specific ways and one standalone utility (<em>xbindkeys</em>) for doing it. The thing is, if you have key binding support in your window manager already there&#8217;s no reason to use a standalone utility for it, but if your window manager does not support or handle key bindings very well, it&#8217;s nice to have an alternative.</p>
<p><strong><em>Xmonad window manager</em></strong></p>
<blockquote><p>The <em>Xmonad</em> window manager provides key binding support configurable in the <em>Haskell</em> configuration file <em>~/.xmonad/xmonad.hs</em>. I&#8217;m going to assume that you have one of these already and just tell you what you need to add. <em>Xmonad</em> does not have key names for the ones we&#8217;re going to add so we have to refer to their hex value which can be found in the file <em>/usr/share/X11/XKeysymDB</em>. Find the three relevant volume labels and remember their value (yours are most likely identical to mine). Now, add them to the key bindings section in your <em>Xmonad config file</em>. I&#8217;ve added the following to <a href="http://github.com/anderstornvig/config-files/blob/c478113553a8d6d3ec9577d6cdc83cdaa68af358/.xmonad/xmonad.hs">my config file</a>.</p>
<pre>-- Alsa keyboard control
-- XF86AudioMute
, ((0 , 0x1008ff12), spawn "amixer -q set PCM toggle")
-- XF86AudioLowerVolume
, ((0 , 0x1008ff11), spawn "amixer -q set PCM 2- unmute")
-- XF86AudioRaiseVolume
, ((0 , 0x1008ff13), spawn "amixer -q set PCM 2+  unmute")</pre>
<p>If you want you can safely change the <em>PCM</em> channel to ie. <em>Master</em> and/or maybe the lower/raise values. Reload the config file by pressing <em>Mod</em>+<em>q</em>.</p></blockquote>
<p><strong><em>Awesome window manager</em></strong></p>
<blockquote><p>Accoring to <a href="http://bbs.archlinux.org/viewtopic.php?id=63644">this thread</a>, the following three key bindings should work. Add them to your <em>~/.config/awesome/rc.lua</em> configuration file.</p>
<pre>keybinding({}, "#122", function () awful.util.spawn("amixer -q sset PCM 2dB-") end):add()
keybinding({}, "#123", function () awful.util.spawn("amixer -q sset PCM 2dB+") end):add()
keybinding({}, "XF86AudioMute", function () awful.util.spawn("amixer -q sset Master toggle") end):add()</pre>
<p>Again, feel free to change <em>PCM</em> and/or the lower/raise values. I haven&#8217;t tried that method myself but they look easier than what I had luck on my laptop in my <em>Awesome</em> days. I used these lines <a href="http://github.com/anderstornvig/config-files/blob/c478113553a8d6d3ec9577d6cdc83cdaa68af358/.config/awesome/rc.lua">my Awesome config file</a>.</p>
<pre>table.insert(globalkeys, key({ }, "XF86AudioRaiseVolume", function () volume("up", tb_volume) end))
table.insert(globalkeys, key({ }, "XF86AudioLowerVolume", function () volume("down", tb_volume) end))
table.insert(globalkeys, key({ }, "XF86AudioMute", function () volume("mute", tb_volume) end))</pre>
<p>They assume that you have the <em>volume()</em> function defined somewhere else in the config file. This function is available <a href="http://github.com/anderstornvig/config-files/blob/c478113553a8d6d3ec9577d6cdc83cdaa68af358/.config/awesome/rc.lua">my Awesome config file</a>.</p></blockquote>
<p><strong><em>xbindkeys</em></strong></p>
<blockquote><p>In fact, <em>xkeybinds</em> can <a href="http://www.howtoforge.com/linux_multimedia_keyboard">bind your keycodes directly to your amixer commands</a>, thus skipping the label mumbo jumbo. Very convenient. Another advantage is that it&#8217;ll work on any window manager. You only have to install it, refer it to your config file, add it to your <em>~/.xinitrc</em> and you&#8217;re good to go. For now, create the file <em>~/.xbindkeysrc</em> and put the following in it.</p>
<pre># Vol down
"amixer -q set PCM 2- unmute"
  XF86AudioLowerVolume

# Vol up
"amixer -q set PCM 2+ unmute"
  XF86AudioRaiseVolume

# Vol mute/unmute
"amixer -q set Master toggle"
  XF86AudioMute</pre>
<p>I think there&#8217;s no reason to explain that, but still, feel free to change <em>PCM</em> and/or the lower/raise values.</p></blockquote>
<p><strong>Wrapping up</strong></p>
<p>Hopefully you got it working. The same methods can be used to enable other multimedia keys. This article &#8220;<a href="http://wiki.zenwalk.org/index.php?title=Enabling_the_Multimedia_Keys_on_your_Keyboard">Enabling the Multimedia Keys on your Keyboard</a>&#8221; is very useful for that. Like that article I&#8217;d probably recommend the <em>xkeybinds</em> solution in most cases as it is very consistent, feature-full and portable. That said, <em>Xmonad</em> as I use for it now also does a fine job. I&#8217;ve had no problems with it, it&#8217;s easy and I like the facts that it&#8217;s integrated in my window manager. Matter of taste.</p>
<p>Thank you for reading.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/341/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=341&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/05/16/map-volume-multimedia-keys-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>X crashing with Arch, dual monitor and xorg-server 1.6.1</title>
		<link>http://anderstornvig.wordpress.com/2009/05/12/x-crashing-with-arch-dual-monitor-and-xorg-server-1-6-1/</link>
		<comments>http://anderstornvig.wordpress.com/2009/05/12/x-crashing-with-arch-dual-monitor-and-xorg-server-1-6-1/#comments</comments>
		<pubDate>Mon, 11 May 2009 22:24:11 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[dual monitors]]></category>
		<category><![CDATA[Xorg tip guide yaourt]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=317</guid>
		<description><![CDATA[After my recent 64-bit install I experienced some instability with X. I narrowed the problem down to: X crashes in a dual monitor setup when I hold down backspace, the arrows, maybe other keys inside any application.
The problem was a little hard to google so I threw the question at the Arch Linux Forum.
It turns [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=317&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After my recent 64-bit install I experienced some instability with <em>X</em>. I narrowed the problem down to: <em>X crashes in a dual monitor setup when I hold down backspace, the arrows, maybe other keys inside any application</em>.</p>
<p>The problem was a little hard to google so I threw <a href="http://bbs.archlinux.org/viewtopic.php?id=71486">the question</a> at the <a href="http://bbs.archlinux.org">Arch Linux Forum</a>.</p>
<p>It turns out you have to install <a href="http://aur.archlinux.org/packages.php?ID=25785">a patched version</a> of the <em>xorg server</em>. Because I had some trouble figuring out dependencies, etc., here is the procedure I got working:</p>
<ol>
<li>If you don&#8217;t have <em>yaourt</em> installed, <a href="http://wiki.archlinux.org/index.php/Yaourt">install it</a>. If you don&#8217;t know what <em>yaourt</em> is, it is a wrapper around pacman that allows you to easily install user contributed packages from <a href="http://wiki.archlinux.org/index.php/AUR">AUR</a>. So, <a href="http://wiki.archlinux.org/index.php/Yaourt">go ahead and install it</a>.</li>
<li>You may want to log of <em>X.</em></li>
<li> Perform the following and final steps. The <em>yaourt</em> command will take a while to execute but keep an eye on it anyway to discover it if any errors occur.
<pre># pacman -R nvidia xorg-server
# pacman -S libgl
# yaourt -S xorg-server-warnaud
# pacman -R libgl
# pacman -S nvidia</pre>
</li>
</ol>
<p>To you with a similar problem, I hope you will find this helpful.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=317&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/05/12/x-crashing-with-arch-dual-monitor-and-xorg-server-1-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>Running Arch Linux 64-bit</title>
		<link>http://anderstornvig.wordpress.com/2009/05/03/running-arch-linux-64-bit/</link>
		<comments>http://anderstornvig.wordpress.com/2009/05/03/running-arch-linux-64-bit/#comments</comments>
		<pubDate>Sun, 03 May 2009 11:08:35 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[64-bit]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[operating system]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=313</guid>
		<description><![CDATA[As the Ubuntu Jaunty fever is slowly easing off, I decided to go back to Arch Linux. I simply miss its purity compared to Ubuntu&#8217;s.
Once an Archer, always an Archer!
On the old Ubuntu setup I never quite figured a permanent solution for my dual monitor setup and since I installed the Awesome window manager RC, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=313&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As the <em>Ubuntu Jaunty</em> fever is slowly easing off, I decided to go back to <em>Arch Linux</em>. <a title="The Arch way" href="http://anderstornvig.dk/2008/09/21/the-arch-way/">I simply miss its purity compared to Ubuntu&#8217;s</a>.</p>
<blockquote><p><em>Once an Archer, always an Archer!</em></p></blockquote>
<p>On the old <em>Ubuntu</em> setup I never quite figured a permanent solution for my dual monitor setup and since <a title="Awesome window manager on Ubuntu Intrepid" href="http://anderstornvig.dk/2009/03/12/awesome-window-manager-on-ubuntu-intrepid/">I installed the <em>Awesome window manager RC</em></a>, it has been somewhat buggy. Also, in the meantime I&#8217;ve more or less commited to another tiling window manager, <em>Xmonad</em> (more on that in another post), so I was planning to switch from <em>Awesome</em> anyway. Bottom line, time to install <em>Arch Linux</em>.</p>
<p>I won&#8217;t bore you with the installation details this time but simply say that almost nothing has changed since my post on <a title="Installing Arch Linux with Awesome" href="http://anderstornvig.dk/2008/06/21/installing-arch-linux-with-awesome/">Installing <em>Arch Linux</em> with <em>Awesome</em></a>. Well, maybe except for <em>Xorg</em> and its complications with <em>hal</em>. It&#8217;s not an <em>Arch Linux</em> specific exception, but excuse me, what a mess? I digress.</p>
<p>So why bother to write this post? Well, <strong>to give you a heads up on the </strong><em><strong>Arch Linux 64-bit installation</strong>.</em></p>
<p>Ever since I got my Shuttle PC December 2007, I&#8217;ve not been able to make use of all of the 4GB ram available in it. Only about 3.2GB has been available in the 32-bit operating systems I&#8217;ve run. Incredibly annoying, but also a well-known and inevitable limitation. Have a look at the post <a href="http://www.codinghorror.com/blog/archives/000811.html"><em>&#8220;Dude, Where&#8217;s My 4 Gigabytes of RAM&#8221;</em> on Coding Horror</a>.</p>
<p>Thus, to try something new and actually take advantage of what I once paid for, I decided to install <em>Arch64</em>. A brief google told me what advantages and more importantly what implications I should expect.</p>
<p>Advantages:</p>
<ul>
<li> 4GB ram obviously</li>
<li> Slightly better performance (have a look at <a href="http://www.tuxradar.com/content/ubuntu-904-32-bit-vs-64-bit-benchmarks"><em>&#8220;Ubuntu 9.04: 32-bit vs 64bit benchmarks&#8221;</em> on Tuxradar</a>)</li>
</ul>
<p>Implications:</p>
<ul>
<li> Flash (in <em>pacman</em>: <em>flashplugin</em>) is going to be crap</li>
<li> Java Runtime Environment (in <em>pacman</em>: <em>jre</em>) is going to be crap</li>
<li>Buggy multimedia</li>
<li> Skype, Wine, Virtualbox</li>
<li> Pacman should have 64-bit architectured versions of <em>most</em> which means not all packages</li>
</ul>
<p>There&#8217;s probably a lot more on both sides. I proceded to install it, every step exactly the same as in a regular install. After that, <em>Xorg</em>, <em>Xmonad</em>, browser, text editors, IM clients, multimedia stuff, libraries, basically everything I use if not daily, then weekly.</p>
<p>Guess what, everything worked flawlessly as if I had installed the 32-bit version. Even <em>pacman</em> managed to find 64-bit architectured builds for every package I installed, not just <em>most</em>. Great! Haven&#8217;t tried Skype, Wine or Virtualbox yet but I&#8217;ve found multiple guides to and examples on people getting it working so I&#8217;m not worried. Also, you should have seen the smile on my face when I first fired up top and saw that I had 4GB ram available. Fantastic!</p>
<p>So to end this post I&#8217;ll give you the assurance I was looking in my implications/advantages-google, even though it may not be true in some cases:</p>
<blockquote><p><em>For what I use my computer for, there has been no implications, only advantages in installing the 64-bit of </em><em>Arch Linux. <strong>You can safely go ahead and try it out</strong> if you feel like it and have the right hardware for it.</em></p></blockquote>
<p>I honestly don&#8217;t know why I waited.</p>
<p>Feel free to post a comment on your <em>Arch64</em> experience.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=313&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/05/03/running-arch-linux-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>More on the Web 2.0</title>
		<link>http://anderstornvig.wordpress.com/2009/04/02/more-on-the-web-20/</link>
		<comments>http://anderstornvig.wordpress.com/2009/04/02/more-on-the-web-20/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 16:12:29 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[stallman]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=302</guid>
		<description><![CDATA[In relation to my last post on &#8220;Operating systems and web applications&#8221; I&#8217;d like to share with you an article I just read.
http://www.guardian.co.uk/technology/2008/sep/29/cloud.computing.richard.stallman
I can&#8217;t help but completely agree and realize that I have to go cold turkey on the web applications. Some may even say &#8220;go back in time&#8221;. Soon!
      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=302&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In relation to my last post on <em><a href="http://anderstornvig.dk/2009/03/29/operating-systems-and-web-applications/">&#8220;Operating systems and web applications&#8221;</a></em> I&#8217;d like to share with you an article I just read.</p>
<p><em><a href="http://www.guardian.co.uk/technology/2008/sep/29/cloud.computing.richard.stallman">http://www.guardian.co.uk/technology/2008/sep/29/cloud.computing.richard.stallman</a></em></p>
<p>I can&#8217;t help but completely agree and realize that I have to go cold turkey on the web applications. Some may even say &#8220;go back in time&#8221;. Soon!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=302&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/04/02/more-on-the-web-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>Operating systems and web applications</title>
		<link>http://anderstornvig.wordpress.com/2009/03/29/operating-systems-and-web-applications/</link>
		<comments>http://anderstornvig.wordpress.com/2009/03/29/operating-systems-and-web-applications/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 13:29:40 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[web applications]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=292</guid>
		<description><![CDATA[Rant coming your way..!
I use a frighteningly large number of online services/applications/whateveryoumaycallthem. Gmail, Google Reader, Google Calendar, Google Docs, Dropbox, Remember the Milk, GooSync, Twitter, WordPress, Delicious and that&#8217;s probably not even all of them.
The big sinner is obviously Google. Even though I&#8217;m reluctant to admit it, they make some darn great software &#8211; too [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=292&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Rant coming your way..!</p>
<p>I use a frighteningly large number of online services/applications/whateveryoumaycallthem. <a href="http://www.gmail.com">Gmail</a>, <a href="http://reader.google.com">Google Reader</a>, <a href="http://calendar.google.com">Google Calendar</a>, <a href="http://docs.google.com">Google Docs</a>, <a href="http://www.getdropbox.com/">Dropbox</a>, <a href="http://www.rememberthemilk.com">Remember the Milk</a>, <a href="http://www.goosync.com/">GooSync</a>, <a href="http://www.twitter.com/tornvig">Twitter</a>, <a href="http://www.wordpress.com">WordPress</a>, <a href="http://delicious.com/anderstornvig">Delicious</a> and that&#8217;s probably not even all of them.</p>
<p>The big sinner is obviously Google. Even though I&#8217;m reluctant to admit it, they make some darn great software &#8211; too great to <em>not</em> use. The same is true for the other services. One innovative, beautiful web application after another.</p>
<p>What&#8217;s scary is that I&#8217;m so dependent on them. I get chills from just thinking about something crucial happening to Google.</p>
<p>But I guess Google has reach a size where reliability will never be a problem. Too many users depend on them and hopefully they are aware enough of their responsibility to not just pull the plug.</p>
<p>The next stage after this concern about Google just pulling the plug is the monopoly concern. Just like Microsoft took over the world through your personal computer, Google is doing it through the web. I guess it can be seen as an advantage that everything is streamlined and so on but I choose to be worried. If Google went down, the world would really just halt. Communication lost, appointments forgot, tasks undone, data gone, etc.. Disaster!</p>
<p>Accepting the fact that the evolution is inevitable and that I&#8217;m a sucker for Google and other web services takes me to my next subject.</p>
<p>Operating systems (OSs) are depreciating. I&#8217;ve said it before and I&#8217;ll say it again:</p>
<blockquote><p><em>Give me a browser and a text editor and I&#8217;m ready to take over the world myself!<br />
</em></p></blockquote>
<p>90 percent give or take of the time I spend on a computer I&#8217;m either in Firefox or some obscure text editor. True story.</p>
<p>I&#8217;m not saying that OSs are becoming unnecessary, just irrelevant for everyday work. Any modern OS can fire up a browser and a text editor, and if that&#8217;s more or less all that&#8217;s needed on a daily basis, maybe we need to rethink the entire design of modern OSs. Simplify rather than complicate them if you will.</p>
<p>As point of departure though, I can&#8217;t fully support this evolvement because of the statements first in this post. I&#8217;m simply not comfortable with the thought of people gullibly putting their personal data in the hands of someone/everyone else.</p>
<p>I <em>would</em> like, however, to draw a final perspective that&#8217;s not just relevant somewhere in the future, but also today. On any computer you use for regular tasks like mailing, browsing, documenting, if the OS is irrelevant, why not install an open source one for free? It&#8217;s just plain ludicrous to pay for an OS you&#8217;re not directly using. You use the <em>applications</em> you&#8217;re installing on the OS, and any OS can manage most of those applications, also open source ones.</p>
<p>If you&#8217;ve read this far, largely agreed with my points, not quite understood this open source thingy, but &#8211; sensible as you are &#8211; noted that you can get an operating system for free and free yourself from the monopoly that is Microsoft, you&#8217;re probably wondering <em>where</em>. My best answer to that question is<a href="http://www.ubuntu.com"> www.ubuntu.com</a>. Here you can download a free and open source operating system called Ubuntu built upon the Linux kernel. Highly recommendable.</p>
<p>Rant&#8230; over&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=292&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/03/29/operating-systems-and-web-applications/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>Another status</title>
		<link>http://anderstornvig.wordpress.com/2009/03/29/another-status/</link>
		<comments>http://anderstornvig.wordpress.com/2009/03/29/another-status/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 13:02:58 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=281</guid>
		<description><![CDATA[Ok, sorry for my inconsistency, but I&#8217;m returning to WordPress again. I&#8217;ll import my tumblr post now.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=281&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ok, sorry for my inconsistency, but I&#8217;m returning to WordPress again. I&#8217;ll import my tumblr post now.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/281/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=281&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/03/29/another-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>Highlights from the Free and Open Source Software conference in Aalborg</title>
		<link>http://anderstornvig.wordpress.com/2009/03/24/highlights-from-foss-in-aalborg/</link>
		<comments>http://anderstornvig.wordpress.com/2009/03/24/highlights-from-foss-in-aalborg/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 16:53:32 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Aalborg]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=284</guid>
		<description><![CDATA[Today I went to the Free and Open Source Software (FOSS) conference in Aalborg. It concerned two main topics, secure programming and real-time/embedded systems. Here are some highlights and reasons I was glad that I went. While it was incredibly relevant for my education, I didn&#8217;t find the real-time/embedded part very interesting. It was plain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=284&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I went to the <a href="http://www.foss-aalborg.dk/">Free and Open Source Software (FOSS) conference in Aalborg</a>. It concerned two main topics, secure programming and real-time/embedded systems. Here are some highlights and reasons I was glad that I went. While it was incredibly relevant for my education, I didn&#8217;t find the real-time/embedded part very interesting. It was plain boring, so I won&#8217;t comment on that.</p>
<p><strong>Development tools</strong></p>
<p>During the day several helpful tools for software development were introduced and recommended. That included tools for bug tracking, documentation, etc. Especially interesting ones were <a href="http://www.stack.nl/~dimitri/doxygen/">doxygen</a>, doxygen-gui, <a href="http://www.graphviz.org/">graphviz</a>, <a href="http://valgrind.org/">valgrind</a> and <a href="http://www.splint.org/">splint</a>.</p>
<p><strong>Git eye-opener</strong></p>
<p>A guy named Esben Haabendal talked about <a href="http://git-scm.com/">git</a> through practical examples. As opposed to some documentation about git I&#8217;ve read online which I found a bit arbitrary and complex, this talk was really an eye-opener for me. Even though the presentation itself wasn&#8217;t particularly good, the talk provided an introduction to some terminology within git, basic commands/operations and more importantly the context in which they are used. Also the brief explanation of distributed version control systems and how they implement various workflow models was very interesting. I can definitely see why git outrules subversion or other centralized version control systems in larger projects.</p>
<p><strong>The OpenBSD guys</strong></p>
<p>There were two german <a href="http://www.openbsd.org/">OpenBSD</a> developers, Henning Brauer and Sven Dehmlow, present. Two funny but also extremely OpenBSD religious characters. I really enjoyed their presentation about code security and rightness. Particularly, I found the part about chroot and privilege seperation interesting. But also their slides. They were different with colors, beers as progressbars, legos as flowchart, etc.</p>
<p><strong>Book recommendations</strong></p>
<p>Henrik Lund Kramshøj talked about security tools, mainly for programming also. His talk was alright and he recommended a couple of books. They were:</p>
<ul>
<li><em>Secure Coding: Principles &amp; Practices &#8211; Principles and Practices</em> by Mark G. Graff and Kenneth R. Van Wyk</li>
<li><em>19 Deadly Sins Of Software Security &#8211; Programming Flaws And How To Fix Them</em> by Michael Howard and David LeBlanc</li>
</ul>
<p><strong>Wrapping up</strong></p>
<p>There are several other things from the conference on my list that I plan to look more into, so I guess in all it was 200 dkr well spent. The food there was also much better than expected, but I was disappointed that we didn&#8217;t get a t-shirt.</p>
<p>To zoom out a bit, the conference reminded me what great community exists around the open source idea. Once again I&#8217;m really motivated to contribute.</p>
<p>Finally, all talks were video recorded, so they should become available online together with slides etc. at some point. The talks from last year&#8217;s conference are available at <a href="http://mirrors.dotsrc.org/blivklogere/foss_aalborg/2008/">http://mirrors.dotsrc.org/blivklogere/foss_aalborg/2008/</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=284&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/03/24/highlights-from-foss-in-aalborg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
		<item>
		<title>Status</title>
		<link>http://anderstornvig.wordpress.com/2009/03/23/status/</link>
		<comments>http://anderstornvig.wordpress.com/2009/03/23/status/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 21:27:49 +0000</pubDate>
		<dc:creator>Anders Tornvig</dc:creator>
				<category><![CDATA[Anything]]></category>

		<guid isPermaLink="false">http://anderstornvig.dk/?p=274</guid>
		<description><![CDATA[For now, I&#8217;ve moved my primary online activity to Twitter which means that I&#8217;m currently not updating this site. So, follow me on twitter.com/tornvig. Longer tweets / rants / anything else really I&#8217;ll put on anderstornvig.tumblr.com. But posts on Tumblr are automatically referred to on Twitter anyway. Nifty feature, hah? It&#8217;s one of many.
See you!
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=274&subd=anderstornvig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For now, I&#8217;ve moved my primary online activity to Twitter which means that I&#8217;m currently not updating this site. So, follow me on <a href="http://twitter.com/tornvig">twitter.com/tornvig</a>. Longer tweets / rants / anything else really I&#8217;ll put on <a href="http://anderstornvig.tumblr.com">anderstornvig.tumblr.com</a>. But posts on Tumblr are automatically referred to on Twitter anyway. Nifty feature, hah? It&#8217;s one of many.<br />
See you!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anderstornvig.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anderstornvig.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anderstornvig.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anderstornvig.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anderstornvig.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anderstornvig.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anderstornvig.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anderstornvig.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anderstornvig.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anderstornvig.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anderstornvig.wordpress.com&blog=4525434&post=274&subd=anderstornvig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anderstornvig.wordpress.com/2009/03/23/status/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c223d2e305cb19cb47bc1b3e29232c44?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anderstornvig</media:title>
		</media:content>
	</item>
	</channel>
</rss>