<?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>ennonymous.de</title>
	<atom:link href="http://ennonymous.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://ennonymous.de</link>
	<description></description>
	<lastBuildDate>Fri, 16 Sep 2011 21:19:39 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>A bathroom-ready Squeezebox</title>
		<link>http://ennonymous.de/2011/09/16/bathroomd/</link>
		<comments>http://ennonymous.de/2011/09/16/bathroomd/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 20:59:54 +0000</pubDate>
		<dc:creator>ennonymous</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Home Automation]]></category>

		<guid isPermaLink="false">http://ennonymous.de/?p=120</guid>
		<description><![CDATA[The most annoying thing about putting your Squeezebox into your bathroom is the fact that you need to manually turn it on or off. Wouldn&#8217;t it be awesome if your Squeezebox turned itself on when you switch on the light in the bathroom, and turn off when your leave and switch off the light? Enter bathroomd, a hugely [...]]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://ennonymous.de/wp-content/uploads/2011/09/IMG_0266.jpg"><img class="aligncenter size-full wp-image-122" title="squeezebox_bad" src="http://ennonymous.de/wp-content/uploads/2011/09/IMG_0266.jpg" alt="" width="543" height="445" /></a></center></p>
<p>The most annoying thing about putting your Squeezebox into your bathroom is the fact that you need to manually turn it on or off. Wouldn&#8217;t it be awesome if your Squeezebox turned itself on when you switch on the light in the bathroom, and turn off when your leave and switch off the light?</p>
<p>Enter <em>bathroomd</em>, a hugely sophisticated quick hack which reads out your Squeezebox&#8217;s ambient light sensor and mutes the playback volume when the ambient brightness falls below a certain threshold, as well as turning the volume back up when the brightness rises above a (second) threshold.</p>
<p>You can find <em>bathroomd</em> at <a title="bathroomd" href="https://github.com/luebbers/bathroomd">GitHub</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ennonymous.de/2011/09/16/bathroomd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>4 (or more) ways to install Mac OS X 10.7 Lion</title>
		<link>http://ennonymous.de/2011/07/22/4-or-more-ways-to-install-mac-os-x-10-7-lion/</link>
		<comments>http://ennonymous.de/2011/07/22/4-or-more-ways-to-install-mac-os-x-10-7-lion/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 18:43:00 +0000</pubDate>
		<dc:creator>ennonymous</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://ennonymous.de/?p=104</guid>
		<description><![CDATA[I&#8217;m often wrongly accused of commended on appearing to own an example of every single Mac ever produced. The actual truth is, that, over time, I have accumulated a sizable zoo of Intel-based Macs, all running OS X 10.6 (Snow Leopard). And, with this week&#8217;s release of the latest iteration of Mac OS, Lion, I [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<p style="text-align: center;"><a href="http://www.flickr.com/photos/howzey/2495714416/"><img class="size-full wp-image-114 aligncenter" title="Lion by howzey" src="http://ennonymous.de/wp-content/uploads/2011/07/2495714416_774510761e.jpg" alt="" width="492" height="500" /></a></p>
<p>I&#8217;m often <del>wrongly accused of</del> commended on appearing to own an example of every single Mac ever produced. The actual truth is, that, over time, I have accumulated a sizable zoo of Intel-based Macs, all running OS X 10.6 (Snow Leopard). And, with this week&#8217;s release of the latest iteration of Mac OS, Lion, I most certainly wanted to upgrade as many of these machines as possible, if only to have the same <a title="Scrolling direction in Lion..." href="http://9to5mac.com/2011/02/24/scrolling-is-bass-ackwards-in-lion/" target="_blank">scrolling direction</a> on all of them.</p>
<p>However, it appears that that&#8217;s not always as easy as Apple wants to make us believe. For example, I have a fairly recent 13,3&#8243;-MacBook Pro, which should be supported, but refuses all straightforward attempts to upgrade its operating system and just boots into the old one. Also, my (Lion-supported) media-center Mac mini crashed twice halfway into the upgrade process. To make things more complicated, my old 2006 MacBook Pro (featuring a 32-bit-only Core Duo processor) is not officially supported by Lion. In fact, it was only my Mac Pro that was fine with the &#8220;just download the Lion Installer through the App store and run it&#8221; approach.</p>
<p>In this post I&#8217;d like to share a number of different ways to install Lion that I found (mostly on the web) as solutions to very different installation problems.<br />
<span id="more-104"></span></p>
<p><strong>The <em>regular</em> method</strong></p>
<p>Usually, you just need to follow these steps to upgrade to Lion from Snow Leopard &#8211; which is the officially recommended way to get Lion onto your system and worth trying &#8211; you might be one of the lucky 99,5%:</p>
<ul>
<li>Install Snow Leopard, if it&#8217;s not already there</li>
<li>Use Software Update to update to the latest version (10.6.8 as of this writing) &#8211; don&#8217;t forget to also install the update to the Migration Assistant; you might need it later</li>
<li>Launch the Mac App Store, buy and download the €23,99/$29.99 upgrade to Lion</li>
<li><em>Optionally</em>, make a copy of the Lion installer (located in /Applications), since it will be deleted after the upgrade process</li>
<li>Run the Lion installer, and follow the (very few) instructions to upgrade.</li>
</ul>
<p>Now, as I mentioned, this might not always work. My Mac mini, for instance, failed two times about a third into the installation process; however, after such a crashed installation, the installer will try again after a (forced or soft) reboot &#8211; and, alas, on the third attempt it went through. So be persistent.</p>
<p>If this doesn&#8217;t work though (or you don&#8217;t want to install Snow Leopard before installing Lion), you can try</p>
<p><strong>The <em>DVD or USB stick </em>method</strong></p>
<p>It actually is possible to create more-or-less-regular installation media from the Lion installer, which you can use to boot your Mac (e.g., after you just wrecked your hard drive). For this, you need to extract a disk image called &#8216;InstallESD.dmg&#8217; from the Lion Installation app&#8217;s package (the image is located in the &#8216;Contents/SharedSupport&#8217; directory &#8211; you did make a copy of the installer, right?), and either directly burn it to a DVD (using Disk Utility) or restore it to a 4GB+ USB stick (also using Disk Utility). <a title="How to create a Lion install DVD or USB stick" href="http://lifehacker.com/5823096/how-to-burn-your-own-lion-install-dvd-or-flash-drive" target="_blank">Detailed instructions can be found here</a> &#8211; they should reportedly work (but actually didn&#8217;t for me &#8211; give them a try, though).</p>
<p>Note that this should work either on an existing Snow Leopard install (I actually didn&#8217;t test that), but also allows you to first erase the target disk before installing a fresh and clean copy of Lion onto it (that&#8217;s what I finally did). There is, however, another way to do that (which doesn&#8217;t need any additional media but involves a FireWire cable):</p>
<p><strong>The <em>target-disk-mode</em> method</strong></p>
<p>My 2010 MacBook plainly refused to boot the Lion installation program &#8211; after running the Lion installer, it rebooted straight into the existing Snow Leopard instance. Trying to boot from a Lion installation DVD or USB stick didn&#8217;t work, either &#8211; though it booted into the installer alright, it didn&#8217;t go anywhere from there.</p>
<p>Target Disk Mode to the rescue!</p>
<p>What I finally did was hook up the notebook in target disk mode to another Mac already running Lion (though one with Snow Leopard should work as well). Here, again, it comes in handy if you saved the installer&#8230;</p>
<p>You enter target disk mode by holding down the &#8216;t&#8217; key while (re)starting your Mac. It then effectively behaves like an external FireWire drive, which you then connect (using a FireWire cable) to the other Mac &#8211; the target-disk-mode&#8217;d Mac&#8217;s hard drive(s) should show up as external drives on the desktop.</p>
<p>Then, just run the Lion installer on that Mac and select the boot disk of your target-disk-mode&#8217;d Mac as the installation target. Your other Mac will reboot and complete the installation; I recommend to disconnect the FireWire cable after the second reboot and restart your previously-target-disk-mode&#8217;d Mac, which will then prompt you to setup the new Lion installation.</p>
<p>Finally, if you are stuck with an Intel-based Mac that isn&#8217;t officially supported by Lion (such as a MacBook, MacBook Pro, or Mac mini from 2006/early 2007 originially using a Core Duo or Core Solo CPU) that <em>has been upgraded to a 64-bit CPU</em>, there&#8217;s</p>
<p><strong>The <em>unsupported</em> method</strong></p>
<p>Actually, this is similar to the target-disk-mode method (or any other method where you don&#8217;t use the actual target Mac for installing Lion &#8211; think, for example, of installing to an external disk then used by another Mac). All you need to do is to delete the file &#8216;/System/Library/CoreServices/PlatformSupport.plist&#8217; within the new installation before booting it on the target Mac. This disables the platform check performed by the operating system on boot. You still need a 64-bit-capable CPU, though &#8211; so this apples only to Core Solo / Core Duo Mac minis that have been upgraded by their owners with a Core 2 Duo CPU. My 2006 MacBook Pro is out of luck.</p>
<p>Thanks to <a href="http://blog.ohlweb.de/2011/07/lion-auf-getunten-mac-minis/" target="_blank">Gerd Ohlweiler</a> (and others) for documenting how to do this.</p>
<p>What we don&#8217;t know, however, is wether this will reliably work in the long run (e.g., with software updates) &#8211; Apple may actually have a reason why these machines are not officially supported&#8230;</p>
<p><strong>Recovering a wrecked Lion installation</strong></p>
<p>Once you&#8217;ve installed Lion at least once (or actually have one of those new MacBook Airs released alongside Lion), there are other methods to recover from a messed-up installation are described in <a title="About Lion Recovery" href="http://support.apple.com/kb/HT4718" target="_blank">this Apple support document</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ennonymous.de/2011/07/22/4-or-more-ways-to-install-mac-os-x-10-7-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saving money on MacBook battery replacements</title>
		<link>http://ennonymous.de/2011/01/15/saving-money-on-macbook-battery-replacements/</link>
		<comments>http://ennonymous.de/2011/01/15/saving-money-on-macbook-battery-replacements/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 13:13:54 +0000</pubDate>
		<dc:creator>ennonymous</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://ennonymous.de/?p=91</guid>
		<description><![CDATA[Replacing a dead battery can be a costly exercise, especially with Apple laptops. Even those user-serviceable batteries feature a hefty price tag in the Apple store, and on-line merchants aren&#8217;t significantly cheaper, either. Add to that the blogosphere&#8217;s widespread opinion that Apple&#8217;s batteries tend to fail three and a half seconds (on average) after your warranty [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<img class="size-full wp-image-96" title="Swapping the battery of an old electric Mercedes (source: http://www.treehugger.com/files/2009/10/ford-not-sold-on-battery-swapping-stations-for-electric-cars.php)" src="http://ennonymous.de/wp-content/uploads/2011/01/merc_swap_battery.jpg" alt="Swapping the battery of an old electric Mercedes (source: http://www.treehugger.com/files/2009/10/ford-not-sold-on-battery-swapping-stations-for-electric-cars.php)" width="468" height="349" /></p>
<p>Replacing a dead battery can be a costly exercise, especially with Apple laptops. Even those user-serviceable batteries feature a hefty price tag in the Apple store, and on-line merchants aren&#8217;t significantly cheaper, either. Add to that the blogosphere&#8217;s widespread opinion that Apple&#8217;s batteries tend to fail three and a half seconds (on average) after your warranty has run out, and the &#8220;rising energy costs&#8221; everybody is talking about quickly apply to your very own notebook.</p>
<p>Surprisingly (and here&#8217;s the actual informative content of this post), it is cheaper to get an appointment at your local Apple Store&#8217;s Genius Bar and have them swap in a replacement battery for you, than actually ordering one from the &#8216;net (or Apple&#8217;s own webstore) and doing it yourself. This, of course, requires that you live somewhere near an Apple Store, which in Germany (unlike the US) is rather unlikely, but it can save you about 25% compared to online prices.</p>
<p>Also, to delay having to drop money on a new battery at all, it might pay off to have a look at Apple&#8217;s <a href="http://support.apple.com/kb/ht1490" target="_blank">battery calibration recommendations</a>. I&#8217;ll give it a shot in the hope that this one survives more than 111 cylces.</p>
]]></content:encoded>
			<wfw:commentRss>http://ennonymous.de/2011/01/15/saving-money-on-macbook-battery-replacements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Inception&#8221; as self-modifying code</title>
		<link>http://ennonymous.de/2010/08/11/inception-as-self-modifying-code/</link>
		<comments>http://ennonymous.de/2010/08/11/inception-as-self-modifying-code/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 08:54:42 +0000</pubDate>
		<dc:creator>ennonymous</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Movies]]></category>

		<guid isPermaLink="false">http://ennonymous.de/?p=67</guid>
		<description><![CDATA[  The movie &#8220;Inception&#8221; seems to have gathered quite a following among the technology-affine crowd, similar to what happened when Matrix came out &#8212; which is not all that surprising since both movies have quite a bit in common. Now, however, some very dedicated folks have implemented Inception&#8217;s plot as a multithreaded C application, where characters are represented [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"> <a href="http://ennonymous.de/wp-content/uploads/2010/08/screenshot.png"><img class="aligncenter size-full wp-image-74" title="screenshot" src="http://ennonymous.de/wp-content/uploads/2010/08/screenshot.png" alt="" width="528" height="375" /></a><a href="http://ennonymous.de/wp-content/uploads/2010/08/screenshot.png"></a></p>
<p>The movie &#8220;<a title="Inception at IMDB" href="http://www.imdb.com/title/tt1375666/" target="_blank">Inception</a>&#8221; seems to have gathered quite a following among the technology-affine crowd, similar to what happened when Matrix came out &#8212; which is not all that surprising since both movies have quite a bit in common.</p>
<p>Now, however, some very dedicated folks have implemented Inception&#8217;s plot as a <a title="Inception at GitHub" href="http://github.com/karthick18/inception" target="_blank">multithreaded C application</a>, where characters are represented by separate but interacting threads, sharing functions (the dream levels) but performing different actions within the dreams. Analogous to the movie, the code actually uses x86 code morphing techniques to &#8220;implant&#8221; modified instructions into the Fischer thread&#8217;s instruction stream.</p>
<p>This is crazy on so many levels. And to think that I already had trouble following the movie&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://ennonymous.de/2010/08/11/inception-as-self-modifying-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reducing rSoC synthesis turnaround times with xstcache</title>
		<link>http://ennonymous.de/2010/08/09/reducing-rsoc-synthesis-times-with-xstcache/</link>
		<comments>http://ennonymous.de/2010/08/09/reducing-rsoc-synthesis-times-with-xstcache/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 14:06:05 +0000</pubDate>
		<dc:creator>ennonymous</dc:creator>
				<category><![CDATA[FPGA]]></category>

		<guid isPermaLink="false">http://ennonymous.de/?p=26</guid>
		<description><![CDATA[Working with complex reconfigurable SoC designs in Xilinx EDK can be a tedious process &#8212; especially, when you&#8217;re tweaking single VHDL source files of a single pcore, just to have all the pcores resynthesized by a twitchy makefile within the EDK build process. To cut down on design turnaround times, we&#8217;ve written a simple Python [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://ennonymous.de/wp-content/uploads/2010/08/turnaround.jpg"><img class="aligncenter size-full wp-image-28" title="turnaround" src="http://ennonymous.de/wp-content/uploads/2010/08/turnaround.jpg" alt="" width="283" height="239" /></a></p>
<p>Working with complex reconfigurable SoC designs in Xilinx EDK can be a tedious process &#8212; especially, when you&#8217;re tweaking single VHDL source files of a single pcore, just to have all the pcores resynthesized by a twitchy makefile within the EDK build process.</p>
<p>To cut down on design turnaround times, we&#8217;ve written a simple Python script called <em>xstcache</em>, which does the same what <em>ccache</em> does for C sources. It looks at the input files, synthesis parameters and the environment, and, if the same combination has been used for a previous synthesis run, re-uses the result (the netlist) of that synthesis iteration without actually running XST.</p>
<p>For typical EDK projects, this reduces the time for the syntesis step considerably, as most pcore sources do not change between synthesis iterations.</p>
<p>You can find <em>xstcache</em> at <a href="http://github.com/luebbers/xstcache/" target="_blank">GitHub</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ennonymous.de/2010/08/09/reducing-rsoc-synthesis-times-with-xstcache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
