<?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>Hoketronics - Mike Hochanadel &#187; Windows</title>
	<atom:link href="http://hoketronics.net/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://hoketronics.net</link>
	<description>Spiraled out of the Mind of Mike</description>
	<lastBuildDate>Tue, 16 Aug 2011 03:50:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Subversion Install Swankiness Part 2</title>
		<link>http://hoketronics.net/2008/12/08/subversion-install-swankiness-part-2/</link>
		<comments>http://hoketronics.net/2008/12/08/subversion-install-swankiness-part-2/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 00:16:37 +0000</pubDate>
		<dc:creator>mike.hochanadel</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[revision control]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[worpress]]></category>

		<guid isPermaLink="false">http://hoketronics.net/?p=53</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://hoketronics.net/2008/12/08/subversion-install-swankiness-part-2/' addthis:title='&#60;span id=&#34;title-refEl-53&#34;&#62;Subversion Install Swankiness Part 2&#60;/span&#62; '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>Welcome back to part 2 of my Subversion install series.  What we are going to go over is developing the right structure for the repository, importing a website, updating a website, then testing and deploying the website using some of Subversion's command sets.  There were some road blocks along the way and I will talk [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://hoketronics.net/2008/12/08/subversion-install-swankiness-part-2/' addthis:title='&#60;span id=&#34;title-refEl-53&#34;&#62;Subversion Install Swankiness Part 2&#60;/span&#62; ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div id="post-refEl-53"><div class="addthis_toolbox addthis_default_style " addthis:url='http://hoketronics.net/2008/12/08/subversion-install-swankiness-part-2/' addthis:title='&lt;span id=&quot;title-refEl-53&quot;&gt;Subversion Install Swankiness Part 2&lt;/span&gt; '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><div id="attachment_57" class="wp-caption aligncenter" style="width: 510px"><a href="http://hoketronics.net/wp-content/uploads/2008/12/subversionpart2.png"><img class="size-full wp-image-57" title="Subersion Repository Snapshot" src="/wp-content/uploads/2008/12/subversionpart2.png" alt="Nothing Like A Fresh Subversion Import" width="500" height="350" /></a><p class="wp-caption-text">Nothing Like A Fresh Subversion Import</p></div>
