<?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>Bert blogt</title>
	<atom:link href="http://blog.bdesmet.be/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bdesmet.be</link>
	<description>just another ict / personal blog</description>
	<lastBuildDate>Fri, 17 Aug 2012 12:29:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>database backup retention script</title>
		<link>http://blog.bdesmet.be/2012/08/database-backup-retention-script/</link>
		<comments>http://blog.bdesmet.be/2012/08/database-backup-retention-script/#comments</comments>
		<pubDate>Fri, 17 Aug 2012 11:38:39 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[ICT-related]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=697</guid>
		<description><![CDATA[Backups are important. Not keeping all backups is equally important. Especially when you are taking backups of big databases, and you don&#8217;t have enough space to keep 500TB of data backups. Therefore I wrote a script that deletes old backups. I wanted to keep at least one back up / quarter for several years (until I, or someone else cleans [...]]]></description>
			<content:encoded><![CDATA[<p>Backups are important. Not keeping all backups is equally important. Especially when you are taking backups of big databases, and you don&#8217;t have enough space to keep 500TB of data backups. <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Therefore I wrote a script that deletes old backups. I wanted to keep at least one back up / quarter for several years (until I, or someone else cleans them up by hand). I also wanted to keep the last 4 weekly full backups, and keep another 4 backups, one for each of the 4last months.</p>
<p>The script can handle multiple databases. With that I mean: it can handle multiple directories, where each directory holds the backups of one database. It is written for db2 databases, but it can easily be adapted for other databases of course. I wrote a lot of comments in the code, so it should be self explanatory.<br />
<span id="more-697"></span></p>
<p>This is what I came up with:</p>
<pre class="wp-code-highlight prettyprint">#!/bin/bash
shopt -s nullglob #make sure the for loop always gives something expected back. or a null value.
#examplestring: dbtest.0.db2inst.NODE0000.CATN0000.20120426021540.001
#add a new value for each directory it should check. Every directory will be checked seperatly.
locations[0]=&quot;/path/to/a/backupdir/&quot;
locations[1]=&quot;/path/to/another/backupdir/&quot;

#function to check if a value is present in an array.
containsElement () {
  local e
  for e in &quot;${@:2}&quot;; do [[ &quot;$e&quot; = &quot;$1&quot; ]] &amp;&amp; return 0; done
  return 1
}

for location in &quot;${locations[@]}&quot;
do
  unset i
  i=0
  unset file
  #create an array that only contains the filenames that end on '001'
  #(db2 can split backups into multiple files, we want to check only one)
  for uniquefile in $location*.001
   do
    file[$i]=&quot;$(basename $uniquefile)&quot;
    let i++
  done

  #order the array. newest filest first
  unset sorted
  readarray -t sorted &lt; &lt;(printf '%s\0' &quot;${file[@]}&quot; | sort -rz | xargs -0n1)

  unset z
  z=0 #keep count of files that are already selected to stay
  unset yearMonths

  yearMonths=0 #keep count of what months (with year included, form: 201205) are already selected to stay
  explicitMonths=( 01 04 07 10 ) #select the months of wich a backup file should always stay once. (every quarter)
  unset stay #keep an array of files that need to stay.
  stay=0
  for a in &quot;${sorted[@]}&quot;;
   do

   date=$(echo $a | awk -F '.'  '{print $6}')
    yearMonth=${date:0:6}
    month=${date:4:2}

   #keep the weekly backups for 4weeks
    if [ &quot;$z&quot; -lt &quot;4&quot; ]
     then
      stay[$z]=&quot;$a&quot; #add the filename to the 'stay' array.
      let z++
      #add the month of the last saved backups. we don't need extra backups for that month anymore.
      yearMonths[0]=&quot;$yearMonth&quot;

    #keep backups for 4 months (4weeks + 4months) some months. year can be included, since the unnecesary backups will already be removed by next year, when the script checks again.
    else if [ &quot;$z&quot; -lt &quot;8&quot; ]
     then
      if ! containsElement &quot;$yearMonth&quot; &quot;${yearMonths[@]}&quot;
       then
        stay[$z]=&quot;$a&quot;
        let z++
        yearMonths[$[${#yearMonths[@]}+1]]=&quot;$yearMonth&quot;
      fi
    fi
    fi

    #keep one backup per quarter
    if containsElement &quot;$month&quot; &quot;${explicitMonths[@]}&quot; &amp;&amp; ! containsElement &quot;$yearMonth&quot; &quot;${yearMonths[@]}&quot;
     then
      stay[$z]=&quot;$a&quot;
      let z++
      yearMonths[$[${#yearMonths[@]}+1]]=&quot;$yearMonth&quot;
    fi
  done

  #loop again over all files, only delete the files that are not present in the 'stay' array.
  for a in &quot;${sorted[@]}&quot;;
   do
    #check if element has to stay or not, and check if the element isn't empty. (the * would do bad things <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
    if ! containsElement &quot;$a&quot; &quot;${stay[@]}&quot; &amp;&amp; [[ -n &quot;$a&quot; ]]
     then
        #also delete the files which belong together. (ending on .001, .002, .003, ...)
        rm $location${a%???}*
    fi
  done
done
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2012/08/database-backup-retention-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cron issues: not being able to get a real &#8216;from&#8217; address</title>
		<link>http://blog.bdesmet.be/2012/08/cron-issues-not-being-able-to-get-a-real-from-address/</link>
		<comments>http://blog.bdesmet.be/2012/08/cron-issues-not-being-able-to-get-a-real-from-address/#comments</comments>
		<pubDate>Mon, 13 Aug 2012 12:45:54 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[ICT-related]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=677</guid>
		<description><![CDATA[And yet another issue with cron. I want to get an e-mail when something goes wrong on our servers. Especially if it&#8217;s a scheduled script that I normally don&#8217;t check that often any-more. (as you know from my previous post, some of scripts run every 10s, so even if I would check it by hand every hour, a serious backlog [...]]]></description>
			<content:encoded><![CDATA[<p>And yet another issue with cron.</p>
<p>I want to get an e-mail when something goes wrong on our servers. Especially if it&#8217;s a scheduled script that I normally don&#8217;t check that often any-more. (as you know from my previous post, some of scripts run every 10s, so even if I would check it by hand every hour, a serious backlog could already be generated). This worked very well by just creating a &#8216;forward&#8217; file in the home directory of the user. ( ~/forward) which contains one e-mail address. The problem is that only the &#8216;from&#8217; address will be something like hostname@domain [without any tld or something]. And our exchange server didn&#8217;t want to except e-mails coming from such a source. </p>
<p>After some googling and trying things I decided to give up and write my own very small script that takes care of this all.</p>
<pre class="wp-code-highlight prettyprint">#!/bin/bash
stuff=&quot;&quot;
#put all output in one string
while read data; do
    stuff=&quot;$stuff n $data&quot;
done
#if string is not empty, send e-mail with contents
if [[ -n &quot;$stuff&quot; ]]
then
  datetime=$(date &quot;+%Y-%m-%d %H:%M:%S.%N&quot;)
  echo -e &quot;Date: $datetime \n Trace: $stuff&quot; | mail -s 'MESSAGE FROM CRON'  -- -f
fi</pre>
<p>This is how the mailer is called inside the crontab system:</p>
<pre class="wp-code-highlight prettyprint">*/10 * * * * /path/to/script 2&gt;&amp;1 &amp;&gt;/dev/null | /path/to/cronmailer</pre>
<p>ps: if someone knows a better solution, like, how to set a &#8216;from&#8217; address in cron, please tell me.. but for now this will work just fine..</p>
<p>[edit]<br />
For some reason, another options just started to work. Not sure what I did wrong the first time I tried it <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Anyway, you can also set the &#8216;MAILFROM&#8217; value when editing the crontab.<br />
Just add the following to the top of your crontab: </p>
<pre class="wp-code-highlight prettyprint">MAILFROM=your@email.tld</pre>
<p>Thanks Patrick for letting it me try again. But this option is only available on newer machines. (I can&#8217;t find it on rhel 5/6)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2012/08/cron-issues-not-being-able-to-get-a-real-from-address/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to run your scripts more than once per minute?</title>
		<link>http://blog.bdesmet.be/2012/07/how-to-run-your-scripts-more-than-once-per-minute/</link>
		<comments>http://blog.bdesmet.be/2012/07/how-to-run-your-scripts-more-than-once-per-minute/#comments</comments>
		<pubDate>Mon, 23 Jul 2012 12:24:55 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[hackerspaces]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=664</guid>
		<description><![CDATA[For a client I needed to run a specific script every 10seconds. 24/24 and 7/7. A task I would normally perform with crons. But sadly enough, a cron can only be started once per minute. So I wrote a &#8216;runner&#8217; script. A script that starts the other script Things this script does: runs the child script 10s after the end [...]]]></description>
			<content:encoded><![CDATA[<p>For a client I needed to run a specific script every 10seconds. 24/24 and 7/7. A task I would normally perform with crons. But sadly enough, a cron can only be started once per minute. So I wrote a &#8216;runner&#8217; script. A script that starts the other script <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<span id="more-664"></span><br />
Things this script does:</p>
<ul>
<li>runs the child script 10s after the end of the previous try</li>
<li>sends an e-mail if stderr is returned</li>
<li>if the runner would stop, it will auto restart (due to a cronjob)</li>
<li>only one instance will run at the same time.</li>
</ul>
<pre class="wp-code-highlight prettyprint">
#!/bin/bash
sleep=10
if ! ps -p $(cat /path/to/runner.pid);
  then
    echo $$ &gt; /path/to/runner.pid
    while :
     do
        error=$(/path/to/script 2&gt;&amp;1 &gt;/dev/null)
        if [ -n &quot;$error&quot; ];
          then
            echo &quot;$error&quot; | mail -s &quot;&lt;subject&gt;&quot; &lt;to@mymailaddres.tld&gt; -- -f &lt;from@thisaddress.tld&gt;
        fi
        sleep $sleep
    done
fi
</pre>
<p>Of course you can choose the time to restart the script by editing the &#8216;sleep&#8217; value.<br />
In the cronfile I added the following line:</p>
<pre class="wp-code-highlight prettyprint">
*/30  * * * *  /path/to/runner 2&gt;&amp;1 &gt;/dev/null
</pre>
<p>This way the runner script can only be &#8216;offline&#8217; for 30min! Which is still acceptable.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2012/07/how-to-run-your-scripts-more-than-once-per-minute/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Numius wins a prestigious beacon award!</title>
		<link>http://blog.bdesmet.be/2012/03/numius-wins-a-prestigious-beacon-award/</link>
		<comments>http://blog.bdesmet.be/2012/03/numius-wins-a-prestigious-beacon-award/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 07:10:23 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[ICT-related]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=645</guid>
		<description><![CDATA[Numius, the company where I work is an important player when it comes to business intelligence in Belgium. Last year we decided to concentrate more on the cloud. We had a lot of in house knowledge already, so why not use it to build a good platform with IBM software and hardware? Early 2011 we decided to start with a [...]]]></description>
			<content:encoded><![CDATA[<p><a title="numius" href="http://numius.eu">Numius</a>, the company where I work is an important player when it comes to business intelligence in Belgium. Last year we decided to concentrate more on the cloud. We had a lot of in house knowledge already, so why not use it to build a good platform with IBM software and hardware?</p>
<p>Early 2011 we decided to start with a stack based on IBM Cognos, IBM DB2, SLES and IBM system X servers.</p>
<p>And we made the right call. As you can see on our website we already won <a href="http://www.numius.eu/about/awards">some prizes</a> with our cloud solution, but this one tops all our awards. This is like winning an Oscar. But then delivered by IBM. And they call it the &#8216;Beacon&#8217; awards. We won in the category of Cloud Application Provider.</p>
<p>I&#8217;m not only excited about this, but also I&#8217;m also proud that I work at a company where there is an atmosphere of winning. Of moving forward, of  doing the right thing.<br />
Interested in our Business Analytics platform based on IBM Cognos and IBM SPSS? check <a href="http://www.numius.eu/platformservices/platformservices_why ">what we can offer</a> you and request a <a href="http://www.numius.eu/platformservices/freetrial">free trial</a>!<br />
Interested in working for such a company? check our <a href="http://www.numius.eu/explore_numius/careers/opportunities">jobs page</a>!</p>
<p><a href="http://blog.bdesmet.be/wp-content/uploads/2012/03/numius-ibm.png"><img class="alignnone size-full wp-image-656" title="numius &amp; ibm" src="http://blog.bdesmet.be/wp-content/uploads/2012/03/numius-ibm.png" alt="" width="301" height="141" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2012/03/numius-wins-a-prestigious-beacon-award/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setting the screen resolution</title>
		<link>http://blog.bdesmet.be/2011/12/setting-the-screen-resolution/</link>
		<comments>http://blog.bdesmet.be/2011/12/setting-the-screen-resolution/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 10:48:07 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[ICT-related]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=640</guid>
		<description><![CDATA[I regularly use a screen that my fedora install doesn&#8217;t recognize. I mean, it can&#8217;t find the right resolution. And that&#8217;s annoying. Luckily there is xrandr to solve such problems. But always using 4 commands is rather annoying, so I made a small script for it. #!/bin/bash CVT=$(cvt $1 $2) if [ -n &#34;$3&#34; ] then DISPLAYNR=$3 else DISPLAYNR=&#34;VGA1&#34; fi [...]]]></description>
			<content:encoded><![CDATA[<p>I regularly use a screen that my fedora install doesn&#8217;t recognize. I mean, it can&#8217;t find the right resolution. And that&#8217;s annoying. Luckily there is xrandr to solve such problems. But always using 4 commands is rather annoying, so I made a small script for it.<br />
<span id="more-640"></span></p>
<pre class="wp-code-highlight prettyprint">
#!/bin/bash
CVT=$(cvt $1 $2)
if [ -n &quot;$3&quot; ]
then
    DISPLAYNR=$3
else
    DISPLAYNR=&quot;VGA1&quot;
fi
xrandr --newmode ${CVT:78}
xrandr --addmode $DISPLAYNR ${CVT:78:17}
xrandr --output $DISPLAYNR --mode ${CVT:78:17}
</pre>
<p>Just put this code in a file, and make it executable (chmod +x [[file]]). Then run it like this (if the filename is &#8216;screenreso&#8217;):</p>
<p># ./screenreso 1920 1200 VGA1</p>
<p>where &#8216;VGA1&#8242; is optionally, the script defaults to VGA1 <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2011/12/setting-the-screen-resolution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fosdem 2012</title>
		<link>http://blog.bdesmet.be/2011/12/fosdem-2012/</link>
		<comments>http://blog.bdesmet.be/2011/12/fosdem-2012/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 19:09:52 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=638</guid>
		<description><![CDATA[Fosdem 2012 is coming near, in a big month probably the biggest open source event in Europe will start again! And as always, Fedora people will visit fosdem with great quantities. So I&#8217;m putting a lot of effort in making this the best Fosdem for Fedora people ever. I hear you thinking, how can this event become even better? Well, [...]]]></description>
			<content:encoded><![CDATA[<p>Fosdem 2012 is coming near, in a big month probably the biggest open source event in Europe will start again!</p>
<p>And as always, Fedora people will visit fosdem with great quantities. So I&#8217;m putting a lot of effort in making this the best Fosdem for Fedora people ever. I hear you thinking, how can this event become even better? Well, I try to provide activities for Fedora people every evening.</p>
<p>An overview:</p>
<ul>
<li>friday: Fad, dinner, beer event</li>
<li>Saturday evening: Tour through Brussels</li>
<li>Sunday evening: Super Bowl game @ fatboys (sadly, only 10 people can join)</li>
</ul>
<p>If you are planning to come, be sure to check the <a href="https://fedoraproject.org/wiki/FOSDEM_2012">Fedora wiki</a> , and the <a href="http://fosdem.org">Fosdem</a> website.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2011/12/fosdem-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>things to think about.</title>
		<link>http://blog.bdesmet.be/2011/10/things_to_think_about/</link>
		<comments>http://blog.bdesmet.be/2011/10/things_to_think_about/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 17:32:27 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[cool stuff]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=621</guid>
		<description><![CDATA[Feedback is the breakfast of a champion. Do you what a kitten needs to catch a mouse? Cheese? I hear you thinking. No, the cat has to be hungry. She needs the will to win. Sometimes the cat will win. And get a delicious meal. Sometimes she will loose. But does she gives up? I hope not, she would die [...]]]></description>
			<content:encoded><![CDATA[<p>Feedback is the breakfast of a champion.</p>
<p>Do you what a kitten needs to catch a mouse?<br />
Cheese? I hear you thinking. No, the cat has to be hungry. She needs the will to win.<br />
Sometimes the cat will win. And get a delicious meal. Sometimes she will loose. But does she gives up? I hope not, she would die from starvation..<br />
<img class="alignnone" title="cat and mouse" src="http://farm6.static.flickr.com/5010/5262922539_bbcf1e2673.jpg" alt="" width="500" height="386" /><br />
Feedback is the breakfast of a champion.<br />
But we&#8217;re scared. Scared of not getting accepted. We don&#8217;t dare to give feedback. Because we are scared they won&#8217;t accept our comments.<br />
The irony is that most complaints are due to the fact that we don&#8217;t dare to say things. Important things. The truth.<br />
We should all learn to communicate more. Getting the truth out there is a service point.</p>
<p>But we&#8217;re scared. In a conversation we will change our personality so the other person(s) would accept us. It&#8217;s a thing we like to call empathy.<br />
Sometimes we need to talk to another person in a correcting way. When that happens we don&#8217;t always seek acceptation. But you can say it in a way both persons become a better person out of it. When it happens to you, accept it. Deal with it. Evolve.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&gt;<br />
0                                                     10<br />
Popular                                       Respect<br />
Emphatic                                Own Identity<br />
Moving towards 10 is a positive evolution. But do mind the situation, sometimes it&#8217;s better to act &#8216;popular&#8217;. &#8220;Conceptual Intelligence&#8221; is important.</p>
<p>Where are you on the axis?</p>
<p>In a relation with other people or companies sometimes problems occur. That&#8217;s normal. If it only happens once in a while, there is no real problem. But when it becomes a structural problem, act! Remember what you already did for them. And tell them. Be aware of the &#8216;take it for granted&#8217;-syndrome.</p>
<p>If you ever get the question from someone who wants you to do something, while you told him you weren&#8217;t going to do anything this week(end), maybe you should do it anyway. Just this once. Of course not all the time. But this once, why not? Tell him / her this is an exception, and he / she should be happy you are doing it anyway. Next time he/she asks something, tell them all the things you already done for him. And don&#8217;t be afraid to keep on repeating it. You&#8217;ve done it to help them. They should be happy about it. And you should get respect.</p>
<p>These are emphatic people: they<br />
* ask questions<br />
* listen<br />
* show mercy<br />
* have a good memory, and remember details<br />
* have intuition</p>
<p>These are projective people: they<br />
* stand out of most people<br />
* are leaders</p>
<p>You should be projective when people are in doubt. Be firm when you want to get something done (by others).<br />
Start with a global intention. Only when they are really interested and promise things you can offer them discounts or other benefits. People tend to like a little mystery. Tell them you can still fine tune your offer when they act fast. But don&#8217;t show them your offer in detail till they decided. It can only ruin things. We should all watch things a little longer from a distance before we close in.</p>
<p>Remember, those who are nice go to heaven. Those who aren&#8217;t get everywhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2011/10/things_to_think_about/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>fudcon emea 2011</title>
		<link>http://blog.bdesmet.be/2011/10/fudcon-emea-2011/</link>
		<comments>http://blog.bdesmet.be/2011/10/fudcon-emea-2011/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 21:30:36 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=616</guid>
		<description><![CDATA[If you follow me on twitter, you probably already knew I was in Italy last weekend. Milan to be exact. I think this was my first FUDcon where I didn&#8217;t give a talk &#8211; hacksession myself. Luckily there were enough other sessions happening so I wouldn&#8217;t get bored. At the moment I&#8217;m in a plane flying to Zurich, where I [...]]]></description>
			<content:encoded><![CDATA[<p>If you follow me on twitter, you probably already knew I was in Italy last weekend. Milan to be exact. I think this was my first FUDcon where I didn&#8217;t give a talk &#8211; hacksession myself. Luckily there were enough other sessions happening so I wouldn&#8217;t get bored.<br />
At the moment I&#8217;m in a plane flying to Zurich, where I have to take another plane to Brussels. The thing I love about swiss air is that you always get a chocolate during the flight. And yes, Swiss chocolate is known all over the world for it&#8217;s great taste.</p>
<p>I arrived in Milan on Friday. In Zurich someone came to me with the question if I was going to FUDcon too. It&#8217;s always nice to get to know new people and to talk to people with the samen interests. I was a bit confused because I thought there would already be something happening that day. Conference wise I mean. So we tried to figure out how to get in the hotel. After asking a couple of time the directions, and take a detour of some kilometers -*G*, Italians <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  &#8211; we finally found the hoteel where we found some people already worried. After getting refreshed we went to a coctailbar with quite a special &#8211; but succesful &#8211; business model. All drinks cost 10euro, even a cola, but the food was free. Of course most people bought more than one coctail, which made it an expensive meal. I guess you could say their business model is working <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . I went back to the hotel with John and his daughter, and hit the hay around 11pm. I didn&#8217;t know it yet, but it would become a night without a lot of sleep.</p>
<p>On Saturday I went to the breakfast room around 8am, where I met up with some other early birds. After havind a nice meal -but nothing special- we went by group to the venue. I was really surprised about what buildings I saw. I almost got the impression that Italy is a former communistic country. Some italians told me that it was the fault of our good friend Berlusconi. They claimed progress stopped some 20years ago. not long after Berlusconi became the president. Still, I don&#8217;t think I have ever seen such buildings &#8211; not even old buildings &#8211; in other western countries I already visited. Anyway, I was in Milan to attend FUDcon, not for sight seing. When we arrived at the venue we were welcomed by a whole team of young people providing us with a nicely made flyer, a badge and a T shirt. My only remark is that we started an hour late. And there was no &#8216;state of the union&#8217; talk either. Despite those 2 little things, I really had a good day filled with well prepared talks. And I resolved a problem with my Fedora install -which was already latent for some months- together with some of the Brno Red Hat guys.<br />
In the evening FUDcon happened. The pizza place we went to was like Pizza Hut, but then with pizza. And with beer glasses of 1 liter. I thought the pizza was pretty good &#8211; although I already had better. The real Italians thought it was really bad. I guess it&#8217;s all about perception. What i did see was some weird toppings. I mean, french fries on a pizza? What were they thinking?</p>
<p>Sunday, the last day of FUDcon, and the last day I was in italy there was a day of hacking. I had the impression a lot of people didn&#8217;t show up this last day. I guess sight seeing is somewhat more interesting. I know Kanarip did some good things with BKchem, and we had a good discussion with the Ambassador people where we disussed some of the troubles were having, with the possible solutions. Just like the day before we got a free lunch which was pretty nice.<br />
Around 3.30pm I went to the subway, on my way to the central station. From there I had to take make a train ride from about 40minutes to the airport. Luckily I already checked in via the internet, else I would have missed the plane I think. Now I&#8217;m flying over the Alps, enjoying the view and writing this blog post.</p>
<p>cheers!</p>
<p>[edit]<br />
After I landed in Brussels, I was totally happy. I helped some people out. I wanted to be home. but then, oh, then.. I came in Brussels South station, and almost all trains were delayed.also, the people behind me are making noise. to much noise. arch..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2011/10/fudcon-emea-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to unmount busy devices</title>
		<link>http://blog.bdesmet.be/2011/09/how-to-unmount-busy-devices/</link>
		<comments>http://blog.bdesmet.be/2011/09/how-to-unmount-busy-devices/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 11:16:20 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=610</guid>
		<description><![CDATA[this is one I always forget. So I&#8217;ll write it down for myself There are 2 ways to unmount a device when it&#8217;s busy. 1. the clean way: # fuser -m /media/attached /media/attached/:        1249c ps auxw &#124; grep 1249 bert      1249  0.2  0.3 1052124 30760 ?       Sl   Sep18   2:19 python /usr/bin/revelation revelation is what is keeping you away from unmounting [...]]]></description>
			<content:encoded><![CDATA[<p>this is one I always forget. So I&#8217;ll write it down for myself <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>There are 2 ways to unmount a device when it&#8217;s busy.<br />
<span id="more-610"></span><br />
1. the clean way:</p>
<pre class="wp-code-highlight prettyprint">
# fuser -m /media/attached
/media/attached/:        1249c

ps auxw | grep 1249
bert      1249  0.2  0.3 1052124 30760 ?       Sl   Sep18   2:19 python /usr/bin/revelation
</pre>
<p>revelation is what is keeping you away from unmounting the drive. just kill it <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>2. the not so clean way</p>
<p>there is another easier way, which basicly just ditches the drive and then takes care of the problems afterwards.</p>
<pre class="wp-code-highlight prettyprint">
umount -l /dev/sdc1
</pre>
<p>cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2011/09/how-to-unmount-busy-devices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>one would almost think I collect Red Hat swag.</title>
		<link>http://blog.bdesmet.be/2011/04/one-would-almost-think-i-collect-red-hat-swag/</link>
		<comments>http://blog.bdesmet.be/2011/04/one-would-almost-think-i-collect-red-hat-swag/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 15:56:38 +0000</pubDate>
		<dc:creator>Bert</dc:creator>
				<category><![CDATA[cool stuff]]></category>
		<category><![CDATA[ICT-related]]></category>

		<guid isPermaLink="false">http://blog.bdesmet.be/?p=605</guid>
		<description><![CDATA[or not? but I want more o.0]]></description>
			<content:encoded><![CDATA[<p>or not?</p>
<p><a href="http://blog.bdesmet.be/wp-content/uploads/2011/04/20110418_001.jpg"><img class="alignnone size-full wp-image-608" title="20110418_001" src="http://blog.bdesmet.be/wp-content/uploads/2011/04/20110418_001.jpg" alt="red hat swag" width="590" height="442" /></a></p>
<p>but I want more o.0 <img src='http://blog.bdesmet.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bdesmet.be/2011/04/one-would-almost-think-i-collect-red-hat-swag/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
