<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Zash Blag</title>
	<atom:link href="http://blag.zash.se/feed/" rel="self" type="application/rss+xml" />
	<link>http://blag.zash.se</link>
	<description>Åt helvete med hela skiten.</description>
	<lastBuildDate>Fri, 22 Jan 2010 00:09:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rösträkning med Bash</title>
		<link>http://blag.zash.se/2010/01/votecounter-sh/</link>
		<comments>http://blag.zash.se/2010/01/votecounter-sh/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 02:45:14 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[piratpartiet]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[val]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=211</guid>
		<description><![CDATA[Piratpartiets primärval är avslutat. 1300 röster registrerades av partiets ca 48 tusen medlemmar, dvs ca 2.7%.

Grattis till Norrbotten som hade överlägset högst valdeltagande

Här är ett stycke Bash-magi som ger dig en votes.txt med antal röster och på vem, sorterad fallande efter antal röster. Paketen curl, grep, sed och coreutils behövs om de inte är installerade, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.piratpartiet.se">Piratpartiets</a> <a href="http://ungpirat.blogspot.com/2010/01/piratpartiets-primarval-slutar-ikvall.html">primärval</a> <a href="http://www.piratpartiet.se/nyheter/piratpartiets_primarval_ar_avslutat">är avslutat</a>. <a href="http://data.piratpartiet.se/Data/DisplayInternalPollVotes.aspx?PollId=2">1300 röster</a> registrerades av partiets <a href="http://www.piratpartiet.se/storlek">ca 48 tusen</a> medlemmar, dvs ca 2.7%.</p>

<p><strong>Grattis till Norrbotten</strong> <a href="http://osmidigt.bloggaren.eu/?p=654">som hade</a> <a href="http://data.piratpartiet.se/Charts/InternalPollTurnoutPerCircuit.aspx">överlägset högst valdeltagande</a></p>

<p>Här är ett stycke Bash-magi som ger dig en <code>votes.txt</code> med antal röster och på vem, sorterad fallande efter antal röster. Paketen <a href="apt:curl"><code>curl</code></a>, <a href="apt:grep"><code>grep</code></a>, <a href="apt:sed"><code>sed</code></a> och <a href="apt:coreutils"><code>coreutils</code></a> behövs om de inte är installerade, iaf i <a href="http://www.ubuntu.com/">Ubuntu</a> och förmodligen de flesta <a href="http://debian.org/">Debian</a>-baserade <a href="http://distrowatch.com/">distributionerna</a>.</p>

<p><strong>Notera</strong> att detta endast visar hur många röster som <a href="http://www.piratpartiet.se/primarvalskandidater">kandidaterna</a> fått.</p>

<pre><code>#!/bin/bash

curl -s "http://data.piratpartiet.se/Data/DisplayInternalPollVotes.aspx?PollId=2" |
    sed -r 's/\s$|^\s*//g' | # tar bort blanktecken
    grep -E '^[A-Z0-9]{12}\b' | # endast röster
    sed -r 's/^[A-Z0-9]{12}\s*//' | # ta bort röst-id
    sed -r 's/\s+/\n/g' | # dela upp i en kandidat per rad
    grep -E '^[0-9]' | # tar bort tomma rader
    sort | uniq -c | sort -nr &gt; votes.txt # räkna och sortera

# Detta hämtar och byter ut medlems-nr mot namn.
curl -s "http://www.piratpartiet.se/primarvalskandidater" |
    grep -Eo '&lt;span[^&gt;]*SpanCandidateName[^&gt;]*&gt;[^&lt;]*' | cut -d\&gt; -f2 |
    sed -r 's/^(.*)\s+\(#([0-9]+)\)$/sed -i "s,\\b\2\\$,\1," votes.txt;/' | sh
</code></pre>

<p>De faktiska ska som jag förstått det viktas efter hur högt man placerat kandidater, <a href="http://www.skivadlime.se/2010/01/primarvalsrostande/">eventuell kvotering samt</a> hur fördelningen mellan distrikt ser ut. Så, <abbr title="2010-01-18T16:00:00+0100">16:00 idag</abbr> presenteras de färdiga listorna. Frågan är; <a href="http://jimmycallin.se/2010/01/lat-18-januari-bli-nytandning-vad-ska-du-gora-for-piratpartiet/">vad gör vi nu?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2010/01/votecounter-sh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liferea vs tiny screen</title>
		<link>http://blag.zash.se/2009/12/liferea-vs-tiny-screen/</link>
		<comments>http://blag.zash.se/2009/12/liferea-vs-tiny-screen/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 14:26:22 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[liferea]]></category>
		<category><![CDATA[minimalism]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=189</guid>
		<description><![CDATA[I use Liferea for RSS-feeds. I also have a craptop with a tiny screen (1024×576px).

I think there is room for optimizing this, more spatial perhaps?

This could use some miller-columnification.

Optimally, I would like to have this:


Single pane
Oldest unread post first
Headlines which expand when clicked

]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://liferea.sourceforge.net/">Liferea</a> for <a href="http://en.wikipedia.org/wiki/RSS">RSS-feeds</a>. I also have a <a href="http://images.google.com/images?q=compaq+mini+730eo">craptop</a> with a tiny screen (1024×576px).</p>

<div id="attachment_190" class="wp-caption aligncenter" style="width: 310px"><a href="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-normal.png"><img src="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-normal-300x168.png" alt="Liferea - Normal view" title="Liferea - Normal view" width="300" height="168" class="size-medium wp-image-190" /></a><p class="wp-caption-text">Liferea - Normal view</p></div>

<p>I think there is room for optimizing this, <a href="http://en.wikipedia.org/wiki/Spatial_file_manager">more spatial perhaps</a>?</p>

<div id="attachment_191" class="wp-caption aligncenter" style="width: 310px"><a href="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-wide.png"><img src="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-wide-300x168.png" alt="Liferea - wide view" title="Liferea - wide view" width="300" height="168" class="size-medium wp-image-191" /></a><p class="wp-caption-text">Liferea - wide view</p></div>

<p>This could use some <a href="http://en.wikipedia.org/wiki/Miller_Columns">miller-columnification</a>.</p>

<p>Optimally, I would like to have this:</p>

<ul>
<li>Single pane</li>
<li>Oldest unread post first</li>
<li>Headlines which expand when clicked</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/12/liferea-vs-tiny-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Damn you Ctrl+W</title>
		<link>http://blag.zash.se/2009/11/damn-you-ctrlw/</link>
		<comments>http://blag.zash.se/2009/11/damn-you-ctrlw/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 23:28:45 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[gconf]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=184</guid>
		<description><![CDATA[Don&#8217;t know how many times I accidentally pressed Ctrl+W when I wanted to delete a word in some non-terminal app, instead closing it and losing all the text I&#8217;ve written. Now I found out you can do this:

gconftool --set /desktop/gnome/interface/gtk_key_theme \
  --type string Emacs


Then Ctrl+W does what it should!
]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t know how many times I accidentally pressed <code>Ctrl+W</code> when I wanted to delete a word in some non-terminal app, instead closing it and losing all the text I&#8217;ve written. Now <a href="https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/60085/comments/4">I found out</a> you can do this:</p>

<pre><code>gconftool --set /desktop/gnome/interface/gtk_key_theme \
  --type string Emacs
</code></pre>

<p>Then <code>Ctrl+W</code> does what it should!</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/11/damn-you-ctrlw/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trac + Evolution?</title>
		<link>http://blag.zash.se/2009/10/trac-evolution/</link>
		<comments>http://blag.zash.se/2009/10/trac-evolution/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 19:05:27 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[caldav]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=176</guid>
		<description><![CDATA[Imagine having your assigned tasks from Trac in Evolutions ToDo-list and beeing able to . Like this but with Trac as backend.
]]></description>
			<content:encoded><![CDATA[<p>Imagine having your assigned tasks from <a href="http://trac.edgewall.org/">Trac</a> in <a href="http://www.gnome.org/projects/evolution/">Evolution</a>s ToDo-list and beeing able to . <a href="http://b.pengdeng.com/2008/12/integrate-remember-milks-tasks-into.html">Like this</a> but with Trac as backend.</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/10/trac-evolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Idea for Application menu</title>
		<link>http://blag.zash.se/2009/09/app-menu-idea/</link>
		<comments>http://blag.zash.se/2009/09/app-menu-idea/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 13:49:30 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[#gnome-do]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[minimalism]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=160</guid>
		<description><![CDATA[Navigating menus with a touchpad isn&#8217;t my idea of awesome. But imagine something like Global menu combined with Gnome Do or dmenu.


Press magic keybinding, like Super + Menu
You get some selection thing with all menu items
You type in what you want to do, filtering as you type
???
PROFIT!


Some IRCin&#8217;

&#60;zash_&#62; a do-like application-menu-thing would be handy
&#60;kholerabbi&#62; Which [...]]]></description>
			<content:encoded><![CDATA[<p>Navigating menus with a touchpad isn&#8217;t my idea of awesome. But imagine something like <a href="http://code.google.com/p/gnome2-globalmenu/">Global menu</a> combined with <a href="http://do.davebsd.com/">Gnome Do</a> or <a href="http://tools.suckless.org/dmenu">dmenu</a>.</p>

<ol>
<li>Press magic keybinding, like Super + Menu</li>
<li>You get some selection thing with all menu items</li>
<li>You type in what you want to do, filtering as you type</li>
<li>???</li>
<li>PROFIT!</li>
</ol>

<h3>Some IRCin&#8217;</h3>

<pre><code>&lt;zash_&gt; a do-like application-menu-thing would be handy
&lt;kholerabbi&gt; Which is a pleasure
&lt;kholerabbi&gt; what do you mean?
&lt;zash_&gt; kholerabbi: something that lets you navigate app-menus by keyboard
&lt;zash_&gt; since not everything has proper keybindings
&lt;kholerabbi&gt; zash_: that's actually kind of interesting...
&lt;zash_&gt; and navigating gigantic menu trees with touchpad is a pain
&lt;kholerabbi&gt; you can already use the keyboard (arrow kets etc.)
&lt;zash_&gt; kholerabbi: yes, but arrows and alt+underlined char only does so
        much
&lt;kholerabbi&gt; agreed
&lt;zash_&gt; label-matching ala gnome-do would be faster
&lt;kholerabbi&gt; so you'd press a shortcut (super+menu) then type 'about' or
             'new'...
&lt;zash_&gt; precisly
&lt;kholerabbi&gt; You should mock it up. If it's really a good idea it will
             catch on. Consider large menus like the gimp and inkscape in
             your designs
&lt;kholerabbi&gt; ok
&lt;kholerabbi&gt; I need sleep, but think on it and maybe talk to the global
             menu people
 * zash_ needs moar coffee!
</code></pre>

<h3>Some bash testing</h3>

<pre><code>grep MenuItem some_window.glade -A 3 | \
grep -E '&lt;property[^&gt;]+name="label"' | \
grep -Eo '&gt;[^&lt;&gt;]+' | sed 's/^&gt;//g' | \
sed s/_// | dmenu -b -i
</code></pre>

<p><video src="http://zash.se/~zash/menuthing.ogv" style="width: 100%; max-width: 624px;"><a href="http://zash.se/~zash/menuthing.ogv">Video here</a><em>(I hate flash)</em></video></p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/09/app-menu-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://zash.se/~zash/menuthing.ogv" length="1241410" type="video/ogg" />
		</item>
		<item>
		<title>Om Skype</title>
		<link>http://blag.zash.se/2009/08/om-skype/</link>
		<comments>http://blag.zash.se/2009/08/om-skype/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 04:45:44 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Crappy world]]></category>
		<category><![CDATA[piratpartiet]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=148</guid>
		<description><![CDATA[
  Piratpartiets mål är att förändra lagstiftningen på en global skala för att gynna framväxten av informationssamhället, präglat av mångfald och öppenhet.


Nice!


  Principprogram version 3.3
  
  Den offentliga sektorn ska arkivera och göra dokument tillgängliga i öppna format. Det ska gå att kommunicera med myndigheter utan att vara bunden till en [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
  <p><a href="http://www.dn.se/opinion/debatt/piratpartiet-behovs-aven-i-den-lokala-politiken-1.929769">Piratpartiets mål är att</a> förändra lagstiftningen på en global skala för att gynna framväxten av informationssamhället, <strong>präglat av mångfald och öppenhet</strong>.</p>
</blockquote>

<p>Nice!</p>

<blockquote>
  <p><a href="http://www.piratpartiet.se/principer"><strong>Principprogram version 3.3</strong></a></p>
  
  <p>Den offentliga sektorn ska arkivera och göra dokument tillgängliga i öppna format. <strong>Det ska gå att kommunicera</strong> med myndigheter <strong>utan att vara bunden</strong> till en <strong>viss leverantör av programvara</strong>. Användningen av öppen källkod i den offentliga sektorn, inklusive skolor, ska stimuleras.</p>
  
  <p>Öppna format och öppen källkod ska uppmuntras.</p>
</blockquote>

<p>Men, varför;</p>

<blockquote>
  <p><a href="http://www.piratpartiet.se/nyheter/webbstrategi_och_utvecklingsgruppen">Webbstrategi- och utvecklingsgruppen</a> som syftar till att <strong>förena alla</strong> som vill vara med och bidra med utveckling och strategier runt all möjlig mjukvara som rör sig inom PP.
  Vill du hjälpa till så är det enklast att lägga till antingen Daniel .. eller Mikael .. <strong>på skype</strong> så bjuder vi in er i chatgruppen.</p>
</blockquote>

<p>Meh.</p>

<blockquote>
  <p><a href="http://en.wikipedia.org/wiki/Skype#System_and_software">Skype uses a proprietary</a> Internet telephony (VoIP) network, called the Skype protocol. <strong>The protocol has not been made publicly available</strong> by Skype and official applications using the protocol are closed-source.</p>
  
  <p><a href="http://en.wikipedia.org/wiki/Skype#Privacy">Skype has taken</a> extreme measures to <strong>obfuscate</strong> their traffic and functioning of their program.</p>
</blockquote>

<p><a href="http://forum.piratpartiet.se/Topic169013-66-1.aspx">This makes me a <em>saaad panda</em>.</a></p>

<p><a href="http://blog.mmn-o.se/2009/10/27/piratpartiet-och-skype/">Men</a>,
<a href="http://xorbot.blogspot.com/2009/10/debatt-om-oppna-protokoll.html">vad</a>
<a href="http://www.skivadlime.se/2010/01/att-sopa-rent-framfor-egen-landgang/">kan</a>
<a href="http://wiki.piratpartiet.se/XMPP">man</a>
<a href="http://utv.piratpartiet.se/ticket/537">då</a>
<a href="http://utv.piratpartiet.se/ticket/606">göra</a>
<a href="http://utv.piratpartiet.se/ticket/607">åt</a>
<a href="http://utv.piratpartiet.se/ticket/608">det?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/08/om-skype/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ung Pirat @ Nolia</title>
		<link>http://blag.zash.se/2009/08/up-at-nolia/</link>
		<comments>http://blag.zash.se/2009/08/up-at-nolia/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 20:26:35 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[datorkastning]]></category>
		<category><![CDATA[nolia]]></category>
		<category><![CDATA[piratpartiet]]></category>
		<category><![CDATA[umeå]]></category>
		<category><![CDATA[ung pirat]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=128</guid>
		<description><![CDATA[Lite bilder från Stora Nolia.





Datorkastning, meet G3 Macintosh.



MMN-o tejpar ihop en trashad burk.
]]></description>
			<content:encoded><![CDATA[<p>Lite bilder från <a href="http://www.nolia.se/stora/">Stora Nolia</a>.</p>

<p><a href="/wp-content/uploads/2009/08/S1058823.JPG"><img src="http://blag.zash.se/wp-content/uploads/2009/08/S1058823-300x285.jpg" alt="Kids vs. Machine" title="Kids vs. Machine" width="300" height="285" class="aligncenter size-medium wp-image-131" /></a></p>

<p><a href="/wp-content/uploads/2009/08/S1058830.JPG"><img src="http://blag.zash.se/wp-content/uploads/2009/08/S1058830-300x225.jpg" alt="Man vs. Mac" title="Man vs. Mac" width="300" height="225" class="aligncenter size-medium wp-image-133" /></a></p>

<p><a href="http://mmn.mpaa.nu/2009/08/06/nolia-flygande-applen-och-ubuntu-9-04/">Datorkastning, meet G3 Macintosh.</a></p>

<p><a href="/wp-content/uploads/2009/08/S1058820.JPG"><img src="http://blag.zash.se/wp-content/uploads/2009/08/S1058820-300x225.jpg" alt="MMN tejpar" title="MMN tejpar" width="300" height="225" class="aligncenter size-medium wp-image-132" /></a></p>

<p><a href="http://mmn.mpaa.nu/">MMN-o</a> tejpar ihop en trashad burk.</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/08/up-at-nolia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lighttpd and WP Super Cache</title>
		<link>http://blag.zash.se/2009/08/lighttpd-and-wp-super-cache/</link>
		<comments>http://blag.zash.se/2009/08/lighttpd-and-wp-super-cache/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 07:22:52 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[minimalism]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp super cache]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=114</guid>
		<description><![CDATA[Why would you need lua scripting to serve cached static files when you instead can


create symlinks from the wordpress root directory to everything in wp-content/cache/supercache/(blog.hostname)/ 
disable directory listings
point server.error-handler-404 to /index.php


Like this:

    $HTTP["host"] == "blag.zash.se" {
            server.error-handler-404 = "/index.php"
   [...]]]></description>
			<content:encoded><![CDATA[<p>Why would you need <a href="http://www.asteriosk.gr/blog/2009/02/19/installing-wp-super-cache-with-lighttpd/">lua scripting</a> to serve <a href="http://wordpress.org/extend/plugins/wp-super-cache/">cached static files</a> when you instead can</p>

<ul>
<li>create <a href="http://en.wikipedia.org/wiki/Symbolic_link">symlinks</a> from the wordpress root directory to everything in <code>wp-content/cache/supercache/(blog.hostname)/</code> </li>
<li>disable <a href="http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModDirlisting">directory listings</a></li>
<li>point <a href="http://redmine.lighttpd.net/projects/lighttpd/wiki/Server.error-handler-404Details"><code>server.error-handler-404</code></a> to <code>/index.php</code></li>
</ul>

<p>Like this:</p>

<pre><code>    $HTTP["host"] == "blag.zash.se" {
            server.error-handler-404 = "/index.php"
            dir-listing.activate = "disable"
    }
</code></pre>

<p>The stuff i have in the <code>supercache/blag.zash.se/</code> directory is: 2009, category, page, tag. Oh, and of course <code>index.html</code>, which is <a href="http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details">configured to take precedence over <code>index.php</code></a>. If you have other virtual directories in your root you will need to create symlinks for those too. And of course for each year, if you have that kind of setup.</p>

<p>Also, with <a href="http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress">mod_compress</a>, there&#8217;s no need for WP Super Cache&#8217;s own (<a href="http://www.herewithme.fr/wp-super-cache-et-le-bug-de-la-compression-gzip-solution-temporaire">apparently buggy</a>) compression. And you get compression of scripts and style sheets.</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/08/lighttpd-and-wp-super-cache/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Destrutting xfce4-panel</title>
		<link>http://blag.zash.se/2009/07/destrutting-xfce4-panel/</link>
		<comments>http://blag.zash.se/2009/07/destrutting-xfce4-panel/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 20:03:00 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[minimalism]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[window management]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=87</guid>
		<description><![CDATA[I didn&#8217;t like that when xfce4-panel is in a fixed position and not expanded to the full width of the screen, it sets _NET_WM_STRUT and _NET_WM_STRUT_PARTIAL which reserves space at the screen border.

The unused space on my tiny screen above the maximized window annoys me, so i downloaded the source whith apt-get source xfce4-panel and [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t like that when <a href="http://www.xfce.org/projects/xfce4-panel/">xfce4-panel</a> is in a fixed position and not expanded to the full width of the screen, it sets <a href="http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html#NETWMSTRUT"><code>_NET_WM_STRUT</code> and <code>_NET_WM_STRUT_PARTIAL</code></a> which reserves space at the screen border.</p>

<div id="attachment_88" class="wp-caption aligncenter" style="width: 310px"><a href="http://blag.zash.se/wp-content/uploads/2009/07/before.png"><img src="http://blag.zash.se/wp-content/uploads/2009/07/before-300x168.png" alt="Waste of space on my tiny screen" title="before" width="300" height="168" class="size-medium wp-image-88" /></a><p class="wp-caption-text">Waste of space on my tiny screen</p></div>

<p>The unused space on <a href="http://images.google.com/images?q=compaq+mini+730eo">my tiny screen</a> above the maximized window annoys me, so i downloaded the source whith <code>apt-get source <a href="http://packages.ubuntu.com/jaunty/xfce4-panel">xfce4-panel</a></code> and added a setting to disable setting the <code>_NET_WM_STRUT</code> properties.
Here&#8217;s a <a href="http://blag.zash.se/wp-content/uploads/2009/07/disable_struts-zash.tgz">tarball of my patches</a>.</p>

<div id="attachment_89" class="wp-caption aligncenter" style="width: 310px"><a href="http://blag.zash.se/wp-content/uploads/2009/07/after.png"><img src="http://blag.zash.se/wp-content/uploads/2009/07/after-300x168.png" alt="Yay, less wasted space." title="after" width="300" height="168" class="size-medium wp-image-89" /></a><p class="wp-caption-text">Yay, less wasted space.</p></div>

<p>The setting can be enabled by editing <code>~/.config/xfce/panel/panels.xml</code> and add (or change if it already exists) <code>&lt;property name="disable_struts" value="1"/&gt;</code> in the <code>&lt;properties&gt;</code> element.</p>

<p>A better long term solution would probably to have the window manager ignore struts for maximized windows when a panel does not cover the entire border.</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/07/destrutting-xfce4-panel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Grattis PP!</title>
		<link>http://blag.zash.se/2009/06/grattis-pp/</link>
		<comments>http://blag.zash.se/2009/06/grattis-pp/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 11:29:27 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eu]]></category>
		<category><![CDATA[piratpartiet]]></category>
		<category><![CDATA[val]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=64</guid>
		<description><![CDATA[Pirat(er) till EU-parlamentet! Yeah!
]]></description>
			<content:encoded><![CDATA[<p>Pirat(er) till EU-parlamentet! Yeah!</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/06/grattis-pp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