<p>Welcome back to part 2 of my Subversion install series.  What we are going to go over is developing the right structure for the repository, importing a website, updating a website, then testing and deploying the website using some of Subversion's command sets.  There were some road blocks along the way and I will talk about that as well as some other thoughts about the process.  After that I'll talk about what's next but first let's setup and deploy some code.</p>
<p><span id="more-53"></span></p>
<p>The first step in molding the fresh install of Subversion into something workable, was to decide on what kind of structure I wanted to keep.  <a title="Setting Up Subversion for One or Multiple=">Articles</a> <a title="One SVN repository or many?" href="http://stackoverflow.com/questions/252459/one-svn-repository-or-many" target="_blank">online</a> <a title="One svn repo for multiple=">discussed</a> whether or not to keep multiple repositories for projects or maintain a single repository to house multiple projects.  In thinking of how I wanted it implemented, the simplicity of maintaining a single repository won over the cleanliness of revision management in multiple repositories.  Perhaps at a later date I can split it out or even incorporate Git, but for the purpose of getting started I'm going with one repository.</p>
<p>I decided to follow the <a title="Choosing Repository Setup" href="http://svnbook.red-bean.com/en/1.0/ch05s04.html#svn-ch-5-sect-6.1" target="_blank">svnbook's advice</a> of a creating a temporary directory structure to setup the initial framework of the repository.  In my case, there are three major areas I will develop in:  websites, scripts, and home related projects.  I created the structure and imported them in to Subversion using the <code>svn import</code> command.  After which, I deleted the temp directories and verified the structure below.  Here's the output:</p>
<p><code>hokey@tardis:~/tempdir$ sudo svn import . file:///var/svn/ --message 'Initial Repository Layout'<br />
[sudo] password for hokey:<br />
Adding         scripts<br />
Adding         headquarters<br />
Adding         web<br />
Adding         web/gonzoguys.com<br />
Adding         web/gonzoguys.com/trunk<br />
Adding         web/gonzoguys.com/branches<br />
Adding         web/gonzoguys.com/tags<br />
Adding         web/h0key.net<br />
Adding         web/h0key.net/trunk<br />
Adding         web/h0key.net/branches<br />
Adding         web/h0key.net/tags<br />
Adding         web/hoketronics.net<br />
Adding         web/hoketronics.net/trunk<br />
Adding         web/hoketronics.net/branches<br />
Adding         web/hoketronics.net/tags<br />
Adding         web/kccollegegameday.com<br />
Adding         web/kccollegegameday.com/trunk<br />
Adding         web/kccollegegameday.com/branches<br />
Adding         web/kccollegegameday.com/tags</code></p>
<p><code>Committed revision 1.<br />
hokey@tardis:~/tempdir$ svn list --verbose file:///var/svn<br />
1 root                  Nov 18 08:44 headquarters/<br />
1 root                  Nov 18 08:44 scripts/<br />
1 root                  Nov 18 08:44 web/<br />
hokey@tardis:~/tempdir$</code></p>
<p>It was time to work with local install of my website.  I copied the production code to my home folder on my local webserver.  After setting up the database and changing root path directives, I set about verifying the local page.   It looked good so I then downloaded the latest WordPress package.  Following the directions, I copied the updated code and again verified the website.  The recent point releases didn't affect the database schema, so I was good on that end.</p>
<p>Now that I updated my code to the latest WordPress point release, I imported the website into the Subversion repository.  Using <code>svn add</code>, I recursively added all of the new files from my website.  When it successfully added the file set, I committed the change using svn commit, complete with the initial import message.  Subversion pulls from CVS alot and these two commands reflect that.  It almost felt like I was greasing the code revision bicycle gears and getting back to the smooth ride of code management.</p>
<p>So now that I added the website files to the repository, I did it twice because of another point release in WordPress, it was time to test and deploy the code.  Using the <code>svn export</code> command, I copied the code to the web docs directory on my local webserver.  I decided on doing that instead of checking out the repository on the live site because I'm on a shared hosting platform for production and I didn't want trailing '.svn' folders eating up space.  Plus it adds the benefit of greater security.</p>
<p><code>hokey@tardis:/var/www/hoketronics.net$ sudo svn export http://localhost/svn/web/hoketronics.net/trunk ./hoketronics.net</code></p>
<p>The code exported to the local server.  This is where I ran into some issues.  The code portion of the website works well in different directories, but I need to come up with a way to manage dev/test/prod databases for link resolution.  The logon screen for the local test install pointed to the local dev install.  Regardless of that little issue, the code tested out well.  Now it was time to deploy the website to my shared host, minus the config file.</p>
<p>The other issue I ran into was the process of updating my shared host with the new code.  I run Linux on the webserver locally but my workstation runs Windows XP.  The best way, I thought at the time, to copy the update was to compress the test folder, copy it to my workstation, and then use Filezilla to copy it up to my shared host.  This proved laborious and it ended up taking more time than I expected due to two reasons: remembering the correct compression one liner and not taking advantage of a command line ftp client on the local webserver.</p>
<p>That said, the production site on the shared host updated with no breaks.  I logged on, verified the version, and inspected both the UI and and the backend files for any issues.  The Subversion process was almost complete.  After I updated the code, I made note to change the initial work flow for updating my site to handle updates from the local webserver to the shared host.  Also, I'll take some time to flesh out different configs for my environments to avoid any path issues the next time around.  Lastly, I'm going to make sure I centralize my one liners for easier access, maybe even using the repository to keep track of additions.</p>
<p>Subversion seems like a great centralized source code management tool.  With my CVS experience under the belt, much of the commands feel familiar and comforting when I invoke them.  Now that I have the repository live, <a title="KC College Gameday" href="http://kccollegegameday.com" target="_blank">kccollegegameday.com</a> is getting some work.  I'm looking forward to checking the 'diffs' when modifying pages and themes.  Chances are you'll see me talk about that on top of a couple of article ideas due to the roadblocks experienced with this project.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://hoketronics.net/2008/12/08/subversion-install-swankiness-part-2/' addthis:title='&lt;span id=&quot;title-refEl-53&quot;&gt;Subversion Install Swankiness Part 2&lt;/span&gt; ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div></div>]]></content:encoded>
			<wfw:commentRss>http://hoketronics.net/2008/12/08/subversion-install-swankiness-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From Hypothesis to Well Tested Theora</title>
		<link>http://hoketronics.net/2008/11/07/from-hypothesis-to-well-tested-theora/</link>
		<comments>http://hoketronics.net/2008/11/07/from-hypothesis-to-well-tested-theora/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 22:32:12 +0000</pubDate>
		<dc:creator>mike.hochanadel</dc:creator>
				<category><![CDATA[Media]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ogg]]></category>
		<category><![CDATA[theora]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://hoketronics.net/?p=33</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://hoketronics.net/2008/11/07/from-hypothesis-to-well-tested-theora/' addthis:title='&#60;span id=&#34;title-refEl-33&#34;&#62;From Hypothesis to Well Tested Theora&#60;/span&#62; '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>So Wednesday I scrolled through the Google Reader roll and I found out, thanks to OStatic, that the Theora video codec reached the 1.0 release.  What is Theora?  It's part of the same community at Xiph.org that hosts the the Vorbis codec for audio.  What is Vorbis?  It's a completely open source audio compression technology [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://hoketronics.net/2008/11/07/from-hypothesis-to-well-tested-theora/' addthis:title='&#60;span id=&#34;title-refEl-33&#34;&#62;From Hypothesis to Well Tested Theora&#60;/span&#62; ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div id="post-refEl-33"><div class="addthis_toolbox addthis_default_style " addthis:url='http://hoketronics.net/2008/11/07/from-hypothesis-to-well-tested-theora/' addthis:title='&lt;span id=&quot;title-refEl-33&quot;&gt;From Hypothesis to Well Tested Theora&lt;/span&gt; '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>So Wednesday I scrolled through the Google Reader roll and I found out, thanks to <a title="OStatic" href="http://ostatic.com/" target="_blank">OStatic</a>, that the <a title="Theora Codec is Finalized--Could Have a Big Impact on Video" href="http://ostatic.com/176546-blog/theora-codec-is-finalized-could-have-a-big-impact-on-video" target="_blank">Theora video codec reached the 1.0 release</a>.  What is Theora?  It's part of the same community at <a title="Xiph.org" href="http://www.xiph.org/" target="_blank">Xiph.org</a> that hosts the the Vorbis codec for audio.  What is Vorbis?  It's a completely open source audio compression technology brought up in response to Fraunhofer Gesellschaft's announcement of charging for the license of the MP3 codec.  So Theora follows in that same tradition and is a completely open sourced video codec.</p>
<p>Usually when projects from work come down my pike, I use ffmpeg to transcode video between formats.  I don't get that much exposure to the high powered equipment that the producers use to export video.  But when some deadlines must be met, I usually get the task of taking some media, whether it's from Beta, DVD, or others, and spitting it out to their requirements.</p>
<p>The two machines that compete for my time is a Windows 2000 workstation and a build of Ubuntu Studio Linux.  The nice thing about the W2k build is that I can capture video from Beta with relative ease.  For moving media around bitwise, the Linux build with ffmpeg works out way better.  Batch processing on the Linux machine makes it a snap to script up custom projects and let them roll.  What I haven't had to opportunity to do is to work with Theora.</p>
<p>Theora and Vorbis haven't had the kind of uptake MP3 has had in the media arena, mainly due to being late in the game.  When I take on projects, I'll still probably stick with ffmpeg.  My interest is piqueued however, and I may just drop in the new 1.0 release of Theora to see if I can gain any improvements compared to my other methods of turning out video.  That's the great thing about open source, you're free to work with and it gives you room for improvement for a low cost.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://hoketronics.net/2008/11/07/from-hypothesis-to-well-tested-theora/' addthis:title='&lt;span id=&quot;title-refEl-33&quot;&gt;From Hypothesis to Well Tested Theora&lt;/span&gt; ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div></div>]]></content:encoded>
			<wfw:commentRss>http://hoketronics.net/2008/11/07/from-hypothesis-to-well-tested-theora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xampp&#039;ed Up But Turned Off To Portability</title>
		<link>http://hoketronics.net/2008/10/24/xampped-up-but-turned-off-to-portability/</link>
		<comments>http://hoketronics.net/2008/10/24/xampped-up-but-turned-off-to-portability/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 19:03:59 +0000</pubDate>
		<dc:creator>mike.hochanadel</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://hoketronics.net/?p=11</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://hoketronics.net/2008/10/24/xampped-up-but-turned-off-to-portability/' addthis:title='&#60;span id=&#34;title-refEl-11&#34;&#62;Xampp&#039;ed Up But Turned Off To Portability&#60;/span&#62; '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>Before I rolled out the relaunch, I spent a good month trying to figure out the right kind of development environment for tools the I had available.  I have three laptops but all of the batteries are toast and the motherboard on one of them has gone the way of the dodo.  I convinced myself [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://hoketronics.net/2008/10/24/xampped-up-but-turned-off-to-portability/' addthis:title='&#60;span id=&#34;title-refEl-11&#34;&#62;Xampp&#039;ed Up But Turned Off To Portability&#60;/span&#62; ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div id="post-refEl-11"><div class="addthis_toolbox addthis_default_style " addthis:url='http://hoketronics.net/2008/10/24/xampped-up-but-turned-off-to-portability/' addthis:title='&lt;span id=&quot;title-refEl-11&quot;&gt;Xampp&#039;ed Up But Turned Off To Portability&lt;/span&gt; '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Before I rolled out the relaunch, I spent a good month trying to figure out the right kind of development environment for tools the I had available.  I have three laptops but all of the batteries are toast and the motherboard on one of them has gone the way of the dodo.  I convinced myself to develop exclusively off of a big ole Western Digital 80 GB Passport USB external drive.  First step done.  After doing some research I decided on XAMMP to drive my environment.  It was nice but there were some issues.</p>
<p>My real focus for this development environment setup was to be able to plug in the hard drive and code directly off of it.  I work off of multiple platforms at home and at the office.  Almost all of the apps do not have a single application to launch.  I already run some portable apps that support clients in Windows, Mac, and Linux flavors, like <a title="KeePass Password Manager" href="http://keepass.info/" target="_blank">KeePass</a>.  XAMMP advertised clients for each platform so I decided to give it a try.</p>
<p><a title="Xammp" href="http://www.apachefriends.org/en/xampp.html" target="_blank">XAMMP</a> is a fully integrated web application development server.  The purpose of XAMMP is to roll out a fully workable, out of the box *AMP stack.  The packages include an Apache2 server, PHP version 4 or 5, MySQL 5, and a torrent of management utilities and open soruce libraries/modules.  There are some differences between platforms for the package set, however.  The beauty behind it is that you can pick and choose what you want and start work within minutes.</p>
<p>At first, I wanted to setup all of the platform packages on the flash drive.  Due to the desire for cleanliness on the drive, however, I tried to install the software locally on all of my workstations.  Most of my time is spent on these machines anyway.  Linux was the easiest to turn out, mainly because it just dropped everything into the '/opt' directory.  I could change the doc and database links and move forward from there.  Windows was also a snap as I could modify configuration and turn services on and off with the included XAMMP control panel.  The Mac OS X client was not so easy.</p>
<p>The installer package for the Mac does not allow for choice.  It scans you computer to see if it's okay to run on and then drops it straight to the Applications folder.  The folder it installs to is not entirely encapsulated.  When the configuration points to the database files on the flash drive,  the service will crash upon startup.  I've already been exposed to issues on lock file management on Mac OS X Server, and the workaround didn't work for this issue.  The Apple puts the lock file in a directory other than the MySQL default setup.  When I symbolically linked the lock file, the database would start up.  This was not working with XAMMP.</p>
<p>After spending some small time here and there for about two weeks on it, I ended up just letting it go.  Attempts to find out on <a title="Portable?" href="http://www.apachefriends.org/f/viewtopic.php?t=30006&amp;highlight=portable" target="_blank">their forums page led me nowhere</a>.  Also in my research on this topic, I discovered a <a title="Portable Apps Xammp" href="http://portableapps.com/apps/development/xampp" target="_blank">Portable Apps version of Xammp</a> but it is Windows only.  Not much help there.  Maybe one day the devs on the project will look for better portable support.  Until then, I'm focusing on version management and working off my lil server in my apartment.</p>
<p>I'm still coming to terms with getting distracted on small setup roadblocks.  I really didn't need to waste the time figuring this out when what I really needed to do was to turn out this blog and other projects.  Struggling with Xammp taught me that sometimes the perfect environment will trickle down from actually working on things first rather than focusing on a perfect setup for work that hasn't started yet.  Plus it's alot more fun when you actually have projects in progress instead of dreaming of working on projects.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://hoketronics.net/2008/10/24/xampped-up-but-turned-off-to-portability/' addthis:title='&lt;span id=&quot;title-refEl-11&quot;&gt;Xampp&#039;ed Up But Turned Off To Portability&lt;/span&gt; ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div></div>]]></content:encoded>
			<wfw:commentRss>http://hoketronics.net/2008/10/24/xampped-up-but-turned-off-to-portability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

