<?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>Binary Static</title>
	<atom:link href="http://binarystatic.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://binarystatic.wordpress.com</link>
	<description>A dilettante&#039;s findings in the realm of bits</description>
	<lastBuildDate>Sun, 25 Dec 2011 00:46:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='binarystatic.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Binary Static</title>
		<link>http://binarystatic.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://binarystatic.wordpress.com/osd.xml" title="Binary Static" />
	<atom:link rel='hub' href='http://binarystatic.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Interleaving two PDF files&#8230;</title>
		<link>http://binarystatic.wordpress.com/2010/10/17/interleaving-two-pdf-files/</link>
		<comments>http://binarystatic.wordpress.com/2010/10/17/interleaving-two-pdf-files/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 20:35:41 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=290</guid>
		<description><![CDATA[&#8230;with no scripting required.  You&#8217;ll need the pdftk package though.  Say you got a PDF file that has a two-sided layout and you want to trim the pages.  You could do this with pdfnup &#8212; however, your file may cut off from the even pages what it adds to the odd ones.  What now?  The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=290&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openclipart.org/"><img class="alignleft" style="border:0 none;margin:20px;" title="Lightbulb" src="http://www.openclipart.org/image/800px/svg_to_png/yves_guillou_idea.png" alt="Lightbulb" width="163" height="230" /></a>&#8230;with no scripting required.  You&#8217;ll need the <span style="font-family:courier new,courier;">pdftk</span> package though.  Say you got a PDF file that has a two-sided layout and you want to trim the pages.  You could do this with <span style="font-family:courier new,courier;">pdfnup</span> &#8212; however, your file may cut off from the even pages what it adds to the odd ones.  What now?  The solution is simple:</p>
<p>1. Use <span style="font-family:courier new,courier;">pdftk</span> to split the file in even and odd pages seperately:</p>
<p><code>pdftk in.pdf cat 1-endeven output out.even.pdf<br />
pdftk in.pdf cat 1-endodd output out.odd.pdf</code></p>
<p>2. Now would be the time to apply some <span style="font-family:courier new,courier;">pdfnup</span> trimming magic to the two new files.</p>
<p>3. Use <span style="font-family:courier new,courier;">pdftk</span> to burst these two files into single pages:</p>
<p><code>pdftk out.odd.pdf burst output %04d_A.pdf<br />
pdftk out.even.pdf burst output %04d_B.pdf</code></p>
<p>4. Use <span style="font-family:comic sans ms,sans-serif;">pdftk</span> to merge the pages back into one file, e.g.:</p>
<p><code>pdftk *.pdf cat output out.pdf</code></p>
<p>The important point here lies in step 3 when appending A or B to the odd and even page file names, because this allows glob sorting the pages like <span style="font-family:courier new,courier;">0001_A.pdf 0001_B.pdf 0002_A.pdf 0002_B.pdf</span> and so on.  I can&#8217;t believe I started to write a script before I realized how to solve this the simple way&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/290/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=290&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2010/10/17/interleaving-two-pdf-files/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="http://www.openclipart.org/image/800px/svg_to_png/yves_guillou_idea.png" medium="image">
			<media:title type="html">Lightbulb</media:title>
		</media:content>
	</item>
		<item>
		<title>Make the TrackPoint play nice with Fedora 13</title>
		<link>http://binarystatic.wordpress.com/2010/05/28/make-the-trackpoint-play-nice-with-fedora-13/</link>
		<comments>http://binarystatic.wordpress.com/2010/05/28/make-the-trackpoint-play-nice-with-fedora-13/#comments</comments>
		<pubDate>Fri, 28 May 2010 21:05:19 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Fedora13]]></category>
		<category><![CDATA[Goddard]]></category>
		<category><![CDATA[Thinkpad]]></category>
		<category><![CDATA[X200]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=265</guid>
		<description><![CDATA[Moving faster Speed and sensitivity defaults leave my Thinkpad&#8217;s trackpoint excruciatingly slow. So first thing is to create /etc/udev/rules.d/10-trackpoint.rules containing one line: SUBSYSTEM=="serio", DRIVERS=="psmouse", ATTR{speed}="220", ATTR{sensitivity}="190" Scrolling I also like to scroll with the help of the middle button. For this Fedora 13 now uses user config files for X like /etc/X11/xorg.conf.d/20-thinkpad.conf reading e.g.: Section "InputClass" [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=265&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Moving faster</strong><br />
Speed and sensitivity defaults leave my Thinkpad&#8217;s trackpoint excruciatingly slow. So first thing is to create <font size="2"><code>/etc/udev/rules.d/10-trackpoint.rules</code></font> containing one line:<br />
<font size="1"></p>
<pre>SUBSYSTEM=="serio", DRIVERS=="psmouse", ATTR{speed}="220", ATTR{sensitivity}="190"</pre>
<p></font></p>
<p><strong>Scrolling</strong><br />
I also like to scroll with the help of the middle button. For this Fedora 13 now uses user config files for X like <font size="2"><code>/etc/X11/xorg.conf.d/20-thinkpad.conf</code></font> reading e.g.:<br />
<font size="1"></p>
<pre>Section "InputClass"
    Identifier      "Trackpoint Wheel Emulation"
    MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
    MatchDevicePath "/dev/input/event*"
    Option	    "EmulateWheel"       "true"
    Option	    "EmulateWheelButton" "2"
    Option	    "Emulate3Buttons"    "false"
    Option	    "XAxisMapping"       "6 7"
    Option	    "YAxisMapping"       "4 5"
EndSection</pre>
<p></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=265&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2010/05/28/make-the-trackpoint-play-nice-with-fedora-13/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>Smooth Transition to Goddard</title>
		<link>http://binarystatic.wordpress.com/2010/05/27/smooth-transition-to-goddard/</link>
		<comments>http://binarystatic.wordpress.com/2010/05/27/smooth-transition-to-goddard/#comments</comments>
		<pubDate>Thu, 27 May 2010 09:41:37 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Fedora13]]></category>
		<category><![CDATA[Goddard]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Thinkpad]]></category>
		<category><![CDATA[X200]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=260</guid>
		<description><![CDATA[Yesterday, I upgraded my main system to Fedora 13.  Coming from the excellent Fedora 12, this was a smooth transisition indeed.  Everything&#8217;s working fine, the whole operation took less than two hours (4 min to install the new system from a pen drive, ca. 90 min to reinstall my package collection, including 2 GB downloads). [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=260&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://binarystatic.files.wordpress.com/2010/05/200px-fedora_logo-svg.png"><img class="alignleft size-thumbnail wp-image-259" title="200px-Fedora_logo.svg" src="http://binarystatic.files.wordpress.com/2010/05/200px-fedora_logo-svg.png?w=150&#038;h=150" alt="Fedora Logo" width="150" height="150" /></a>Yesterday, I upgraded my main system to Fedora 13.  Coming from the excellent Fedora 12, this was a smooth transisition indeed.  Everything&#8217;s working fine, the whole operation took less than two hours (4 min to install the new system from a pen drive, ca. 90 min to reinstall my package collection, including 2 GB downloads).  I was expecially impressed with the new auto-installing language packages, which gave me a localized desktop from the first login.   As exepected, on my Thinkpad X200 everything worked right out of the box.  No horrible Macification surprises either.  Thank you very much, Fedora team!  Keep up the great work!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=260&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2010/05/27/smooth-transition-to-goddard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="http://binarystatic.files.wordpress.com/2010/05/200px-fedora_logo-svg.png?w=150" medium="image">
			<media:title type="html">200px-Fedora_logo.svg</media:title>
		</media:content>
	</item>
		<item>
		<title>My Linux Video Toolchain</title>
		<link>http://binarystatic.wordpress.com/2010/05/15/my-perfect-linux-digital-audiovideo-toolchain/</link>
		<comments>http://binarystatic.wordpress.com/2010/05/15/my-perfect-linux-digital-audiovideo-toolchain/#comments</comments>
		<pubDate>Sat, 15 May 2010 13:45:37 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Multimedia]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=235</guid>
		<description><![CDATA[Ok, not perfect. But here are some notes about my way so far&#8230; Concept You&#8217;ll want to compress the video &#38; audio streams and wrap them in a flexible container, which should be capable of holding additional information like chapter markers and titles, audio subtitles, cover images, and archive information tags. For now, my choice [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=235&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok, not perfect. But here are some notes about my way so far&#8230;</p>
<p><em><strong>Concept</strong></em> You&#8217;ll want to compress the video &amp; audio streams and wrap them in a flexible container, which should be capable of holding additional information like chapter markers and titles, audio subtitles, cover images, and archive information tags. For now, my choice is to encode the video with the H.264/AVC codec and use AAC for audio. Ideally, I would like to add subtitles as text in SubRip&#8217;s srt-Format. All this gets wrapped up in a Matroska stream container, which holds the meta information as well.</p>
<p><em><strong>Backup</strong></em> So you got a DVD with some family videos from your last birthday and you want to back up the contents on your hard drive? First thing you do, is to copy everything as is &#8212; which may take a lot of disk space (up to 8 GB). I had good results with this simple tool:</p>
<blockquote><p><code>dvdcpy -s skip -m -o My_Birthday /dev/sr0</code></p></blockquote>
<p>After some time, you&#8217;ll find the DVD directory structure copied in your present working directory. With Fedora this handy gem comes in the <code>ogmrip</code> package.</p>
<p><em><strong>Compression</strong></em> Next comes the crucial part: compressing the raw data into something usable.  After trying different options, I now rely on <a title="HandBrake Project Site" href="http://handbrake.fr/" target="_self">HandBrake</a> for this, which in turn builds on the <a title="x264 Project Site" href="http://www.videolan.org/developers/x264.html" target="_self">x264</a> library. Handbrake saves the streams directly into a Matroska container, allows editing chapter titles and adding extra subtitles from external files.  It works very fast and comes with reasonable default options.  Usually I stick with the Regular/Normal preset, just kicking out superfluous tracks and downmixing the audio to AAC 128bit Stereo.   I let Handbrake figure out the video quality by setting the target size to 700 MB, which in most cases results in slightly degraded but more than watchable video quality around 1000 kbps.  As I&#8217;m only interested in SD video quality, I usually choose a 624px-width based resolution.  You might want to consult this detailed <a title="video conversion table" href="http://lipas.uwasa.fi/~f76998/video/conversion/#conversion_table">video conversion table</a>.</p>
<p><em><strong>Subtitles</strong></em> I would prefer to store subtitle data efficiently as text, i.e. using <a title="SubRip Project Site" href="http://zuggy.wz.cz/">SubRip</a>&#8216;s srt format (while more advanced xml-based formats seem to lack acceptance). HandBrake does not mess with OCR (which is excusable), it extracts subtitles as bitmaps in VobSub format.  The following command from the handy <a title="MKVToolnix Project Site" href="http://www.bunkus.org/videotools/mkvtoolnix/" target="_blank">MKVToolnix</a> package extracts from the mkv container the bitmaps and sync information in two files (*.vob and *.idx):</p>
<blockquote><p><code>mkvextract tracks My_Birthday.mkv 3:subtitles.vob</code></p></blockquote>
<p>These subtitles need to be scanned and ocr&#8217;ed: the best way to do this is <a title="Avidemux Project Site" href="http://avidemux.berlios.de/index.html">Avidemux</a>. Simpy hit &#8220;Tools &gt; OCR(VobSub -&gt; SRT)&#8221; and follow the instructions &#8211; be prepared though to invest some time helping with character recognition.  Don&#8217;t forget to check the spelling in the resulting SRT file.</p>
<p><em><strong>Re-Muxing</strong></em> Handbrake leaves us with a usable Matroska container, however we&#8217;d like to replace subtitles and add some additional data for archiving purposes: at least a cover image and descriptive tags. The <a title="MKVToolnix Project Site" href="http://www.bunkus.org/videotools/mkvtoolnix/" target="_blank">MKVToolnix</a> package mentioned above provides the excellent mkvmerge utility featuring a graphical interface. With mkvmerge we remove the VobSub tracks and add our new SRT file as a subtitle track. You might also want to attach a file <code>cover.jpg</code> to the container. It will show up as the container&#8217;s thumbnail preview in a recent file browser. Moreover, we&#8217;d like to add some descriptive tags as suggested by the <a href="http://www.matroska.org/technical/specs/tagging/index.html">Matroska specification</a>. However, I haven&#8217;t yet been able to find any player support for this feature. Anyway, for the tag file, you may use <a href="http://drop.io/matroska_video_tags_template">this template</a>. Then merge the xml file into the container with mkvmerge (under the &#8220;global&#8221; tab for global tags).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=235&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2010/05/15/my-perfect-linux-digital-audiovideo-toolchain/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Convert Git Log to ChangeLog</title>
		<link>http://binarystatic.wordpress.com/2010/02/18/how-to-convert-git-log-to-changelog/</link>
		<comments>http://binarystatic.wordpress.com/2010/02/18/how-to-convert-git-log-to-changelog/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 12:49:18 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[autotools]]></category>
		<category><![CDATA[changelog]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=211</guid>
		<description><![CDATA[This is quite a useless endeavor, of course.  Since every fork from Git contains the whole change history, GNU-style ChangeLogs are pretty obsolete.  However, if you want to distribute your source files in a traditional tarball, you might want to add a ChangeLog file &#8211; and you might want it to look like the ones [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=211&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://openiconlibrary.sourceforge.net/"><img class="alignleft size-full wp-image-220" title="Git Logo" src="http://binarystatic.files.wordpress.com/2010/02/200px-git_icon-svg.png?w=720" alt="Git Logo"   /></a></p>
<p>This is quite a useless endeavor, of course.  Since every fork from Git contains the whole change history, GNU-style ChangeLogs are pretty obsolete.  However, if you want to distribute your source files in a traditional tarball, you might want to add a ChangeLog file &#8211; and you might want it to look like the ones in the <a href="http://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html#Style-of-Change-Logs" target="_blank">GNU coding standard</a>.  This is where my shell script comes in, which I wrote yesterday while doing some serious procrastination:</p>
<pre><code>
#!/bin/sh
# Convert git log to GNU-style ChangeLog file.
# (C) Chris
if test -d ".git"; then
    git log --date-order --date=short | \
    sed -e '/^commit.*$/d' | \
    awk '/^Author/ {sub(/\\$/,""); getline t; print $0 t; next}; 1' | \
    sed -e 's/^Author: //g' | \
    sed -e 's/&gt;Date:   \([0-9]*-[0-9]*-[0-9]*\)/&gt;\t\1/g' | \
    sed -e 's/^\(.*\) \(\)\t\(.*\)/\3    \1    \2/g' &gt; ChangeLog
    exit 0
else
    echo "No git repository present."
    exit 1
fi
</code></pre>
<p></p>
<p>This code goes conveniently in a Makefile template for Autotools, so you can create the ChangeLog on the fly, include it in the distribution tarball and have it unlinked afterwards.   Again, there&#8217;s no need to have a ChangeLog lie around with Git.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=211&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2010/02/18/how-to-convert-git-log-to-changelog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="http://binarystatic.files.wordpress.com/2010/02/200px-git_icon-svg.png" medium="image">
			<media:title type="html">Git Logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Apple&#8217;s iPad: finally turning the Internet into TV?</title>
		<link>http://binarystatic.wordpress.com/2010/02/01/apples-ipad-finally-turning-the-internet-into-tv/</link>
		<comments>http://binarystatic.wordpress.com/2010/02/01/apples-ipad-finally-turning-the-internet-into-tv/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 22:14:35 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=192</guid>
		<description><![CDATA[While Apple's products were once bought because they seemed technically superior over others, they are now bought by the middle classes because they are universally recognized status symbols.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=192&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://binarystatic.files.wordpress.com/2010/02/319px-apple_bitten-svg1.png"><img class="alignleft size-thumbnail wp-image-194" title="319px-Apple_bitten.svg" src="http://binarystatic.files.wordpress.com/2010/02/319px-apple_bitten-svg1.png?w=141&#038;h=150" alt="" width="141" height="150" /></a>What&#8217;s the impact of Apple&#8217;s new Uber-product, the iPad? There&#8217;s tons of discussion on the web, mostly focusing on the limited geek-appeal of the new device. It&#8217;s true, all these complaints tell us nothing about the still likely success of the iPad. But they show how fundamentally Apple has changed in the last decade. While Steve Jobs was still boasting his company&#8217;s reputation among creative customers on  <a title="iPad Release Event Video" href="http://events.apple.com.edgesuite.net/1001q3f8hhr/event/index.html" target="_blank">last week&#8217;s keynote</a>, it seems now more obvious than ever that Apple has become an appliance company targeting Joe Sixpack (and his Mom).  While Apple&#8217;s products were once bought because they seemed technically superior, they are now bought by the middle classes around the world because they are universally recognized <em>status symbols</em>.</p>
<p>Steve Jobs has essentially turned Apple into a global luxury electronics brand, much like Sony was in the 1980s.  This strategy may seem risky on first glance, since for creative elitists Apple products are more and more loosing their distinguishing appeal.  Using an Apple product is not so much saying &#8220;I&#8217;m better, I&#8217;m in&#8221; anymore, but rather &#8220;I can spend more money than you&#8221;. For Apple&#8217;s shareholders of course, this turn from underdog to market leader has very well paid out.</p>
<p>More remarkable are the side effects of this development.  As Jobs pointed out, Apple sees itself no longer as a cutting edge computer design house but as selling portable devices which function as internet outlets for all kinds of media stores. This means that, thanks to Apple, people don&#8217;t need to bother with a computer anymore when they want to enjoy the internet. To be sure, Apple always tried to build devices where the user could <em>feel as</em> without actually <em>being</em> a geek. Now that they are selling the iPad to the masses, we are looking at users whose everyday internet experience will mean <em>consumption</em>, not production.  Of course, the old powers, publishers, networks, labels will eventually embrace this concept, since it preserves a central role for the media, for the middle-man of communication.  Imagine a world where 90% of the people use their iPads to consume internet delivered media like they now use their TV sets to consume old media.  Since they are glued to their new sexy internet handsets, they won&#8217;t care about DRM or standards or whatever, they only want to read that article or watch that movie or see that picture, right now &#8220;that simple&#8221;.  What about learning the nuts and bolts of the internet, what about actually <em>participating</em> in a global, many-sided communication?  Forget it. The new iPad-style internet will belong to Rupert Murdoch and his media buddies. With the iPad Apple may reach the holy grail of internet monetization &#8211; with the web as collateral damage.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=192&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2010/02/01/apples-ipad-finally-turning-the-internet-into-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="http://binarystatic.files.wordpress.com/2010/02/319px-apple_bitten-svg1.png?w=141" medium="image">
			<media:title type="html">319px-Apple_bitten.svg</media:title>
		</media:content>
	</item>
		<item>
		<title>Launching OpenOffice faster</title>
		<link>http://binarystatic.wordpress.com/2010/01/19/launching-openoffice-faster/</link>
		<comments>http://binarystatic.wordpress.com/2010/01/19/launching-openoffice-faster/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 09:30:34 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[OpenOffice]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=189</guid>
		<description><![CDATA[I&#8217;m not a big fan of office suite software packages and try to avoid using them where I can.  Today I learned something that eased my pain with OpenOffice: you can launch it way faster.  How?  By turning off an option which triggers  a Java Runtime Environment (!) in the background: Extras &#62; Options &#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=189&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not a big fan of office suite software packages and try to avoid using them where I can.  Today I learned something that eased my pain with OpenOffice: you can launch it way faster.  How?  By turning off an option which triggers  a Java Runtime Environment (!) in the background: <em>Extras &gt; Options &gt; OpenOffice.org &gt; Java</em>.  In my opinion this option should be turned off by default, given that a majority of users won&#8217;t script Java macros on a regular basis anyway.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=189&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2010/01/19/launching-openoffice-faster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>How evil is Google really?</title>
		<link>http://binarystatic.wordpress.com/2009/12/09/how-evil-is-google-really/</link>
		<comments>http://binarystatic.wordpress.com/2009/12/09/how-evil-is-google-really/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 19:34:43 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[freedom]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=169</guid>
		<description><![CDATA[erman journalist Christian Ströker comments on an interview with Eric Schmidt and comes to the conclusion that Google wants it all. The big program, all of it, &#8220;world domination&#8221;. He sees an evil strategy behind Google&#8217;s innovations and acquisitions to abolish our &#8220;civil concept of privacy&#8221;. This is not quite the same as the &#8220;world [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=169&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Google Logo" src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/G.png/401px-G.png" alt="Google Logo" width="100" height="150" /><a href="http://www.spiegel.de/netzwelt/netzpolitik/0,1518,665813,00.html">erman journalist Christian Ströker comments</a> on an <a href="http://gawker.com/5419271/google-ceo-secrets-are-for-filthy-people">interview with Eric Schmidt</a> and comes to the conclusion that Google wants it all. The big program, all of it, &#8220;world domination&#8221;.  He sees an evil strategy behind Google&#8217;s innovations and acquisitions to abolish our &#8220;civil concept of privacy&#8221;.  This is not quite the same as the &#8220;world domination&#8221; mentioned in the headline, but whatever. Ströker&#8217;s proof: Schmidt advises us to refrain from activities we fear to get public.  Google chronicles all our web journeys plus social data and links them to semi-anonymized IPs.  Worse, Google tries to link these web characters to geographical locations (Google Latitude etc).  Wow, that&#8217;s bad shit, Mr. Ströker.</p>
<p>However Google is your least problem when surfing the web.  Your ISP and your mail provider know everything about you by default.  Any sys admin at any ISP can read every bit, and I mean <em>bit</em>, of your web traffic 24/7.  In Germany, the ISPs are even required by law to record your connections and log them with your <em>full</em> IP address for months.  And of course, they are to be given out to the authorities on request &#8211; that&#8217;s why they are to be collected in the first place.  Mail providers could easily read all your mails, including the ones with the user logins and passwords.  No matter what mail provider you use.</p>
<p>And what about Schmidt&#8217;s privacy statement?  Although people don&#8217;t seem to get it: everything you do online you do in a public place. And you always did, even before 1996.  So, as far as public places go: if you don&#8217;t want other people to see something, <em>where you don&#8217;t have much chances to hide it</em>, than you best don&#8217;t do it, <em>at least not in a public place</em>.  Which brings us to Ströker&#8217;s very misconception: the internet is not and never was a private place.  The moment you log on, you&#8217;re leaving your home and go out on (very crowded) street. There are of course tools which allow you to hide at least some things (everyone should use PGP in their private correspondence for that matter) &#8211; however, as long as some bits crawl some line it&#8217;s not that much different from walking on a public street.</p>
<p>Our real problem is not some alleged corporate conspiracy against privacy but political attempts to censor and govern the raw traffic at the heart of the consumer internet: the ISPs&#8217; servers.  If people want to give up their privacy to Google, that&#8217;s fine, or at least it&#8217;s their right to do so.  But this agreement has only two parties: them and Google.  There&#8217;s no place for governments in this.  Of course, Google might decide to cooperate with law enforcement agencies against their customers.  But again, this is nothing new, but something ISPs all over the world (have to) do on a daily basis.  The real problem is not Google, but third party access to your web traffic on behalf of the public good.  Consider the following analogy: if I decide to open all my private letters to some private corporation who promises me, say, lightning fast mailing service, then you need not like my decision, but it&#8217;s legitimate nevertheless.  Actually, this is what happened when people started to use private telegraphy services in the 19th century.  It happened again when people bought internet access from private ISPs. It is a complete different matter, though, when some third party, requires a copy of every letter sent over the wire.  Yet, this is not a problem of the contract in itself.  It&#8217;s a problem of wrong government priorities.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=169&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2009/12/09/how-evil-is-google-really/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/G.png/401px-G.png" medium="image">
			<media:title type="html">Google Logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Comfortably ripping CDs in the Linux console</title>
		<link>http://binarystatic.wordpress.com/2009/12/02/comfortably-ripping-cds-in-the-linux-console/</link>
		<comments>http://binarystatic.wordpress.com/2009/12/02/comfortably-ripping-cds-in-the-linux-console/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 15:16:29 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Console]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=159</guid>
		<description><![CDATA[Since I&#8217;m still converting my CD-Collection to listen to them on my iPod, I spent some time figuring out the easiest way to do this &#8212; in the background, with reasonable audio quality, and of course on Linux. My workflow now comes down to this: using the abcde script to rip the cd, some customizations [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=159&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m still converting my CD-Collection to listen to them on my iPod, I spent some time figuring out the easiest way to do this &#8212; in the background, with reasonable audio quality, and of course on Linux.  My workflow now comes down to this:</p>
<ol>
<li>using the <code>abcde</code> script to rip the cd, some customizations apply</li>
<li>using MusicBrainz through <code>picard</code> for tuning folder hierarchy and tags</li>
<li>using Amazon&#8217;s API to download the cover files</li>
</ol>
<p>This might be a bit more work than other approaches, but I get kick-ass audio files, clean tags and file names. This is my <code>~/.abcde.conf</code>:<br />
<code><br />
DEVICE=/dev/sr0<br />
OUTPUTTYPE=mp3:" -V2 --vbr-new -q0 --lowpass 19.7 -b96"<br />
PADTRACKS=y<br />
OUTPUTFORMAT='${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM} - ${TRACKFILE}'<br />
EJECTCD=Y<br />
mungefilename ()<br />
{<br />
	echo "$@" | sed s,:,\ -,g | tr -d \'\"\?\[:cntrl:\]<br />
}<br />
</code></p>
<p>Your device is probably named differently.  The <code>OUTPUTTYPE</code> parameter sets the settings for <code>lame</code>.  I chose a variable bitrate and basically cut off everything the ear can&#8217;t hear.  The <code>OUTPUTFORMAT</code> parameter names and sorts the files into a iTunes-style hierarchy.  I tweaked the <code>mungefile()</code> method to get Windows-style filenames, i.e. I want whitespace in my filenames.</p>
<p>I run <code>abcde</code> from a sandbox folder on my hard drive.  It&#8217;s easy to put it in the background by starting it with <code>screen</code>.  Having collected new music, I filter the whole stuff through <code>picard</code> to get top-notch MP3 tags.  What <code>picard</code> can&#8217;t find I&#8217;ll add to the MusicBrainz database myself from the original CD.</p>
<p>As I use <code>boxee</code> to play and display my audio files on my media box, I want neat high-resolution cover images in each folder.  I wrote a short python script to retrieve the covers from Amazon via their store API.  Currently, I&#8217;m trying to add a GUI, which allows to scan whole music collections and provide missing or wrong images in batch mode.  Once I&#8217;m done, I&#8217;m going to roll this into a Ubuntu package and distribute it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=159&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2009/12/02/comfortably-ripping-cds-in-the-linux-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>Killing the Internet</title>
		<link>http://binarystatic.wordpress.com/2009/11/23/killing-the-internet/</link>
		<comments>http://binarystatic.wordpress.com/2009/11/23/killing-the-internet/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 10:47:09 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://binarystatic.wordpress.com/?p=142</guid>
		<description><![CDATA[It&#8217;s getting worse everyday now. Cory Doctorow reported and commented on new restrictions on internet use which are about to become law in the UK. The proposal has the usual ingrediences: extended control over ISPs serving private interests, draconic sanctions against copyright infringement, and forcing users off the net. First France, now Britain, who will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=142&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://upload.wikimedia.org/wikipedia/commons/4/46/Internet.JPG" title="Internet" class="alignleft" width="355" height="433" />It&#8217;s getting worse everyday now.  Cory Doctorow reported and commented on <a href="http://www.boingboing.net/2009/11/20/britains-new-interne.html">new restrictions on internet use</a> which are about to become law in the UK.  The proposal has the usual ingrediences: extended control over ISPs serving private interests, draconic sanctions against copyright infringement, and forcing users off the net.  First France, now Britain, who will be next?  Western nations are obviously under enormous pressure from the content industry to end the so-called &#8220;misuse&#8221; of the internet. </p>
<p>This whole crusade against file-sharing is way more dangerous than it might seem. It is not only successful lobbying on behalf of the content industry.  And it is not only about cutting off some cheap kids from their music supply.  Old media, content industry and politics might find a common interest to change the nature of the internet forever. The old powers have reason to turn the internet into something like TV: a malleable means to distribute products and channel approved information.  </p>
<p>The  content industry used mass media to sell their products, politicians used them to control the masses &#8211; and the old media gained power and wealth from both ends.  However, the internet changed the rules of the game because it allowed individual communication on a massive and global scale.  Precisely its peer-to-peer nature established a public infrastructure which could not as easily be twisted and influenced as the old media in the TV age.  In terms of peer-to-peer communication every client is equal &#8211; and every voice and opinion may be heard unfiltered.  No need for mediation nor content salesmen, no easy access for politicians to the public opinion.  In our new age people can exchange digital goods and analog ideas without direction and control of the establishment.  This is why content industry, TV-age media and old-school politicians all have a very good reason to hate the internet in its present form.  And this is what worries me most in the power struggle that lies ahead.  Sure, private broadband connections will survive, we will still have packet-based protocols &#8211; but what if all people may use it for is buying TV streams from established outlets as everything else is effectively outlawed? Would you still call that &#8220;internet&#8221;?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binarystatic.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binarystatic.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binarystatic.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binarystatic.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binarystatic.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binarystatic.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binarystatic.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binarystatic.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binarystatic.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binarystatic.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binarystatic.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binarystatic.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binarystatic.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binarystatic.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binarystatic.wordpress.com&amp;blog=10285416&amp;post=142&amp;subd=binarystatic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binarystatic.wordpress.com/2009/11/23/killing-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44fa7a85103de15c3123f0ce5880af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/commons/4/46/Internet.JPG" medium="image">
			<media:title type="html">Internet</media:title>
		</media:content>
	</item>
	</channel>
</rss>
