<?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>Life&#039;s Miscellaneous Et Ceteras &#187; Nerdy Stuff</title>
	<atom:link href="http://www.brandonvalosek.com/category/nerdy-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonvalosek.com</link>
	<description>Brandon Valosek&#039;s reflections on life, philosophy, and programming</description>
	<lastBuildDate>Fri, 12 Mar 2010 07:22:45 +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>I Suck At Blogging</title>
		<link>http://www.brandonvalosek.com/2010/03/i-suck-at-blogging/</link>
		<comments>http://www.brandonvalosek.com/2010/03/i-suck-at-blogging/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 01:41:17 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/2010/03/i-suck-at-blogging/</guid>
		<description><![CDATA[My previous blog post, honestly, sucked. Sorry to anybody unfortunate  enough to waste 130 seconds of their life reading it. If you, dear  reader, can ever forgive me&#8230; then the quality of my blogs ought to  improve over the next few weeks as I get used to expressing myself in  written [...]]]></description>
			<content:encoded><![CDATA[<p>My previous blog post, honestly, sucked. Sorry to anybody unfortunate  enough to waste 130 seconds of their life reading it. If you, dear  reader, can ever forgive me&#8230; then the quality of my blogs ought to  improve over the next few weeks as I get used to expressing myself in  written words again. It might be a bumpy ride&#8230; so hold on tight!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2010/03/i-suck-at-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CNCStats PHP Library</title>
		<link>http://www.brandonvalosek.com/2010/03/cncstats-php-library/</link>
		<comments>http://www.brandonvalosek.com/2010/03/cncstats-php-library/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 08:48:23 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Computers and Programming]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/?p=150</guid>
		<description><![CDATA[Since I was but a wee lad I&#8217;ve been playing Command &#38; Conquer games, but even before that I was a giant computer nerd.
I created the site www.cncboards.net to allow CnC players to track their stats and match history, as well as view detailed ranked ladder info. This sort of code could be useful to [...]]]></description>
			<content:encoded><![CDATA[<p>Since I was but a wee lad I&#8217;ve been playing Command &amp; Conquer games, but even before that I was a giant computer nerd.</p>
<p>I created the site www.cncboards.net to allow CnC players to track their stats and match history, as well as view detailed ranked ladder info. This sort of code could be useful to other Command &amp; Conquer fan sites, so I&#8217;ve decided to release some of it.</p>
<p>It&#8217;s really basic&#8230; as I didn&#8217;t include all of the database functionality that I also designed. Currently the library just includes a class that allows you to load player stats for any Red Alert 3, Command &amp; Conquer 3, or Kane&#8217;s Wrath player.</p>
<p>Check out the <a href="http://www.brandonvalosek.com/cncstats/">cncstats PHP library</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2010/03/cncstats-php-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This Damn Website</title>
		<link>http://www.brandonvalosek.com/2009/11/this-damn-website/</link>
		<comments>http://www.brandonvalosek.com/2009/11/this-damn-website/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 17:28:58 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Computers and Programming]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/?p=59</guid>
		<description><![CDATA[My website has gone through quite a few iterations since its original conception back in the Fall of 2005. It was originally a C++ app I wrote from the ground up, listening on an open socket on my computer for people trying to connect via their browsers. It was a mess, but a really badass [...]]]></description>
			<content:encoded><![CDATA[<p>My website has gone through quite a few iterations since its original conception back in the Fall of 2005. It was originally a C++ app I wrote from the ground up, listening on an open socket on my computer for people trying to connect via their browsers. It was a mess, but a really badass project and I learned a ton about network programming. If you have no idea what that means, this method for making a website is like cooking in which you have to build your own house, kitchen, and oven before you can even start making dinner.</p>
<p>I then eventually made a PHP and MySQL site, but again from scratch. I taught myself PHP and learned a lot about databases, but the site was basic, inflexible, and arduous to work on and update. The cooking metaphor? Making a cake from complete scratch, and doing a half-assed icing job. The most rewarding part was knowing you baked it yourself with your own recipe. It looks bad, but tastes pretty good. In the end your kitchen is a mess though, and you spent a lot of time working on it.</p>
<p>Finally, I gave up and installed <a title="Wordpress... a badass CMS!" href="http://www.wordpress.com" target="_blank">Wordpress</a>, an extremely popular CMS. I transferred over the majority of my blogs, but have yet to update it since. Extended metaphor aficionados could see this as making a boxed cake, and hiring a professional to do the icing job.</p>
<p>So I haven&#8217;t posted a blog in over a year, and I&#8217;m hoping to get back into it. Since I&#8217;ve installed Wordpress and seen how extremely flexible and easy to use it is, I have helped a few different friends set up their own websites, all powered by Wordpress. I don&#8217;t regret rolling my own site for so long, but the time has come to abandon the persuit for web development knowledge and jump on the all-in-one CMS bandwagon.</p>
<p>Hopefully soon, my blog will again but graced by the elegant unintelligible babble of my own obfuscated reflections on life. Something I&#8217;m sure that you, dear reader, are shitting yourself over in anticipation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2009/11/this-damn-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why Linux Sucks</title>
		<link>http://www.brandonvalosek.com/2008/10/why-linux-sucks/</link>
		<comments>http://www.brandonvalosek.com/2008/10/why-linux-sucks/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 11:20:49 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Computers and Programming]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/why-linux-sucks/</guid>
		<description><![CDATA[A few weeks ago, I thought I&#8217;d give Linux a legitimate try. Having spent a huge amount of time working with Linux machines both on campus and remotely, I felt I was pretty comfortable with the environment and the operating system overall. I was attracted to the power of the command line, the extraordinary modular [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I thought I&#8217;d give Linux a legitimate try. Having spent a huge amount of time working with Linux machines both on campus and remotely, I felt I was pretty comfortable with the environment and the operating system overall. I was attracted to the power of the command line, the extraordinary modular design, the flexibility, the amazing file system design, and of course, the overall nerd factor. I started out with <a title="Get Ubuntu" href="http://www.ubuntu.com/getubuntu/download" target="_blank">Ubuntu 8.04</a> (Hardy Heron), but eventually switched over to <a title="Get OpenSUSE" href="http://software.opensuse.org/" target="_blank">OpenSUSE 11.0</a>.</p>
<p>So I setup a new partition on my system drive&#8230; and away I went.</p>
<h4>The Fonts Look Like Ass</h4>
<p>The very first thing I noticed when my computer booted to the Linux Gnome desktop is that the <a href="http://www.google.com/search?q=linux+fonts+suck&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" target="_blank">fonts look like booboo</a>. At first I wasn&#8217;t very concerned, because it wasn&#8217;t until Vista that TrueType (a subpixel font rendering engine from Microsoft) was enabled by default. But even after messing with the settings and trying Linux&#8217;s version of subpixel font rendering, the results were still less that pleasing. Horrible gamma correction, shitty hinting options&#8230; etc.</p>
<p>The most common advice when trying to find a solution was to download <a title="Download Microsoft fonts" href="http://ubuntu.wordpress.com/2007/09/16/installing-vista-fonts-in-ubuntu/" target="_blank">Microsoft&#8217;s fonts</a> (especially the new Vista fonts). Kind of ironic, huh? Even then, the fonts still looked like vomit to me. And what was worse, the overall font sizes had to be larger to remain clear, when on Windows I could lower the size and still maintain legibility. Everything in Gnome had to be bigger&#8230; effectively reducing my screen real estate.</p>
<h4>Free Software Blows</h4>
<p>There are exceptions, of course. Firefox, for example&#8230; is a great browser. But there are NO true alternatives to the Microsoft Office Suite, the Adobe Creative Suite, or Microsoft Visual Studio.</p>
<p>The Gimp (the shitty GNU image editor/Photoshop replacement) is under featured, buggy, and slower than Photoshop. I tried to give this app a chance, but it&#8217;s pretty horrible. OpenOffice looks and feels like Office 95 or worse, and is less stable than Office 2007 SP1. It&#8217;s also slower to open, with a lot of rendering bugs from my existing documents.</p>
<p>And there is NOTHING comparable to the ease of use of Outlook 2007. I use it to seamlessly check my email from my UT account and my Gmail, as well as synchronize my calendar and contacts via Bluetooth with my phone, and keep up-to-date on my friends via their shared Outlook calendars. Nothing on Linux can do that&#8230; without a horribly complex and counter-intuitive process that half-assedly works half the time (25% efficiency?).</p>
<p>None of the billions of music apps that are out there even remotely compare to the stability, speed, and aesthetic appeal of <a title="Best MP3 Player in the world" href="http://www.winamp.com/" target="_blank">Winamp</a> or <a title="An okay MP3 Player" href="http://www.itunes.com" target="_blank">iTunes </a>either&#8230; so hopefully you don&#8217;t like listening to music much.</p>
<p>Of course, there was nothing even remotely as powerful as the SONAR 8 + FL Studio 8 combo I have running under Vista. With Vista, my latencey for my outboard sound hardware was about 5.9ms, with Linux (and lmms), it was around 320ms.</p>
<p>And I don&#8217;t care what everyone else says, VIm is not a replacement for Visual Studio.</p>
<p>You can&#8217;t really blame them&#8230; of course a nerd-run project that is in perpetual beta is not going to hold a candle to the products of multi-billion dollar companies like Microsft, Apple, and Adobe&#8230; but the Linux fans need to stop acting like this isn&#8217;t the case.</p>
<h4>Anyway&#8230;</h4>
<p>Technically, Linux is a great operating system. This website is actually run on a Linux server and is extremely reliable&#8230; but I think that&#8217;s as far as it goes. Sure it&#8217;s fun to geek around with compiling all your own shit and what not, but most people (even most geeks) will just want an OS that works out of the box.</p>
<p>Linux is NOT a consumer-level desktop OS for a power user, home audio enthusiast, productivity geek, digital artists, film producer, songwriter/music producer, or most average people.</p>
<p>Maybe for old granny, who doesn&#8217;t need to do anything but check her email and look up cross-stitching patterns on the internet, Linux is good because you don&#8217;t have to buy the Microsoft products. But&#8230; what if she needs to print something? Good luck getting the drivers to work.</p>
<p>Or maybe old granny knows how to download custom drivers and compile them herself?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2008/10/why-linux-sucks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>16-Bit Nostalgia</title>
		<link>http://www.brandonvalosek.com/2008/08/16-bit-nostalgia/</link>
		<comments>http://www.brandonvalosek.com/2008/08/16-bit-nostalgia/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 23:51:48 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Nerdy Stuff]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/16-bit-nostalgia/</guid>
		<description><![CDATA[It was sometime during the youthful and care-free years of elementary school that my parents bought my sister and me a Sega Genesis. The system also came with Sonic 2&#8230; which might be one the best video games ever made&#8230; as I&#8217;m pretty sure that the hours of jumping and spinning a little blue hedgehog [...]]]></description>
			<content:encoded><![CDATA[<p>It was sometime during the youthful and care-free years of elementary school that my parents bought my sister and me a Sega Genesis. The system also came with Sonic 2&#8230; which might be one the best video games ever made&#8230; as I&#8217;m pretty sure that the hours of jumping and spinning a little blue hedgehog changed my life forever.</p>
<p>Even as much as hearing the shitty FM synth music on YouTube brings back memories&#8230; I also have played and beaten almost every Sonic game on the Genesis. When the time of the old 16-bit system came and went, I even downloaded an emulator on my PC and replayed most of the games (or at least my favorite parts). More recently, I played them on my phone with a Smartphone-based Genesis emulator. Interesting how it took dedicated hardware back in elementary school to do now what can be done in software real-time on my phone&#8230;</p>
<p>Anyway&#8230; I regressed into my childish pastimes of playing console video games and recently purchased a Nintendo DS. First of all&#8230; I was amazed at how advanced 7th generation handheld systems are; the DS can pump out 3D graphics comparable to the Nintendo 64 and comes with onboard Wi-Fi&#8230; both for ad-hoc gaming with a friend close by or over the Internet to play with people all over the world. Badass.</p>
<p>One of the games I bought was Sonic Adventure Rush&#8230; one of the most recent additions to the Sonic franchise. I had high hopes and high expectations; the format was similar to the Genesis games&#8230; run as fast-as-hell to the right of the screen, pickup rings, and don&#8217;t die.</p>
<p>I was happy to see that the new additions Sonic had seen since my first exposure to the series 10 years ago didn&#8217;t take away from the game and render it an unfamiliar generic platform game&#8211; it was the exact opposite actually. The new game on DS is faster and crazier than its little brother on Genesis&#8230; but it retains the same spirit.</p>
<p>There&#8217;s enough in common with the old game to make me feel like I&#8217;m back in the prepubescent and innocent years of elementary school&#8230; and that&#8217;s probably why I love playing it. It provides a small amount of escapism from the quickly-approaching &#8220;real life&#8221; that is less than a year away. I&#8217;m just glad that at 21 years old, jumping off of springs and collecting golden rings still has the ability to entertain me for a while.</p>
<p>Now if you will excuse me&#8230; I&#8217;m going to go play some Sonic on my DS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2008/08/16-bit-nostalgia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red Bull Gives Me Wings!</title>
		<link>http://www.brandonvalosek.com/2008/05/red-bull-gives-me-wings/</link>
		<comments>http://www.brandonvalosek.com/2008/05/red-bull-gives-me-wings/#comments</comments>
		<pubDate>Sat, 03 May 2008 01:20:52 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[Computers and Programming]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/red-bull-gives-me-wings/</guid>
		<description><![CDATA[Unlike the care free celebrations, exciting festivities, and home-room parties of elementary school, the end of the semester in college only brings a suffocatingly large amount of work followed by an relentless battery of exams.
My status? Well, with ¾ of a Red Bull making its way through my guts, I&#8217;m continuing to charge ahead into [...]]]></description>
			<content:encoded><![CDATA[<p>Unlike the care free celebrations, exciting festivities, and home-room parties of elementary school, the end of the semester in college only brings a suffocatingly large amount of work followed by an relentless battery of exams.</p>
<p>My status? Well, with ¾ of a Red Bull making its way through my guts, I&#8217;m continuing to charge ahead into the uncharted territories of compiler code generation and processor pipelining simulation (2 of my 3 final projects). For the last few days, all I have been able to see has been a sea of C-code, expanding before me like a vast and endless ocean of line after line of absolutely unintelligible shit like:</p>
<pre>int GetPointerSize (SYMBOL s)
{
   /*
   ** let's hope none of these are null...
   ** or we are completely FUCKED
   */
    return s-&gt;datatype-&gt;datatype-&gt;datatype-&gt;size;
}</pre>
<p>It&#8217;s so hard to even care at this point&#8230; with the enticing allure of care-free summer days creeping into my mind, the last week of school seems to be waging a losing battle for my attention.</p>
<p>However, if given a small enough time frame, almost anything can have the appearance of being important. Right now, these projects are consuming my life, and are soon to be followed by four mind-blowingly difficult finals, but 5 years down the line&#8230; how much will all of this really matter?</p>
<p>Nevertheless, I&#8217;ve got shit to do.</p>
<p>And now that I&#8217;ve finished the Red Bull, it&#8217;s time to wrap up this post. If Red Bull really gave me wings, I&#8217;d fly away from my computer to an island where the only trees are things that grow out of the ground and the only risk for storage leaks comes from old rusty containers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2008/05/red-bull-gives-me-wings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Laptop and Blood and Stuff</title>
		<link>http://www.brandonvalosek.com/2008/04/new-laptop-and-blood-and-stuff/</link>
		<comments>http://www.brandonvalosek.com/2008/04/new-laptop-and-blood-and-stuff/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 00:22:37 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Computers and Programming]]></category>
		<category><![CDATA[Life, etc.]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/new-laptop-and-blood-and-stuff/</guid>
		<description><![CDATA[I recently fixed my roomate&#8217;s old laptop. It&#8217;s a hefty Compaq Presario 2200, with a 1.3 GHz Celeron M and 480 MB RAM. It&#8217;s underwhelming power in no way justifies the 5.2 lbs of flimsy plastic, but for working on my C and VHDL programs anywhere, it does the job.
The thing is, it would overheat [...]]]></description>
			<content:encoded><![CDATA[<p>I recently fixed my roomate&#8217;s old laptop. It&#8217;s a hefty Compaq Presario 2200, with a 1.3 GHz Celeron M and 480 MB RAM. It&#8217;s underwhelming power in no way justifies the 5.2 lbs of flimsy plastic, but for working on my C and VHDL programs anywhere, it does the job.</p>
<p>The thing is, it would overheat within minutes after turning it on, so I replaced the fan because it would never spin up.. and it worked! When I first got it from him, however, I was messing around with it and re-installing the OS, and the only way for me to get that to work without it turning off due to the processor overheating was with a very creative use of my floor fan.</p>
<p><img src="http://farm3.static.flickr.com/2244/2417434471_1daa972bac.jpg" alt="IMG_9778" width="500" height="375" /></p>
<p>Everything was significantly easier once the new fan arrived, obviously.</p>
<p>In a completely unrelated event, I randomly starting bleeding from my forearm the other day. I was talking to my roommate when I felt my arm was really wet, and when I looked down I saw that it was soaked in blood. I ran over to the bathroom and washed it off, while trying to find where it was all coming from.</p>
<p>There was no cut or gash or anything, just a small pin-prick sized hole from which blood was gushing out. And it wouldn&#8217;t stop for about <strong>thirty minutes</strong>. It wouldn&#8217;t bleed if I kept pressure on it, but even after leaving pressure on it for about five minutes, it would continue to bleed. A LOT. Eventually it stopped, and the only reason for it that my roommates and I could come up with was that a bee had stung me (we were around a lot of bees earlier&#8230; this isn&#8217;t entirely random), and the stinger had just come out, and that maybe it hit a large vein.</p>
<p>I am completely aware that that sounds extremely improbable, but there really aren&#8217;t any other good reasons as to why I would just start gushing blood out of my arm.</p>
<p>In parting I leave you with a <a title="BLOOD!" href="http://youtube.com/watch?v=-fVDGu82FeQ" target="_blank">YouTube video</a> that&#8217;ll make you laugh, about buhLOOD! (it&#8217;s funny, not gross you wimps).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2008/04/new-laptop-and-blood-and-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-Penis Contest</title>
		<link>http://www.brandonvalosek.com/2008/04/e-penis-contest/</link>
		<comments>http://www.brandonvalosek.com/2008/04/e-penis-contest/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 16:40:06 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/e-penis-contest/</guid>
		<description><![CDATA[It&#8217;s inevitable:
Put more than two engineers in the same room for a short amount of time, and without fail, the conversation will eventually turn into the classic engineering equivalent of a penis length contest.
By that I mean, the untold competition that is having the most amount of shit to do in the next week or [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s inevitable:</p>
<p>Put more than two engineers in the same room for a short amount of time, and without fail, the conversation will eventually turn into the classic engineering equivalent of a penis length contest.</p>
<p>By that I mean, the untold competition that is having the most amount of shit to do in the next week or so. Example:</p>
<blockquote><p>&#8220;Dude, I&#8217;m so fucked. I have a lab on Tuesday and then a test and program on Wednesday.&#8221;</p>
<p>&#8220;Dude, whatever man. I have three tests on Monday, a lab due Wednesday that I haven&#8217;t started, a project due Thursday that my partner won&#8217;t do shit on, and then a homework assignment due Friday.&#8221;</p>
<p>&#8220;You guys have it easy. I broke both of my wrists and have to type with my  toes now, my computer crashed, my apartment burned down, and I have 4 tests next week and 3 programming assignments.&#8221;</p></blockquote>
<p>Of course, at some point a business major might chime in about how he has &#8220;work&#8221; to do that is &#8220;hard&#8221;.</p>
<p>However, everyone will eventually stop laughing at him and continue with their discussion as normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2008/04/e-penis-contest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Questionable Coding Practices</title>
		<link>http://www.brandonvalosek.com/2008/03/questionable-coding-practices/</link>
		<comments>http://www.brandonvalosek.com/2008/03/questionable-coding-practices/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 18:09:36 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Computers and Programming]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/questionable-coding-practices/</guid>
		<description><![CDATA[As I&#8217;m trying to finish up one of my programming projects, I was scanning through some of the code I had written and found something that was rather&#8230; interesting.
Normally, I consider myself a good programmer, but sometimes I have to take shortcuts and cut corners.
Here is a snippet from one of my recent projects in [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m trying to finish up one of my programming projects, I was scanning through some of the code I had written and found something that was rather&#8230; interesting.</p>
<p>Normally, I consider myself a good programmer, but sometimes I have to take shortcuts and cut corners.</p>
<p>Here is a snippet from one of my recent projects in my CS 375 Compilers class:</p>
<pre>/* Increment the index and return the next entry
   we can use as a label. New entry should be
   validated as well and safe for whomever wants
   to peek at it. */

int GetNextLabel ()
{
   return 3;
}</pre>
<p>The amount of code like this seems to be proportional to the margin of time between the due date and the time I actually finish the assignment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2008/03/questionable-coding-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer Zombie</title>
		<link>http://www.brandonvalosek.com/2008/02/computer-zombie/</link>
		<comments>http://www.brandonvalosek.com/2008/02/computer-zombie/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 17:49:13 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[Computers and Programming]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/computer-zombie/</guid>
		<description><![CDATA[This semester, four of my five classes are based on programming. A compilers class (hard), a computer architecture class (very difficult), a Python class (moderately time consuming), and a VHDL design class (time consuming&#8230; and hard). This translates into me having about 1.8 projects due a week that involve a heavy amount of coding&#8230; as [...]]]></description>
			<content:encoded><![CDATA[<p>This semester, four of my five classes are based on programming. A compilers class (hard), a computer architecture class (very difficult), a Python class (moderately time consuming), and a VHDL design class (time consuming&#8230; and hard). This translates into me having about 1.8 projects due a week that involve a heavy amount of coding&#8230; as well as hours upon hours staring at nothing but a computer screen.</p>
<p>This might seem pretty awful, and sometimes (usually) it is, but personally, I tend to completely zone out and focus only on the task at hand. Its easier for me to do things in large chunks of time and remain focused than it is to break it up over small periods. There happens to be a very serious downside though:</p>
<p>I turn into a computer zombie.</p>
<p>With hours straight of doing nothing but code/compile/debug/repeat, my brain seems to shutdown all other rudimentary functions. Basic conversation skills seem to escape me, and social interactions begin to approach the awkward stage.</p>
<p><a title="xkcd pointers comic" href="http://xkcd.com/138/" target="_blank"><img src="http://imgs.xkcd.com/comics/pointers.png" alt="xkcd comic strip" width="360" height="299" /></a></p>
<p>It&#8217;s almost like the feeling of riding a roller coaster and getting off&#8230; after you get off, you still feels like your ass is flying around the track. Computer Zombie Mode is very similar&#8230; it takes a few moments to re-calibrate my reality. Example:</p>
<blockquote><p>&#8220;I sure worked up an appetite writing all that code! Time to make a sandwich. Shit no bread! I better throw an exception! Time to write an error handler&#8230;&#8221;</p></blockquote>
<p>Of course if I had be writing for one my C classes, I would make the sandwich anyway with invalid pointers to my bread slices on accident. My first bite would result in a mouthful of segfaults followed by me vomiting all over the place.</p>
<p>Luckily it doesn&#8217;t usually take long to get back to the real world. So barring a few semi-awkward initial conversations and distorted thought patterns, it&#8217;s a relatively painless process.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2008/02/computer-zombie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing C&amp;C3 Online</title>
		<link>http://www.brandonvalosek.com/2007/06/playing-cc3-online/</link>
		<comments>http://www.brandonvalosek.com/2007/06/playing-cc3-online/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 13:02:12 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Nerdy Stuff]]></category>

		<guid isPermaLink="false">http://www.brandonvalosek.com/blog/playing-cnc3-online/</guid>
		<description><![CDATA[I feel obligated to post how I managed to get both my roommate and myself connected to C&#38;C3 online at the same time under the same router, because I haven&#8217;t seen the solution anywhere else. Hopefully, Google will do it&#8217;s job and direct anybody with a similar problem here.
The situation: Both my roommate and I [...]]]></description>
			<content:encoded><![CDATA[<p>I feel obligated to post how I managed to get both my roommate and myself connected to <a title="Command and Conquer official site" href="http://www.commandandconquer.com/">C&amp;C3</a> online at the same time under the same router, because I haven&#8217;t seen the solution anywhere else. Hopefully, Google will do it&#8217;s job and direct anybody with a similar problem here.</p>
<p>The situation: Both my roommate and I (running Windows Vista) want to play C&amp;C3 online at the same time, both connected via wireless to the Linksys WRT54G router.</p>
<p style="text-align: center"><img src="http://farm1.static.flickr.com/52/137423300_ff96a907a5.jpg" alt="Command &amp; Conquer 3" width="500" height="289" /></p>
<p>Normally, getting a game to work online involves opening a port, so the router can know to whom to direct network traffic. C&amp;C: Generals was like this. No biggie! Open up two different ports: one pointing to me, and one pointing to him&#8230; and then change the setting in the game.</p>
<p>C&amp;C3 posses a problem in that it requires a LARGE amount of ports open to work that you CANNOT change from within the game. You can set a single port to watch, but the game itself requires a large range to work.</p>
<p>The solution: Port triggering. Port triggering is like port forwarding that activates when a client starts talking to a specific port. This allows selective port forwarding as each client needs it and thus, we both have access to the full range of ports needed to run the game. The probability of collisions is low, given the large range. So the settings look like this:</p>
<ul>
<li>Set ports 2049 through 29910 to be triggering ports</li>
<li>Set any port NOT in that range to be forwarded to a specific player on the network. Do this for all players.</li>
<li>Then, in the Options-&gt;Network tab in the game, type in your port that you forwarded in the previous step.</li>
</ul>
<p>And you&#8217;re done! If anybody else tries this, let me know, as I&#8217;m curious as to whether it really works&#8230; or it was just a fluke that it worked for us.</p>
<p>There is a known issue that if one of us hosts an online game, and the other joins AND somebody outside the network joins the game, both of our games (and the router!) crash when the game is loading. However, playing 1v1 online against my roommate works, and playing in different games online at the same times work, and hosting games works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonvalosek.com/2007/06/playing-cc3-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
