<?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>Frozentux &#187; Windows</title>
	<atom:link href="http://www.frozentux.net/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frozentux.net</link>
	<description>Yet another site</description>
	<lastBuildDate>Mon, 24 May 2010 16:53:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Regarding web browsers and User Interfaces</title>
		<link>http://www.frozentux.net/2010/03/regarding-web-browsers-and-user-interfaces/</link>
		<comments>http://www.frozentux.net/2010/03/regarding-web-browsers-and-user-interfaces/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 17:54:26 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Frozentux.net]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.frozentux.net/?p=550</guid>
		<description><![CDATA[I had a discussion this morning with my wife regarding her new computer (Toshiba laptop). A few days back, I was contemplating the possibility to try and get rid of the Windows 7 license it came with the EULA disagreement argument and get my money back, but after much consideration and realizing that her school [...]]]></description>
			<content:encoded><![CDATA[<p>I had a discussion this morning with my wife regarding her new computer (Toshiba laptop). A few days back, I was contemplating the possibility to try and get rid of the Windows 7 license it came with the EULA disagreement argument and get my money back, but after much consideration and realizing that her school (Chalmers University) pretty much requires her to run Windows 7 and Office 2007 (all applications used are windows based with Unix/Linux alternatives only irregularly, and her lab professors more or less frowns on OpenOffice.org vs MS Office formatting problems), we decided to keep it. This is another story, how Chalmers went from being a very open University to a complete clusterfuck of a Microsoft bootcamp and something I&#8217;d love to write more about at some point, but not now.</p>
<p>The computer has arrived finally, and my wife had a little time to play around with Windows 7. I&#8217;ve personally not used Windows since Win XP and refuse to lay hands on it unless &#8220;forced&#8221; to at work. Her main gripes came with Internet Explorer 8, and I couldn&#8217;t help but laugh very loudly at her assessment of it. It incessantly keeps asking questions and giving hints and ideas like &#8220;How do you like this?&#8221;, &#8220;Did you know that IE plugin blah &#8230;?&#8221;, &#8220;We can help you do &#8230;?&#8221;, &#8220;Do you have herpes?&#8221; to the point where the only sane comparison she could make is a very horny and needy drunk boy at a club. It took her less than one battery charge to switch back over to Firefox. My guess is that they simply made the user interface a bit &#8230; too helpful, and tried to be too reactive to &#8220;possible needs in this context&#8221;.</p>
<p>So, on this topic, I thought it could be slightly interesting to see this months statistics and split between different operating systems and web browsers.</p>
<h3>Operating systems</h3>
<p>I can&#8217;t really say that this site is representative of the world in general, but I think it is interesting to see the level of windows users. I&#8217;m guessing this is a sign that many of the people visiting are reading about iptables and using linux for servers and firewalls, but aren&#8217;t using it as a desktop system (yet?).</p>
<table border="1" cellspacing="0" cellpadding="2" width="100%">
<tbody>
<tr>
<td><strong>Windows</strong></td>
<td>59.1 %</td>
</tr>
<tr>
<td><strong>Linux</strong></td>
<td>31.3 %</td>
</tr>
<tr>
<td><strong>Macintosh</strong></td>
<td>6.4 %</td>
</tr>
<tr>
<td><strong>Unknown</strong></td>
<td>2.7 %</td>
</tr>
</tbody>
</table>
<h3>Web browser</h3>
<p>Personally, I find this part the most astounding. That IE has gone so low is simply not something I had expected, and how big market share firefox has&#8230; incredible.</p>
<table border="1" cellspacing="0" cellpadding="2" width="100%">
<tbody>
<tr>
<td><strong>Firefox</strong></td>
<td>60.7 %</td>
</tr>
<tr>
<td><strong>MS Internet Explorer</strong></td>
<td>16.4 %</td>
</tr>
<tr>
<td>Safari</td>
<td>11.4 %</td>
</tr>
<tr>
<td>Mozilla</td>
<td>4.5 %</td>
</tr>
<tr>
<td>Opera</td>
<td>4.1 %</td>
</tr>
<tr>
<td>Unknown</td>
<td>1.2 %</td>
</tr>
</tbody>
</table>
<p>I will try to do some more work on this in the future, could be interesting to see this change over time. I know the reliability of my own source isn&#8217;t excellent and the error margin is probablythrough the roof, but it should be rather fun to dig in to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2010/03/regarding-web-browsers-and-user-interfaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Ubuntu as Media Server for Xbox360</title>
		<link>http://www.frozentux.net/2009/11/using-ubuntu-as-media-server-for-xbox360/</link>
		<comments>http://www.frozentux.net/2009/11/using-ubuntu-as-media-server-for-xbox360/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 19:24:49 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[UPnP]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://www.frozentux.net/?p=483</guid>
		<description><![CDATA[I got a Xbox360 since about a year and I just noticed it had some way of connecting to a PC, using the PC as a Media Server. Unfortunately it required a Windows Media Center installation to work, or so it claimed at least. This is probably not news to anyone, but it was very [...]]]></description>
			<content:encoded><![CDATA[<p>I got a Xbox360 since about a year and I just noticed it had some way of connecting to a PC, using the PC as a Media Server. Unfortunately it required a Windows Media Center installation to work, or so it claimed at least. This is probably not news to anyone, but it was very easy to get Ubuntu (or any other Linux distro as a matter of fact) to serve media for the Xbox 360. Xbox 360 uses UPnP to get media from the Windows Media Center PC. To make any recent Ubuntu able to serve UPnP suitable for the Xbox, do the following:</p>
<ol>
<li>sudo apt-get install ushare</li>
<li>sudo dpkg-reconfigure ushare</li>
<li>sudo vim /etc/ushare.conf
<ol>
<li>Make sure all the settings are correct.</li>
</ol>
</li>
<li>sudo vim /etc/default/ushare
<ol>
<li>Make sure it contains <em>USHARE_OPTIONS=&#8221;&#8211;xbox&#8221;</em>.</li>
</ol>
</li>
<li>sudo /etc/init.d/ushare restart</li>
</ol>
<p>You should now be able to find the PC by searching for it from the Xbox interface (the name you set in ushare.conf should show up in the list of found PC&#8217;s). Now that that&#8217;s said, I should hint that the Xbox360 has a really shitty availability of audio and video codecs, and I don&#8217;t know if it&#8217;s possible to resolve this problem. There are hints that there is something called a UPnP Media Adaptor on <a href="http://ushare.geexbox.org/">the ushare website</a> which should be able to convert to proper file formats as necessary, but ushare does not have that ability. Of course, that would give a shitload of cpu load on the fileserver as well, something which sounds less good in my opinion.</p>
<p>My personal opinion so far, Xbox 360 media center is really simple to use, but the available codecs, flexibility and scalability is catastrophically bad in comparison to my MythBuntu installation (still running 9.04 though). The Mythbuntu installation is a bit heavy on the configuration, but much more flexible, handles almost all codecs I&#8217;ve run into without even a hitch, and very scalable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2009/11/using-ubuntu-as-media-server-for-xbox360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating windows to virtualbox</title>
		<link>http://www.frozentux.net/2009/08/migrating-windows-to-virtualbox/</link>
		<comments>http://www.frozentux.net/2009/08/migrating-windows-to-virtualbox/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 09:09:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=204</guid>
		<description><![CDATA[I finally got rid of the last windows computer in our home. My laptop had a backup installation of Windows XP just in case I realized I had either forgotten something on that partition, or I realized I had some need I had forgotten. This partition has now been moved to virtualbox on my workstation [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got rid of the last windows computer in our home. My laptop had a backup installation of Windows XP just in case I realized I had either forgotten something on that partition, or I realized I had some need I had forgotten. This partition has now been moved to virtualbox on my workstation via the http://www.virtualbox.org/wiki/Migrate_Windows how-to.</p>
<p>Also, my wifes laptop running Windows Vista stopped working (again), and she had finally had enough of the problems that Windows installation has caused so she asked me to remove Windows Vista and install Ubuntu 9.04. The harddrive was also copied over to the workstation and I tried the same how-to as above, but it didn&#8217;t work properly unfortunately, so I winded up just moving the harddrive inside my old Windows XP installation.</p>
<p>Once this is done, I&#8217;m planning to reduce the size of the harddrives. This is 220gig data at the moment, so it could be a good thing. I will try http://forums.virtualbox.org/viewtopic.php?p=572#p572 and see how it goes. Once that is done, I&#8217;m almost 100% free of all the problems we&#8217;ve had with Windows. The only windows I have left is the backups for emergencies.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2009/08/migrating-windows-to-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syncing strategies</title>
		<link>http://www.frozentux.net/2009/05/syncing-strategies/</link>
		<comments>http://www.frozentux.net/2009/05/syncing-strategies/#comments</comments>
		<pubDate>Sun, 03 May 2009 13:41:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Communications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Phone]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[KC910]]></category>
		<category><![CDATA[LG]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=202</guid>
		<description><![CDATA[Another problem has (mostly) been solved for me it seems. I&#8217;ve had quite a lot of problems the last few months with calendars and email and contacts being out of sync between workplaces and my private computers/cellphones etc. The problem has been that I&#8217;ve gotten a new contract and hence am relocated to another workplace. [...]]]></description>
			<content:encoded><![CDATA[<p>Another problem has (mostly) been solved for me it seems. I&#8217;ve had quite a lot of problems the last few months with calendars and email and contacts being out of sync between workplaces and my private computers/cellphones etc. The problem has been that I&#8217;ve gotten a new contract and hence am relocated to another workplace. My employer has a stupid (ok, maybe not so stupid, but annoying me nonetheless) policy of not allowing any e-mail to internal addresses be forwarded or fetched from external networks. At the same time, my contracting has put a heavy load on the calendar and all of a sudden I understand everyones problems with syncing e-mail/contacts/calendars etc&#8230; it&#8217;s really a must.</p>
<p>Anyways, in short, I started out with 4 calendars (workplace1, workplace2, home1, home2(laptop) and cellphone) needing sync, and using Microsoft Exchange weirdo protocols was not an option (I&#8217;m not using Windows or Outlook at home anymore). This has later been extended to sync contacts and my two instances of thunderbird (not yet finished). So, in short:</p>
<ol>
<li>Workplace1 = Windows Vista with bluetooth</li>
<li>Workplace2 = Microsoft Exchange server with limited access.</li>
<li>Home1 = Ubuntu with thunderbird</li>
<li>Home2 = Old Laptop, Windows XP with thunderbird, will likely migrate to Linux soon as well since I barely use it anymore due to the OS on it.</li>
<li>Cellphone = LG KC910 with bluetooth and wifi.</li>
</ol>
<p>First off, finding a sync strategy wasn&#8217;t easy. First, decide on where your &#8220;central repository&#8221; is, or rather which will be your main device. My current solution relies on cellphone (LG KC910) being the central repository since it&#8217;s the only common gadget at all locations. connection at workplace1 is directly over bluetooth to the KC910 using the LG sync application. The application is absolutely horrible, but it does it&#8217;s job (barely). Unfortunately LG relies on a proprietary bluetooth protocol for syncing so I have yet to find any decent replacement applications.</p>
<p>My big problem was finding a working solution at home, and I think I finally found it in Funambol (https://www.forge.funambol.org/DomainHome.html) which is a SyncML server. Basically, I got a server on my local network running Funambol, when I get home, connect to the local wifi, and sync with funambol (See http://www.mobyko.com/phoneinfo/lg/renoirkc910Info.do, a bit down for instructions). The funambol server then acts as a &#8220;central repository&#8221; when I&#8217;m at home containing all calendars etc. Thunderbird sessions on Home1 and Home2 uses the funambol addon (https://addons.mozilla.org/en-US/thunderbird/addon/8616) to sync with the funambol server.</p>
<p><span style="font-weight: bold;">WARNING! So far I dont trust funambol to run on the public internet, for one part it seems to be sending passwords in cleartext, as well as data. I&#8217;d love to figure out a way to get it all encrypted using SSL/https, but I&#8217;m a complete newbie to Tomcat (base plattform for funambol) as well as java. As far as possible, try to use a closed/encrypted network for this unless you get https running imho. </span></p>
<p>A second note on Funambol is that I had some really funny Timezone problems when setting it up, all devices run the correct timezones, but for some reason my calendars winded up being winded 2 hours into the future at home, I got it fixed by setting all timezones in funambol for all devices manually, and then disabling the timezone handling in funambol&#8230; don&#8217;t ask me why it fixed it etc, I hate working with timezones <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   .</p>
<p>All that said, I really think SyncML was a big saviour for me in the end, but I had a hard time finding a single word on it or anyone really recommending it. Bluetooth just needs to be &#8230;. well, better support, and everyone needs to agree on standards. Everyone (companies) seems to be running around doing their own thing, which means Linux has very good basic bluetooth support, but none of the higher layer stuff since it&#8217;s badly implemented or proprietary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2009/05/syncing-strategies/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Inproductive productivity</title>
		<link>http://www.frozentux.net/2009/04/inproductive-productivity/</link>
		<comments>http://www.frozentux.net/2009/04/inproductive-productivity/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 03:20:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tkinter]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=201</guid>
		<description><![CDATA[For a while I&#8217;ve been stuck in slow speed mode again, not really doing great work, just being on average. It feels weird. Don&#8217;t really get much done, but I have on the other hand had a great deal of time to test some &#8220;new&#8221; technologies, well, new as in only 10-15 years old I [...]]]></description>
			<content:encoded><![CDATA[<p>For a while I&#8217;ve been stuck in slow speed mode again, not really doing great work, just being on average. It feels weird. Don&#8217;t really get much done, but I have on the other hand had a great deal of time to test some &#8220;new&#8221; technologies, well, new as in only 10-15 years old I guess <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . I&#8217;ll get back to that later. Also, I&#8217;ve begun a new contract at &#8220;a big company&#8221;.</p>
<p>This is my first time at a really giant hunk of a company, the biggest I&#8217;ve seen before was circa 500 people in all, and it moved slower (the beaurocracy) than this in all honesty. This BigCompany is quite interesting to me. Started off with almost 4 weeks of introductions, courses, and so forth. They have a dedicated TEAM of CM&#8217;s, that alone is just&#8230; wow <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> . I&#8217;ve just been put up to speed and started working a little before this weekend so I might be a bit premature, but I like it so far. The weird part is, things happen, but not as I&#8217;m used to it. I&#8217;m used to 13+hour  days and frentic coding/hacking to get things to happen, everyone here eschews away with their 8 hour days &#8212; only working overtime at very special occasions &#8212; yet slowly things get done, new functionality gets added and so forth.</p>
<p>Another thing that kind of amazes me &#8212; and worries me to some extent &#8212; is the kind of planning that is done. I&#8217;m used to small scale projects with workpackages or task based  development, where no workpackage should ever take more than 4-5 days to implement. This place uses a workpackage development structure where each package takes up to 6-7 weeks for 6-10 people to implement. We&#8217;ll see how it works out &#8212; at least their &#8220;stand-up meetings&#8221; works <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>All that being said, I had the time to write quite a bit of python which is a first, then I&#8217;ve looked into d-bus architecture which is also  a first, and I also looked into Bluetooth and how to use it &#8212; some test applications running, fetching services and graphically displaying info about all units it finds etc. The complexity of Bluetooth is rather saddening imho, it&#8217;s a horrible protocolstack to work with in some senses, even though I was really impressed by how much python does for you.</p>
<p>I&#8217;ve been unused to the whole concept of python before this, and just a tad sceptical. Mainly because of all the problems with version matching that  you always wind up having to do, to make anything work properly (try getting scons, trac and wamp, and some more tools working on a win32 machine some day for some fun).</p>
<p>Anyways, I always figured there has to be an upside, and there really is &#8212; python is hackfriendly <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . In less than 3-4 hours I went from writing my first simple helloworld to having a scratch written class based graphical (tkinter) interface implementing some very fundamental bluetooth commands. In my world, thats not bad at all <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>I&#8217;ve also had time to learn a lot of new tools at work. I&#8217;ll comment on those some other day as I havent seen much other comments on some of them (some is imho very expensive crap with a nice wrappings, while some are completely awesome). Sidenote, I simply adore the systems we are working on 4 xeon with 4cores and 64 gig ram.</p>
<p>I&#8217;ll get back later <img src='http://www.frozentux.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2009/04/inproductive-productivity/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Removing U3 from a SanDisk cruzer micro 1gb memory</title>
		<link>http://www.frozentux.net/2008/10/removing-u3-from-a-sandisk-cruzer-micro-1gb-memory/</link>
		<comments>http://www.frozentux.net/2008/10/removing-u3-from-a-sandisk-cruzer-micro-1gb-memory/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 20:38:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[memory stick]]></category>
		<category><![CDATA[SanDisk]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=190</guid>
		<description><![CDATA[Girlfriend has had a USB memory stick for a long long time now, and every time I plugged it into the computer, I&#8217;ve gotten completely raving mad at how retarded it is. The story is this, it has 2 separate partitions. 1 partition where you save files etc, and a &#8220;system&#8221; partition containing something called [...]]]></description>
			<content:encoded><![CDATA[<p>Girlfriend has had a USB memory stick for a long long time now, and every time I plugged it into the computer, I&#8217;ve gotten completely raving mad at how retarded it is. The story is this, it has 2 separate partitions. 1 partition where you save files etc, and a &#8220;system&#8221; partition containing something called U3. U3 is closest described as a virus imho.</p>
<p>The system partition is read only and I found no way of easily making it read/write/formattable. Every time you plug in the USB stick, it will autorun a junk program called U3 launchpad with a lot of popups showing up to let you know about it, and it has a bad notion of trying to be a second &#8220;start&#8221; menu or something.</p>
<p>Anyways, I decided for the 3rd time to try and remove this crap from the USB stick, both times before I got about 10 minutes into the process, at which time the computer had locked up hard on me 2-3 times, and almost had me stomping on the memory stick out of sheer annoyance. Same thing happened this time. But, I had some more perseverance, and actually access to the internet this time, and started searching for others with the same kind of problem.</p>
<p>I found this: http://www.u3.com/uninstall/ . The sheer idiocy of this amazes me. Let&#8217;s assume that here I am buying a memory stick to help me &#8220;when I have no access to the internet&#8221;, and I get some junk with me on the usb drive. The only way of getting rid of the junk, is to download an application off of the &#8220;thing I will likely not have access to&#8221;.</p>
<p>So, I download the application, and run it. It asked me if I wanted to backup the data on the memory stick. I did, so I choose to backup data on it, and continued. It downloaded the data properly to the harddrive it looked like, and continued to reformat the drive. At this point, it crashed, trying to replug the USB drive didn&#8217;t work &#8212; apparently the driver for the drive was already installed. So, reboot the computer, and it finally recognizes the drive again. It&#8217;s empty, no more U3, but the application never got around to actually formatting the new drive and reinsert the backed up data. No worries I think, I format the drive, and manage to search down the backup to C:Documents and SettingsApplication DataU3tempU3BkUpDir. Guess what, the application only copied the directory structure, no data is actually in the directories.</p>
<p>And they have the audacity to _really really_ try to talk me into &#8220;nooo, you want to keep this application, it will save your life&#8221; more or less. It&#8217;s a freaking virus. It&#8217;s actually harder to get rid of than quite a lot of viruses, and caused more of a havoc imho. Anyways, check out the above link to get rid of U3. <span style="font-weight: bold;">And be prepared to backup data on your own</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/10/removing-u3-from-a-sandisk-cruzer-micro-1gb-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In windows, noone hears you scream</title>
		<link>http://www.frozentux.net/2008/09/in-windows-noone-hears-you-scream/</link>
		<comments>http://www.frozentux.net/2008/09/in-windows-noone-hears-you-scream/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 10:09:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=186</guid>
		<description><![CDATA[As you&#8217;ve all noticed, I&#8217;ve been working overtime with Windows as of late. I&#8217;m working in the embedded development industry, and wherever I turn, there is windows. To be honest, I don&#8217;t get this industry and why the hell they keep running in this environment. Most of the people I&#8217;ve met in the trade are [...]]]></description>
			<content:encoded><![CDATA[<p>As you&#8217;ve all noticed, I&#8217;ve been working overtime with Windows as of late. I&#8217;m working in the embedded development industry, and wherever I turn, there is windows. To be honest, I don&#8217;t get this industry and why the hell they keep running in this environment. Most of the people I&#8217;ve met in the trade are brilliant minds and know what they are doing, but the business in general are very backwards refusing to let go of things.</p>
<p>Also,  another reason for the entire trade being stuck in such a fashion is all the tools produced. You have a market catering to the same market with software and tools, developing for a single common development platform &#8212; Windows. And you have product lifetime to take into consideration&#8230;. There are still a bountiful of products out there that was developed before windows 3 was created.</p>
<p>All of this is creating a rather stagnant trade where it&#8217;s hard to get a move on, test new things, do something differently. Just take my last few weeks of working with subversion/trac/cruisecontrol on windows. Had I known just how much work I would be forced into just because someone else decided that we run it on Windows XP, I would have protested loudly.</p>
<p>I can&#8217;t simply get rid of this horrible abomination of an operating system in this trade, thats the sad but simple fact as of today. Sure, I&#8217;ve managed to get trac and cruisecontrol into the project, and we use subversion since before. But, I still <span style="font-style: italic;">need</span> Windows for proprietary development environments, proprietary fileformats from customers, proprietary software from proprietary software companies, and so forth and so forth. And before you say anything, unfortunately I&#8217;m <span style="font-style: italic;">really </span>stuck this time, proprietary IDE and compilers for weird hardware. Every time I touch an embedded project, it&#8217;s the same thing &#8220;oops, we gotta use this processor or that dohicky which requires software Y which requires Microsoft Windows&#8221;.</p>
<p>What&#8217;s just taken me 3 weeks in Windows &#8212; Basically, setting up subversion/svnsync/trac/cruisecontrol and some small work around that &#8212; was accomplished in that time, even though I did the same in less than 2 days just before in Linux. As we&#8217;re building for target via cruisecontrol, we where stuck with using Windows as the compilers where proprietary&#8230;</p>
<p>I&#8217;m a Unix person by soul, I love it, it&#8217;s natural to me, it&#8217;s my home. It&#8217;s where I come from! I feel like I&#8217;m screaming at this insanity asylum that is Windows, but nobody is listening to me. The entire Operating system is befuddled with incompetence, idiocy and bad design choices.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/in-windows-noone-hears-you-scream/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Svnsync automatisation via Windows Scheduler</title>
		<link>http://www.frozentux.net/2008/09/svnsync-automatisation-via-windows-scheduler/</link>
		<comments>http://www.frozentux.net/2008/09/svnsync-automatisation-via-windows-scheduler/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 06:52:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=185</guid>
		<description><![CDATA[Recently I&#8217;ve been setting up for a project, as you might have noticed, and one of the problems we ran into was the fact that we have a centralized subversion repository. We don&#8217;t have access to control or install anything on the actual server unfortunately, so hence we can&#8217;t install trac on that system, as [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been setting up for a project, as you might have noticed, and one of the problems we ran into was the fact that we have a centralized subversion repository. We don&#8217;t have access to control or install anything on the actual server unfortunately, so hence we can&#8217;t install trac on that system, as previously explained. The solution is to sync the main subversion databases to the trac server as previously explained.</p>
<p>A secondary problem arising from this, is that we can&#8217;t actually change the hook files of the master repository. The solution to this, is to add a synchronizing scheduler. As I was stressed, and had no time to deal with this properly, I had to run with the Windows Scheduler of all horrible solutions. The following explains how to set it up.</p>
<p><span style="font-weight: bold;">Windows Scheduled synchronize Task</p>
<p>Warning!</span> The windows scheduler does not start automatically when you reboot etc. If you do this, the task restarts at it&#8217;s start time, so if it&#8217;s set to run at 00.00 every day, and then every 5 minutes, it will restart and start running at 00.00, not as soon as the machine is started up again. This is pure evil.</p>
<p>A scheduled task is set up as follows, create a bat file (ie, c:projectssvnprojectsvnsync-project.bat):<br /><span style="font-style: italic;"></span><br />
<blockquote><span style="font-style: italic;">svnsync synchronize http://localhost/svn/project &#8211;sync-username slaveuser &#8211;sync-password tjohej &#8211;source-password password </span><br /><span style="font-style: italic;">c:Python25Scriptstrac-admin.exe c:projectstracproject resync</span></p></blockquote>
<p>The Second line unfortunately has to be done to resync the new changes with the trac database. After this, create a scheduled task in windows as follows:
<ol>
<li>Go to <span style="font-weight: bold;">start </span>-> <span style="font-weight: bold;">control panel </span>-> <span style="font-weight: bold;">scheduled tasks</span></li>
<li>Click <span style="font-weight: bold;">Add scheduled task</span></li>
<li>Click <span style="font-weight: bold;">Next</span></li>
<li>Click <span style="font-weight: bold;">Browse&#8230;</span></li>
<li>Browse to your <span style="font-weight: bold;">svnsync-project.bat </span>file, as described above. Double click it.</li>
<li>Set name (default is ok). Perform this task: <span style="font-weight: bold;">Daily</span></li>
<li>Click <span style="font-weight: bold;">Next</span></li>
<li>Start time: <span style="font-weight: bold;">00:00, Every day</span>, Start date: <span style="font-weight: bold;">today</span></li>
<li>Fill in <span style="font-weight: bold;">username/password </span>to run it as.</li>
<li>Select <span style="font-weight: bold;">open advanced properties for this task</span>. Click <span style="font-weight: bold;">Finish.</span></li>
<li>Go to tab <span style="font-weight: bold;">Schedule</span>. Choose <span style="font-weight: bold;">Advanced</span>.</li>
<li>Click <span style="font-weight: bold;">Repeat task</span>, fill in <span style="font-weight: bold;">Every 10 minutes</span>, and click <span style="font-weight: bold;">Time </span>and fill in <span style="font-weight: bold;">23:59</span></li>
<li>Click <span style="font-weight: bold;">OK</span>.</li>
<li>Click <span style="font-weight: bold;">OK</span></li>
<li>Done.</li>
</ol>
<p>This could most likely be done from cruisecontrol, but as stated, i&#8217;m stressed. I hate windows by now (at/cron is just sooo much nicer to handle).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/svnsync-automatisation-via-windows-scheduler/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trac on separate server from subversion</title>
		<link>http://www.frozentux.net/2008/09/trac-on-separate-server-from-subversion/</link>
		<comments>http://www.frozentux.net/2008/09/trac-on-separate-server-from-subversion/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 17:24:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=183</guid>
		<description><![CDATA[
 
It is possible to have Trac on a different server than the subversion server, albeit a bit convoluted. This is slightly stolen note from http://blogs.open.collab.net/svn/2007/08/mirroring-repos.html

 
Set up the master subversion server as you would normally. We will get back to this one.

 
On the trac server, install subversion etc as well. This server will [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong>
<div> </div>
<div>It is possible to have Trac on a different server than the subversion server, albeit a bit convoluted. This is slightly stolen note from <a href="http://blogs.open.collab.net/svn/2007/08/mirroring-repos.html">http://blogs.open.collab.net/svn/2007/08/mirroring-repos.html</a></p>
</div>
<div> </div>
<div>Set up the <strong>master subversion server</strong> as you would normally. We will get back to this one.</p>
</div>
<div> </div>
<div>On the trac server, install subversion etc as well. This server will rely on <strong>svnsync</strong> to become a secondary/<strong>mirror subversion server</strong>. It must not be used for checking in or working against, it is purely a repository for reading.</p>
</div>
<div> </div>
<div><strong>Set up trac and all other tools</strong> required on the mirror server.</p>
</div>
<div> </div>
<div>Now, you need to <strong>set up user accounts on the mirror server</strong>. To start with, create the mirror subversion repository, it will be empty to begin with:</p>
</div>
<div> </div>
<div><em>svnadmin create MIRROR_REPOS_PATH</p>
<p></em></div>
<div> </div>
<div>After that, <strong>create authz authentication files for the repositories</strong> to stop anyone from writing/working against the mirror repository, such as the following:</p>
</div>
<div> </div>
<div><em>[/]</em></div>
<div><em>* = r</em></div>
<div><em>svnsync = rw</p>
<p></em></div>
<div> </div>
<div>You could extend this by writing hook scripts blocking anything but the svnsync user.</p>
</div>
<div> </div>
<div>If the master subversion repository is live while adding the trac database, <strong>all of the following must be done during server maintenance window</strong> (ie, close it down from any kind of access, except the mirror machine).</p>
</div>
<div> </div>
<div>Once all that is done, its time to <strong>initialize the the mirror server</strong> with the master subversion repository (ie, move over the data).</p>
</div>
<div> </div>
<div><em><span style="font-family:monospace;">svnsync initialize URL_TO_MIRROR_REPO URL_TO_MASTER_REPO &#8211;username=svnsync &#8211;password=svnsyncpassword</p>
<p></span></em></div>
<div> </div>
<div>And once that has successfully been done, do as follows:</p>
</div>
<div> </div>
<div><em><span style="font-family:monospace;">svnsync synchronize URL_TO_MIRROR_REPO &#8211;username=svnsync &#8211;password=svnsyncpassword</p>
<p></span></em></div>
<div> </div>
<div>The final step is to either add a <strong>scheduler (cron.d) script, or a post-commit hook</strong> script running the following:</p>
</div>
<div> </div>
<div><em><span style="font-family:monospace;"># Example for synchronizing one repository from the post-commit hook<br />#!/bin/sh<br />SVNSYNC=/usr/local/bin/svnsync<br />$SVNSYNC synchronize URL_TO_MIRROR_REPO &#8211;username=svnsync &#8211;password=svnsyncpassword &amp;<br />exit 0</p>
<p></span></em></div>
<div> </div>
<div>Preferably run it from post-commit as it gives better refresh rate.</p>
</div>
<div> </div>
<div><strong><em>You can now run the trac against the mirrored subversion server.</em></strong></div>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/trac-on-separate-server-from-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trac on windows</title>
		<link>http://www.frozentux.net/2008/09/trac-on-windows/</link>
		<comments>http://www.frozentux.net/2008/09/trac-on-windows/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 16:55:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=182</guid>
		<description><![CDATA[Trac is a rightfull bitch to install on win32 as it requires very specific version matching of packages. This is a long winded installation note with the more or less latest versions available as of this writing.
I&#8217;m hoping to get working on TortoiseSVN and Trac integration once this is done (ie, make tortoise automatically set [...]]]></description>
			<content:encoded><![CDATA[<p>Trac is a rightfull bitch to install on win32 as it requires <em>very specific version matching</em> of packages. This is a long winded installation note with the more or less latest versions available as of this writing.</p>
<p>I&#8217;m hoping to get working on TortoiseSVN and Trac integration once this is done (ie, make tortoise automatically set variables etc sent in change notes, which can hence update the issue tracking systems in trac and so forth. The way of working is really really sweet imho, and I think it could be a really nice way of working. I&#8217;m just sad that I have to set all this serverstuff up on windows though.</p>
<p>Let&#8217;s begin with a list of all the installation files used:</p>
<div><strong>python-2.5.2.msi</strong></div>
<div><strong>setuptools-0.6c8.win32-py2.5.exe</strong></div>
<div><strong>py25-pysvn-svn150-1.6.0-975.exe</strong></div>
<div><strong>svn-python-1.5.2.win32-py2.5.exe</strong></div>
<div><strong>Genshi-0.5.win32-py2.5.exe</strong></div>
<div><strong>Trac-0.11.win32.exe<br />
</strong></p>
<div><strong>WampServer2.0c.exe</strong></div>
<div><strong>CruiseControl-2.7.3.exe</strong></div>
<div><strong>TortoiseSVN-1.5.3.13783-win32-svn-1.5.2.msi</strong></div>
<p><strong>WampServer2-APACHE229.exe<br />
</strong><strong>svn-win32-1.5.2.zip</strong><br />
<strong>mod_python-3.3.1.win32-py2.5-Apache2.2.exe</strong></div>
<p>These packages should be fairly simple to get started with. Install them straight on, in the order mentioned.</p>
<div></div>
<div><strong>python-2.5.2.msi</strong></div>
<div><strong>setuptools-0.6c8.win32-py2.5.exe</strong></div>
<div><strong>py25-pysvn-svn150-1.6.0-975.exe</strong></div>
<div><strong>svn-python-1.5.2.win32-py2.5.exe</strong></div>
<div><strong>Genshi-0.5.win32-py2.5.exe</strong></div>
<div><strong>Trac-0.11.win32.exe<br />
</strong></div>
<div></div>
<div>Install the above packages in that order. Some errors i ran into:</div>
<h4><span style=";font-family:monospace;font-size:85%;">Unsupported version control system &#8220;svn&#8221;</span></h4>
<div>I accidentally used svn-python-1.5.0.win32-py2.5.exe. It also complained about not finding <strong>SSLEAY32.DLL</strong> which threw me off course, looking for the wrong solution.</div>
<div></div>
<div><strong><span style="font-size:130%;">Secondary applications</span></strong></div>
<div>On top of this, the following applications where installed (not yet configured/set up).</div>
<div></div>
<div><strong>WampServer2.0c.exe</strong></div>
<div><strong>CruiseControl-2.7.3.exe</strong></div>
<div><strong>TortoiseSVN-1.5.3.13783-win32-svn-1.5.2.msi</strong></p>
<p><strong></strong></div>
<div></div>
<div><strong>WampServer2-APACHE229.exe</strong></div>
<div></div>
<div><span style="color: #ff0000;">The <strong>Apache2.2.9 must be installed before svn-win32-1.5.2.zip</strong> files are, and the .so files must be put in 2.2.9 as that package will not run on Apache2.2.8. <strong>Apache 2.2.8 with svn-win32-1.5.2.zip will die silently without hint as to why it died.<br />
</strong></span><strong></strong></div>
<div></div>
<div>Once all of the above is installed, create a svn repository in <em>c:\projects\svn\test</em> (create directories, and then right click test and choose <em>TortoiseSVN -&gt; Create repository here</em>.</div>
<div></div>
<div>Now create a trac database in <em>c:\projects\trac\test\</em> by running</div>
<div></div>
<div><em>c:\python2.5\trac-admin.exe c:\projects\trac\test\ initenv</em></p>
<p><em></em></div>
<div></div>
<div>Answer the questions asked by <em>trac-admin.exe</em>. To test the trac at this point, run tracd.exe per ordinations from <em>trac-admin.exe</em>.</div>
<div></div>
<div><strong>svn-win32-1.5.2.zip</strong></div>
<div></div>
<div>Contains required files to make dav_svn work in apache2.2, edited extract on how to install:</div>
<blockquote>
<div>For an Apache server here&#8217;s the essentials:</div>
<div></div>
<div>1. Copy bin/mod_dav_svn.so and bin/mod_authz_svn.so to the Apache modules directory.</div>
<div>2. Add the Subversion/bin directory to the SYSTEM PATH.</div>
<div>3. Edit the Apache configuration file (httpd.conf) and make the following changes:</div>
<div></div>
<div>3a. Uncomment the following two lines:</div>
<div></div>
<div><strong><em> </em></strong><br />
<em> #LoadModule dav_fs_module modules/mod_dav_fs.so</em></div>
<div><em> #LoadModule dav_module modules/mod_dav.so</em></div>
<div></div>
<div>3b. Add the following two lines to the end of the LoadModule section:</div>
<div></div>
<div><em> LoadModule dav_svn_module modules/mod_dav_svn.so</em></div>
<div><em> LoadModule authz_svn_module modules/mod_authz_svn.so</em></div>
<div></div>
<div>3c. Add the following to end of the file.</div>
<div></div>
<div><em> &lt;location /svn&gt;</em></div>
<div><em> DAV svn</em></div>
<div><em> SVNPath c:\projects\svn\test</em></div>
<div><em> AuthType Basic</em></div>
<div><em> AuthName &#8220;My Subversion repository&#8221;</em></div>
<div><em> AuthUserFile &#8220;c:\projects\svn\test\conf\passwd&#8221;</em><em> Require valid-user</em></div>
<div>&lt;/location&gt;</div>
<div><em> </em></div>
</blockquote>
<div></div>
<div>Add users to passwd file above:</div>
<div></div>
<div><em>C:\wampbin\apache\apache2.2.9\bin\htpasswd.exe -b \projects\svn\test\conf\passwd myuser hejhej</em></p>
<p><em></em></div>
<div></div>
<div><strong><span style="font-size:130%;">Finally installing Trac in apache2.2</p>
<p></span></strong></div>
<div></div>
<div><strong>mod_python-3.3.1.win32-py2.5-Apache2.2.exe</strong></div>
<div></div>
<div>To run trac via apache, you need the above module for apache as well. Once this is done, add the following to modules section of apache:</div>
<div></div>
<div><em>LoadModule python_module modules/mod_python.so</em></p>
<p><em></em></div>
<div></div>
<div>To test the python installation add the following to the end of your httpd.conf:</p>
<p>&lt;location /mpinfo&gt;</p></div>
<div></div>
<div><em></em></div>
<div><em> SetHandler mod_python</em></div>
<div><em> PythonInterpreter main_interpreter</em></div>
<div><em> PythonHandler mod_python.testhandler<br />
&lt;/location&gt;</em></p>
<p><em></em></div>
<div><em></em></div>
<div></div>
<div>And if that works, test the following:</p>
<p><em>&lt;Location /trac&gt;</em></div>
<div></div>
<div><em></em></div>
<div><em> SetHandler mod_python</em></div>
<div><em> PythonInterpreter main_interpreter</em></div>
<div><em> PythonHandler trac.web.modpython_frontend</em></div>
<div><em> PythonOption TracEnv &#8220;c:/projects/trac/test/&#8221;</em></div>
<div><em> PythonOption TracUriRoot /trac<br />
</em><em>&lt;/Location&gt;</em><br />
<em><br />
</em></div>
<div><em></em></div>
<div></div>
<div><strong><span style="font-size:130%;">Further reading</span></strong></div>
<div></div>
<div><a href="http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/contrib/issue-tracker-plugins">http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/contrib/issue-tracker-plugins/</a></div>
<div><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html">http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html</a></div>
<div><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html">http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html</a></div>
<div><a href="http://trac.edgewall.org/wiki/TortoiseSvn">http://trac.edgewall.org/wiki/TortoiseSvn</a></div>
<div><a href="http://trac.edgewall.org/wiki/TracOnWindows">http://trac.edgewall.org/wiki/TracOnWindows</a></div>
<div></div>
<div><a href="http://ifdefined.com/blog/post/2007/10/BugTrackerNET-integration-with-Subversion---design-choices.aspx">http://ifdefined.com/blog/post/2007/10/BugTrackerNET-integration-with-Subversion&#8212;design-choices.aspx</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/09/trac-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
