<?xml version="1.0" encoding="ISO-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-US">
	<title>Christian Ribeaud&amp;#039;s Weblog</title>
	<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php" />
	<modified>2012-02-05T00:17:11Z</modified>
	<author>
		<name>Christian Ribeaud</name>
	</author>
	<copyright>Copyright 2012, Christian Ribeaud</copyright>
	<generator url="http://www.sourceforge.net/projects/sphpblog" version="0.4.8">SPHPBLOG</generator>
	<entry>
		<title>Bravo!</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100619-211328" />
		<content type="text/html" mode="escaped"><![CDATA[B-R-A-V-O, nom d&#039;une pipe!<br /><br />&gt; <a href="http://www.juso.ch/de/node/1271" target="_blank" >Auftrag ausgeführt</a><br /><br />Il y a des jours où la priorité aux intérêts suisses, le respect envers l&#039;autre et la timidité helvétique en politique m&#039;exaspèrent aussi. On peut bosser pour les banques, cela ne veut pas dire que l&#039;on doit tout accepter.]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100619-211328</id>
		<issued>2010-06-19T00:00:00Z</issued>
		<modified>2010-06-19T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Facade Mix</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100406-224238" />
		<content type="text/html" mode="escaped"><![CDATA[With tracks from Audision, Trentemøller, Frankie Knuckles, Tensnake, Eric Kupper, Sascha Funke, Kenny &#039;Jammin&#039; Jason, Zoot Woman, Andre Lodemann, Cesar Merveille / Pablo Cahn Speyer, Antena, Argy, Art Of Tones, Booka Shade, Daniele Papini, Stimming &amp; Einmusik, Gregor Tresher and Télépopmusik.<br /><br /><p id="audioplayer_1">Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW" title="Download Adobe Flash Player">here</a>. You also need to have JavaScript enabled in your browser.</p>  
<script type="text/javascript">  
AudioPlayer.embed("audioplayer_1", {soundFile: "http://www.ribose.ch/files/facade.mp3"});  
</script>
<br /><br />For more mixes, kindly have a look <a href="http://www.ribose.ch/itunes.php" target="_blank" >here</a>.]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100406-224238</id>
		<issued>2010-04-06T00:00:00Z</issued>
		<modified>2010-04-06T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Peer-to-Peer-Kredite</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100405-094405" />
		<content type="text/html" mode="escaped"><![CDATA[Privatpersonen verleihen Geld an Privatpersonen: seit der Finanzkrise sind <a href="http://de.wikipedia.org/wiki/Peer-to-Peer-Kredit" target="_blank" >Peer-to-Peer-Kredite</a> eine echte Alternative zum Grossbankensystem.<br /><br />Ein Konzept von dem ich nichts wusste, und, meiner Meinung nach, interessant klingt. Darüber gibt es einen auführlichen Bericht in der April Ausgabe von der <a href="http://www.neon.de/" target="_blank" >NEON</a> Magazin.<br /><br />Zwei Beispiele werden erwähnt: <a href="http://www.smava.de/" target="_blank" >smava</a> und <a href="http://www.noabank.com/" target="_blank" >noabank</a>.]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100405-094405</id>
		<issued>2010-04-05T00:00:00Z</issued>
		<modified>2010-04-05T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Do you business, do art</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100325-101726" />
		<content type="text/html" mode="escaped"><![CDATA[An small application that turns mouse movements into a modern art: <a href="http://iographica.com/" target="_blank" >IOGraph</a>. Seems to be available for Mac users only.]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100325-101726</id>
		<issued>2010-03-25T00:00:00Z</issued>
		<modified>2010-03-25T00:00:00Z</modified>
	</entry>
	<entry>
		<title>What is a DJ?</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100325-083511" />
		<content type="text/html" mode="escaped"><![CDATA[Aus der letzten <a href="http://de-bug.de/" target="_blank" >DE:BUG</a> Ausgabe:<br /><blockquote>Es ist eine Illusion davon auszugehen, dass sich der Job des DJs fundamental geändert hat, nur weil er kein Vinyl mehr spielt. Die wahre Aufgabe eines DJs ist es, sich all die Musik, die es da draussen gibt, anzuhören und die fünf Prozent herauszusuchen, die wirklich gut sind. Er ist ein Filter für gute Musik. [...] Die Fähigkeit eines DJs liegt darin zu entscheiden, welche Platten er wann und in welcher Reihenfolge spielt. Das Publikum zu lesen und mit ihm in einen Dialog zu treten. [...] Die Art der Präsentation ist dafür nicht so wichtig.</blockquote>]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100325-083511</id>
		<issued>2010-03-25T00:00:00Z</issued>
		<modified>2010-03-25T00:00:00Z</modified>
	</entry>
	<entry>
		<title>The right bank</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100302-085357" />
		<content type="text/html" mode="escaped"><![CDATA[It is a fact: nowadays banks, especially big banks, does not have a good image. To check whether you are at the right bank: <a href="http://www.banksecrets.eu/" target="_blank" >banksecrets.eu</a> or <a href="http://www.banktrack.org/" target="_blank" >banktrack.org</a>.<br /><br />Ouf, I am relieved for now. I did not spot anything that would cause a problem to my conscience. We are at <a href="http://www.bkb.ch" target="_blank" >bkb</a>. But I am also aware that the banking world is very opaque... ]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100302-085357</id>
		<issued>2010-03-02T00:00:00Z</issued>
		<modified>2010-03-02T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Embedding Artwork in MP3 Files</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100220-094845" />
		<content type="text/html" mode="escaped"><![CDATA[While <b>MP3</b> files were not originally intended to store additional metadata  within them, the release of the <b>ID3</b> tag protocol in 1996 suddenly made this a possibility. However, it wasn’t until version 2 of the protocol became available that <b>MP3</b> files could actually contain embedded album art.<br /><br />To embed an album cover to a <b>MP3</b>, you will need following tools from <a href="http://www.macports.org/" >MacPorts</a>:<br /><ul>
<li><b>eyeD3</b> (<i>sudo port install py26-eyed3</i>)</li>
<li><b>id3v2</b> (<i>sudo port install id3v2</i>)</li>
</ul>Following script should simplify your life:<br /><pre><br />#!/bin/bash<br /><br /># ${0##*/}: Removes everything up to the first forward slash in<br /># the command name.<br />usage() {<br />  echo &quot;Usage: ${0##*/} &lt;img&gt; &lt;mp3&gt;&quot; &gt;&amp;2<br />}<br />if [ $# -ne 2 ]<br />then<br />  usage<br />  exit 1<br />fi<br />IMG=$1<br />MP3=$2<br />COVER=cover.png<br />convert -quality 90 -geometry 300x300 &quot;$IMG&quot; $COVER<br />if [ -e $COVER ]<br />then<br />  # eyeD3 --list-image-types for available image types for --add-image<br />  eyeD3 --add-image=$COVER:FRONT_COVER &quot;$MP3&quot; &gt;/dev/null 2&gt;&amp;1<br />  rm -f $COVER<br />else<br />  echo &quot;Converting &#039;$IMG&#039; to &#039;$COVER&#039; failed.&quot;<br />  exit 1<br />fi<br /># Check whether the APIC frame has been set (cover image has been added).<br />HAS_APIC=`id3v2 -l $MP3 | grep APIC` <br />if [ -n &quot;$HAS_APIC&quot; ]<br />then<br />  echo &quot;Cover image has been successfully added to &#039;$MP3&#039;.&quot;<br />else<br />  echo &quot;Adding cover image to &#039;$MP3&#039; failed.&quot;<br />fi</pre>]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100220-094845</id>
		<issued>2010-02-20T00:00:00Z</issued>
		<modified>2010-02-20T00:00:00Z</modified>
	</entry>
	<entry>
		<title>How to add chapters to your podcast</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100208-091237" />
		<content type="text/html" mode="escaped"><![CDATA[<img src="images/chapters.jpg" width="478" height="85" border="0" alt="" /><br /><br />Recently I started to podcast some of my mixes (see <a href="http://www.ribose.ch/podcast.xml" target="_blank" >DJ Ribose Podcast</a> if you are interested). A podcast is actually just an audio file. But, like for a CD, I wanted to display the tracklist while the podcast is playing. I have already seen this and asked myself how they achieve that. The answer is <b>Chapters</b>. <a href="http://www.ehow.com/how_4937125_add-chapters-podcast.html" target="_blank" >Here</a> you can find a tutorial for adding chapters to your podcast. Unfortunately this only seems doable with <i>GarageBand</i>.]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100208-091237</id>
		<issued>2010-02-08T00:00:00Z</issued>
		<modified>2010-02-08T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Recursively copying a directory with hard links</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100125-115225" />
		<content type="text/html" mode="escaped"><![CDATA[The <i>GNU</i> version of <b>cp</b> (called <b>gcp</b>) has an interesting option: <b>-l</b>.<br /><br />Instead of copying files it will link them using <a href="http://en.wikipedia.org/wiki/Hard_link" >hard links</a>.<br /><br />This is very handy if you want to recursively copy a given directories structure without duplicating all the files. <b>gcp</b> can be installed via <a href="http://www.macports.org/" >MacPorts</a>:<br /><br /><code>sudo port install coreutils</code>.]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100125-115225</id>
		<issued>2010-01-25T00:00:00Z</issued>
		<modified>2010-01-25T00:00:00Z</modified>
	</entry>
	<entry>
		<title>java.util.ServiceLoader</title>
		<link rel="alternate" type="text/html" href="http://www.ribeaud.ch/sblog/index.php?entry=entry100112-095612" />
		<content type="text/html" mode="escaped"><![CDATA[There are a lot of dependency injection frameworks out there. What you may not know is that there is a very simple yet useful one built into the <i>JDK</i>. And it&#039;s type-safe.<br /><br /><i>JDK 6</i> introduces <a href="http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html" >ServiceLoader</a>. <b>ServiceLoader</b> loads things based on flat files in the directory <i>META-INF/services</i> from the Java classpath.<br /><br />Without going down the <i>OSGi</i> rabbit hole this is a simple solution which probably provides 90% of what people currently want. The API has been around since <i>JDK 1.3</i> but mostly by internal components, <i>JDK 6</i> promotes the API and makes it extremely easy to use with a minimal set of requirements.]]></content>
		<id>http://www.ribeaud.ch/sblog/index.php?entry=entry100112-095612</id>
		<issued>2010-01-12T00:00:00Z</issued>
		<modified>2010-01-12T00:00:00Z</modified>
	</entry>
</feed>

