<?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>BenV&#039;s notes &#187; Boring</title>
	<atom:link href="http://notes.benv.junerules.com/category/all/daily/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.benv.junerules.com</link>
	<description>Rants and notes</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:36:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Favicon.ico generation</title>
		<link>http://notes.benv.junerules.com/all/daily/favicon-ico-generation/</link>
		<comments>http://notes.benv.junerules.com/all/daily/favicon-ico-generation/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 18:39:51 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[favicon]]></category>
		<category><![CDATA[favicon.ico]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=682</guid>
		<description><![CDATA[Since I keep forgetting how the heck I create these favicon.ico files, it&#8217;s time to put it here. First of all, the size. Obviously Internet exploder fails in epic ways regarding favicon.ico. Basically, if it isn&#8217;t a microsoft ico format with a 16&#215;16 (or maybe 32&#215;32) icon in it, IE fails. So what we do [...]]]></description>
			<content:encoded><![CDATA[<p>Since I keep forgetting how the heck I create these <a href="http://en.wikipedia.org/wiki/Favicon">favicon.ico</a> files, it&#8217;s time to put it here.<span id="more-682"></span></p>
<p>First of all, the size. Obviously Internet exploder fails in epic ways regarding favicon.ico.<br />
Basically, if it isn&#8217;t a microsoft ico format with a 16&#215;16 (or maybe 32&#215;32) icon in it, IE fails.<br />
So what we do is create a nice ico file that contains all relevant sizes (which are 64&#215;64, 48&#215;48, 32&#215;32 and 16&#215;16).<br />
Oh, let&#8217;s not forget about the color depth, this should be either 8-bit or 24-bit. (although it wouldn&#8217;t surprise me if 24 bits fails on IE).<br />
Note that Firefox and Opera aren&#8217;t that picky, they even accept PNG and JPEG files these days. Even better, they claim to support <a href="http://en.wikipedia.org/wiki/APNG">APNG</a> files&#8230; could be interesting.</p>
<p>Anyway, the creation. Gimp yourself a nice set of images for the specified format, or if you&#8217;re lazy simply create 1 image and convert it with imagemagick.<br />
P.S. Details on <span style="color:#00FFFF">convert</span> can be found <a href="http://www.imagemagick.org/script/convert.php">here</a>, wonderful tool.</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #007800;">IMAGE</span>=myimage.png<br />
$ convert <span style="color: #660033;">-resize</span> 64x64 <span style="color: #660033;">-gravity</span> center <span style="color: #660033;">-background</span> transparent <span style="color: #660033;">-extent</span> 64x64 <span style="color: #007800;">$IMAGE</span> ico64.png<br />
$ convert <span style="color: #660033;">-resize</span> 48x48 <span style="color: #660033;">-gravity</span> center <span style="color: #660033;">-background</span> transparent <span style="color: #660033;">-extent</span> 48x48 <span style="color: #007800;">$IMAGE</span> ico48.png<br />
$ convert <span style="color: #660033;">-resize</span> 32x32 <span style="color: #660033;">-gravity</span> center <span style="color: #660033;">-background</span> transparent <span style="color: #660033;">-extent</span> 32x32 <span style="color: #007800;">$IMAGE</span> ico32.png<br />
$ convert <span style="color: #660033;">-resize</span> 16x16 <span style="color: #660033;">-gravity</span> center <span style="color: #660033;">-background</span> transparent <span style="color: #660033;">-extent</span> 16x16 <span style="color: #007800;">$IMAGE</span> ico16.png</div></div>
<p>Now that we&#8217;ve got those images fixed, I usually use <a href="http://www.winterdrache.de/freeware/png2ico/index.html">png2ico</a> to convert the to the final ico file.</p>
<p>Obviously we first need to compile and install that tool. Skip this if you already have it <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.winterdrache.de<span style="color: #000000; font-weight: bold;">/</span>freeware<span style="color: #000000; font-weight: bold;">/</span>png2ico<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>png2ico-src-<span style="color: #000000;">2002</span>-<span style="color: #000000;">12</span>-08.tar.gz<br />
benv<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf png2ico-src-<span style="color: #000000;">2002</span>-<span style="color: #000000;">12</span>-08.tar.gz<br />
benv<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #7a0874; font-weight: bold;">cd</span> png2ico<br />
benv<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>png2ico$ <span style="color: #c20cb9; font-weight: bold;">make</span><br />
benv<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>png2ico$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> ginstall <span style="color: #660033;">-m755</span> <span style="color: #660033;">-o</span> root <span style="color: #660033;">-g</span> root png2ico <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<br />
benv<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>png2ico$ ginstall <span style="color: #660033;">-m644</span> <span style="color: #660033;">-o</span> root <span style="color: #660033;">-g</span> root doc<span style="color: #000000; font-weight: bold;">/</span>png2ico.1 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>man<span style="color: #000000; font-weight: bold;">/</span>man1</div></div>
<p>Now for the creation of the <span style="color:#FF00FF">favicon.ico</span></p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>tmp$ png2ico favicon.ico ico64.png ico48.png ico32.png ico16.png</div></div>
<p>Put it in your webroot and you can add a header tag to make it official (although most browsers request favicon.ico whether you specify it or not).</p>
<p>NOTE:<br />
If you add the 16&#215;16 icon, be aware that it might not look as fancy as you&#8217;d think. Most browsers will display this size by default though, so if your 16&#215;16 version looks<br />
like crap, simply don&#8217;t include it.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/favicon-ico-generation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cry me a river!</title>
		<link>http://notes.benv.junerules.com/all/daily/cry-me-a-river/</link>
		<comments>http://notes.benv.junerules.com/all/daily/cry-me-a-river/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 14:50:45 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=543</guid>
		<description><![CDATA[As I often instruct people to do: Stolen from Wayfinder&#8217;s blog &#8211; check it out, it has many more funny face pics, not to mention great music!]]></description>
			<content:encoded><![CDATA[<p>As I often instruct people to do:</p>
<div class="wp-caption alignnone" style="width: 330px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/11/cry-me-a-river.jpg"><img alt="Cry me a river" src="http://notes.benv.junerules.com/wp-content/uploads/2009/11/cry-me-a-river.jpg" title="Cry me a river" width="320" height="240" /></a><p class="wp-caption-text">Cry me a river</p></div>
<p>Stolen from <a href="http://yfinder.de/" title="Wayfinder">Wayfinder&#8217;s blog</a> &#8211; check it out, it has many more funny face pics, not to mention great music!</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/cry-me-a-river/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pretty graphs!</title>
		<link>http://notes.benv.junerules.com/all/software/pretty-graphs/</link>
		<comments>http://notes.benv.junerules.com/all/software/pretty-graphs/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 15:59:30 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[rrdtool]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=443</guid>
		<description><![CDATA[Everyone loves them (except for idiots of course), pretty graphs that show fancy lines and stuff. Especially stuff. For instance stuff like this: Why make these graphs? Because you can. Because they can show you gradual changes that you normally wouldn&#8217;t notice because the change per day is only very little. Because they&#8217;re fancy. Because [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone loves them (except for idiots of course), pretty graphs that show fancy lines and stuff. Especially stuff.<br />
For instance stuff like this:<br />
<div id="attachment_444" class="wp-caption alignleft" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/iejoor-traffic-week.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/iejoor-traffic-week-300x129.png" alt="Traffic graph" title="Traffic graph" width="300" height="129" class="size-medium wp-image-444" /></a><p class="wp-caption-text">Traffic graph</p></div><br />
<div id="attachment_445" class="wp-caption aligncenter" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/uil-disk-month.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/uil-disk-month-300x94.png" alt="Disk I/O" title="Disk I/O" width="300" height="94" class="size-medium wp-image-445" /></a><p class="wp-caption-text">Disk I/O</p></div><br />
<div id="attachment_448" class="wp-caption alignright" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/uil-hddtemp-month.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/uil-hddtemp-month-300x129.png" alt="HDD temperature" title="HDD temperature" width="300" height="129" class="size-medium wp-image-448" /></a><p class="wp-caption-text">HDD temperature</p></div></p>
<p>Why make these graphs? Because you can. Because they can show you gradual changes that you normally wouldn&#8217;t notice because the change per day is only very little. Because they&#8217;re fancy. Because they can give an indication on how hot stuff runs. Because they can kill your mother while you sleep. Because they got all the legendary items that you&#8217;ll never have. Tons of reasons.<br />
But mainly because they&#8217;re pretty <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-443"></span></p>
<div id="attachment_450" class="wp-caption alignleft" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/fileserver-schuur.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/fileserver-schuur-300x225.jpg" alt="Fileserver in the barn" title="Fileserver in the barn" width="300" height="225" class="size-medium wp-image-450" /></a><p class="wp-caption-text">Fileserver in the barn</p></div><br />
(Thanks to the <a href="http://archive.org/">waybackmachine</a> for this foto on the left, I had lost it!)<br />
Years ago when my fileserver was hanging on a wall in the barn (who needs cases anyway) where it would sometimes literally freeze, and sometimes be a whopping 30-40 degrees I decided it would be interesting to graph these temperatures etc. I dove into <a href="http://www.lm-sensors.org/">lm_sensors</a> and managed to get temperature information from my motherboard sensors. But where do you stick them?</p>
<p>These days there are plenty of options, but back the option that I liked best was write some scripts that hack together a bunch of <span style="color:#FF00FF">rrdtool</span> commands and run those from cron every 5 minutes. For those who don&#8217;t know rrdtool, <a href="http://oss.oetiker.ch/rrdtool/">RRDtool</a> is a neat tool that creates round robin databases that you can feed data into based on an interval of your choosing. After feeding it information you can pull graphs out of it as shown in the top images with a ton of options.<br />
Hacking these scripts together was fun the first time, but after a while it gets tedious. Especially when you lose the scripts to a harddisk crash or have to rewrite them because of different output etc. So what some people do is use a tool that takes data from a source (still a script in most cases, but very tiny scripts) and stashes it into a rrdtool database for them. Some of them even generate the graphs for you with a nice little (web)interface. </p>
<p>So after losing the entire fileserver after moving (guess it didn&#8217;t like being removed from the barn) I checked out several tools. </p>
<ul>
<li><a href="http://oss.oetiker.ch/mrtg/">MRTG</a> is well known for making those router datatraffic graphs. People (ab)use it for generating tons of other graphs as well these days. Nice and simple if you want to generate those data traffic graphs, but if you want a tool that is a little more versatile you probably do not want MRTG. It&#8217;s cool though, and made by the same author as RRDtool.</li>
<li><a href="http://munin.projects.linpro.no/">Munin</a> is a bigger project aimed at monitoring pretty much everything. There&#8217;s a ton of plugins for this beast that do just that. However, when playing around with it I found out that it also sucked a ton of CPU out of my machine while generating the graphs every time. It has a CGI mode where it&#8217;s supposed to only generate those when requested, but I couldn&#8217;t get it working (dead image links and everything). Cute toy, but it&#8217;s still very rough around the edges. Too much for my liking, so I ditched it after toying with it for a few months.</li>
<li>Then we have <a href="http://www.cacti.net/">Cacti</a>, the tool I still use today. You can read more about it below.</li>
<li>Of course there are also a ton of commercial solutions for this, but I don&#8217;t like commercial stuff. I&#8217;ve heard a few good things about <a href="http://www.zenoss.com/product/systems-management">ZenOSS</a> though&#8230; but I can&#8217;t get through their commercial site. No info, only marketing bullshit. So no go. (and no sale)</li>
</ul>
<h2>Cacti</h2>
<p>Right now I&#8217;m back to Cacti again for the pretty graphs solution. Why Cacti?</p>
<ul>
<li>Relatively nice web interface to configure and view your data sources, devices to monitor, and of course your graphs</li>
<li>Comes with a bunch of good default graphs and tools. Templates are good.</li>
<li>Doesn&#8217;t suck the life out of my CPU, although obviously all monitoring solutions waste a bunch of CPU. One reason is that it generates graphs on demand, not every 5 minutes.</li>
<li>Easy installation (Apache + PHP + MySQL), doesn&#8217;t require much on other devices that you want to monitor. (SNMP is enough most of the times)</li>
</ul>
<p>What sucks about Cacti?</p>
<ul>
<li>It can be a bitch to get a graph working. One of the reasons I switched to other products was that I couldn&#8217;t get Cacti to work for some very simple graphs, but I couldn&#8217;t figure out why it wouldn&#8217;t work.</li>
<li>Interface could use a redesign. It works, but the steps to generate a graph are confusing, there are several ways to do it and half of them don&#8217;t work as you&#8217;d expect. Maybe some wizards could fix this though.</li>
<li>Development isn&#8217;t dead, but it sure as hell isn&#8217;t going anywhere soon. When I quit using Cacti it pretty much looked and worked the same as it does now. That&#8217;s been 3 years I think.</li>
</ul>
<p>Installing Cacti is something you&#8217;ll manage yourself. Just trash it in the webdir, point your browser at it and walk through the installation steps. Easy enough. Just make sure your server has net-snmp installed. Now for adding some basic graphs.</p>
<p>The easiest way of generating graphs is by getting your data through <a href="http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol">SNMP</a>. Most (not too cheap) routers and managed switches respond to it, and on all *nix systems you can get it running. Configuring SNMP can be a little more annoying though, since it&#8217;s one of those products that are really confusing to start with. Either walk through <span style="color:#00FFFF">snmpconf -g basic_setup</span> to generate your <span style="color:#FFFF00">snmpd.conf</span>, or take mine for some defaults. Be sure to close SNMP from outside your network of trust (the internet), they don&#8217;t need that access. SNMP is one of those protocols that can&#8217;t convince me of being secure. There are 3 versions of it, version 1 basically has no security, version 2 has no security with added layers of obscurity and with version 3 it becomes impossible to operate while having user/password/network combinations of &#8220;security&#8221;. So I don&#8217;t trust it, but that&#8217;s what a firewall is for. Since I don&#8217;t trust it anyway, I have the configuration pretty much open for reading anything by anyone as long as you can reach it. (I&#8217;m sure the SNMP experts disagree with my vision. You can link your tutorials on how to set it up below).<br />
<a href="http://notes.benv.junerules.com/wp-content/plugins/download-monitor/download.php?id=snmpd.conf" title="Downloaded 41 times">snmpd.conf</a> - Version  - SHA: 2312cae8b385d02864094427db75696857d16a32<br />
Oh yeah, another beauty: smnpd and its configuration depend on how it was compiled. So sometimes you do get disk stats, sometimes you don&#8217;t. Sensor statistics usually isn&#8217;t included, but if you recompile net-snmp and add <code class="codecolorer text vibrant"><span class="text">--with-mib-modules=&quot;ucd-snmp/lmSensors&quot;</span></code> (and your other modules!!!) you at least have a chance of getting it working.<br />
If you want to test or check the information that your snmp daemon returns, try <code class="codecolorer text vibrant"><span class="text">snmpwalk -v1 -c public $YOURHOSTNAME</span></code>.</p>
<p>Now that we&#8217;ve got that out of the way, let&#8217;s walk through the steps of creating fancy graphs.</p>
<ol>
<li value="0">On your device that you want to make graphs of, install snmpd and put the snmpd.conf in /etc/snmp. Oh, and start snmpd.</li>
<li>In the webinterface (as admin), go to <span style="color:#00FFFF">Console</span> -> <span style="color:#00FFFF">Devices</span> and click <span style="color:#00FFFF">add</span> in the upper right corner</li>
<li>Fill out information that&#8217;s obvious (hostname, description) and pick <span style="color:#FF0055">ucd/net SNMP host</span> for template. I always pick SNMP version 2 (since 3 is so much more hassle to setup) and hit create. It should return <span style="color:#FF00FF">Save Successful.</span>If it mentions <span style="color:#FF1111">SNMP error</span> then your snmp daemon could not be reached or returned bad information. Fix it! For pokemon os check out <span style="color:#FFFF00">/etc/default/snmpd</span> where they run it only on 127.0.0.1 by default. Either remove it or add your internal network IP address there. If you think it&#8217;s fixed OR want some debug info, scroll down to <span style="color:#00FF00">Associated Data Queries</span> and click <span style="color:#FF00FF">verbose query</span> (any one will do).  Once SNMP information doesn&#8217;t moan about errors anymore but gives you some decent info, it&#8217;s good.</li>
<li>Click <span style="color:#FF00FF">Create Graphs for this Host</span>. You should now get a selection screen where you can check boxes of things you want graphs from. If because of your constant failing the SNMP queries failed to get results in the previous step and therefore show you no options in the <span style="color:#FFFFFF; background:#3333FF"><b>Data Query</b></span> boxes, you might have to click the <span style="color:#00FF00">green circle</span> in the blue bar to reload that query. If it&#8217;s still empty your snmpd probably doesn&#8217;t supply that information.</li>
<li>Enable the checkboxes for lines that sound like they would make an interesting graph. CPU, Memory, and Load usually work and if you have interface statistics pick one that has a reasonable IP address. Hit <span style="color:#00FF00">Create</span> when you&#8217;ve enabled all checkboxes that sound good.</li>
<li>This is enough to let Cacti generate graphs, but you also want to be able to view those graphs. Go to <span style="color:#00FF00">Graph Trees</span> in the left menu and click <span style="color:#00FF00">Default Tree</span> on the rigth pane. Click <span style="color:#00FF00">Add</span>, then for <span style="color:#00FF00">Tree Item Type</span> take <span style="color:#00FF00">Host</span>. Select your newly created device and hit <span style="color:#00FF00">Create</span>. Now go fix yourself a cup of coffee while the graphs are being manufactured.</li>
</ol>
<p>&#8220;<span style="color:#00CF3F">But my graphs are empty! Images missing! My head exploding!</span>&#8221;<br />
Yeah, I know that feeling. First of all: WAIT! First the graphs have to be generated and collect some data before something appears. This will take a few cycles, and a cycle is 5 minutes. In other words: go fish for half an hour, play a game, do a rain dance. Now there should be pretty graphs!<br />
Like this:<br />
<div id="attachment_465" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/23.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/23-300x182.png" alt="Cacti new graphs" title="Cacti new graphs" width="300" height="182" class="size-medium wp-image-465" /></a><p class="wp-caption-text">Cacti new graphs</p></div>
<p>Now go add your other devices!<br />
If you feel like trying out some more advanced stuff, check out some of the scripts/templates on <a href="http://forums.cacti.net/forum-12.html">the cacti forums</a> . For instance the Disk IO graphs I can be made with <a href="http://forums.cacti.net/about12742.html">this snmpdiskio</a> package.</p>
<p>Well, enough for now, thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/pretty-graphs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do it yourself Bell Peppers</title>
		<link>http://notes.benv.junerules.com/all/daily/do-it-yourself-bell-peppers/</link>
		<comments>http://notes.benv.junerules.com/all/daily/do-it-yourself-bell-peppers/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 18:48:43 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[bell peppers]]></category>
		<category><![CDATA[garden]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=396</guid>
		<description><![CDATA[Nope, no computer stuff this time. When I&#8217;m not behind my computer I sometimes dare to enter the domain called &#8220;outside&#8221;. If you like plants, and especially plants that are in some way &#8216;useful&#8217; (in other words: they produce edible parts), you might want to grow some of them yourself. One particular cute little plant [...]]]></description>
			<content:encoded><![CDATA[<p>Nope, no computer stuff this time.<br />
When I&#8217;m not behind my computer I sometimes dare to enter the domain called &#8220;outside&#8221;.<br />
If you like plants, and especially plants that are in some way &#8216;useful&#8217; (in other words: they produce edible parts), you might want to grow some of them yourself.<span id="more-396"></span><br />
One particular cute little plant thingy that I planted this year is a <span style="color:#FF00FF">bell pepper</span>, or <span style="color:#FF00FF">paprika</span> as we dutch people call them. You might have heard of them, since they can be found in various sorts of delicious food like shoarma (apparently <a href="http://en.wikipedia.org/wiki/Shawarma">Shawarma</a> in english), <a href="http://en.wikipedia.org/wiki/Dürüm">Dürüm</a>, and various salads (and tons of other recipes).</p>
<p>Enough about where you might encounter them, I wanted to talk about having them as a plant.<br />
&#8220;<span style="color:#00FFFF">Huh, plant?</span>&#8221;<br />
Yeah, you know&#8230; a greenish thing with leaves and sometimes flowers that stands in the dirt all day trying to catch sunlight and occasionally some water.<br />
&#8220;<span style="color:#00FFFF">Never heard of it.</span>&#8221;<br />
Idiot. Play some more Mario or Spore until you know.</p>
<p>What I did this year was: </p>
<ul>
<li> Buy a red bell pepper from the shop (because we needed one for dinner or whatever). Pick any color you like though, except for green, since green ones taste bad <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li> When preparing it for the food -keep- the part that has all the seeds, and peel off a bunch of them.</li>
<li> Put those seeds on a saucer and let them dry for a while (a day orso)</li>
<li> Take a pot, fill it with some nice soil and put the seeds into the soil. (not too deep!)</li>
<li> Cover the pot with a little foil. (I used a rubber band to keep it in place)</li>
<li> Put the pot in front of the window so it gets some nice sunlight during the day</li>
<li> Wait, water the pot a little once every few days</li>
</ul>
<p>After a week or so something will start to grow in there. Mine looked like this:<br />
<div id="attachment_399" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-plantje-jong.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-plantje-jong-300x225.jpg" alt="Paprika plantje jong" title="Paprika plantje jong" width="300" height="225" class="size-medium wp-image-399" /></a><p class="wp-caption-text">Paprika plantje jong</p></div><br />
Then you wait some more and water it some more and it&#8217;ll grow and get a bit bigger&#8230;.<br />
<div id="attachment_400" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-plantjes-middel.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-plantjes-middel-300x225.jpg" alt="Paprika plantjes" title="Paprika plantjes" width="300" height="225" class="size-medium wp-image-400" /></a><p class="wp-caption-text">Paprika plantjes</p></div><br />
Until eventually they get a bunch of cute little flowers:<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-bloempjes.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-bloempjes-300x225.jpg" alt="paprika bloempjes" title="paprika bloempjes" width="300" height="225" class="alignnone size-medium wp-image-403" /></a><br />
The flowers will open up and look proud, and after that most of the flowers will fall off. Nature&#8217;s way of prefering one thing above another and making sure the plant won&#8217;t have more fruit than it can sustain I guess. So don&#8217;t worry about it dropping a few flowers. In fact, here they dropped pretty much all flowers except for one or two. The flower(s) that remains will slowly start to create a tiny little green bell pepper.<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/kleine-paprika.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/kleine-paprika-225x300.jpg" alt="kleine paprika" title="kleine paprika" width="225" height="300" class="alignnone size-medium wp-image-404" /></a><br />
The pepper will grow bigger and bigger &#8212; if you keep your plant somwhat happy that is, which means providing it with water and sunlight &#8212; until the plant is done with growing it. Then it will slowly start changing color if it catches enough sunbeams. Sun really seems to speed up the coloring process.<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-verkleurd.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-verkleurd-300x225.jpg" alt="paprika verkleurd" title="paprika verkleurd" width="300" height="225" class="alignnone size-medium wp-image-406" /></a><br />
And then when it&#8217;s completely colored you should cut it from the plant so the plant can stick its energy in creating new flowers/bell peppers.<br />
Now you&#8217;ve got your home grown bell pepper, isn&#8217;t that cute?</p>
<p>Things I&#8217;ve noticed while growing these:</p>
<ul>
<li>The plants grow bigger if they have more room to grow. We put one plant in a big pot and two plants in smaller pots. It shows in the size of the plant. For reference, here is one of the smaller ones and the big one. The smaller plant is less than half the size.</li>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/kleine-paprika2.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/kleine-paprika2-225x300.jpg" alt="Kleinere paprika plant" title="Kleinere paprika plant" width="225" height="300" class="alignleft size-medium wp-image-412" /></a><br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-plant-groot.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/paprika-plant-groot-225x300.jpg" alt="Grote paprika plant" title="Grote paprika plant" width="225" height="300" class="alignnone size-medium wp-image-410" /></a></p>
<li>They don&#8217;t like a lack of water. Sounds obvious, but when they are out of water for a short period, a day orso, (and the leaves start hanging and looking sad) the fruit will get distorted shapes. (or  get dropped completely).</li>
<li>As they grow bigger the stem hardens so they don&#8217;t really need support from sticks or anything. Quite surprising with the big fruit.</li>
<li>It&#8217;s fun to see your own bell pepper hanging on the plant, however, checking it every 5 minutes won&#8217;t make it bigger or more colored.</li>
</ul>
<p>As for the question &#8220;How about putting them outside?&#8221;, I haven&#8217;t tried this year since our garden was not quite ready for stuff like that yet. Also I expect that they dislike the dutch climate and therefore will either die, be sad and give no fruit, or give tiny fruit. I&#8217;ll try it next year though, just to see what it does <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So&#8230;. try it yourself!<br />
Next year I&#8217;ll also try growing some <a href="http://en.wikipedia.org/wiki/Jalapeño">Jalapeño peppers</a>, should be pretty much the same process <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/do-it-yourself-bell-peppers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox, nfs and libsafe</title>
		<link>http://notes.benv.junerules.com/all/daily/firefox-nfs-and-libsafe/</link>
		<comments>http://notes.benv.junerules.com/all/daily/firefox-nfs-and-libsafe/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 20:36:29 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=384</guid>
		<description><![CDATA[Don&#8217;t ask me why, but as usual Firefox (3.5.3 in this case) has issues. If it weren&#8217;t for lotjuh I didn&#8217;t even try to fix them. But since she smiles at me in such a cute way sometimes, I&#8217;ll fix it for her. The issue was on teigetje, you remember the box from the NFS [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t ask me why, but as usual <span style="color:#00FFFF">Firefox</span> (3.5.3 in this case) has issues. If it weren&#8217;t for lotjuh I didn&#8217;t even try to fix them. But since she smiles at me in such a cute way sometimes, I&#8217;ll fix it for her.</p>
<p>The issue was on teigetje, you remember the box from the NFS story earlier today.<br />
Starting firefox gave nothing, it was just stuck. Running a strace on it:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root<span style="color: #000000; font-weight: bold;">@</span>teigetje:~<span style="color: #666666; font-style: italic;"># strace -p 12111</span><br />
Process <span style="color: #000000;">12111</span> attached - interrupt to quit<br />
futex<span style="color: #7a0874; font-weight: bold;">&#40;</span>0x8056c60, FUTEX_WAIT_PRIVATE, <span style="color: #000000;">2</span>, NULL<br />
<span style="color: #000000; font-weight: bold;">*</span>stuck<span style="color: #000000; font-weight: bold;">*</span></div></div>
<p>The exact reason isn&#8217;t known to me, probably NFS related, but this works to get it going:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root<span style="color: #000000; font-weight: bold;">@</span>teigetje:~<span style="color: #666666; font-style: italic;"># vim /etc/ld.so.preload</span><br />
i<br />
<span style="color: #666666; font-style: italic;">#</span><br />
:wq</div></div>
<p>In other words, this comments out the <span style="color:#FFFF00">/lib/libsafe.so.2</span> line so it wont be loaded anymore using LD_PRELOAD.<br />
&#8220;<span style="color:#FF00FF">But isn&#8217;t that unsafe?</span>&#8221;<br />
Pfffrt&#8230;. if you insist on firefox you&#8217;re probably opening yourself up for Adobe issues anyway. And <a href="http://www.research.avayalabs.com/gcm/usa/en-us/initiatives/all/nsr.htm&#038;Filter=ProjectTitle:Libsafe&#038;Wrapper=LabsProjectDetails&#038;View=LabsProjectDetails">libsafe</a> doesn&#8217;t really make stuff &#8220;safe&#8221;, it only tries to protect your machine against buffer overflow attacks. So now it&#8217;s up to your kernel to &#8216;safe&#8217; you instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/firefox-nfs-and-libsafe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Aion</title>
		<link>http://notes.benv.junerules.com/all/software/aion/</link>
		<comments>http://notes.benv.junerules.com/all/software/aion/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:19:35 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Morons]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=371</guid>
		<description><![CDATA[Lately I&#8217;ve heard some rumors about this new mmorhghhghg coming up called &#8220;Aion&#8220;. Fileplanet (you know, the cancer popup site you sometimes get when you need to download a game patch and then need to click through 23894723897 registration things etc&#8230; which is barred from bugmenot&#8230;. *sigh*) handed out open beta keys. So I got [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve heard some rumors about this new mmorhghhghg coming up called &#8220;<a href="http://us.ncsoft.com/en/aion/">Aion</a>&#8220;.<br />
Fileplanet (you know, the cancer popup site you sometimes get when you need to download a game patch and then need to click through 23894723897 registration things etc&#8230; which is barred from bugmenot&#8230;. *sigh*) handed out open beta keys. So I got one. And so did lotjuh.</p>
<p>Did I mention my machine doesn&#8217;t have windows? Makes it&#8230; interesting.<br />
First we obviously tried wine. Well, it installs without much hassle, which is a good thing.<br />
However, it doesn&#8217;t launch. Some piece of garbage called <span style="color:#FF00FF">GameGuard</span> <a href="http://appdb.winehq.org/objectManager.php?sClass=version&#038;iId=16284">doesn&#8217;t work on wine</a>. And because it doesn&#8217;t, neither does Aion.<br />
Great going Aion guys! Needless to say they couldn&#8217;t be arsed to write a linux binary for it, so they <b>SUCK</b> per default! They couldn&#8217;t even be arsed to write a Mac binary for it. Pffrt.</p>
<p>However, to make an interesting attempt to test out Virtualbox&#8217;s 3d acceleration support, I decided to install Aion in a virtualboxed windows xp that I &#8220;borrowed&#8221; from lotjuh.<br />
Virtualbox is at version 3.0.6 these days, so first I installed the latest version.<br />
The installation went fine:<br />
<div id="attachment_372" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-virtualbox-install.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-virtualbox-install-300x225.png" alt="Aion installation on XP in Virtualbox 3.0.6" title="Aion installation on XP in Virtualbox 3.0.6" width="300" height="225" class="size-medium wp-image-372" /></a><p class="wp-caption-text">Aion installation on XP in Virtualbox 3.0.6</p></div><br />
Not only the installation, but also the updater ran fine:<br />
<div id="attachment_374" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-launcher-updates.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-launcher-updates-300x188.png" alt="Aion Updater" title="Aion Updater" width="300" height="188" class="size-medium wp-image-374" /></a><p class="wp-caption-text">Aion Updater</p></div><br />
Then the gameguard part came, it looked promising:<br />
<div id="attachment_375" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-gameguard.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-gameguard-300x188.png" alt="Aion GameGuard part`" title="Aion GameGuard part" width="300" height="188" class="size-medium wp-image-375" /></a><p class="wp-caption-text">Aion GameGuard part`</p></div><br />
However, to all good things must come an end. So it dies because of hardware acceleration issues. No real surprise, but too bad for Virtualbox. Not there yet.<br />
<div id="attachment_376" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-died.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/aion-died-300x188.png" alt="Aion dies" title="Aion dies" width="300" height="188" class="size-medium wp-image-376" /></a><p class="wp-caption-text">Aion dies</p></div><br />
Maybe it&#8217;ll work one day when Virtualbox gets their direct3d working as well as wine has it working.</p>
<p>Anyway, from what I&#8217;ve seen of the game (it runs &#8216;fine&#8217; on lotjuh&#8217;s PC with her &#8220;Seven&#8221; failure install), it&#8217;s a World of Warcraft wannabe.<br />
Graphics are a lot better, they put in some cute stuff like when it rains and the character idles it&#8217;ll put a leave over their head. The movies are cute, the quests sometimes even show you stuff (like a little ingame movie of the target area) to go along with the text. But all in all it doesn&#8217;t look like a wow killer. No linux support (not even with wine), no mac support, and so far I haven&#8217;t seen a major reason for people to switch from wow to this game, except for the graphics. Then again, I&#8217;ve only looked at it for a short amount of time, maybe it&#8217;ll get better <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
I&#8217;m sure they&#8217;ll get a decent amount of players though, it&#8217;s a good wow clone.<br />
Story wise the game is fail, I could sum it up with &#8220;There were gods, and a planet, and now the planet is split in 2 half planets and the &#8216;people&#8217; on those halves fight eachother&#8221;.</p>
<p>It asks for a stellar converter if you ask me. (master of orion 2 reference, can&#8217;t find a good image/video on google)</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/aion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Secret Maryo Chronicles</title>
		<link>http://notes.benv.junerules.com/all/daily/secret-maryo-chronicles/</link>
		<comments>http://notes.benv.junerules.com/all/daily/secret-maryo-chronicles/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:13:35 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[autoconf]]></category>
		<category><![CDATA[emulators]]></category>
		<category><![CDATA[gamepad]]></category>
		<category><![CDATA[mario]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=261</guid>
		<description><![CDATA[So I was bored and went through the usual slashdot, kernel.org, freshmeat.net, etc. Once reading through the news on happypenguin.org I noticed it must be mario season or something. After checking the descriptions I decided to check out Super Mario^W^WSecret Maryo Chronicles. Needless to say I went for the source ball. Through my famous slackbuild [...]]]></description>
			<content:encoded><![CDATA[<p>So I was bored and went through the usual slashdot, kernel.org, freshmeat.net, etc.<br />
Once reading through the news on happypenguin.org I noticed it must be mario season or something.<br />
After checking the descriptions I decided to check out <a href="http://secretmaryo.org/" title="Secret Maryo Chronicles">Super Mario^W^WSecret Maryo Chronicles</a>.<br />
<span id="more-261"></span></p>
<p>Needless to say I went for the source ball. Through my famous <span style="color:#00FFFF">slackbuild script</span> of course!<br />
That went fine, until configure barfed about some <a href="http://www.cegui.org.uk/wiki/index.php/Main_Page">CEGUI</a> thing.<br />
<span style="color:#FF00FF">What&#8217;s a CEGUI thing?</span><br />
Apparently it&#8217;s some kind of windowing/widget library. Yeah, another one.<br />
So I ram it through slackbuild, which went fine as usual after I did a <code class="codecolorer text vibrant"><span class="text">make distclean</span></code> in the source dir. Some how the first build fucked up, don&#8217;t ask me why.<br />
Anyhow, I installed the <span style="color:#FF00FF">CEGUI</span> package and ran back to the smc source dir.<br />
Slackbuild had no other issues this time so out rolled a package. After installation I tried to run it.</p>
<p>Here&#8217;s what it said after my screen went black for about a second and came back:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:~:<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">&gt;</span>smc<br />
CEGUI Scheme Exception occurred : Imageset::xmlHandler::startElement - An unexpected error occurred <span style="color: #000000; font-weight: bold;">while</span> creating a Texture object from <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">'SMCLook512.png'</span></div></div>
<p>Yeah, that&#8217;s what I get for trusting yet another crap library with widgets. *<span style="color:#FF0033">sigh</span>*</p>
<p>However, I had just enough energy left to try one detour into bug/issue fixing land.<br />
Google came up with basically only 1 thing, so after trying my best to read some italian forum I trashed it back through google&#8217;s own translation service.<br />
Now that it was in dutch it was a bit more readable, it hinted about using the <span style="color:#00FF55">freeimage</span> library instead of the default TGA codec (which obviously failed).</p>
<p>Installing the <a href="http://freeimage.sourceforge.net/">freeimage library</a> was pretty trivial, although they don&#8217;t use autoconf so I had to go through their Makefiles manually.<br />
The first hint of trouble is usually when source packages come delivered in the famous <span style="color:#FF5500">.zip</span> format. Oh, sorry, I meant <b>.ZIP-EVERYTHING_IS_CAPS</b> format. Seriously, don&#8217;t get me started on how many times those kankerthings exploded in my /usr/src dir so far, completely splattering up everything there.<br />
Good thing I&#8217;m good with rm. Anyhow, this zip package was decent and created a dir (without version number though).<br />
After fiddling with the makefiles and building freeimage, I also build <span style="color:#FF5533">freeimage plus</span> and stashed it into a package with makepkg.<br />
Phew, sweat on my forehead. Hopefully slackbuild will be able to handle this some day&#8230;.. (dream on)</p>
<p>Back to <span style="color:#FF0000">CEGUI</span> &#8212; compiling it with the freeimage library went without problems, and after upgrading my previous CEGUI package it was finally time to retry SMC.<br />
By the way, did I note that all these packages compiled on x86_64? Good job on that one guys <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This time the screen actually came up with some mario^H^Hyo like stuff! Just like the good old days with the <span style="color:#5500FF">SNES</span>! <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
It looked a bit like this:<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/1.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/1-300x187.png" alt="1" title="1" width="300" height="187" class="aligncenter size-medium wp-image-262" /></a><br />
On the background the theme music played that reminded me quite a bit of the original snes game.</p>
<p>Messing around with it a bit I quickly got myself killed a few times and had some fun.<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/2.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/2-300x187.png" alt="Super Maryo Chronicles (2)" title="Super Maryo Chronicles (2)" width="300" height="187" class="aligncenter size-medium wp-image-263" /></a></p>
<p>I soon realized that the SNES version had better controls, but then again&#8230; playing on a keyboard is kinda cramped for platform games.<br />
So I reconnected my Logitech Rumblepad 2 to see if it would work. Well, if works great <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Not a snes pad (the thing is a lot like the original playstation controller), but it played a hell of a lot better.</p>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/3.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/3-300x187.png" alt="Super Maryo Chronicles (3)" title="Super Maryo Chronicles (3)" width="300" height="187" class="aligncenter size-medium wp-image-264" /></a></p>
<p>Conclusion: if you&#8217;re feeling bored, give it a shot. Good for a bit of fun, and it has a level editor as well!<br />
(which can be seen in this impressive edit I made here <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/4.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/4-300x187.png" alt="Super Maryo Chronicles (level edit)" title="Super Maryo Chronicles (level edit)" width="300" height="187" class="aligncenter size-medium wp-image-265" /></a></p>
<p>Keep up the good work, <a href="http://secretmaryo.org/index.php?page=contact&#038;sid=?sid=">guys from SMC</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/secret-maryo-chronicles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The wonders of SSH forwarding</title>
		<link>http://notes.benv.junerules.com/all/daily/the-wonders-of-ssh-forwarding/</link>
		<comments>http://notes.benv.junerules.com/all/daily/the-wonders-of-ssh-forwarding/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 15:20:24 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[forward]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=227</guid>
		<description><![CDATA[This is trivial stuff, but nice to know. Do they have a cute little firewall at your work that only allows outgoing traffic on a certain port? Does some site have retarded IP restrictions? Does the piratebay block you from home? Have no fear, ssh is slow as a bear. (huh?) Anyway, you could use [...]]]></description>
			<content:encoded><![CDATA[<p>This is trivial stuff, but nice to know.</p>
<p>Do they have a cute little firewall at your work that only allows outgoing traffic on a certain port? Does some site have retarded IP restrictions? Does the piratebay block you from home?<br />
Have no fear, ssh is slow as a bear. (huh?)</p>
<p>Anyway, you could use an anonymous proxy to get around all of this, but they are often slow and hard to find. Not only that, they often require you to use a specific port.<br />
So the simple solution for all this: use ssh. Of course this requires you to have ssh access on a machine outside of the network that you&#8217;re trying to get out of.<br />
But if you don&#8217;t even have that, you probably suck anyway. (get lost with your micro~s fail piece of cardboard).</p>
<p>Solution #1, for simple <span style="color:#FF0000">TCP</span> port forwards. For instance when you&#8217;re trying to access a remote snmp server that has the irc port (6667 by default) firewalled:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">idiot<span style="color: #000000; font-weight: bold;">@</span>yourmachine$ <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">1234</span>:127.0.0.1:<span style="color: #000000;">6667</span> ip.of.irc.machine<br />
<span style="color: #000000; font-weight: bold;">*</span>username and password stuff<span style="color: #000000; font-weight: bold;">*</span></div></div>
<p>After a successful login you can now connect an IRC program to localhost on port 1234 and it will act as if you were connecting to the remote machine directly. (bypassing the firewall).<br />
Woei. Too bad this fails for UDP though. You also need to keep the ssh connection open, but that&#8217;s pretty obvious.</p>
<p>Solution #2, for a real proxy solution. When you&#8217;re trying to access a remote web server it becomes more annoying to use a simple port forward, since your browser will not pass the correct<br />
information to the remote server. (It will say <code class="codecolorer text vibrant"><span class="text">Host: 127.0.0.1</span></code> for where it was supposed to be <code class="codecolorer text vibrant"><span class="text">Host: www.piratebay.org</span></code> for example).<br />
To make this work we simply turn ssh into a socks proxy like this:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">moron<span style="color: #000000; font-weight: bold;">@</span>yourmom$ <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-D</span> <span style="color: #000000;">1234</span> ip.remote.shell.machine<br />
<span style="color: #000000; font-weight: bold;">*</span>username and password stuff<span style="color: #000000; font-weight: bold;">*</span></div></div>
<p>Now you can enter localhost and port 1234 in your browser&#8217;s proxy configuration in the SOCKS proxy section. Magic, you can now go to any site and it will be tunneled through the nicely <span style="color: #FF00FF">encrypted</span> ssh session. (although it might be a bit slower).</p>
<p>Well, so much for the obvious stuff today.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/the-wonders-of-ssh-forwarding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Record Companies? Ahahahaha, morons.</title>
		<link>http://notes.benv.junerules.com/all/morons/record-companies-ahahahaha-morons/</link>
		<comments>http://notes.benv.junerules.com/all/morons/record-companies-ahahahaha-morons/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 12:18:18 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Morons]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=196</guid>
		<description><![CDATA[These guys are so stupid, they never stop to amuse me. Look what they&#8217;re coming up with now&#8230;. A new digital format. What is it with these guys and being completely out of whack? Why on earth would people want yet another format? (probably crippled too). MP3 files work fine for most, put them in [...]]]></description>
			<content:encoded><![CDATA[<p>These guys are so stupid, they never stop to amuse me.<br />
Look what they&#8217;re coming up with now&#8230;. <a href="http://www.guardian.co.uk/music/2009/aug/10/major-labels-new-digital-format">A new digital format</a>.<br />
What is it with these guys and being completely out of whack? Why on earth would people want yet another format? (probably crippled too).<br />
MP3 files work fine for most, put them in a nice little directory structure, add a picture file and a lyrics file, and you have what they propose. Only better since it doesn&#8217;t need a special decoder/player.</p>
<p>Record companies: please die. Now.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/morons/record-companies-ahahahaha-morons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(n)Curses magic part 2: magic!</title>
		<link>http://notes.benv.junerules.com/all/software/ncurses-magic-part-2-magic/</link>
		<comments>http://notes.benv.junerules.com/all/software/ncurses-magic-part-2-magic/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 16:15:00 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[curses]]></category>
		<category><![CDATA[ncurses]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=187</guid>
		<description><![CDATA[So while messing around with some perl/curses stuff I got fancy with colors and soon found out about the limited support of colors in terminals and therefore also Curses. Anyway, I made this little &#8220;fractal plasma&#8221; thingy with it, see if you can get it running It&#8217;s not really a fractal plasma, so don&#8217;t get [...]]]></description>
			<content:encoded><![CDATA[<p>So while messing around with some perl/curses stuff I got fancy with colors and soon found out about the limited support of colors in terminals and therefore also Curses.<br />
Anyway, I made this little &#8220;fractal plasma&#8221; thingy with it, see if you can get it running <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
It&#8217;s not really a fractal plasma, so don&#8217;t get technical on that, but it describes it best I think.</p>
<p>To get it running, open up your favorite terminal that supports 256 colors and allows palette changing &#8211; I found both xterm and urxvt to work.<br />
Make sure your TERM variable is set to something that allows this, for instance in urxvt:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">TERM</span>=rxvt-256color<br />
$ .<span style="color: #000000; font-weight: bold;">/</span>fractplasm.pl</div></div>
<p>or this worked for me with xterm:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">TERM</span>=xterm-256color<br />
$ .<span style="color: #000000; font-weight: bold;">/</span>fractplasm.pl</div></div>
<p>Something like this is the result:<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/fractplasm.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/fractplasm-300x150.png" alt="fractplasm" title="fractplasm" width="300" height="150" class="aligncenter size-medium wp-image-188" /></a><br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/fractplasm2.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/fractplasm2-300x209.png" alt="fractplasm2" title="fractplasm2" width="300" height="209" class="aligncenter size-medium wp-image-190" /></a></p>
<a href="http://notes.benv.junerules.com/wp-content/plugins/download-monitor/download.php?id=fractplasm.pl" title="Downloaded 146 times">fractplasm.pl</a> - Version 0.1 - SHA: 83086edd86b25eed5fddcbbf6beaae53924e06f6
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/ncurses-magic-part-2-magic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Screenlets, retarded downloads, and python</title>
		<link>http://notes.benv.junerules.com/all/software/screenlets-retarded-downloads-and-python/</link>
		<comments>http://notes.benv.junerules.com/all/software/screenlets-retarded-downloads-and-python/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 14:06:15 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Morons]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=115</guid>
		<description><![CDATA[Somewhere in my mailbox I found a link to Impulse. I&#8217;ve messed around with pulseaudio and have it running on my server together with mpd which allows for some network audio fun, but that&#8217;s not the story now. Back then I wondered if it would be possible to have a VU meter and stuff like [...]]]></description>
			<content:encoded><![CDATA[<p>Somewhere in my mailbox I found a link to <a title="Impulse - Pulseaudio screenlet" href="http://www.gnome-look.org/content/show.php/Impulse+-+PulseAudio+visualizer?content=99383" target="_self">Impulse</a>. I&#8217;ve messed around with pulseaudio and have it running on my server together with mpd which allows for some network audio fun, but that&#8217;s not the story now. Back then I wondered if it would be possible to have a VU meter and stuff like that, but couldn&#8217;t find it. So when I ran into this I was curious (how implemented, is it any good, etc).</p>
<p>So what the fuck are <a title="Screenlets" href="http://www.screenlets.org/index.php/Information" target="_self">screenlets</a>? Looks cute, feels cute, and once you think about it for a bit you immediately realize that it&#8217;s cute for 10 minutes after which you&#8217;ll kill the thing because it slows down your PC and you never really look at it anyway, but regardless I feel like checking it out.<span id="more-115"></span></p>
<p>&#8220;&lt;BenV&gt; Download&#8230; &#8230; I thought this page said download&#8230; and fuck off with your .deb file, gimme the source Ah, there we go - <a title="Screenlets download page" href="http://www.screenlets.org/index.php/Download" target="_self">Source</a>&#8221;</p>
<p>It&#8217;s funny how some people write software that they don&#8217;t want anyone to use. How the shift-3 am I supposed to download that source thing? Log in? Are you insane? For a download?</p>
<p>(speaking of which, go to hell fileplanet, gamersheaven and all such &#8220;login to download&#8221; kanker sites).</p>
<p>So what they really want to change that download link into is this: <a title="Screenlets DOWNLOAD, the real thing." href="https://code.launchpad.net/screenlets/+download" target="_self">DOWNLOAD</a>.</p>
<p>Feeding a url from that page to slackbuild.pl gives you a &#8220;Self signed certificate, AAAARGH, I&#8217;m dying, je moeder&#8221; whining from wget, so stuff it a &#8211;no-check-certificate and patch my slackbuild, done. Wait a minute&#8230;. certificate? On a http:// link? Oooh, thanks for the redirection guys. Makes me wonder why opera doesn&#8217;t bitch about self signed certificate for that link&#8230;. while wget does&#8230; let&#8217;s try firefox&#8230; nope, no warning. WHAT THE FUCK, try opening a website and they scream bloody murder because of a self signed cert, but a download? Oooh, noo, nooo problem. Morons.</p>
<p>In case you&#8217;re wondering about the cert, either go there for yourself, or check what openssl thinks:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv@janeman:~:0&gt; openssl s_client -connect code.launchpad.net:443<br />
CONNECTED(00000003)<br />
depth=3 /L=ValiCert Validation Network/O=ValiCert, Inc./OU=ValiCert Class 2 Policy Validation Authority/CN=http://www.valicert.com//emailAddress=info@valicert.com<br />
verify error:num=19:self signed certificate in certificate chain<br />
verify return:0<br />
---</div></div>
<p>Maybe it&#8217;s OK when &#8220;they&#8221; selfsign, but it&#8217;s not ok if -I- selfsign? Guess I&#8217;m clueless&#8230;</p>
<p>Anyway, back to screenlets:<br />
Untarring their &#8216;sourceball&#8217; gives me a retarded directoryname (no version number), which hints me that it&#8217;s probably no decent autoconf thing. Ok, it&#8217;s python, so no surprise there.<br />
Other than that it builds and install without issues. Note to self: have to add python setup.py support to slackbuild, they&#8217;re clean enough to support that.</p>
<p>So after installing, wondering what to do next&#8230; I type &#8220;screenlets&#8221; in my urxvt and hit enter.<br />
*suspense*<br />
Will it work?</p>
<p>&#8230;</p>
<p><strong>OF COURSE NOT!</strong><br />
 <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Big surprise, probably something I managed to not install, how stupid of me. So what does it say now?</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv@janeman:~:0&gt;screenlets<br />
cat: /etc/screenlets/prefix: No such file or directory<br />
No module RSVG , graphics will not be so good<br />
Traceback (most recent call last):<br />
&nbsp; File &quot;/usr/share/screenlets-manager/screenlets-manager.py&quot;, line 28, in &lt;module&gt;<br />
&nbsp; &nbsp; import screenlets<br />
&nbsp; File &quot;/usr/lib64/python2.6/site-packages/screenlets/__init__.py&quot;, line 51, in &lt;module&gt;<br />
&nbsp; &nbsp; from options import *<br />
&nbsp; File &quot;/usr/lib64/python2.6/site-packages/screenlets/options.py&quot;, line 30, in &lt;module&gt;<br />
&nbsp; &nbsp; import utils<br />
&nbsp; File &quot;/usr/lib64/python2.6/site-packages/screenlets/utils.py&quot;, line 286, in &lt;module&gt;<br />
&nbsp; &nbsp; import session<br />
&nbsp; File &quot;/usr/lib64/python2.6/site-packages/screenlets/session.py&quot;, line 38, in &lt;module&gt;<br />
&nbsp; &nbsp; from xdg import BaseDirectory<br />
ImportError: No module named xdg</div></div>
<p>Mhm, that&#8217;s cute&#8230;.<br />
Missing python-xdg then huh. Let&#8217;s see how easy_install handles that. Speaking of which, I don&#8217;t think I have installed that yet. Let&#8217;s go!</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root@janeman:/usr/src# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c9.tar.gz<br />
&nbsp; &nbsp;&lt;wget does its thing&gt;<br />
root@janeman:/usr/src# tar xf setuptools-0.6c9.tar.gz <br />
root@janeman:/usr/src# chown -R root:root setuptools-0.6c9 ; chmod -R o-w setuptools-0.6c9<br />
*peek in dir* -&gt; AU MY EYES... full of garbage junk and stuff. Fine, I'll just guess the install<br />
root@janeman:/usr/src/setuptools-0.6c9# python setup.py build<br />
root@janeman:/usr/src/setuptools-0.6c9# mkdir pkg ; python setup.py install --root `pwd`/pkg<br />
root@janeman:/usr/src/setuptools-0.6c9# cd pkg ; makepkg /usr/src/packages/setuptools-0.6c9-x86_64-1.tgz</div></div>
<p>And we have a package. Now for xdg:</p>
<p><code class="codecolorer text vibrant"><span class="text">easy_install http://www.freedesktop.org/~lanius/pyxdg-0.17.tar.gz</span></code><br />
That should fix it <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
However, the screenlets require more garbage, such as gnome-keyring (in case of missing GConf at least) so I ran <code class="codecolorer text vibrant"><span class="text">slackbuild.pl http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/2.26/gnome-keyring-2.26.3.tar.bz2</span></code> but then also needed libtasn which was also handled by slackbuild.pl. Man I love that script. Especially the leech support <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
But the screenlets still didn&#8217;t function. &#8230; so I hunted for gnome-python-desktop, which had <a href="Yhttp://code.google.com/p/waf/">YET ANOTHER RETARDED BUILD SYSTEM CALLED &#8216;WAF&#8217;</a>. *sigh*. I hate it when 5 million people think they&#8217;re smarter than the other. They should simply all succumb to me. *adds another todo note in slackbuild.pl*</p>
<p>But then: finally, it worked!<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/07/41.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/07/41-300x161.png" alt="Screenlets" title="Screenlets" width="300" height="161" class="aligncenter size-medium wp-image-116" /></a></p>
<p>*time passes*</p>
<p>Yep, I&#8217;ve messed around with it a bit&#8230;. and it&#8217;s cute&#8230; but fluxbox has its own mind about it. (giving the widgets a nice &#8220;you&#8217;re an application!&#8221; bar)&#8230; maybe I&#8217;ll reserve a desktop for it and<br />
see if I like it. A nice &#8216;widget&#8217; screen on desktop 10 or something <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
The good:</p>
<ul>
<li>It&#8217;s cute</li>
<li>Skinning support</li>
<li>Seems easy to build new screenlets, so many more will spawn</li>
</ul>
<p>The bad:</p>
<ul>
<li>Gnome based, so gnome deps and many screenlets assume too much</li>
<li>Young, so a bit buggy (mouse clicks through some screenlets, although that could be fluxbox related)</li>
<li> Eyecandy, while some could be useful it is just another resource hog.</li>
</ul>
<p>One thing though&#8230; where&#8217;s the auto-download-and-install support? Even firefox has it these days&#8230; <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/07/screenlets.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/07/screenlets-300x187.png" alt="screenlets" title="screenlets" width="300" height="187" class="aligncenter size-medium wp-image-118" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/screenlets-retarded-downloads-and-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emulators!</title>
		<link>http://notes.benv.junerules.com/all/software/emulators/</link>
		<comments>http://notes.benv.junerules.com/all/software/emulators/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 10:06:27 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Morons]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[dosbox]]></category>
		<category><![CDATA[emulators]]></category>
		<category><![CDATA[gamepad]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[x86_64]]></category>
		<category><![CDATA[zelda]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=97</guid>
		<description><![CDATA[Since I quit playing World of Warcraft again a while ago (seriously Blizzard, what are you doing to that game?) I find myself enjoyed playing tons of other things. Funny thing is, most of the games I play are ancient. Games from the DOS era (which means DOSBOX, I love that product) like Master of [...]]]></description>
			<content:encoded><![CDATA[<p>Since I quit playing World of Warcraft again a while ago (seriously Blizzard, what are you doing to that game?) I find myself enjoyed playing tons of other things. Funny thing is, most of the games I play are ancient. Games from the <span style="color: #ff6600;">DOS</span> era (which means <a title="DOSBox, an x86 emulator with DOS" href="http://www.dosbox.com/" target="_self">DOSBOX</a>, I love that product) like <a title="Wikipedia on Master of Orion" href="http://en.wikipedia.org/wiki/Master_of_Orion" target="_self">Master of Orion</a> (and it&#8217;s sequel), <a title="Wikipedia on Master of Magic" href="http://en.wikipedia.org/wiki/Master_of_Magic" target="_self">Master of Magic</a>, Paratrooper, <a title="Wikipedia on One Must Fall: 2097" href="http://en.wikipedia.org/wiki/One_Must_Fall:_2097" target="_self">One Must Fall: 2097</a> (which is freeware these days! Download it <a title="One Must Fall 2097" href="http://www.omfdownloads.com/2097/omf21cd.zip" target="_self">here</a>), X-Com, System Shock, and the list goes on and on. Yeah, come to think of it&#8230;. the games they made back then were pretty brilliant, and it&#8217;s not just nostalgia.<span id="more-97"></span></p>
<p>Not just the DOS stuff from back then was great, but also the console games.  We had a NES and later a SNES and games like Zelda, Mario, Mega Man and Double Dragon gave us a lot of education <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Somehow we missed the Final Fantasy series though, but one of the things I often play these days is one of the RPG genre.  In fact, I played Final Fantasy 2 on my laptop just a week ago <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8220;<span style="color: #00ccff;">But how, my stupid x86 machine doesn&#8217;t accept these cardridges!</span>&#8220;.</p>
<p>Well, you need a bigger hammer obviously. Try stuffing them into the PCMCIA slot if you have one, I hear they are twice as fast. Or if you strip the plastic casing you can maybe insert them into an ISA slot if you still have one. You might need an adapter for the PCI slots though.</p>
<p>&#8230;</p>
<p>Oh, you&#8217;re still here? Well, ok, try an emulator if your slot smashing skills aren&#8217;t up to par.</p>
<p><strong><span style="color: #ff0000;">&lt;rant alert&gt;</span></strong></p>
<p>So someone explain to me:</p>
<p>If you&#8217;re writing an emulator&#8230;. you know, a thing that has to waste tons of CPU cycles in order to play dress-up and imitate a console with a different architecture&#8230;</p>
<p>Why the # wouldn&#8217;t you make it as cross platform as possible? Yeah, sure, I understand that you want to make it fast and hack in some assembly code. In fact, I love assembly code <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>However,  that concept is getting more obsolete every day. So if you write an emulator, MAKE SURE IT COMPILES ON BenV&#8217;s MACHINE!</p>
<p>That means it should run on at least<em><span style="color: #0000ff;"> x86 AND x86_64</span></em>. Why write an emulator that&#8217;s obsolete even before you finish it? I&#8217;m looking at you pcsx2 -.-</p>
<p>Applaud to DOSBox for that matter, they get it right.</p>
<p><span style="color: #ff0000;"> &lt;/rant&gt;</span></p>
<p>So anyway, for the <span style="color: #ff6600;">NES</span> games I suggest using <a title="FCEUX: cross-platform NES emulator for professionals" href="http://fceux.com/web/htdocs/" target="_self">FCEUX</a> these days. It runs on both x86 and x86_64, and it runs my games on my new slackware 64 installation&#8230; which makes me happy <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For <span style="color: #ff6600;">SNES</span> I always used <a title="Good SNES emulator for x86 running DOS, obsolete for everything else" href="http://www.zsnes.com/" target="_self">ZSNES</a>, but they&#8217;re still stuck in the DOS era&#8230; trying to upgrade their obsolete assembly code to more generic stuff like the QT toolkit. It works great if you have an x86 installation, but it refuses my new slackware 64&#8230;. and I refuse to chroot back to my old slackware32 for an emulator like this. Puh, I&#8217;d sooner start it in dosbox :p. &#8220;But BenV, how do you play A Link to the Past then these days?&#8221;. Ahh, a good question, but it&#8217;s easy: I simply use <a title="byuu's snes emulator" href="http://byuu.org/bsnes/" target="_self">bsnes</a>. Runs all my snes games so far <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Then there&#8217;s the matter of the prutsstation, or <span style="color: #ff6600;">PSX</span>. Yeah, that&#8217;s another disaster area&#8230; let me know if you have a decent emulator. Guess I&#8217;m stuck to using <a title="ePSXe, needs an update" href="http://www.epsxe.com/" target="_self">epsxe</a> in a chroot environment for now.  Other than that it works pretty well once you get the plugins etc sorted, but I haven&#8217;t touched it lately. (guess why).</p>
<p>For <span style="color: #ff6600;">N64</span> we have another good emulator these days, called <a title="N64 emulator and plugins for Linux, Mac OSX, and FreeBSD" href="http://code.google.com/p/mupen64plus/" target="_self">Mupen64plus</a>. To my surprise a simple recompile worked on slack64, so no issues there (good coder <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). And it runs zelda, what more do you want? <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Then there&#8217;s the new PSX, or <span style="color: #ff6600;">PSX2</span>. Yeah&#8230;. that&#8217;s in the same (sinking) boat as the PSX. Only 1 reason to play: final fantasy. Only 1 somewhat decent emulator for this: <a title="pcsx2" href="http://pcsx2.net/" target="_blank">pcsx2</a>. Unfortunately it feels like they don&#8217;t give a damn about linux, and certainly not 64 bit linux. They &#8220;dropped the 64 bit build&#8221;&#8230;. idiots. So if you feel like it you can get it running on 32 bits, which I&#8217;ve done, and it runs ok. But you need a fast pc (multicore) and a decent graphics card and then it still runs like a garbagecan on wheels. (the wheels come off every 3 meters and you have to open the lid, shuffle the garbage around and close it again before it continues). Of course they are quite active, so that&#8217;s good, there&#8217;s still hope. For kicks lotjuh tried running this thing on windows, and it runs a bit better there, but they still have a lot of work to do. Let&#8217;s hope they consider dropping the 32 bitch port and switching to 64 before they&#8217;re even obsolete in windows land.</p>
<p>That&#8217;s all the emulators I can think of at the moment&#8230; or at least, that I want to talk about, this page is getting long enough. Yeah, there&#8217;s plenty more, like <a title="MAME | Multiple Arcade Machine Emulator" href="http://mamedev.org/" target="_self">mame</a>,  <a title="CCS64 - A Commodore 64 Emulator" href="http://www.ccs64.com/" target="_self">ccs64</a>, <a title="A multiplatform atari 2600 VCS emulator" href="http://stella.sourceforge.net/" target="_self">stella</a> and whatnot, but you can handle google yourself if you want to play those things.</p>
<p>Oh yeah, one more important thing: <strong><span style="color: #ffcc00;">Gamepads</span></strong><br />
If you want to play these console games, you want&#8230; I&#8217;d almost say -<strong>need</strong>- a gamepad. Final Fantasy and Zelda can be played with the keyboard just fine, but you&#8217;ll be crying me plenty of rivers if you attempt to complete Mega Man or Double Dragon with the keyboard. A little while ago I got myself a <a title="Logitech Rumblepad 2" href="http://www.logitech.com/index.cfm/gaming/pc_gaming/gamepads/devices/264&amp;cl=US,EN" target="_self">Logitech Rumblepad 2</a> which I&#8217;m quite happy with. Yeah, it&#8217;s not a rectangular box that&#8217;ll give you hernia and makes your skin come off after playing a few hours of mario like in the old days, so you&#8217;ll have to miss out on that nostalgia&#8230;.</p>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/07/NES_controller.jpg"><img class="alignnone size-full wp-image-98" title="NES_controller" src="http://notes.benv.junerules.com/wp-content/uploads/2009/07/NES_controller.jpg" alt="NES_controller" width="400" height="400" /></a></p>
<p>but like I say, I&#8217;m quite happy with it. It even vibrates if you push the right button <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Needless to say it works under linux&#8230;. although you will want to enable the kernel option for it. My kernel config has <span style="color: #00ff00;">CONFIG_LOGITECH_FF=y, CONFIG_LOGIRUMBLEPAD2_FF=y, and CONFIG_HID_LOGITECH=y</span>, and so far all decent emulators play with it without much hassle.</p>
<p>So if you&#8217;re bored, go get one of these emulators, a gamepad, and give it a shot! <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/emulators/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Billy Vs. SNAKEMAN</title>
		<link>http://notes.benv.junerules.com/all/daily/billy-vs-snakeman/</link>
		<comments>http://notes.benv.junerules.com/all/daily/billy-vs-snakeman/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 13:44:28 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=88</guid>
		<description><![CDATA[So what do you do when you&#8217;re looking for something to do while eating your bread in front of your computer? (or coffee in case of early days). You read the daily news (slashdot, local garbage, kernel.org, happypenguin, you know the drill). Anyway, I ran into another time wasting online game with properties that I [...]]]></description>
			<content:encoded><![CDATA[<p>So what do you do when you&#8217;re looking for something to do while eating your bread in front of your computer?<br />
(or coffee in case of early days). You read the daily news (slashdot, local garbage, kernel.org, happypenguin, you know the drill).<br />
Anyway, I ran into another time wasting online game with properties that I like (RPG like, leveling, items, upgrades) called <a href="http://animecubed.com/billy/?91818">Billy Vs. SNAKEMAN</a>.</p>
<p>Give it a shot if you&#8217;re bored <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh, and they have a nice list of <a href="http://animecubed.com/billy/whybvs.shtml">why to play</a>, including &#8220;It&#8217;s free!&#8221; and &#8220;This list goes to eleven&#8221; <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Also, don&#8217;t blame me if you find yourself still clicking around while your coffee mug is empty again. I won&#8217;t refill it for you.</p>
<div id="attachment_93" class="wp-caption alignnone" style="width: 110px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/07/1.jpg"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/07/1.jpg" alt="Billy Vs. SNAKEMAN" title="Billy Vs. SNAKEMAN" width="100" height="125" class="size-full wp-image-93" /></a><p class="wp-caption-text">Billy Vs. SNAKEMAN</p></div>
<p>Oh yeah, here&#8217;s my char:<br />
<a href="http://www.animecubed.com/billy/?91818"><img src="http://www.animecubed.com/billy/userimages/sigs/91818.jpg" border=1></a><br />
<font style="font-size:10px;">Be the Ultimate Ninja! Play <a href="http://www.animecubed.com/billy/?91818">Billy Vs. SNAKEMAN</a> today!<br /></font></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/billy-vs-snakeman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weird DNS log entries</title>
		<link>http://notes.benv.junerules.com/all/daily/weird-dns-log-entries/</link>
		<comments>http://notes.benv.junerules.com/all/daily/weird-dns-log-entries/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 14:40:43 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=84</guid>
		<description><![CDATA[So I was messing around with some new domain registrations, and just because I&#8217;m curious I tailed my tinydns logfile. &#8230;. WHAT THE !@(#*!#%(* is THAT?!&#8230;. I think, as my eye catches a glimp of this: [Wed Jul 29 16:20:46 2009] 213.73.***.** &#160; &#160; &#160;port:64500 &#160;id:383b * &#160;PTR &#160;db._dns-sd._udp.winnipeg.nl [Wed Jul 29 16:20:46 2009] 213.132.***.*** [...]]]></description>
			<content:encoded><![CDATA[<p>So I was messing around with some new domain registrations, and just because I&#8217;m curious I tailed my tinydns logfile.<br />
&#8230;. WHAT THE !@(#*!#%(*  is THAT?!&#8230;. I think, as my eye catches a glimp of this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[Wed Jul 29 16:20:46 2009] 213.73.***.** &nbsp; &nbsp; &nbsp;port:64500 &nbsp;id:383b * &nbsp;PTR &nbsp;db._dns-sd._udp.winnipeg.nl<br />
[Wed Jul 29 16:20:46 2009] 213.132.***.*** &nbsp; port:11328 &nbsp;id:300b * &nbsp;PTR &nbsp;r._dns-sd._udp.winnipeg.nl<br />
[Wed Jul 29 16:20:46 2009] 213.132.***.*** &nbsp; port:45174 &nbsp;id:0255 * &nbsp;PTR &nbsp;dr._dns-sd._udp.winnipeg.nl<br />
[Wed Jul 29 16:20:46 2009] 213.132.***.*** &nbsp; port:48779 &nbsp;id:9e01 * &nbsp;PTR &nbsp;lb._dns-sd._udp.winnipeg.nl</div></div>
<p>Now, these things immediately reminded me of the ZeroConf/Bonjour/Avahi garbage. However: first of all, I don&#8217;t run that on my machine since it&#8217;s a relatively new install that doesn&#8217;t have it yet.<br />
Second, those IPs&#8230;. they&#8217;re not mine. Whois tells me it&#8217;s Quicknet/multikabel/ziggo&#8230; which some of our friends and relatives have.<br />
That&#8217;s the weird part here, I can&#8217;t stop wondering why they&#8217;re requesting my domain while they&#8217;re back at home, so they should have a new dhcp entry and ditched their &#8220;search&#8221; line in resolv.conf. (ignoring windows as an option for now).</p>
<p>Google tells me it&#8217;s indeed <a href="http://www.dns-sd.org/">Bonjour DNS based &#8220;service discovery&#8221;</a> related, great, looks interesting, but I&#8217;m not in the mood to mess with DNS now&#8230; at least not until I have a machine that can actually use it. I wonder who it was though&#8230;. <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/weird-dns-log-entries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful tools</title>
		<link>http://notes.benv.junerules.com/all/daily/useful-tools/</link>
		<comments>http://notes.benv.junerules.com/all/daily/useful-tools/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:19:35 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[uuid]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/daily/useful-tools/</guid>
		<description><![CDATA[Lotjuh was messing around with grub2 and its config&#8230;. fun! Anyway, a nice tool to figure out uuids of block devices: blkid. (gives a nice overview per block device&#8230; you probably need to be root for it to work though) Alternative: findfs, so you can search for a label or uuid. Let is be known [...]]]></description>
			<content:encoded><![CDATA[<p>Lotjuh was messing around with grub2 and its config&#8230;. fun!</p>
<p>Anyway, a nice tool to figure out uuids of block devices: blkid. (gives a nice overview per block device&#8230; you probably need to be root for it to work though)<br />
Alternative: findfs, so you can search for a label or uuid.</p>
<p>Let is be known that grub2 is a kutproduct as far as documentation is concerned&#8230; but that&#8217;s no surprise given it&#8217;s infancy status <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
Works pretty good so far though, once you get the grub.cfg etc right. Also works with my ext4 partition these days (required a svn up and recompile/reinstall though)</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/useful-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
