<?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; Computers and Programming</title>
	<atom:link href="http://www.brandonvalosek.com/category/nerdy-stuff/computers-and-programming/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>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>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>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>
	</channel>
</rss>
