<?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>John Sedlak</title>
	<atom:link href="http://jsedlak.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://jsedlak.org</link>
	<description></description>
	<lastBuildDate>Tue, 19 Apr 2011 09:48:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Notes on Working with Ubuntu in VirtualBox</title>
		<link>http://jsedlak.org/2011/01/26/notes-on-working-with-ubuntu-in-virtualbox/</link>
		<comments>http://jsedlak.org/2011/01/26/notes-on-working-with-ubuntu-in-virtualbox/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 12:30:25 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=852</guid>
		<description><![CDATA[Note: This content may be moving. If you have bookmarked it, please update your record to point to http://vdir.us/go/ubuntu-git-vbox. I have been working with Ubuntu in VirtualBox for a week or two now. At first it was merely an exercise &#8230; <a href="http://jsedlak.org/2011/01/26/notes-on-working-with-ubuntu-in-virtualbox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em><b>Note: This content may be moving. If you have bookmarked it, please update your record to point to <a href="http://vdir.us/go/ubuntu-git-vbox">http://vdir.us/go/ubuntu-git-vbox</a>.</b></em></p>
<p>I have been working with Ubuntu in VirtualBox for a week or two now. At first it was merely an exercise in learning Java, Eclipse and Git but it turns out that with Mono, Linux gets a lot more attractive. More on this later, though! Here are a few notes that I have compiled that would be helpful to those running Ubuntu inside a VirtualBox virtual machine (primarily on a Windows host).</p>
<h3>Networking, SSH</h3>
<p>If you plan on using Ubuntu as a server of any kind, I suggest using the Bridged network adapter so that the VM looks like a regular PC on the network. Otherwise you will end up fudging with the port forwarding in VBox and inevitably failing (perhaps that is just me). Here is how I set up my Ubuntu VM to enable SSH.</p>
<ol>
<li>With the VM off, open the Networking settings in VBox&#8230;</li>
<li>Use Bridged Networking, and the AMD PCNet Fast III adapter. See <a href="http://virtualbox.org/manual/ch06.html">Chapter 06</a> of the VBox manual for more info.</li>
<li>Boot the VM, log on</li>
<li>Run <span class="InlineCode">sudo gedit /etc/network/interfaces</span>. Your file should look like the following. Change your address and gateway IP&#8217;s to represent your personal network&#8217;s specifics.
<pre class="brush: plain;">auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto eth0
iface eth0 inet static
address 192.168.1.118
netmask 255.255.255.0
gateway 192.168.1.1</pre>
</li>
<li>Run <span class="InlineCode">sudo gedit /etc/resolv.conf</span> to edit your nameservers. Mine has a single entry: the router.</li>
<li>Edit your hosts file to add your computer to the IP address. Run <span class="InlineCode">sudo nano -w /etc/hosts</span>. I commented out the automatic one and added my own.
<pre class="brush: plain;"># 10.0.2.15  JSUbuntu-Virtual # Added by Network Manager
192.168.1.118   JSUbuntu-Virtual</pre>
</li>
<li>Run <span class="InlineCode">sudo /etc/init.d/networking restart</span> to apply your changes.</li>
<li>Run <span class="InlineCode">ifconfig</span> to see your changes.</li>
<li>Check that your configuration works by browsing to a site.</li>
<li>Now to install SSH, run <span class="InlineCode">sudo apt-get install ssh</span>. Note that you may have to run a <span class="InlineCode">sudo apt-get update</span> to update the available packages.</li>
<li>If you have a firewall enabled, configure port 22 to be open. This is the default SSH port.</li>
<li>If you want it to be public, enable port forwarding on your physical/network router for port 22 and your Ubuntu&#8217;s IP.</li>
<li>On your host machine, download <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a></li>
<li>Run PuTTY, enter IP, smash the enter key.</li>
<li>Enter your credentials!</li>
</ol>
<p>Next I will show you how to get up and running with git.</p>
<p><span id="more-852"></span></p>
<h3>Running a Git Server</h3>
<p>This portion of this post assumes that you have SSH running, and <a href="http://git-scm.org">git</a> installed. It took me a while to find a recent version but eventually found <a href="http://packages.debian.org/sid/all/git-core/download">git-core 1.7.2.3</a> which has been stable. I will update this later with more info (though I will say the git website could do a little better with making the latest release clearly visible for downloading for all systems).</p>
<p>Because git is distributed, it doesn&#8217;t have to really rely on some core server software. If you have git installed, you can just create a repository and start committing against it locally or remotely. That is, of course, provided you have access through a protocol such as SSH.</p>
<p>I decided to house my repositories right off the root directory, which is probably stupid but simple to maintain. I did this since Visual SVN server throws its repos into a directory right off of the C drive on Windows. To get a repository, we need to setup a group that will have access to making commits. I chose to create a <span class="InlineCode">developers</span> group and added myself to the group.</p>
<pre class="brush: bash;">sudo groupadd developers
sudo usermod -a jsedlak -G developers
</pre>
<p>Next, I setup a repos directory off the root and give myself and developers read, write and execute access to it. I apologize beforehand if the lack of my command line experience is displayed here.</p>
<pre class="brush: bash;">cd /
sudo mkdir repos
sudo chown jsedlak /repos
sudo chgrp developers repos
sudo chmod 770 repos
cd repos</pre>
<p>Once the basic repository bucket is created, we can get started by making a repo to make commits against. First we make the directory, then initialize a git repo inside it and give developers access.</p>
<pre class="brush: bash;">mkdir sample.git
cd sample.git
git init --bare --shared=group
sudo chgrp -R developers .</pre>
<p>You should now be able to use this as a repository. But note that we created an empty repo &#8211; we should make a commit to get the <span class="InlineCode">master</span> branch started. It is a good idea to take this step and use it to test out your new source control server. I hopped on a second machine, made sure I could SSH and then opened a local terminal.</p>
<pre class="brush: bash;">cd ~/Projects
git clone ssh://jsedlak@ubuntuvm.local/repos/sample.git
# Enter password
# Output here...
nano test.txt
git add .
git commit -m Initial
git push origin master</pre>
<p>If all went well &#8211; you should have a working server! Below is more information including resources I used to create this little post and get my setup running.</p>
<h3>References</h3>
<ul>
<li><a href="https://help.ubuntu.com/9.10/serverguide/C/network-configuration.html">Ubuntu Network Configuration Help</a></li>
<li><a href="http://www.howtogeek.com/howto/ubuntu/setup-openssh-server-on-ubuntu-linux/">Installing SSH</a></li>
<li><a href="http://kovshenin.com/archives/howto-remote-shared-git-repository/">How To: Remote Shared Git Repository</a></li>
<li><a href="http://superuser.com/questions/55542/how-to-upgrade-git-on-ubuntu">Upgrading Git</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2011/01/26/notes-on-working-with-ubuntu-in-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Wrap Macro for Visual Studio</title>
		<link>http://jsedlak.org/2010/11/29/custom-wrap-macro-for-visual-studio/</link>
		<comments>http://jsedlak.org/2010/11/29/custom-wrap-macro-for-visual-studio/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 22:30:31 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=838</guid>
		<description><![CDATA[This content may be moving. Please update your bookmark to http://vdir.us/go/vs-wrap-macro. As an update to my last post, Using VS Macros to Speed Up Text Entry, here is a block of code that allows you to enter any string as &#8230; <a href="http://jsedlak.org/2010/11/29/custom-wrap-macro-for-visual-studio/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><b>This content may be moving. Please update your bookmark to <a href="http://vdir.us/go/vs-wrap-macro">http://vdir.us/go/vs-wrap-macro</a>.</b></p>
<p>As an update to my last post, <a href="/2010/10/14/using-vs-macros-to-speed-up-text-entry/">Using VS Macros to Speed Up Text Entry</a>, here is a block of code that allows you to enter any string as the HTML/XML node name that wraps the current selection. Note that you&#8217;ll need to setup the <i>Constants</i> class to hold the shared variable.</p>
<pre class="brush: plain;">Public Class Constants
    Public Shared CustomDefaultValue As String = "p"
End Class

Public Module BasicMacros
    Public Sub WrapInCustom()
        ' Get the input
        Dim str As String = InputBox("Wrap the selection in what?", "Wrap in Custom", Constants.CustomDefaultValue)

        ' Empty string == cancel!
        If (String.IsNullOrWhiteSpace(str)) Then Return

        ' Store the value so that it is easy to repeat
        Constants.CustomDefaultValue = str

        ' Get the current selection
        Dim ts As TextSelection = CType(DTE.ActiveDocument.Selection, TextSelection)

        ' Add the value
        ts.Text = "<" + str + ">" + ts.Text + "</" + str + ">"
    End Sub
End Module</pre>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/11/29/custom-wrap-macro-for-visual-studio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using VS Macros To Speed Up Text Entry</title>
		<link>http://jsedlak.org/2010/10/14/using-vs-macros-to-speed-up-text-entry/</link>
		<comments>http://jsedlak.org/2010/10/14/using-vs-macros-to-speed-up-text-entry/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 17:52:15 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Macros]]></category>
		<category><![CDATA[VS2010]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=749</guid>
		<description><![CDATA[Often times my position requires me to enter fairly large sets of copy into the websites I am developing. These pieces can be anything from press releases to taglines and product information. Regardless of their content, I am always left &#8230; <a href="http://jsedlak.org/2010/10/14/using-vs-macros-to-speed-up-text-entry/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Often times my position requires me to enter fairly large sets of copy into the websites I am developing. These pieces can be anything from press releases to taglines and product information. Regardless of their content, I am always left doing one thing over and over: adding HTML tags. After hours of repeating this task, my hands get cranky &#8211; very cranky. Naturally I went looking for a programmatic solution, and found one in using Visual Studio Macros!</p>
<p>For now, here is a quick snapshot to get you started. The below code allows me to quickly add paragraph tags to the current selection in a VS2010 editor/window. To develop a Macro, simply go into the <em>Tools -> Macros -> Macro IDE</em> and open up the code file.</p>
<pre class="brush: plain;">Public Sub WrapInParagraph()
    DTE.ActiveDocument.Selection.Text = "

" + DTE.ActiveDocument.Selection.Text + "

"
End Sub</pre>
<p>After building the project, hop back into VS2010 and select <em>Options</em> under the <em>Tools</em> menu. You can now search for your command in the <em>Environment -> Keyboard</em> panel and assign it a shortcut.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/10/14/using-vs-macros-to-speed-up-text-entry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Setting Personal Records</title>
		<link>http://jsedlak.org/2010/08/31/on-setting-personal-records/</link>
		<comments>http://jsedlak.org/2010/08/31/on-setting-personal-records/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 00:41:36 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[Cycling]]></category>
		<category><![CDATA[Personal Record]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=704</guid>
		<description><![CDATA[Stagnation is one of my greatest fears; the feeling that I am not learning anything or not making gains in performance ranks above fear of death and public speaking. As such, it should be of no surprise that setting and &#8230; <a href="http://jsedlak.org/2010/08/31/on-setting-personal-records/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Stagnation is one of my greatest fears; the feeling that I am not learning anything or not making gains in performance ranks above fear of death and public speaking. As such, it should be of no surprise that setting and tracking personal records is important to mark my improvements. With my weight loss, I have a big excel file that lists my weight for the past <em>five hundred</em> or so days. With my personal records on specific courses I am a bit more loose, but they are on my mind as I ride through them, regardless of whether or not I am having a go.</p>
<p>Last week, on 26 August 2010 I left the house on what would turn out to be an awesome ride. At the time, of course, I didn&#8217;t really know what pace I was going to keep &#8211; I just needed to relieve some stress and energy built up from work. At my first main road I made the turn as a truck was coming my direction and was able to slip into the gigantic draft and go ~38 for roughly one mile. It was awesome to say the least, but I eventually had to make a turn and was forced to back off.</p>
<p><span id="more-704"></span></p>
<p>I was feeling more than fresh at this point and decided that I could probably make a decent attempt at my Swamp record, a 3.1 mile section of road in the Great Swamp Wildlife Refuge. The road is essentially flat save a few hiccups, but if the wind is wrong then you will be pushing a brick wall through much of the mileage. That day I was fortunate enough to enjoy a complete, dead calm. I knew what I had to do &#8211; set a pace of 25 and hold it as long as possible.</p>
<p>The first mile flew by and I thought that I might have been going too easy. Experience took over as I remembered the hiccups and how bad the last half mile can be as the wind changes and starts to hit you straight on. I kept my pace and dug in (Paul might say I was conserving my lead at this point) for the next mile, trying to focus on anything but the cycling. As I hit the right hander the pain started to set in a bit, a slight up hill towards the first intersection and I shoved the throttle down. I was going to break my time&#8230; by how much. Previously this year I had set an 8:09, and before that an 8:20. How much lower could I go? Could I break the magical 8 minute mark?</p>
<p>YES! As I smashed the lap button to reveal my time and it sat there in all its glory: 7:29.57 for 3.1 miles!! A new personal record. Progress. There is the evidence that I am getting faster; getting stronger. And if I needed any more proof &#8211; the data in TC says it all (relevant area highlighted in yellow).</p>
<div style="text-align:center;"><a href="http://jsedlak.org/images/cycling/Swamp_PR_20100826.jpg"><img src="http://jsedlak.org/images/cycling/Swamp_PR_20100826_small.jpg" alt="Swamp PR"/></a></div>
<p>Of course now only one question remains: how much faster can I go?</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/08/31/on-setting-personal-records/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Korkboard 1.1.0.0</title>
		<link>http://jsedlak.org/2010/07/13/korkboard-1-1-0-0/</link>
		<comments>http://jsedlak.org/2010/07/13/korkboard-1-1-0-0/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 10:31:39 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[Korkboard]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=664</guid>
		<description><![CDATA[Korkboard has been updated to version 1.1.0.0 after a couple changes and fixes. If you have already installed Korkboard, it will check for the update next time you run it. It will install the update the next (next) time it &#8230; <a href="http://jsedlak.org/2010/07/13/korkboard-1-1-0-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Korkboard has been updated to version 1.1.0.0 after a couple changes and fixes. If you have already installed Korkboard, it will check for the update next time you run it. It will install the update the next (next) time it is run. If you do not have Korkboard, you can download it for free!</p>
<a href="http://jsedlak.org/wp-content/plugins/download-monitor/download.php?id=25" title="Downloaded 4106 times.">Korkboard v1.1.0.0 (4106)</a>
<p>Here is a full list of the changes made since 1.0.0.4:</p>
<ul>
<li>Added drag and drop sorting.</li>
<li>Added item pinning (will stay at the top).</li>
<li>Added settings for turning off (and on) certain data formats.</li>
<li>Added a &#8220;Clear Korkboard&#8221; button to clear all non-pinned and unselected items from the list</li>
<li>Fixed current item selection for when items are selected outside the application</li>
<li>Fixed text alignment issues in the settings page</li>
</ul>
<p>I have also changed the download to point to the ClickOnce EXE file instead of the Application file. This should fix any issues with non-IE browsers. Thanks to <a href="http://www.istartedsomething.com/">Long Zheng</a> and <a href="http://www.metrotwit.com/">MetroTwit</a> for this idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/07/13/korkboard-1-1-0-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Korkboard 1.0.0.4</title>
		<link>http://jsedlak.org/2010/07/08/korkboard-1-0-0-4/</link>
		<comments>http://jsedlak.org/2010/07/08/korkboard-1-0-0-4/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 11:20:55 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[Korkboard]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=655</guid>
		<description><![CDATA[Korkboard is a little tool I have been developing that enables a uniform method of storing multiple items on the clipboard. When Korkboard runs, it hooks into the clipboard chain and attempts to intercept messages as you use the Copy &#8230; <a href="http://jsedlak.org/2010/07/08/korkboard-1-0-0-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:20px;"><a href="/apps#korkboard"><img src="http://jsedlak.org/images/screenshots/cb/cb4_small.jpg" alt="Korkboard Screenshot"></a></div>
<p><a href="/apps#korkboard">Korkboard</a> is a little tool I have been developing that enables a uniform method of storing multiple items on the clipboard. When Korkboard runs, it hooks into the clipboard chain and attempts to intercept messages as you use the Copy and Cut commands. It then stores the items on its own list so that they may be retrieved at a later time. It is important to note that Korkboard does <b>not</b> mess with the functionality of the clipboard. If you copy an item, the clipboard works as expected without any interruption or user required interception. Check it out, and let me know what you think!</p>
<ul>
<li><a href="http://jsedlak.org/wp-content/plugins/download-monitor/download.php?id=25" title="Downloaded 4106 times.">Korkboard v1.1.0.0 (4106)</a></li>
<li><a href="http://jsedlak.org/wp-content/plugins/download-monitor/download.php?id=26" title="Downloaded 466 times.">Korkboard (Zip) v1.0.0.4 (466)</a></li>
</ul>
<p>Korkboard is written in WPF/.NET4 and uses ClickOnce to manage the installation and update processes.</p>
<p>Update: Added the Zip file for those having trouble using the ClickOnce method.</p>
<div style="clear:both;"><!--clear--></div>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/07/08/korkboard-1-0-0-4/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Cache Problems with ASP.NET MVC Views?</title>
		<link>http://jsedlak.org/2010/04/27/cache-problems-with-asp-net-mvc-views/</link>
		<comments>http://jsedlak.org/2010/04/27/cache-problems-with-asp-net-mvc-views/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 08:51:10 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[ASP.NET MVC2]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=636</guid>
		<description><![CDATA[If you have done any decent amount of work with the ASP.NET MVC platform, you have probably run into the following problem. You have a page where you want to update data on the server without a postback and so &#8230; <a href="http://jsedlak.org/2010/04/27/cache-problems-with-asp-net-mvc-views/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have done any decent amount of work with the ASP.NET MVC platform, you have probably run into the following problem. You have a page where you want to update data on the server without a postback and so you whip out some fancy Javascript to send a request to the server. What happens is the response you get back is a success, and the data is updated, but subsequent requests don&#8217;t seem to be updated. This is most noticeable with partial views and content views called via the infamous &#8220;$.ajax&#8221; call. What you forgot was to make sure the browser isn&#8217;t caching the result:</p>
<pre class="brush: plain;">HttpContext.Response.AddHeader("cache-control", "no-cache");</pre>
<p>Note that if you have already hit the particular view and it is cached, you can generally clear the cache by navigating to the URI of the view manually and hitting refresh.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/04/27/cache-problems-with-asp-net-mvc-views/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Settlers 7 in Windowed Mode</title>
		<link>http://jsedlak.org/2010/03/25/running-settlers-7-in-windowed-mode/</link>
		<comments>http://jsedlak.org/2010/03/25/running-settlers-7-in-windowed-mode/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 14:44:36 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Settlers 7]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=613</guid>
		<description><![CDATA[Just a quick post here regarding Settlers 7 and windowed mode. Although the in game UI doesn&#8217;t say the game supports running the game in a window, you can be changing your settings file. You can find the file in &#8230; <a href="http://jsedlak.org/2010/03/25/running-settlers-7-in-windowed-mode/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a quick post here regarding Settlers 7 and windowed mode. Although the in game UI doesn&#8217;t say the game supports running the game in a window, you can be changing your settings file. You can find the file in the Settlers7 folder under the &#8220;My Documents&#8221; folder. Open the &#8220;Options.ini&#8221; file and change the following.</p>
<pre class="brush: plain;">[Quality]
FullScreen = 0
ScreenHeight = 960
ScreenWidth = 1280</pre>
<p>Now, if only someone could tell me why the game still thinks DoF is on when the options file reads it as being set to zero! Happy settling.</p>
<p><span id="more-613"></span></p>
<pre class="brush: plain;">[Display]
BillboardClouds = 1
Clutter = 1
Particles = 1
Sky = 1

[Effects]
Antialiasing = 0
DepthOfField = 1
Fog = 1
Multisampling = 0
Parallax = 1
SSAO = 1
Shadows = 1
SunShafts = 1

[Quality]
AspectMode = 0
ClutterQuality = 2
DistanceCulling = 2
FullScreen = 0
MultiGPU = 0
MultiThreadedGL = 0
ObjectQuality = 2
ScreenHeight = 1050
ScreenWidth = 1680
ShaderQuality = 2
ShadowQuality = 2
TerrainDetailMaps = 1
TextureQuality = 2
Upscaling = 2
WaterQuality = 2
</pre>
<p><b>Update:</b> Added full Options file.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/03/25/running-settlers-7-in-windowed-mode/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FGF 0.1.2.0 Released with Gesture Recognition</title>
		<link>http://jsedlak.org/2010/02/21/fgf-0-1-2-0-released-with-gesture-recognition/</link>
		<comments>http://jsedlak.org/2010/02/21/fgf-0-1-2-0-released-with-gesture-recognition/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 20:27:41 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[FGF]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Gesture Recognition]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=603</guid>
		<description><![CDATA[New to the input engine within the Focused Games Framework is the gesture recognition capabilities, housed in the GestureTracker class. The gesture recognition class currently supports a small subset of the gestures I plan on supporting, but all are useful &#8230; <a href="http://jsedlak.org/2010/02/21/fgf-0-1-2-0-released-with-gesture-recognition/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>New to the input engine within the Focused Games Framework is the gesture recognition capabilities, housed in the GestureTracker class. The gesture recognition class currently supports a small subset of the gestures I plan on supporting, but all are useful none-the-less. The included gestures are press, two fingered press, swipe, two fingered swipe, zoom and pinch. To use the gesture recognition, instantiate a GestureTracker object, add it to the IGame.Modules list and then listen to its GestureTracked even. You will also need an instance of the InputManager class added to the list of modules.</p>
<p>The following is a small sample taken from one of my games that handles some simple menu swiping (a full sample is on the way).</p>
<p><i>If you do happen to use FGF, I would love to hear what you think! Drop me a line via the <a href="/contact">Contact</a> form or leave a comment here.</i></p>
<pre class="brush: csharp;">private void OnGestureTracked(object sender, GestureArgs args)
{
    // If it wasn't a swipe, we don't care!
    if (args.Gesture != Gesture.Swipe) return;

    // Get the direction of the swipe to determine what way
    // the menus should move
    if (args.Direction.X < 0)
    {
        // If we are capped at the right side of the menus, return
        if (current == menus.Length - 1) return;

        // Transition the menus
        menus[current].Transition(Menu.MoveDir.OffToLeft);

        current++;

        menus[current].Transition(Menu.MoveDir.OnFromRight);
    }
    else
    {
        if (current == 0) return;

        menus[current].Transition(Menu.MoveDir.OffToRight);

        current--;

        menus[current].Transition(Menu.MoveDir.OnFromLeft);
    }
}</pre>
<p><a href="/wp-content/plugins/download-monitor/download.php?id=23" class="more-link" style="margin-right:5px;float:left;"><img style="padding-top:3px;" src="/images/icons/box.png"/>&nbsp;Download FGF 0.1.2.0 Bin</a>
<div class="Clear"><!--clear--></div>
<p><span id="more-603"></span></p>
<h4>Change Log</h4>
<ul>
<li>Added gesture recognition</li>
<li>Added support for Moved state of Tracs</li>
<li>Changed Collection&lt;T&gt; class to implement interfaces directly rather than inherit from List&lt;T&gt;</li>
<li>Added angle extensions for Vector2 and Vector3</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/02/21/fgf-0-1-2-0-released-with-gesture-recognition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>That&#8217;s Twitterific!</title>
		<link>http://jsedlak.org/2010/02/11/thats-twitterific/</link>
		<comments>http://jsedlak.org/2010/02/11/thats-twitterific/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:29:00 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://jsedlak.org/?p=581</guid>
		<description><![CDATA[Are you new to Twitter? Are you looking for some interesting people to follow? What follows is an introduction to who you should be following on Twitter. It is by no means a complete compilation of who I think is &#8230; <a href="http://jsedlak.org/2010/02/11/thats-twitterific/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Are you new to <a href="http://twitter.com">Twitter</a>? Are you looking for some interesting people to follow? What follows is an introduction to who you should be following on Twitter. It is by no means a complete compilation of who I think is important but rather the beginning.</p>
<ul>
<li><a href="http://twitter.com/mklucher/xna-mvp">XNA MVP List</a>
<p>This is a compiled list of the XNA MVPs known to be twittering. If you are interested in XNA, you should be following these guys!</p>
</li>
<li><a href="http://twitter.com/mklucher">Michael Klucher</a>
<p>Speaking of Klucher, he is the Lead Program Manager of the XNA Development Platform at Microsoft. Follow him for an interesting view of the daily life of a Microsoftie.
</li>
<li><a href="http://twitter.com/thurrott">Paul Thurrott</a>
<p>Best known for his <a href="http://winsupersite.com">website</a>, Paul offers a fantastic viewpoint on the industry and is constantly on top of the latest products coming out of Redmond.</p>
</li>
<li><a href="http://twitter.com/billgates">Bill Gates</a>
<p>Gates is finally twittering! Follow him to stay up to date on his work and travels related to the <a href="http://www.gatesfoundation.org">Bill &amp; Melinda Gates Foundation</a>.</p>
</li>
<li><a href="http://twitter.com/shawnhargreaves">Shawn Hargreaves</a>
<p>Shawn, famous for his cat based tutorials has one of the best XNA blogs out there. If you are an XNA developer and don&#8217;t know him, you&#8217;re living under a rock.</p>
</li>
<li><a href="http://twitter.com/sgtconker">Sgt. Conker</a>
<p>Keeping up to date on all things XNA can be a daunting task some times. Thankfully <a href="http://sgtconker.com">Sgt. Conker</a> has got you covered! Follow these guys for the latest news, articles, videos and releases.</p>
</li>
<li><a href="http://twitter.com/skastudios">Ska Studios</a>
<p>Dishwasher. Charlie Murder. GAME WITH ZOMBIES. What else needs to be said? The leader in XNA game development. Follow for news not just about their latest creation but gatos as well.</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2010/02/11/thats-twitterific/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

