<?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>marcoschuh.de</title>
	<atom:link href="http://marcoschuh.de/wp/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://marcoschuh.de/wp</link>
	<description>code, techtalk and stuff</description>
	<lastBuildDate>Fri, 07 May 2010 10:49:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Easytag Build for OSX &#8211; alpha3 released</title>
		<link>http://marcoschuh.de/wp/?p=673</link>
		<comments>http://marcoschuh.de/wp/?p=673#comments</comments>
		<pubDate>Fri, 07 May 2010 10:49:34 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[EasyTAG]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=673</guid>
		<description><![CDATA[Rebuild and repackaged my easytag build : alpha3. Now it seems to finally support 10.4 and 10.5 on Intel Macs &#8211; I have received very positive feedback. For the technical interested : It is some dyld Load command issue, somehow the loader command LC_DYLD_INFO was incorporated in my libwavepack.dylib even though I think I passed [...]]]></description>
			<content:encoded><![CDATA[<p>Rebuild and repackaged my easytag build : alpha3. Now it seems to finally support 10.4 and 10.5 on Intel Macs &#8211; I have received very positive feedback.</p>
<p>For the technical interested :</p>
<p>It is some dyld Load command issue, somehow the loader command LC_DYLD_INFO was incorporated in my libwavepack.dylib even though I think I passed the correct compile and linker options via Deployment Target and Min Version to libwavepack … the other libraries work fine with the same options, but perhaps it was only stupid me …<br />
Whatever, for the moment libwavpack has been removed &#8211; the rest works now well with 10.4 and 10.5 – I try to figure wavepack out some time.</p>
<p> &nbsp;<span /></p>
<p><a href ="http://marcoschuh.de/wp/?page_id=411#downloads">Go get it</a></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=673</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easytag Build for OSX &#8211; alpha 2 released</title>
		<link>http://marcoschuh.de/wp/?p=658</link>
		<comments>http://marcoschuh.de/wp/?p=658#comments</comments>
		<pubDate>Sun, 25 Apr 2010 16:52:39 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[EasyTAG]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=658</guid>
		<description><![CDATA[Updated my easytag build. I fixed some minor quirks which resulted from the original code not being build for Mac OSX and usage inside an Mac App Bundle. I also rebuild my complete toolchain and all the libs with new min-target deployment options so you guys with Panther and Leopard can use it too. So [...]]]></description>
			<content:encoded><![CDATA[<p>Updated my easytag build. I fixed some <a href="http://marcoschuh.de/wp/?page_id=411#releases">minor quirks</a> which resulted from the original code not being build for Mac OSX and usage inside an Mac App Bundle.<br />
I also rebuild my complete toolchain and all the libs with new min-target deployment options so you guys with Panther and Leopard can use it too.  <del datetime="2010-04-26T13:35:11+00:00">So it should work now under 10.4 and 10.5 too</del> &#8211; I need your feedback, so please download and test it.</p>
<p> &nbsp;<span /></p>
<p><strong>Update</strong> : Unfortunatly the new build doesn&#8217;t work under 10.4 and 10.5 &#8211; but continues to work under 10.6. I will try and look into this &#8230;</p>
<p> &nbsp;<span /></p>
<p><a href ="http://marcoschuh.de/wp/?page_id=411#downloads">Go get it</a></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=658</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sony VGN-NS21M and the DIPs</title>
		<link>http://marcoschuh.de/wp/?p=632</link>
		<comments>http://marcoschuh.de/wp/?p=632#comments</comments>
		<pubDate>Mon, 29 Mar 2010 05:46:08 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=632</guid>
		<description><![CDATA[So just in case you ever come across a Sony VGN-NS21M Laptop or something similar where LCD Resolution is wrong (1024 instead of 1280) and / or the screen is black and blank even though the laptop seems to boot (backlight off), you just might have a case of wrong DIP Switch positions &#8230; This [...]]]></description>
			<content:encoded><![CDATA[<p>So just in case you ever come across a Sony VGN-NS21M Laptop or something similar where LCD Resolution is wrong (1024 instead of 1280) and / or the screen is black and blank even though the laptop seems to boot (backlight off), you just might have a case of wrong DIP Switch positions &#8230; <span id="more-632"></span><br />
<br /><span /><br />
</p>
<div class="img-shadow">
<img src="http://marcoschuh.de/wp/wp-content/uploads/2010/03/IMAG0192-150x150.jpg" alt="" />
</div>
<p>This Laptop has a panel of 4 dip-switches under the keyboard. Unfortunatly I was not able to find any manual where positions are described so I had to figure them out on my own.<br />
<br />
If I recall correctly :<br />
4 is for the backlight (Position on &#8211; on at start &#8211; off of at start)<br />
3 is for the resolution (off 1280 &#8211; on 1024)<br />
2 and 1 unknown<br />
<br /><span /><br />
<br />
So the correct position for me was :</p>
<table style="float:left; width: 300px;">
<tr>
<td>ON</td>
<td>OFF</td>
<td>ON</td>
<td>ON</td>
</tr>
<tr>
<td>4</td>
<td>3</td>
<td>2</td>
<td>1</td>
</tr>
</table>
<div style="clear:both"></div>
<p>No Warranty &#8211; use this at your own risk<br />
<br />
Not to say I have no clue how the costumer changed the dip positions &#8230;.</p>
<p><span /><br />
<br /><span /></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=632</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Easytag build for OSX</title>
		<link>http://marcoschuh.de/wp/?p=616</link>
		<comments>http://marcoschuh.de/wp/?p=616#comments</comments>
		<pubDate>Wed, 17 Feb 2010 09:47:07 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[EasyTAG]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=616</guid>
		<description><![CDATA[&#160; Here it is, and easy to use (inofficial) Easytag build for OSX, this is the most recent version (2.1.6) with the latest patches that is available from the easytag homepage. For me it works quite well, I tested mp3 tagging, file renaming and cddb lookup and had no issues till now. But beware this [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<div class="img-shadow">
<img src="http://marcoschuh.de/wp/wp-content/images/EasytagMac_1_thumb.jpg" alt="Easytag DiskImage" />
</div>
<p>Here it is, and easy to use (inofficial) Easytag build for OSX, this is the most recent version (2.1.6) with the latest patches that is available from the easytag homepage.<br />
<br />
For me it works quite well, I tested mp3 tagging, file renaming and cddb lookup and had no issues till now.<br />
<br />
But beware this is an alpha build, if you try it out I would be glad to hear any positive or negative issues. Please leave comments or write me an email.<br />
<br />
<a href="http://marcoschuh.de/wp/?page_id=411">Read more and Go get it !</a><br />
<br />&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=616</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Visualstudio 2008 clutters &#8220;CurrentSettings.vssettings&#8221; files everywhere</title>
		<link>http://marcoschuh.de/wp/?p=485</link>
		<comments>http://marcoschuh.de/wp/?p=485#comments</comments>
		<pubDate>Wed, 20 Jan 2010 08:15:44 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[VisualStudio]]></category>
		<category><![CDATA[vssettings]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=485</guid>
		<description><![CDATA[At the moment I am doing some C# programming with VS2008. Since a few days I had the Problem, that whenever I open a Project Visual Studio complains that it can not read or write from the &#8220;CurrentSettings.vssettings&#8221; file. As if that wouldn&#8217;t be enough VS startet cluttering my project folders and everything with it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>At the moment I am doing some C# programming with VS2008. Since a few days I had the Problem, that whenever I open a Project Visual Studio complains that it can not read or write from the &#8220;CurrentSettings.vssettings&#8221; file.<br />
As if that wouldn&#8217;t be enough VS startet cluttering my project folders and everything with it&#8217;s &#8220;.vssettings&#8221; files because there it was able to write.<br />
<span id="more-485"></span><br />
I tried to reset the Settings via the Visual Studio Menu :<br />
Menu -> Tools -> Import / Export Settigns -> Reset all Settings<br />
but that didn&#8217;t help either, it gave me the same error message.<br />
<br />
After some digging deeper the solution was to <strong>right click on my &#8220;My Documents/Visual Studio 2008&#8243; folder and remove the write-protect option (inherently) from this folder and it&#8217;s files</strong>.<br />
Well I am almost certain I did not manually write-protect the settings file <img src='http://marcoschuh.de/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  so this seems like a VS bug.<br />
<br />
After that I restored to standard C# Settings and then made my usual adjustments &#8211; everything works fine again, altough if I look at the VS Folder some files in it are already right protected again &#8211; oh well everthing works and I am glad.</p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=485</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing Opensolaris &amp; ZFS</title>
		<link>http://marcoschuh.de/wp/?p=439</link>
		<comments>http://marcoschuh.de/wp/?p=439#comments</comments>
		<pubDate>Sun, 13 Sep 2009 20:16:20 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[zfs]]></category>
		<category><![CDATA[home server]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=439</guid>
		<description><![CDATA[After beeing a long term linux user on my primary server at home. I decided to switch. I begun running out of space on my existing machine, which was running gentoo linux with a RAID-5 Linux md software raid @ 750GB netto capacity and served me well for the last 3 1/2 years. Well I [...]]]></description>
			<content:encoded><![CDATA[<p> <span /><br />
After beeing a long term linux user on my primary server at home. I decided to switch. I begun running out of space on my existing machine, which was running gentoo linux with a RAID-5 Linux md software raid @ 750GB netto capacity and served me well for the last 3 1/2 years.<br />
<br />
Well I could have just put in more or bigger hard drives and not make such a big fuzz. But since i saw a presentation of Sun at the Linuxtag 2006, i was intrigued by the capabilities and design of ZFS.<br />
And with all the attention ZFS was getting recently, i began monitoring it&#8217;s progress in evolving more thoroughly by reading the zfs-discuss mailing list, and studying all websites, blog-posts and scientific papers I could get my hands on &#8230;<br />
<br />
<em>The reasons for choosing ZFS :</em><br />
<br />
<span id="more-439"></span><br />
ZFS has an impressive feature list, and these features are being discussed in length everywhere. So I just want to mention the most important to me :</p>
<ul>
<li>Continuuous Data Protection with checksumming.</li>
<li>Various &#8220;Raid&#8221; Level implementations, that don&#8217;t have a write hole.</li>
<li>Snapshots and Clones at block-level</li>
<li>Easy built-in sharing via NFS, CIFS (Samba) and iSCSI.</li>
</ul>
<p>These features make it almost ideal for my use and in my opinion the ideal case for a non-distributed server filesystem, and far superior to ext2/3/4, reiserfs, xfs, jfs, ntfs or UFS. The only one that could compete is btrfs which also has a great feature list, but unfortunatly is not that far in it&#8217;s stage of development altough it was recently commited to the mainline linux kernel &#8211; the on disk format is not fixed yet (Sep. 2009).<br />
This does not mean that ZFS is perfect, it&#8217;s probably far from yet. It has several quirks and shortcomings, among them :</p>
<ul>
<li><em>You can not easily expand to an existing raidz zpool by adding a single harddrive</em><br />
This means if you have an existing zpool, for example a 3 x 500GB raidz1, you can not add another 500GB disk to the zpool to expand it&#8217;s capacity. This feature is very often requested from home users, but not on a very high priority schedule for the developers, because big corporations tend to add complete raidzX vdevs to their pools.</li>
<li><em>Recovering your data can be pretty ugly</em><br />
Of course you should always have a recent backup of your data. But once your zpool gets corrupted for whatever reason, and you have not backuped all the data, e.g. the data from the last two days, it can be a very complicated task messing around with zdb and other tools to get your data partly back, if it&#8217;s possible at all (corruption of entire pools actually can happen in spite of the transactional copy on write approach &#8211; see the zfs mailing lists &#8211; but I would still consider to be my data more safe with zfs than anything else). </li>
</ul>
<p><span /><br />
<em>The reasons that drove me clearly towards Opensolaris :</em><br />
<br />
After beeing a long term linux user, I first took a look at what was the status of ZFS on linux. Well due to licensing issues between the CDDL and the GPL there will be appearently no kernel ZFS solution for Linux until the zfs licensing changes (which could be never, but considering Oracle buying Sun, there might be a glimpse of hope for the Tux). So you are left with using ZFS over FUSE (Filesystem In Userspace), which works ok if you want to play around with zfs but has nowhere near the performance of a native implementation. So using linux was not an option.<br />
<br />
I had also previously touched various bsd flavors but never became too familiar with them. Well it might have been time to and after investigating further it turned out that FreeBSD has a real good ZFS implementation, with almost all the features working and good performance.<br />
But for the fact that my primary server has mainly two functions (1) Storing and serving all my data and (2) acting as a Host for the Virtualization of a few machines which have assigned individual tasks and all run several services &#8211; FreeBSD wasn&#8217;t much of a choice either.<br />
<br />
I had been running the free vmware server for that for years, and it served me quite well on my linux server, but running vmware on FreeBSD is unsupported and has at the time beeing some constrains and known bugs.<br />
As I had always considered switching to Virtualbox, I evaluated that one but even virtualbox support is kind of inchoate and not officially supported on FreeBSD.<br />
<br />
That left me with Solaris / SXCE or Opensolaris. After digging through the differences it quickly became obvious that OpenSolaris was my choice. It&#8217;s free, open-source, has a good community and probably the best ZFS support of all operating systems, as the newest zfs features and bugfixes always get there in svn first. Also the Virtualbox support on Solaris is of course (for Sun now beeing the owner of VB) great.<br />
<br />
So I checked on the OpenSolaris HCL (Hardware Compatibility List) and the Mailing lists for the compatibility of my present server hardware.</p>
<ul>
<li><em>AMD 780g Motherboard</em> (Asus M3N),<br />
onboard NIC is not directly supported, but through a third party driver. If this solution would not work as expected, I would just put in a pci-express intel NIC.<br />
Onboard AHCI should work ok with recent opensolaris builds.</li>
<li><em>Athlon 64 X2 4850e</em>,<br />
one small problem here &#8211; cool and quiet power management is not supported under OpenSolaris, so now frequency scaling, but no too big issue since I plan moving on to an Athlon II or Phenom II, for which cool n quiet is supported (for all AMD K10 and above) </li>
<li><em>Icydock MB-454-SPF</em>, 4-port sata Bay,<br />
well this is just the enclosure, no driver needed &#8211; no problems</li>
<li><em>Dawicontrol DC-4300</em> (Silicon Image sil3124),<br />
good OpenSolaris support &#8211; yes NCQ should work</li>
</ul>
<p> <span /><br />
So the decision has been made &#8230;<br />
<br /> <span /><br />
&raquo; TO BE Continued on <a href="#">Installing Opensolaris</a><br />
<br /> <span /><br />
<br /> <span /><br />
<br /> <span /></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=439</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>add subversion and other build information to Xcode projects</title>
		<link>http://marcoschuh.de/wp/?p=256</link>
		<comments>http://marcoschuh.de/wp/?p=256#comments</comments>
		<pubDate>Thu, 09 Jul 2009 22:01:52 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[cocoa]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[xcode]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=256</guid>
		<description><![CDATA[If you are developing apps with Xcode that are managed by subversion, it might come handy to get subversion information, like the revision number, into your application. Also other build information can provide useful later, like build date, gcc version and so on. You can e.g show this info in your about dialog, so the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are developing apps with Xcode that are managed by subversion, it might come handy to get subversion information, like the revision number, into your application. Also other build information can provide useful later, like build date, gcc version and so on. You can e.g show this info in your about dialog, so the and user can inform you what version he is running. And this way your app knows when it was built and what revision it is, so you could probably send this info with bug or crash reports.<br />
<br />
To achieve this, you can simply add a costum script to your build phases, which collects this information and writes it in a file. Either a simple text file, or you can choose to put the info in a header file so it&#8217;s available as a variable at code compile time.<br />
<span id="more-256"></span><br />
<img src="http://marcoschuh.de/wp/wp-content/uploads/2009/07/Xcode_addScriptBuildPhase.jpg" alt="Xcode_addScriptBuildPhase" title="Xcode_addScriptBuildPhase" width="661" height="193" class="alignnone size-full wp-image-258" /><br />
Right Click on Targets -> Add -> New Build Phase -> New Run Script Build Phase<br />
<br />
This will add a new Script Build Phase to your target, you can name it the way you want. Double-Click it and an editor window will come up, in which you can add bash code.<br />
<img src="http://marcoschuh.de/wp/wp-content/uploads/2009/07/Xcode_Run-Script-Phase.jpg" alt="Xcode_Run Script Phase" title="Xcode_Run Script Phase" width="457" height="220" class="alignnone size-full wp-image-273" /><br />
<br />
This is a part of one of my build scripts and shows an example of how to add the build information to a file :<br />
<br /><span /></p>
<div class="codetitle">buildscript.sh</div>
<div class="clear" > </div>
<div class="codebox">
<code>echo -e "Build Info \n" > buildinfo.txt;<br />
echo -e -n "Build date\t\t: ">> buildinfo.txt;<br />
date "+%Y-%m-%d %H:%M" >> buildinfo.txt;<br />
echo -e -n "SVN Revision \t\t: " >> buildinfo.txt;<br />
svnversion -n >> buildinfo.txt;<br />
echo -e -n "\nXCode Version \t: " >> buildinfo.txt;<br />
cat /Developer/Applications/Xcode.app/Contents/Info.plist | grep "Xcode version" | awk '{print $3}' | cut -d "<" -f1 >> buildinfo.txt<br />
echo -e -n "GCC Version \t\t: " >> buildinfo.txt;<br />
gcc --version | head -1 | awk '{print $1}' >> buildinfo.txt;<br />
</code>
</div>
<div class="codecomment">Download the script <a href="http://marcoschuh.de/wp/wp-content/uploads/2009/07/buildscript.sh.txt">here</a> or better copy and paste directly into xcode</div>
<p><span /><br />
that was it, your information now gets inserted into an file named buildinfo.txt, for which you probably want to add a new &#8220;copy files build phase&#8221; to your target and copy this file to your ressource folder.<br />
<br />
you can then easily display your information via something like<br />
<br /><span /></p>
<div class="clear" > </div>
<div class="codebox">
<code>NSString *path = [[NSBundle mainBundle] pathForResource:@"buildinfo" ofType:@"txt"];<br />
NSString *fileText = [NSString stringWithContentsOfFile:path];<br />
[aTextView setString:fileText];<br />
</code>
</div>
<p><span /><br />
This could then look simliar to this :<br />
<br /><span /></p>
<p><img src="http://marcoschuh.de/wp/wp-content/uploads/2009/07/synox2_About_Buildinfo.jpg" alt="synox2_About_Buildinfo" title="synox2_About_Buildinfo" width="371" height="462" class="alignnone size-full wp-image-295" /><br />
<br />
You can also adjust the script to write the gained infos in an .h file as defines, and so use them as regular variables in your program, but be sure to position the build info script before the compile script then !! <img src='http://marcoschuh.de/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<br /><span /></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=256</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Window Management in Windows 7</title>
		<link>http://marcoschuh.de/wp/?p=222</link>
		<comments>http://marcoschuh.de/wp/?p=222#comments</comments>
		<pubDate>Sat, 27 Jun 2009 22:36:48 +0000</pubDate>
		<dc:creator>marco</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[multi monitor]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=222</guid>
		<description><![CDATA[After installing and testing Window 7 RC thoroughly on my Workstation, I have to say that I quiet like it, not only thats it runs much smoother and faster than vista, has more Functions than XP and seems to be very stable and mature. Really the best part in my opinion is : The Window [...]]]></description>
			<content:encoded><![CDATA[<p>After installing and testing Window 7 RC thoroughly on my Workstation, I have to say that I quiet like it, not only thats it runs much smoother and faster than vista, has more Functions than XP and seems to be very stable and mature. Really the best part in my opinion is :<br />
<br /> <span /></p>
<p><strong>The Window Management (Window Manager)</strong><br />
Simply because it now allows much more resize and placement operations with keyboard commands and the Mouse than the Window Managers in the predecessors.<br />
<span id="more-222"></span><br />
You always could maximize, minimize and show the desktop with keyboard shortcuts &#8211; but now you can resize the window to a size half of the screen and place it on the left or right edge of the screen. This way you can easily place two explorer / text editor / coding / whatever windows side by side for reading, comparing or drag&#8217;n'drop operations.<br />
Just as nice is the option to move your windows between your screens if you have a multi-monitor setup like me.<br />
Granted this was also possible in former windows version with third-party add-on software, but integrating this badly needed and productivity increasing features in windows 7 was a nice thing from microsoft.</p>
<p> <span /><br />
<br /> <span /></p>
<p>Example video  :</p>
<p><script src="http://marcoschuh.de/wp/swfobject.js" type="text/javascript"></script><br />
<script src="js/nonverblaster.js" type="text/javascript" charset="utf-8"></script></p>
<div id="videoPlayer" name="videoPlayer">
To watch this video, you need the latest <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Flash-Player</a> and active javascript in your browser.
</div>
<p>	<script type="text/javascript">
		var flashvars = {};
			flashvars.mediaURL = "http://marcoschuh.de/wp/wp-content/uploads/2009/06/Windows7_WindowManager.mov";
			flashvars.teaserURL = "http://marcoschuh.de/wp/wp-content/uploads/2009/06/Windows7_WindowManager.jpg";
			flashvars.allowSmoothing = "true";
			flashvars.autoPlay = "false";
			flashvars.buffer = "6";
			flashvars.showTimecode = "true";
			flashvars.loop = "true";
			flashvars.controlColor = "0xFFFFFF";
			flashvars.controlBackColor = "0x000000";
			flashvars.scaleIfFullScreen = "true";
			flashvars.showScalingButton = "true";
			flashvars.defaultVolume = "100";
			var params = {};
			params.menu = "false";
			params.allowFullScreen = "false";
			params.allowScriptAccess = "always"
		var attributes = {};
			attributes.id = "nonverblaster";
			attributes.name = "nonverblaster";
			attributes.bgcolor = "#000000"
		swfobject.embedSWF("NonverBlaster.swf", "videoPlayer", "640", "248", "9", "expressinstall.swf", flashvars, params, attributes);
	</script></p>
<p> <span /><br />
<br /> <span /></p>
<p><em>For your convinience here all the keyboard shortcuts I could find out :</em></p>
<table style="width: 70%; color:black; border: 1px solid grey;">
<tr>
<td>Maximize Window</td>
<td>Win + up arrow</td>
</tr>
<tr>
<td>Minimize Window</td>
<td>Win + down arrow</td>
</tr>
<tr>
<td>(Re)center Window</td>
<td>Win + down / right / left arrow</td>
</tr>
<tr>
<td>Show desktop</td>
<td>Win + d</td>
</tr>
<tr>
<td>Make Windows translucent</td>
<td>Win + space</td>
</tr>
<tr>
<td>Resize Window to the left side</td>
<td>Win + left arrow</td>
</tr>
<tr>
<td>Resize Window to the right side</td>
<td>Win + right arrow</td>
</tr>
<tr>
<td>Move Window to the next left screen</td>
<td>Shift + Win + left arrow</td>
</tr>
<tr>
<td>Move Window to the next right screen</td>
<td>Shift + Win + right arrow</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=222</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://marcoschuh.de/wp/wp-content/uploads/2009/06/Windows7_WindowManager.mov" length="641117" type="video/quicktime" />
		</item>
		<item>
		<title>Ubuntu 9.04 Beta in Parallels 3</title>
		<link>http://marcoschuh.de/wp/?p=78</link>
		<comments>http://marcoschuh.de/wp/?p=78#comments</comments>
		<pubDate>Mon, 13 Apr 2009 18:45:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=78</guid>
		<description><![CDATA[When X keeps consistently restarting after logging in (you get to see the gnome menu bar), it&#8217;s probably the misdetection of X.org of the compositing abilities of the paralells graphics card. Which means, you get logged in correctly and then gnome wants to enable desktop effects and boom &#8211; X Server Crash. To fix it [...]]]></description>
			<content:encoded><![CDATA[<p>When X keeps consistently restarting after logging in (you get to see the gnome menu bar), it&#8217;s probably the misdetection of X.org of the compositing abilities of the paralells graphics card.<br />
Which means, you get logged in correctly and then gnome wants to enable desktop effects and boom &#8211; X Server Crash.</p>
<p>To fix it insert :</p>
<p><code><br />
Section "Extensions"<br />
Option "Composite" "Disable"<br />
EndSection</code></p>
<p>into your /etc/X11/xorg.conf</p>
<p><span id="more-78"></span></p>
<p><script src="http://marcoschuh.de/wp/swfobject.js" type="text/javascript"></script><br />
<script src="js/nonverblaster.js" type="text/javascript" charset="utf-8"></script></p>
<div id="videoPlayer" name="videoPlayer">
To watch this video, you need the latest <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Flash-Player</a> and active javascript in your browser.
</div>
<p>	<script type="text/javascript">
		var flashvars = {};
			flashvars.mediaURL = "http://marcoschuh.de/wp/wp-content/uploads/2009/06/ubuntu_parallels_xerror.mov";
			flashvars.teaserURL = "http://marcoschuh.de/wp/wp-content/uploads/2009/06/ubuntu_parallels_xerror.jpg";
			flashvars.allowSmoothing = "true";
			flashvars.autoPlay = "false";
			flashvars.buffer = "6";
			flashvars.showTimecode = "true";
			flashvars.loop = "true";
			flashvars.controlColor = "0xFFFFFF";
			flashvars.controlBackColor = "0x000000";
			flashvars.scaleIfFullScreen = "true";
			flashvars.showScalingButton = "true";
			flashvars.defaultVolume = "100";
			var params = {};
			params.menu = "false";
			params.allowFullScreen = "false";
			params.allowScriptAccess = "always"
		var attributes = {};
			attributes.id = "nonverblaster";
			attributes.name = "nonverblaster";
			attributes.bgcolor = "#000000"
		swfobject.embedSWF("NonverBlaster.swf", "videoPlayer", "640", "400", "9", "expressinstall.swf", flashvars, params, attributes);
	</script></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=78</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://marcoschuh.de/wp/wp-content/uploads/2009/06/synox2_and_growl_lq.mov" length="156651" type="video/quicktime" />
<enclosure url="http://marcoschuh.de/wp/wp-content/uploads/2009/06/ubuntu_parallels_xerror.mov" length="154718" type="video/quicktime" />
		</item>
		<item>
		<title>Creating self executing .exe archieves with 7zip</title>
		<link>http://marcoschuh.de/wp/?p=26</link>
		<comments>http://marcoschuh.de/wp/?p=26#comments</comments>
		<pubDate>Fri, 13 Mar 2009 16:54:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[.exe]]></category>
		<category><![CDATA[7zip]]></category>
		<category><![CDATA[archieve]]></category>

		<guid isPermaLink="false">http://marcoschuh.de/wp/?p=26</guid>
		<description><![CDATA[Creating self executing .exe archieves with 7zip is a good and simple thing. Why would you need that ? I have a program consisting of an executable and several ressource files as well as configuration which should be easily editable. In my case it&#8217;s a modified version of UltraVNC SC. It shall be packed into [...]]]></description>
			<content:encoded><![CDATA[<p>Creating self executing .exe archieves with 7zip is a good and simple thing. Why would you need that ? I have a program consisting of an executable and several ressource files as well as configuration which should be easily editable. In my case it&#8217;s a modified version of UltraVNC SC. It shall be packed into a single .exe so the costumer has not to mess with a bunch of files.</p>
<p><span id="more-26"></span></p>
<ul>
<li>Get together your Files</li>
<li>Grab <a href="http://7-zip.org/download.html">7zip console version</a>, <a href="http://7-zip.org/download.html">7 zip sfx archieve</a> (in the extra library package)</li>
<li>Adjust the config.txt</li>
<li>Adjust this shell code to match your files</li>
<p><code><br />
7za a -mx=9 -t7z newArchieve.7z File1.exe File2.bat File3.txt<br />
</code><br />
This will make an 7zip archieve (&#8220;a&#8221; means add files) with the maximum compression level (&#8220;-mx=9&#8243;) in 7zip format (&#8220;-t7z&#8221;). You can also use the GUI version of the 7zip packer to do this, it makes no difference. For me the command line is more suitable because i execute this in .bat scripts &#8230;<br />
<code><br />
copy /b 7zSD.sfx + config.txt + newArchieve.7z yourFinalExecutable.exe<br />
</code><br />
This commands concats the Files into the final desired executable. The sfx file includes binary code to decompress and execute what you specify in the config.txt file, while the newArchieve obviously holds YOUR files &#8230;</ul>
<p>Voila there you go. yourFinalExecutable.exe should work on almost any Windows system. Upon it&#8217;s execution it will unpack the files in the archieve in a temporary directory, execute the stuff specified in config.txt and after execution remove the archieve files.</p>
<p>Alternativly you can use <a href="http://www.gdgsoft.com/faq/7zsfx.htm">Paquet Builder</a> for doing it in a gui. But it&#8217;s only allowed for personal use, otherwise you have to pay (which i consider ok as a developer myself).</p>
<p>Replacing the icon of the sfx .exe :</p>
<p>Using <a href="http://www.angusj.com/resourcehacker/">Ressource hacker</a> tip from <a href="http://stadt-bremerhaven.de/en/2007/01/10/7zip-sfx-mit-eigenem-icon-versehen/">cashy</a> :<br />
This SHOULD work because the icon should be at the same position in your exe, but it COULD possibly DESTROY your exe, so make backup copies first !<br />
<code><br />
reshacker.exe -addoverwrite your.exe, your.exe, yourIcon.ico, icongroup,101,1033<br />
del ResHacker.ini<br />
del ResHacker.log<br />
</code><br />
Alternativly <a href="http://www.wilsonc.demon.co.uk/d10resourceeditor.htm">Ressource Editor</a></p>
<p>Useful ressources :<a href="http://www.bugaco.com/7zip/MANUAL/switches/sfx.htm#SFX_Module"><br />
7zip docs -sfx switch</a></p>
<p><a href="http://dotnetperls.com/Content/7-Zip-Examples.aspx">7zip examples</a></p>
<p><a href="http://teejee2008.wordpress.com/7-zip-sfx-maker/">7zip SFX Maker (freeware)</a></p>
<p><a href="http://www.wincert.net/forum/index.php?s=47c7b1ef0cca7227c0b1847fa3987d53&amp;showtopic=1978&amp;view=findpost&amp;p=11226">upx &#8211;ultrabrute 7zip sfx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://marcoschuh.de/wp/?feed=rss2&amp;p=26</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
