<?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>aaron552.syte.cc &#187; Sensorium</title>
	<atom:link href="http://aaron552.syte.cc/blog/tag/sensorium/feed/" rel="self" type="application/rss+xml" />
	<link>http://aaron552.syte.cc/blog</link>
	<description>Rants, Censorship, Internet, and more</description>
	<lastBuildDate>Thu, 02 Feb 2012 19:31:01 +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>I have returned. And I am bored&#8230;</title>
		<link>http://aaron552.syte.cc/blog/2010/01/17/i-have-returned-and-i-am-bored/</link>
		<comments>http://aaron552.syte.cc/blog/2010/01/17/i-have-returned-and-i-am-bored/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 14:19:22 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Random ramblings]]></category>
		<category><![CDATA[boredom]]></category>
		<category><![CDATA[more boredom]]></category>
		<category><![CDATA[Sensorium]]></category>

		<guid isPermaLink="false">http://aaron552.syte.cc/blog/?p=128</guid>
		<description><![CDATA[As the title says: I am bored. Boredom is the only real reason I update this blog anymore. This post will be about whatever comes across my mind. Therefore, expect random topic changes. My Desktop PC My parents don&#8217;t like it. &#8220;It uses so much power&#8230;&#8221; They&#8217;re right, at least in part: I tend to leave [...]]]></description>
			<content:encoded><![CDATA[<p>As the title says: I am bored. Boredom is the only real reason I update this blog anymore.</p>
<p>This post will be about whatever comes across my mind. Therefore, expect random topic changes.</p>
<h2>My Desktop PC</h2>
<p>My parents don&#8217;t like it. &#8220;It uses so much power&#8230;&#8221; They&#8217;re right, at least in part: I tend to leave it on overnight in order to take advantage of our 60GB of off-peak quota, since I could (if I really tried) burn through our 60GB peak in 2 weeks, or so. The specs of the system don&#8217;t help, either:</p>
<ul>
<li>Gigabyte P35-DS3 motherboard</li>
<li>Intel Core 2 Duo, overclocked from 2.33 to 3.5GHz</li>
<li>4GB of G.Skill DDR2 RAM, overclocked from 800Mhz to 1GHz (in order to get the CPU above 2.8GHz)</li>
<li>512MB Sapphire Radeon 3870</li>
<li>4 Western Digital Hard Disks:
<ul>
<li>1 x 80GB (IDE)</li>
<li>1 x 320GB (SATA)</li>
<li>2 x 640GB (SATA)</li>
</ul>
</li>
<li>Pioneer 20x DVD burner (SATA)</li>
<li>600W Coolermaster PSU</li>
<li>Logitech G15 Keyboard</li>
<li>Logitech G5 Gaming Mouse</li>
<li>Logitech Cordless Rumblepad 2</li>
<li>Logitech Dual Action</li>
<li>IBM Model M Keyboard</li>
<li>Samsung 22&#8243; Widescreen LCD Monitor</li>
<li>Some old, Dell-branded 17&#8243; CRT from 1997</li>
</ul>
<p>As you&#8217;d probably expect, that PC uses a fair amount of power. However, for a 2-year-old PC, it doesn&#8217;t perform too badly when gaming.</p>
<p>There are, of course, other ways to do offpeak downloading, but they are not without their own problems. My laptop doesn&#8217;t really have enough free space for me to fill it up with torrents while I wait for them to seed and setting the desktop to shut down after completing its downloads doesn&#8217;t really reduce its power consumption by all that much.</p>
<p>What I really want is a nice, small, quiet, Intel Atom-based, mini-ITX form factor PC that I can use as a storage server, and downloader. The prices aren&#8217;t so great at the moment, however, with the Aussie dollar weakening against the US.</p>
<h2>Clacky Keyboard</h2>
<p>While I definitely would not consider myself a &#8220;keyboard enthusiast&#8221;, I still consider my IBM Model M keyboard to be second-to-none in terms of typing feel. I bought it for the bargain price of 50AUD and it even came with a matching IBM PC for free (or that&#8217;s the way I see it). While that PC has long since been retired to the attic, the keyboard remains. The only reason I keep the Logitech G15 is because I use its USB hub, and its screen is useful in certain circumstances (the media display is quite handy, for example)</p>
<h2>Music</h2>
<p>Some soundtracks that I believe are completely awesome:</p>
<ul>
<li>Naruto, especially Shippuuden. Current-day rock, metal (and some other genres) blended with traditional Japanese instruments makes for some extremely epic music.</li>
<li>3 Key visual novels: Air, Kanon and Clannad. The soundtracks are so good, they&#8217;re used as the soundtrack in the (gorgeously animated) Kyoto Animation adaptations</li>
<li>Final Fantasy. Especially VI and X (though that might be because those are the two I&#8217;ve played the most). The Black Mages have some extremely good (progressive/power metal) arrangements too.</li>
<li>Jade Empire, Mass Effect, Dragon Age: Origins. Epic soundtracks that seem perfectly suited to each game.</li>
<li>Beyond Good and Evil.</li>
<li>Serial Experiments Lain. While not an <em>epic</em> soundtrack, the soundtrack is so perfect that whenever there is music playing, it&#8217;s almost unnoticeable, or is exactly what you&#8217;d expect at that point.</li>
<li>Full Metal Panic! and Full Metal Panic! The Second Raid.</li>
</ul>
<h2>Sensorium</h2>
<p>Sensorium is an app I am currently developing for a specific purpose. Once I get that mini-ITX PC, I plan to mount it inside my current desktop&#8217;s case, with a 7&#8243; LCD mounted in the front, displaying the desktop&#8217;s internal sensors&#8217; values (temperature, fan speed and voltage). The problem, I discovered, is that there is no way for the mini-ITX PC to access this sensor data directly.</p>
<p>So I set myself a task: to write a piece of software to send it over ethernet. The requirements were these:</p>
<ul>
<li>The server had to run on both Windows and Linux and retrieve all available sensor data</li>
<li>The client had to run on Linux, at least, and be able to receive and display the sensor data</li>
</ul>
<p>Of course, the problem was the first point. The client could easily be cross-platform, but there is no cross-platform way of retrieving sensor data. Linux has libsensors, at least, but in Windows, there is no standardized way to access the sensors. I have overcome the Windows problem by using SpeedFan&#8217;s shared memory, which provides the sensor data.</p>
<p>Sensorium was initially programmed in Java, but some severe limitations appeared: the native DLL I was using had to be compiled for the same instruction set as the JRE the app was running under (ie. 64-bit DLL for 64-bit JRE, 32-bit DLL for 32-bit JRE). Upon discovering that C# had something similar to, but much easier to use than, Java&#8217;s JNI, I decided to start from scratch in C#.</p>
<p>C#&#8217;s P/Invoke is much better than Java&#8217;s JNI for two reasons:</p>
<ul>
<li>There&#8217;s no need for any helper DLLs, meaning I can code the entire app in C#, as opposed to Java and C++</li>
<li>Coding entirely in C# (and therefore compiling to MSIL), means no need for separate 64-bit and 32-bit libraries</li>
</ul>
<p>Even better, I discovered that P/Invoke also works in mono (on UNIX OSs) meaning that, again, there would be no need for helper libraries, that I could code the entire app in C#, and still have it cross-platform with minimal to no differences between platforms.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron552.syte.cc/blog/2010/01/17/i-have-returned-and-i-am-bored/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

