<?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>luminance &#187; Uncategorized</title>
	<atom:link href="http://www.luminance.org/blog/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://www.luminance.org/blog</link>
	<description>Programming and Game Development - Kevin Gadd&#039;s Blog</description>
	<lastBuildDate>Sat, 14 Apr 2012 10:02:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>VirtualBox is pretty awesome</title>
		<link>http://www.luminance.org/blog/uncategorized/2009/07/02/virtualbox-is-pretty-awesome</link>
		<comments>http://www.luminance.org/blog/uncategorized/2009/07/02/virtualbox-is-pretty-awesome#comments</comments>
		<pubDate>Fri, 03 Jul 2009 06:50:29 +0000</pubDate>
		<dc:creator>Kael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Awesome]]></category>
		<category><![CDATA[Emulation]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.luminance.org/?p=542</guid>
		<description><![CDATA[If you haven&#8217;t gotten around to trying out VirtualBox 3 yet, you should. I finally made some time to install the Windows 7 RC inside of it, and I&#8217;m stunned. It&#8217;s a much better experience than Virtual PC or VMWare and it&#8217;s totally free. Whod&#8217;ve thought that Sun would release something so useful for free? [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t gotten around to trying out <a href="http://www.virtualbox.org/wiki/Downloads">VirtualBox 3</a> yet, you should. I finally made some time to install the Windows 7 RC inside of it, and I&#8217;m stunned. It&#8217;s a much better experience than Virtual PC or VMWare and it&#8217;s totally free. Whod&#8217;ve thought that Sun would release something so useful for free? I didn&#8217;t even have to install Java. <img src='http://www.luminance.org/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>After a little fiddling, I even managed to get hardware Direct3D and OpenGL working inside of Windows 7. Here&#8217;s a short clip of me fiddling with a hardware-accelerated Windows 7 game, and Paint, on top of my Windows XP desktop (thanks to VirtualBox&#8217;s neat &#8216;Seamless&#8217; mode, which appears to be similar to VMWare&#8217;s Fusion feature.)</p>
<p><object width="480" height="385" data="http://www.youtube-nocookie.com/v/XRw5ekeck40&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube-nocookie.com/v/XRw5ekeck40&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>A quick how-to guide if you&#8217;re interested in trying out the setup in the video:</p>
<ul>
<li>Install VirtualBox 3</li>
<li>Create a virtual machine configured for Windows 7. Enable all the shiny goodies, like hardware 3D.</li>
<li>Install Windows 7, preferably using the downloadable Windows 7 RC ISO. You can grab it from Microsoft&#8217;s site and set the ISO as your CD/DVD-ROM drive in the VirtualBox settings.</li>
<li>Once Windows 7 is installed, install the VirtualBox Guest Additions. This enables pointer integration and makes graphics work better, along with enabling Seamless mode.</li>
<li>Download the <a href="http://www.nongnu.org/wined3d/">WineD3D installer</a> onto your Windows 7 virtual machine, preferably the desktop. You should be able to just use IE to do it inside win7, if you turned on NAT when installing VirtualBox and configuring your virtual machine.</li>
<li>Boot Windows 7 into safe mode (you may need to spam the F5/F8 keys when the virtual machine is booting to get the safe mode menu).</li>
<li>Open Windows Explorer as Administrator (Start menu, accessories, Windows Explorer, right click it and pick Run as Administrator)</li>
<li>Navigate to C:\Windows\System32</li>
<li>Right click the downloaded WineD3D installer, and select Run as Administrator.</li>
<li>Continue with the WineD3D install process. Each time you get an &#8216;unable to write to file foo.dll&#8217; error message:
<ul>
<li>Go to that Explorer window and find the respective file (like d3d8.dll)</li>
<li>Right click the file and select Properties</li>
<li>Click over to the Security tab and click the Edit button</li>
<li>Grant &#8216;Full Control&#8217; to the Administrators group.</li>
</ul>
</li>
<li>After following those steps, you can click Retry on the error message and the install will continue to the next file.</li>
<li>After changing permissions to a few DirectX files, the install will complete. Reboot your virtual machine into normal mode and you should now have hardware 3D in both Direct3D and OpenGL apps inside your Windows 7 virtual machine.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.luminance.org/blog/uncategorized/2009/07/02/virtualbox-is-pretty-awesome/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Wireless internet seems like a scam</title>
		<link>http://www.luminance.org/blog/uncategorized/2009/02/10/wireless-internet-seems-like-a-scam</link>
		<comments>http://www.luminance.org/blog/uncategorized/2009/02/10/wireless-internet-seems-like-a-scam#comments</comments>
		<pubDate>Wed, 11 Feb 2009 05:03:31 +0000</pubDate>
		<dc:creator>Kael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.luminance.org/?p=256</guid>
		<description><![CDATA[Over the years, I&#8217;ve owned maybe a dozen different devices with built-in WiFi capability, along with a few add-on devices like USB and CF cards for accessing WiFi networks. 802.11a, 802.11b, 802.11g, 802.11n. Windows 2000, Windows XP, Windows Vista, Linux. Desktop, Laptop, etc. You get the idea. Variety. All of them have pretty much sucked. [...]]]></description>
			<content:encoded><![CDATA[<p>Over the years, I&#8217;ve owned maybe a dozen different devices with built-in WiFi capability, along with a few add-on devices like USB and CF cards for accessing WiFi networks. 802.11a, 802.11b, 802.11g, 802.11n. Windows 2000, Windows XP, Windows Vista, Linux. Desktop, Laptop, etc. You get the idea. Variety.</p>
<p>All of them have pretty much sucked. Bad drivers, flaky connectivity, bad performance, increases in power usage (well, at least for the laptop ones where I could tell), and general all-around worthlessness. Their only advantage was that I didn&#8217;t have to plug an ethernet cable into my hardware &#8211; and let me tell you, that <strong>is</strong> nice &#8211; but the downsides often meant that it was easier to run a couple hundred feet of CAT5 than to actually get the wifi working.</p>
<p>I&#8217;m at my wit&#8217;s end. I have no idea why this s&#8211;t doesn&#8217;t work and I have no idea how to fix it. My near-inescapable conclusion at this point, after hassling with wireless internet for over 5 years and never having a good experience, is this:</p>
<p><strong>Wireless internet is a waste of money and seems like a scam.<br />
</strong></p>
<p>You spend a bunch of money buying wireless network equipment, spend your time configuring it, and then get unreliable performance. When you try and get support from network hardware vendors, you get screwed, because they rarely release firmware updates and their support phone lines (if they even <strong>have</strong> one) typically have extremely long hold times and require you to call when you should be at work trying to get things done.</p>
<p>Running CAT5 between commodity routers is cheaper, faster, and easier. The only downside, as far as I can tell, is that you can&#8217;t post to twitter from your toilet.</p>
<p><strong>Well, maybe it&#8217;s your router.</strong></p>
<p>I&#8217;ve owned half a dozen different routers, all from reputable brands with high average ratings on reseller sites and such. All of them have been pretty much equally terrible. I would love to blame individual brands but they all seem to suck equally, so there&#8217;s no point.</p>
<p><strong>Well, maybe it&#8217;s your location.</strong></p>
<p>I&#8217;ve had my WiFi equipment set up in 4 different residences, all in different locations &#8211; suburban, urban, rural, and in the most recent example, high-tech (I can get Google WiFi if I go to a park nearby. No idea how reliable <strong>it</strong> is&#8230;) No tangible difference in my experience with WiFi at any of those locations, though obviously intangible things like my Signal to Noise ratio varied.</p>
<p><a href="http://www.luminance.org/wp-content/uploads/2009/02/snr.png"><img class="aligncenter size-full wp-image-258" title="snr" src="http://www.luminance.org/wp-content/uploads/2009/02/snr.png" alt="" width="444" height="260" /></a></p>
<p><strong>Well, maybe you don&#8217;t know how to configure it?</strong></p>
<p>Sure, I&#8217;m definitely not an expert. But I&#8217;ve put a lot of effort into it. I&#8217;ve tried various combinations of channels, transmit speeds, encryption configurations, and such on each WiFi access point I&#8217;ve owned. Some of those options made a tangible difference; for example, turning off encryption entirely (yes, entirely) reduced my average latency on my current router by 10-15ms, which was definitely worth it. I have to use VPN or SSL for any sensitive traffic now, but I was doing that already, so f&#8211;k WEP and f&#8211;k WPA.</p>
<p>But for the most part, none of that s&#8211;t did <strong>anything</strong>. I still get f&#8211;king <strong>packet loss</strong> when sending ping packets to a router that&#8217;s 50 feet away from me, and my transmit/recieve rates still randomly drop for no obvious reason, and I still occasionally have to hard-reset the settings on my router because it decides to stop accepting connections of any kind over wifi at the drop of a hat.</p>
<p><a href="http://www.luminance.org/wp-content/uploads/2009/02/packetloss.png"><img class="aligncenter size-full wp-image-259" title="packetloss" src="http://www.luminance.org/wp-content/uploads/2009/02/packetloss.png" alt="" width="500" height="278" /></a></p>
<p>I could blame the devices I&#8217;m using to access my WiFi networks, but that doesn&#8217;t really work either. I&#8217;ve tried every possible driver setting and configuration change on my machines to see if it made a difference, and it didn&#8217;t. I&#8217;ve used multiple personal machines, along with machines from work, other people&#8217;s machines, and devices like an XBox 360 or iPhone. All of them get the same unpredictably terrible performance out of WiFi.</p>
<p><strong>You just need better equipment!</strong></p>
<p>I can buy that, really. But the two different places I&#8217;ve worked that had corporate WiFi networks have both suffered from the same reliability and performance issues with their WiFi that I have, despite professional operations/IT staff using those networks and putting their money and time into getting them to work. I don&#8217;t think it&#8217;s just about the equipment.</p>
<p>I&#8217;m convinced that it&#8217;s possible to construct a working, high-quality WiFi network &#8211; the one at Sun&#8217;s Executive Briefing Center is amazing, and I didn&#8217;t have any problems with it at the last SHDH &#8211; but I&#8217;ve seen more completely useless WiFi networks than I have successful ones, and even the useless ones are pretty expensive to set up and run.</p>
<p><strong>Well, WiFi works great for me!</strong></p>
<p>Really? Awesome! Please share some tips or suggestions, or perhaps point me to the hardware configuration you&#8217;re using. I&#8217;d love to try and reproduce your experience.</p>
<p>My current residence is one where it&#8217;s extremely difficult to run ethernet cables to my desktop and other hardware, so I&#8217;m kind of stuck with WiFi, which is what makes it so annoying. In most cases, I&#8217;d just run a cable and forget about it, like I ended up doing with all my previous WiFi hardware. No such luck here.</p>
<p>For those who feel like sharing their advice, here is a summary of my current configuration:</p>
<p><a href="http://www.netgear.com/Products/RoutersandGateways/RangeMaxWirelessNRoutersandGateways/WNR834B.aspx" target="_blank">Netgear WNR834B wireless router</a>, running in 54Mbps (G) mode. Located out in the open, up on a shelf. Line of sight to the machines I&#8217;m using is clear, with the exception of a floor between the router and my desktop. Plugged into a power socket it&#8217;s not sharing with anything other than my DSL modem.</p>
<p><a href="http://www.linksysbycisco.com/ANZ/en/products/WMP54G" target="_blank">Linksys WMP54G PCI adapter</a>, in my desktop. No PCI IRQ conflicts or anything like that. Tried with both the included drivers and Windows XP&#8217;s built-in WiFi support. I have a high-quality wifi antenna attached to the adapter, sitting about 4 feet away from my desktop, positioned in order to get the best signal strength. The router is about 40 feet away, and as shown in the screenshots above, my SnR averages between 55dB and 70dB &#8211; full &#8216;signal strength&#8217; in every graphical tool I&#8217;ve seen.</p>
<p>One other desktop is connected directly to the wireless router via a 60 foot long CAT5 cable that we ran out a <strong>window</strong>, off the patio, and in another window to connect to the router downstairs, as an experiment. It has no connectivity issues whatsoever, despite the fact that the ethernet cable is <strong>outside</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luminance.org/blog/uncategorized/2009/02/10/wireless-internet-seems-like-a-scam/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>omg yay!</title>
		<link>http://www.luminance.org/blog/uncategorized/2008/11/28/omg-yay</link>
		<comments>http://www.luminance.org/blog/uncategorized/2008/11/28/omg-yay#comments</comments>
		<pubDate>Fri, 28 Nov 2008 10:35:04 +0000</pubDate>
		<dc:creator>Kael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hurray]]></category>

		<guid isPermaLink="false">http://www.luminance.org/?p=7</guid>
		<description><![CDATA[Grue gave me some space to put up a wordpress blog. Nifty.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.egometry.com/">Grue</a> gave me some space to put up a wordpress blog. Nifty.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luminance.org/blog/uncategorized/2008/11/28/omg-yay/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
