<?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>3d-Zone.org</title>
	<atom:link href="http://www.3d-zone.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3d-zone.org/blog</link>
	<description>stuff I should mention somewhere</description>
	<lastBuildDate>Wed, 28 Dec 2011 06:52:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Optimizing my sleep</title>
		<link>http://www.3d-zone.org/blog/2011/12/optimizing-my-sleep/</link>
		<comments>http://www.3d-zone.org/blog/2011/12/optimizing-my-sleep/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 06:52:39 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[bodyhacking]]></category>
		<category><![CDATA[polyphasic]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[zeo]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=148</guid>
		<description><![CDATA[(Note: this post ist WIP 28/12/11) Precursor So for the past weeks I have been experimenting a lot with sleep and how to optimize it. I briefly tried various Everyman and Uberman schedules most importantly uberman which went ok for a few days and then had me crash by oversleeping due to SWS deprivation and [...]]]></description>
			<content:encoded><![CDATA[<h2 style="text-align: center;"><span style="font-weight: normal;"><em>(Note: this post ist WIP 28/12/11)</em></span></h2>
<h2>Precursor</h2>
<p>So for the past weeks I have been experimenting a lot with sleep and how to optimize it.</p>
<p>I briefly tried various Everyman and Uberman schedules most importantly uberman which went ok for a few days and then had me crash by oversleeping due to SWS deprivation and after that Everyman 3 with a 3 hour core and 3-4 naps  20 min naps. during the day.</p>
<p>Now my experimental e3 schedules involved (despite the fact that the naps aren't equidistant):</p>
<ul>
<li>Core 01:30-04:30</li>
<li>Nap at 05:30</li>
<li>Nap at 08:30</li>
<li>Nap at 19:00</li>
<li>Nap at 22:00</li>
</ul>
<p>This worked out ok however still meant a lot of time wasted and me feeling not 100% top of my game.</p>
<p>Now things changed after receiving a Zeo for xmas allowing me to get proper feedback and data on my sleep cycles. So for the last few days I have been mostly sleeping monophasic collecting data on how my circadian rhythm appears to work.</p>
<p><em>Concerning the charts: (light green=REM, dark green=Deep, grey=Light, Red=Wake) &#8211; each bar shows a 5 min. range.</em></p>
<div class="wp-caption aligncenter" style="width: 586px"><img class="  " src="https://mysleep.myzeo.com/graphservlet/Hypnogram?t=n&amp;s=201112250125&amp;e=201112250755&amp;d=222333344444444322233343333333444444422222223333333333222222222233333333322222" alt="" width="576" height="140" /><p class="wp-caption-text">24.12.2011 - Monophasic Core with a glass of wine at dinner</p></div>
<div class="wp-caption aligncenter" style="width: 586px"><img src="https://mysleep.myzeo.com/graphservlet/Hypnogram?t=n&amp;s=201112260125&amp;e=201112261125&amp;d=12233333444444444332223223333333344433222222333333333343222222222222000000000042222220000000000000002222222222333334333300000000000000000000000000000000000" alt="" width="576" height="140" /><p class="wp-caption-text">25.12.2011 - Monophasic core with 2 naps (one regular one long)</p></div>
<div class="wp-caption aligncenter" style="width: 586px"><img src="https://mysleep.myzeo.com/graphservlet/Hypnogram?t=n&amp;s=201112270130&amp;e=201112270750&amp;d=222223333333444442222133334334332232113333333322212333313332222222222222222200000000000000000000000000000000000" alt="" width="576" height="140" /><p class="wp-caption-text">26.12.2011 - Mono with alarm waking me up every 90 min.</p></div>
<p>My assumptions proved to be  correct (~90 min. cycles, hitting REM on naps) and additionally I discovered things I wasn't fully aware of yet.</p>
<ul>
<li>I am getting lots of REM</li>
<li>I am getting about an hour in one block during the morning hours</li>
<li>Deep is mostly handled in one block in the first 1.5-3 hours of the night (fragmentation seems to be affected by alcohol consumption)</li>
</ul>
<p>Based on this I decided to, instead of trying to adapt to some made up schedules, adapt my schedule to my already existing rhythm. I also didn't want to eliminate deep sleep completely (as would be done with an uberman cycle of 6x 20 min. naps a day).</p>
<p>So after examining the data I figured why not try to split up the core into 2 parts:</p>
<ul>
<li>Deep Core: 01:30-03:00 with mostly deep sleep and a little REM</li>
<li>REM Core: 06:00-07:00 with mostly REM</li>
<li>Add in 2-3x 20min naps during the day depending on how I feel and need them</li>
</ul>
<p>In theory this should have no sleep deprivation and adaption symptoms at all as I would cover SWS deprivation by still getting deep sleep plus my I would probably end up getting more pure REM time than on a regular e3 schedule.</p>
<h2>Deep Core</h2>
<p>So I went ahead with my plan and first made sure to get a maximum of deep sleep by using all the knowledge I acquired that could possibly aid me in my task:</p>
<p>This especially involves one hour before having my Deep Core:</p>
<ol>
<li>Turning all lights off and avoiding bright lighs to get melatonin production going</li>
<li>Activate Redshift on my pc to dim the PC monitors and putting on sunglasses</li>
<li>Drinking a 200mg Magnesium tab</li>
<li>Switch to calm Music (selected tracks from NIN's Ghost I-IV)</li>
</ol>
<p>30 min. before hitting the bed I additionally</p>
<ol>
<li>Have a hot shower to raise my body core temperature and</li>
<li>Cooling down my sleeping room in the meantime</li>
</ol>
<p>I will then lay in bed for 15 min. reading with socks on and the window still open to cool the room and my body further down, while the blanket is only covering my feet to keep those warm. The effect of a decrease in body core temperature while keeping the extremities (hand/feet) warm induces sleepiness and should decreasethe time needed to hit deep sleep.</p>
<p>At ~01:30am I put on a sleeping mask and the zeo headband. I keep the socks on however I do sleep with the blanket covering my whole body then. Via relaxing/proper breathing and some speed meditation I am usually able to fall asleep in 5 minutes max. (it usually takes me about 2 min.)</p>
<h2>REM Core</h2>
<p>Now for the REM Core, in order to maximize the potential REM time I set the alarm to 07:20 with a smart wake window of 30 min. In theory the smartwake should wake me up as soon as I exit REM which should, based on my calculations, happen somewhere at 07:00.</p>
<p>I hit the bed at ~06:00 with the target of ~ 1hour of sleep with a maximum of REM.</p>
<p>In order to ensure proper REM sleep I do most of the things the same as I did before the Deep Core (cooling the body down, listening to calm music and no lights)</p>
<h2>Results: First night</h2>
<p>Everything went better than expected. Will see how the day goes by but I am already satisfied that everything went exactly as predicted.</p>
<p>We shall see if this turns out to be a sustainable long term solution. I will update the post later this day once the majority passed and I had some naps to comment on.</p>
<div class="wp-caption aligncenter" style="width: 586px"><img src="https://mysleep.myzeo.com/graphservlet/Hypnogram?t=n&amp;s=201112280120&amp;e=201112280250&amp;d=0333344444444422221000000000000000000000000000000000000122222222223300" alt="" width="576" height="140" /><p class="wp-caption-text">28.12.2011 Total Sleep:  2h17min | Deep 44 min | REM 1h22min | Light 11min | Wake: 1min</p></div>
<p><strong>Deep Core</strong>:  Zeo alarm set to 03:15 + Wakewindow of -30min*.</p>
<p>Actual sleep time clocked in at 01:15 min. from 1:26-2:50.</p>
<p><strong>REM Core: </strong>Zeo alarm set to 07:15 + Wakewindow of -30 min*.</p>
<p>Actual sleep time clocked in at 01:02 min. from 05:55-6:59am</p>
<p>*Zeos smartwake window allows you to setup the zeo so that the alarm may go off a maximum of x min. before the intended wakeuptime should an ideal opportunity present itself (= just leaving REM).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/12/optimizing-my-sleep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>August Doodle</title>
		<link>http://www.3d-zone.org/blog/2011/08/144/</link>
		<comments>http://www.3d-zone.org/blog/2011/08/144/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 21:31:07 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=144</guid>
		<description><![CDATA[No thinking no erasing 10 min. max &#8211; just free flow drawing whatever hits your mind, the key is not stoping but just drawing whatever &#8211; even if it makes no sense Good music helps too, I just discoverd Two Door Cinema Club and was listening to it while drawing &#8211; good stuff if positive energetic [...]]]></description>
			<content:encoded><![CDATA[<p>No thinking no erasing 10 min. max &#8211; just free flow drawing whatever hits your mind, the key is not stoping but just drawing whatever &#8211; even if it makes no sense <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Good music helps too, I just discoverd Two Door Cinema Club and was listening to it while drawing &#8211; good stuff if positive energetic music is your thing <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;">
<div id="attachment_142" class="wp-caption aligncenter" style="width: 283px"><a href="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/doodle_08.png" rel="lightbox[144]"><img class="size-medium wp-image-142" title="Random Doodle August 2011" src="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/doodle_08-273x300.png" alt="Random Doodle August 2011" width="273" height="300" /></a><p class="wp-caption-text">Random Doodle August 2011</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/08/144/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where is my mind?</title>
		<link>http://www.3d-zone.org/blog/2011/08/where-is-my-mind/</link>
		<comments>http://www.3d-zone.org/blog/2011/08/where-is-my-mind/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 20:51:13 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=136</guid>
		<description><![CDATA[So after watching Suckerpunch (which featured a pretty cool cover version of where is my mind) and currently reading Fight Club I got inspired todo yet another fight club based artwork. Also after mypaint crashing and almost loosing 80% of the progress on the pic I took it as a sign and stopped working on [...]]]></description>
			<content:encoded><![CDATA[<p>So after watching Suckerpunch (which featured a pretty cool cover version of where is my mind) and currently reading Fight Club I got inspired todo yet another fight club based artwork.</p>
<div id="_mcePaste">Also after mypaint crashing and almost loosing 80% of the progress on the pic I took it as a sign and stopped working on it.</div>
<div>It's far from perfect and I might revisit it later and do some corrections and ink it.</div>
<div id="_mcePaste"></div>
<div>Btw. Images with mirrors are a pain in the ass to draw (I did fuck up concerning some perspective issues but whatever <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</div>
<div id="_mcePaste">Also the image has an original resolution of 6299&#215;5466 so I had to seriously crunch it down to even be able to upload it <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </div>
<div id="attachment_133" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/fightclub_mirror_smaller.png" rel="lightbox[136]"><img class="size-medium wp-image-133" title="Fight Club - Where is my mind?" src="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/fightclub_mirror_smaller-300x260.png" alt="Fight Club - Where is my mind?" width="300" height="260" /></a><p class="wp-caption-text">Fight Club - Where is my mind?</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/08/where-is-my-mind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Donnie Darko</title>
		<link>http://www.3d-zone.org/blog/2011/08/donnie-darko/</link>
		<comments>http://www.3d-zone.org/blog/2011/08/donnie-darko/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 11:13:00 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=122</guid>
		<description><![CDATA[So after watching Donnie Darko (yet-again) yesterday I got inspired to do some Darko related doodling. I couldn't be bothered to ink it so live with it]]></description>
			<content:encoded><![CDATA[<p>So after watching Donnie Darko (yet-again) yesterday I got inspired to do some Darko related doodling.</p>
<p>I couldn't be bothered to ink it so live with it <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<div id="attachment_128" class="wp-caption aligncenter" style="width: 302px"><a href="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/donnie_darko.png" rel="lightbox[122]"><img class="size-medium wp-image-128" title="Donnie Darko" src="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/donnie_darko-292x300.png" alt="Donnie Darko" width="292" height="300" /></a><p class="wp-caption-text">Love or Fear? Which path do you choose?</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/08/donnie-darko/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oldboy Sketch Frank Millerish</title>
		<link>http://www.3d-zone.org/blog/2011/08/oldboy-sketch-frank-millerish/</link>
		<comments>http://www.3d-zone.org/blog/2011/08/oldboy-sketch-frank-millerish/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 17:24:10 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=115</guid>
		<description><![CDATA[I got inspired todo some wacom sketching again and wanted todo something olboy related in a Frank Miller inspired style &#8211; I got a little wild in the end and wandered of the Frank Miller style, apart from that I am not completely happy with how it turned out  but it's ok I guess, I'll [...]]]></description>
			<content:encoded><![CDATA[<p>I got inspired todo some wacom sketching again and wanted todo something olboy related in a Frank Miller inspired style &#8211; I got a little wild in the end and wandered of the Frank Miller style, apart from that I am not completely happy with how it turned out  but it's ok I guess, I'll definitely do something oldboy related again tho <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/oldboy_sketch_cropped.png" rel="lightbox[115]"><img class="aligncenter" title="Oldboy Sketch" src="http://www.3d-zone.org/blog/wp-content/uploads/2011/01/oldboy_sketch_cropped-300x250.png" alt="Oldboy Sketch" width="300" height="250" /></a></p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/08/oldboy-sketch-frank-millerish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>alsa asound.conf 7.1 upmix debian lenny</title>
		<link>http://www.3d-zone.org/blog/2011/07/alsa-asound-conf-7-1-upmix-debian-lenny/</link>
		<comments>http://www.3d-zone.org/blog/2011/07/alsa-asound-conf-7-1-upmix-debian-lenny/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 22:50:01 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[nslu2]]></category>
		<category><![CDATA[smarthome]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[multiroom audio]]></category>
		<category><![CDATA[slug]]></category>
		<category><![CDATA[squeezeslave]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=109</guid>
		<description><![CDATA[So my plan was to use squeezeslave on a nslu2 slug with a terratec 7.1 usb soundcard and my old 5.1 soundsystem to play music in my bathroom (front left/right), the anteroom/hallway (rear left/right) and the toilette (center). Now after fiddling a while and finding out that etch doesn't even have the surround51 preconfigs, I [...]]]></description>
			<content:encoded><![CDATA[<p>So my plan was to use squeezeslave on a nslu2 slug with a terratec 7.1 usb soundcard and my old 5.1 soundsystem to play music in my bathroom (front left/right), the anteroom/hallway (rear left/right) and the toilette (center).</p>
<p>Now after fiddling a while and finding out that etch doesn't even have the surround51 preconfigs, I upgraded to debian lenny and FINALLY came up with an asound.conf which does what I want.</p>
<p>Only thing I might improve on is getting the mixing of left/right for the center channel to work, and possibly some filtering for the subwoofer &#8211; however I am not exactly sure if that's a good idea given the limited cpu power of the slug.</p>
<p>Anyways here's the asound.conf &#8211; note that squeezeslave refuses to work without a sample rate of 44100.</p>
<p>upmix output is outputting the stereo signal to all channels, the rest is for adressing/splitting between individual channels.</p>
<p>So i.e. you could run one application outputting to the frontspeakers and one to the rear.</p>
<p>Thanks to some guy on the internet (i am sorry I can't find the link anymore) for the asound.conf I based this on (it had everything apart from the combined upmix output)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pcm.dshare <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">type</span> dmix
	ipc_key <span style="color: #000000;">2048</span>
	ipc_key_add_uid <span style="color: #c20cb9; font-weight: bold;">false</span> <span style="color: #666666; font-style: italic;"># let multiple users share</span>
	ipc_perm 0660 <span style="color: #666666; font-style: italic;"># IPC permissions (octal, default 0600)</span>
	ipc_gid audio
	slave <span style="color: #7a0874; font-weight: bold;">&#123;</span>
		pcm <span style="color: #ff0000;">&quot;hw:0,0&quot;</span>
		rate <span style="color: #000000;">44100</span>
		format S16_LE
		period_time <span style="color: #000000;">125000</span>
		period_size <span style="color: #000000;">6000</span>
		buffer_size <span style="color: #000000;">24006</span>
		channels <span style="color: #000000;">8</span>
	<span style="color: #7a0874; font-weight: bold;">&#125;</span>
	bindings <span style="color: #7a0874; font-weight: bold;">&#123;</span>
		<span style="color: #000000;">0</span> <span style="color: #000000;">0</span>
		<span style="color: #000000;">1</span> <span style="color: #000000;">1</span>
		<span style="color: #000000;">2</span> <span style="color: #000000;">2</span>
		<span style="color: #000000;">3</span> <span style="color: #000000;">3</span>
		<span style="color: #000000;">4</span> <span style="color: #000000;">4</span>
		<span style="color: #000000;">5</span> <span style="color: #000000;">5</span>
		<span style="color: #000000;">6</span> <span style="color: #000000;">6</span>
		<span style="color: #000000;">7</span> <span style="color: #000000;">7</span>
	<span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
pcm.upmix <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">type</span> plug
	slave <span style="color: #7a0874; font-weight: bold;">&#123;</span>
		pcm <span style="color: #ff0000;">&quot;dshare&quot;</span>
		channels <span style="color: #000000;">8</span>
	<span style="color: #7a0874; font-weight: bold;">&#125;</span>
	ttable.0.0 <span style="color: #000000;">1</span>
	ttable.1.1 <span style="color: #000000;">1</span>
	ttable.0.4 <span style="color: #000000;">1</span>
	ttable.1.5 <span style="color: #000000;">1</span>
&nbsp;
	ttable.0.2 <span style="color: #000000;">1</span>
	ttable.1.3 <span style="color: #000000;">1</span>
&nbsp;
	ttable.0.6 <span style="color: #000000;">1</span>
	ttable.1.7 <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
pcm.frontx <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">type</span> plug
	slave <span style="color: #7a0874; font-weight: bold;">&#123;</span>
		pcm <span style="color: #ff0000;">&quot;dshare&quot;</span>
		channels <span style="color: #000000;">8</span>
	<span style="color: #7a0874; font-weight: bold;">&#125;</span>
	ttable.0.0 <span style="color: #000000;">1</span>
	ttable.1.1 <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
pcm.centersub <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">type</span> plug
	slave <span style="color: #7a0874; font-weight: bold;">&#123;</span>
		pcm <span style="color: #ff0000;">&quot;dshare&quot;</span>
		channels <span style="color: #000000;">8</span>
	<span style="color: #7a0874; font-weight: bold;">&#125;</span>
	ttable.0.2 <span style="color: #000000;">1</span>
	ttable.1.3 <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
pcm.rearx <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">type</span> plug
	slave <span style="color: #7a0874; font-weight: bold;">&#123;</span>
		pcm <span style="color: #ff0000;">&quot;dshare&quot;</span>
		channels <span style="color: #000000;">8</span>
	<span style="color: #7a0874; font-weight: bold;">&#125;</span>
	ttable.0.4 <span style="color: #000000;">1</span>
	ttable.1.5 <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
pcm.sidex <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">type</span> plug
	slave <span style="color: #7a0874; font-weight: bold;">&#123;</span>
		pcm <span style="color: #ff0000;">&quot;dshare&quot;</span>
		channels <span style="color: #000000;">8</span>
	<span style="color: #7a0874; font-weight: bold;">&#125;</span>
	ttable.0.6 <span style="color: #000000;">1</span>
	ttable.1.7 <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/07/alsa-asound-conf-7-1-upmix-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Split media center into mediaplayer and homeserver</title>
		<link>http://www.3d-zone.org/blog/2011/07/split-media-center-into-media-player-and-homeserver/</link>
		<comments>http://www.3d-zone.org/blog/2011/07/split-media-center-into-media-player-and-homeserver/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 20:51:45 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[smarthome]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=105</guid>
		<description><![CDATA[So after moving into my new apartment I had to restructure my network/infrastructure. In my old apartment my whole media center/server setup was one pc. A Mini ITX Zotac ION Board with a few HDDs, an SSD and running 24/7. My requirements were simple: Low power usage Room for 6 HDDs Small Silent wasn't really [...]]]></description>
			<content:encoded><![CDATA[<p>So after moving into my new apartment I had to restructure my network/infrastructure.</p>
<p>In my old apartment my whole media center/server setup was one pc. A Mini ITX Zotac ION Board with a few HDDs, an SSD  and running 24/7.</p>
<p>My requirements were simple:</p>
<ul>
<li>
<ol>
<li>Low power usage</li>
<li>Room for 6 HDDs</li>
<li>Small</li>
</ol>
</li>
</ul>
<p>Silent wasn't really a requirement since the server will run in a small cabinet/server room.</p>
<p>Due to the low power requirement a mini-itx atom based motherboard seemed like a good choice.</p>
<p>I found a pretty kickass board from Supermicro, offering all I could wish for including 6 sata ports integrated IPMI, KVM and 2x Gigabit ethernet ports.</p>
<p>I added 4 Gb of RAM an Antec EA-30D Green PSU (of course 80 plus certified) and bought a Mini-ITX LIAN LI PC-Q08B Case which fits 6x 3.5", 1x 5.25" and an additional 2.5".</p>
<p><a href="http://www.lian-li.com/v2/en/product/product06.php?pr_index=480&amp;cl_index=1&amp;sc_index=25&amp;ss_index=63&amp;g=spec">http://www.lian-li.com/v2/en/product/product06.php?pr_index=480&amp;cl_index=1&amp;sc_index=25&amp;ss_index=63&amp;g=spec</a></p>
<p>So the list of stuff comes down to this:</p>
<ul>
<li><a href="http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H&amp;IPMI=Y" target="_blank">Supermicro X7SPA-HF Motherboard</a> ~170€</li>
<li><a href="http://store.antec.com/Product/power_supply-earthwatts/ea-380d-green/0-761345-27384-8.aspx">EA-380D Green PSU</a> ~47 €</li>
<li><a href="http://www.lian-li.com/v2/en/product/product06.php?pr_index=480&amp;cl_index=1&amp;sc_index=25&amp;ss_index=63&amp;g=spec">Lian Li PC-Q08</a> ~100€</li>
<li>2x 2GB Ram DDR-2, 667 MHz, KINGSTON ~60€ for both</li>
</ul>
<p>So thats 377€ for everything but the HDDs.</p>
<p>In terms of HDDs I am going to go with Western Digital Caviar Green 2000GB, 64MB Cache, SATA II for ~ 60 €  a piece.</p>
<p>I ripped all the HDDs out of the old mediacenter (1x 60 gb SSD, 1x 1 TB 3.5" and 1x 2 TB 3.5" plus another external 1.5 TB) and put them into the new server, a quick power consumption check showed ~ 35 Watt which is perfectly fine.</p>
<p>I might do some more accurate power consumption tests later on but the results so far look good.</p>
<p>Last but not least I got the original Zotac Board up and running again by:</p>
<ol>
<li>Having switched to a mysql DB backend for xbmc before removing the HDDs (<a href="http://lifehacker.com/5634515/how-to-synchronize-your-xbmc-media-center-across-every-room-in-the-house">see this guide</a>)</li>
<li>Installing XBMC live on an USB Stick and fixing up the settings to connect to the mysql DB of the homeserver.</li>
<li>Setting up the xbmc live install so that all the media (which is now located on the home server) gets mounted at exactly the same spots they were before (<a href="https://help.ubuntu.com/community/SettingUpNFSHowTo#NFSv4 quick start">using NFS</a>)</li>
<li>Make sure to also nfs mount the userdata/Thumbnails folder to avoid having to store/download artwort and stuff in case you want to add more pcs running xbmc.</li>
</ol>
<p>Everything works pretty flawless so far, 1080 playback over WLAN is also 100%  smooth.</p>
<p>I might go back and edit this post to make it more detailed and clearer but it should be fine for now. Feel free to drop me an email if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/07/split-media-center-into-media-player-and-homeserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Netbeans and Phonegap</title>
		<link>http://www.3d-zone.org/blog/2011/04/howto-netbeans-and-phonegap/</link>
		<comments>http://www.3d-zone.org/blog/2011/04/howto-netbeans-and-phonegap/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 19:42:56 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=102</guid>
		<description><![CDATA[Originally posted over here http://twister.tim-perry.co.uk/blog/2010/02/20/PhoneGap_and_Netbeans the link was down (Google Cache to the rescue . Just want to make sure this doesn't get lost. Thanks Tim! Note: I just did a cheap copy+paste here, if the url above works for you I would advise you to check the original article! PhoneGap and Netbeans We've recently [...]]]></description>
			<content:encoded><![CDATA[<p>Originally posted over here http://twister.tim-perry.co.uk/blog/2010/02/20/PhoneGap_and_Netbeans the link was down (Google Cache to the rescue <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
Just want to make sure this doesn't get lost. Thanks Tim!</p>
<p>Note: I just did a cheap copy+paste here, if the url above works for you I would advise you to check the original article!</p>
<blockquote><p>PhoneGap and Netbeans</p>
<p>We've recently been looking at writing apps for phones (it's tough to resist a bandwagon), and we found PhoneGap. It's a framework that lets you write apps for most of the big phone platforms (iPhone, Android, Blackberry etc) in nothing but HTML and JavaScript, and still get at things like the camera. I haven't got far enough with it to really judge it yet because it's made to be used in Eclipse, when I actually really wanted to code in NetBeans, and setting that up is a right hassle. After doing that, I figured the internet might want this answer too.</p>
<p>If you're writing phonegap stuff it's generally easiest to make separate projects for each platform, write the one platform and then pass out the HTML/JS to the others, and write each native bit separately. With this in mind the following instructions are for setting up a Android project, but I imagine it's not too difficult to work out the iPhone steps. At least, I hope so, I'm going to have to do it at some point.</p>
<p>Download and set up the Android SDK. Instructions are all on that page, you can ignore the Eclipse stuff, you need to do the platform stuff.<br />
Download phonegap (I'm using 0.8) and extract it.<br />
Build phonegap. This didn't work for me, so I followed the instructions here. Essentially there are a few typos, and you need to put two semicolons in the right places.<br />
Copy the [phonegap dir]/lib/android/phonegap.js (or min.js, or both) to [phonegap dir]/android/assets/www.<br />
Install nbandroid, a NetBeans plugin for android projects.<br />
By this point you've got all the bits you need to get everything working, and it's just a matter of getting a project made and building in NetBeans. Essentially you make a NetBeans android project, and then splice it together with the [phonegap dir]/android folder:</p>
<p>Make a new android project somewhere, through NetBeans.<br />
Copy the res folder from phonegap/android over the res folder NetBeans just made, and build the NetBeans project. This should create a new R.java<br />
Copy the phonegap/android/src folder over the src folder NetBeans made.<br />
Inside NetBeans go to the Projects window -> Source Packages -> com.phonegap.demo, select all the files, right click and go to Refactor -> Move. Move them into the package that the rest of your project is in.<br />
Copy the libs, assets and AndroidManifest.xml from phonegap/android to the NetBeans project.<br />
Add the jar in the libs folder you just copied to the libraries of the NetBeans project.<br />
Run the Android SDK Manager program and make a new Virtual Device.<br />
At this point the project should build, and running it should start an emulator up, and eventually try and run the demo program. Unfortunately, the demo program will only come up with '&#8230;index.html file not found', or similar, because NetBeans doesn't correctly tell the Android SDK to get the Assets from the Assets folder you copied and put the in the apk (Android app package). To fix:</p>
<p>In your NetBeans project open nbproject/build-impl.xml and change the line saying '<arg value="${asset.dir}"/>' to '<arg value="${assets.dir}"/>'<br />
Go into nbproject/project.properties and change 'assets.dir=' to 'assets.dir=assets'. En route, add 'assets.available=true'<br />
Enjoy!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/04/howto-netbeans-and-phonegap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Atmolight + XBMC + Ubuntu</title>
		<link>http://www.3d-zone.org/blog/2011/03/atmolight-xbmc-ubuntu/</link>
		<comments>http://www.3d-zone.org/blog/2011/03/atmolight-xbmc-ubuntu/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 19:24:07 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=91</guid>
		<description><![CDATA[Finally received my atmolight stuff by http://atmolight.de/ Awesome, just wanted to quickly post additional stuff to the basic checkout the boblight code, ./configure make, make install steps: Some of the boblight tools look for libboblight.so in /usr/lib/ however its copied to /usr/local/lib/ by default so to resolve this symlink it: ln -s /usr/local/lib/libboblight.so /usr/lib/libboblight.so Next [...]]]></description>
			<content:encoded><![CDATA[<p>Finally received my atmolight stuff by http://atmolight.de/</p>
<p>Awesome, just wanted to quickly post additional stuff to the basic checkout the boblight code, ./configure make, make install steps:</p>
<p>Some of the boblight tools look for libboblight.so in /usr/lib/ however its copied to /usr/local/lib/ by default so to resolve this symlink it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libboblight.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libboblight.so</pre></div></div>

<p>Next we need a proper atmolight.conf in /etc/ I used the one provided by carsten for the windows version minus the parameters the latest build complains about.<br />
Don't forget to change the output on your end (its going to be /dev/ttyUSB0 unless you have some other serial USB stuff connected to your mediacenter).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>global<span style="color: #7a0874; font-weight: bold;">&#93;</span>
interface	127.0.0.1
port		<span style="color: #000000;">19333</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>device<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		ambilight
<span style="color: #7a0874; font-weight: bold;">type</span>		atmo
output		<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>ttyUSB2
rate		<span style="color: #000000;">38400</span>
channels	<span style="color: #000000;">15</span>
interval	<span style="color: #000000;">16000</span>
prefix		FF
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>color<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		<span style="color: #c20cb9; font-weight: bold;">red</span>
rgb		FF0000
gamma		<span style="color: #000000;">1.0</span>
adjust		<span style="color: #000000;">1.0</span>
blacklevel	<span style="color: #000000;">0.0</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>color<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		green
rgb		00FF00
gamma		<span style="color: #000000;">1.0</span>
adjust		<span style="color: #000000;">1.0</span>
blacklevel	<span style="color: #000000;">0.0</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>color<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		blue
rgb		0000FF
gamma		<span style="color: #000000;">1.0</span>
adjust		<span style="color: #000000;">1.0</span>
blacklevel	<span style="color: #000000;">0.0</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>light<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		left
color		<span style="color: #c20cb9; font-weight: bold;">red</span> 	ambilight <span style="color: #000000;">4</span>
color		green 	ambilight <span style="color: #000000;">5</span>
color		blue 	ambilight <span style="color: #000000;">6</span>
hscan		<span style="color: #000000;">0</span> <span style="color: #000000;">50</span>
vscan		<span style="color: #000000;">0</span> <span style="color: #000000;">100</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>light<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		right
color		<span style="color: #c20cb9; font-weight: bold;">red</span> 	ambilight <span style="color: #000000;">7</span>
color		green 	ambilight <span style="color: #000000;">8</span>
color		blue 	ambilight <span style="color: #000000;">9</span>
hscan		<span style="color: #000000;">50</span> <span style="color: #000000;">100</span>
vscan		<span style="color: #000000;">0</span> <span style="color: #000000;">100</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>light<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		top
color		<span style="color: #c20cb9; font-weight: bold;">red</span> 	ambilight <span style="color: #000000;">10</span>
color		green 	ambilight <span style="color: #000000;">11</span>
color		blue 	ambilight <span style="color: #000000;">12</span>
hscan		<span style="color: #000000;">0</span> <span style="color: #000000;">100</span>
vscan		<span style="color: #000000;">0</span> <span style="color: #000000;">50</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>light<span style="color: #7a0874; font-weight: bold;">&#93;</span>
name		bottom
color		<span style="color: #c20cb9; font-weight: bold;">red</span> 	ambilight <span style="color: #000000;">13</span>
color		green 	ambilight <span style="color: #000000;">14</span>
color		blue 	ambilight <span style="color: #000000;">15</span>
hscan		<span style="color: #000000;">0</span> <span style="color: #000000;">100</span>
vscan		<span style="color: #000000;">50</span> <span style="color: #000000;">100</span></pre></div></div>

<p>Now start the daemon</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> boblightd</pre></div></div>

<p>Next in order to get the light color to match the display you need to run boblight-X11.<br />
I currently run it with the following parameters which appears to look good to me</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">boblight-X11 <span style="color: #660033;">-o</span> <span style="color: #007800;">saturation</span>=<span style="color: #000000;">2.5</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">value</span>=<span style="color: #000000;">10</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">threshold</span>=<span style="color: #000000;">20</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">use</span>=<span style="color: #000000;">1</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">interpolation</span>=<span style="color: #000000;">1</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">autospeed</span>=<span style="color: #000000;">1</span></pre></div></div>

<p>If you want more intense colors tweak the saturation value to your desire.</p>
<p><strong>If you experience random blinking/flashing of the rgb stripes and use an nvidia card make sure to disable flipping @ the nvidia-settings</strong></p>
<p>I only spent an hour setting everything up and getting it working since its friday and I obviously need to head out soon but this shall do for now <img src='http://www.3d-zone.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/03/atmolight-xbmc-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SASS &#8211; creates compile dir instead of working the way it should</title>
		<link>http://www.3d-zone.org/blog/2011/02/sass-creates-compile-dir-instead-of-working-the-way-it-should/</link>
		<comments>http://www.3d-zone.org/blog/2011/02/sass-creates-compile-dir-instead-of-working-the-way-it-should/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 20:11:43 +0000</pubDate>
		<dc:creator>christoph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.3d-zone.org/blog/?p=85</guid>
		<description><![CDATA[Quick note from me as I am playing around with sencha touch and sass a little. In order to compile the sass files, compass compile Resulted in generating a compile folder and not recompiling or considering the config.rb file at all. Solution as hinted here is to add it to call it directly or add [...]]]></description>
			<content:encoded><![CDATA[<p>Quick note from me as I am playing around with sencha touch and sass a little.</p>
<p>In order to compile the sass files,</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">compass compile</pre></div></div>

<p>Resulted in generating a compile folder and not recompiling or considering the config.rb file at all.<br />
Solution as hinted <a href="http://www.sencha.com/forum/showthread.php?119356-Running-Compass-on-Linux-gives-quot-no-such-file-to-load-quot">here</a> is to add it to call it directly or add it to the PATH thus doing:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>compass compile</pre></div></div>

<p>while inside the folder with the config.rb and the .sass file &#8211; finally resulted in a proper compile.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3d-zone.org/blog/2011/02/sass-creates-compile-dir-instead-of-working-the-way-it-should/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

