<?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>CornEmpire Software &#187; Uncategorized</title>
	<atom:link href="http://cornempire.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://cornempire.net</link>
	<description>Tidbits about programming, web development, gaming and other random stuff.</description>
	<lastBuildDate>Sat, 31 Mar 2012 11:43:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Linux Mint 12 &#8211; Failure to Boot, and Video Problems (AMD/NVIDIA)</title>
		<link>http://cornempire.net/2012/03/31/linux-mint-12-failure-to-boot-and-video-problems-amd-nvidia/</link>
		<comments>http://cornempire.net/2012/03/31/linux-mint-12-failure-to-boot-and-video-problems-amd-nvidia/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 11:43:47 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cornempire.net/?p=370</guid>
		<description><![CDATA[A few weeks ago, I tossed Mint on an old machine to give it a try. Looking for something to replace my Ubuntu 10.04, and I&#8217;m not a fan of Unity at all. Mint, with its extensions to Gnome 3, seem to give the best of the new paradigm without changing everything I like about <a href='http://cornempire.net/2012/03/31/linux-mint-12-failure-to-boot-and-video-problems-amd-nvidia/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I tossed Mint on an old machine to give it a try.  Looking for something to replace my Ubuntu 10.04, and I&#8217;m not a fan of Unity at all.  Mint, with its extensions to Gnome 3, seem to give the best of the new paradigm without changing everything I like about the old.</p>
<p>So last night I backup up my computer, and began the reinstall.  I had issues even booting the Live DVD on my main computer.  After some internet searching I resolved this by:</p>
<ul>
<li>Pressing <strong>e</strong> at the bootup screen</li>
<li>Adding <strong>nomodeset</strong> to the configuration line before the &#8211;</li>
</ul>
<p>I was then able to boot, and install the OS.  This didn&#8217;t surprise me, as I&#8217;ve had to do similar tricks over the years to install OSes.  Normally when everything is installed, we are good to go.</p>
<p>Oh boy, not this time.  So after the install and reboot, I could not get X to load.  Using the same trick as above, I was able to get into a GUI, but video performance was lack luster as no drivers were loaded.  I attempted to install the restricted drivers, but they would install, and then on reboot, I&#8217;d have nothing again.  I have noticed similar problems on other computers I have which have NVIDIA cards and AMD cpus.  I was determined to find a fix this time.  Instead of using the drivers from the repos, or the open source nouveau driver, I decided to go straight to the <a href="http://www.geforce.com/Drivers" target="_blank">source</a>, and download the driver from NVIDIA.  You can&#8217;t install this from within X, and you will also need some extra packages, so before you start, make sure that:</p>
<ul>
<li>You have all of the compilation tools installed: <strong>sudo apt-get install build-essential</strong></li>
<li>And you have any header or development libraries that are needed for your kernel.</li>
</ul>
<p>Once that is installed, you need to disable X.  You cannot simply kill the X process, because it will start itself back up, and you can&#8217;t really run in runmode 3 or 1 as in the Debian world, 2 &#8211; 5 seem to be the same, and 1 may not run some of the system services required to install the driver.  Many earlier tutorials mention running these commands to stop X for gnome:</p>
<ul>
<li>sudo /etc/init.d/gdm stop</li>
<li>sudo /etc/init.d/gdm3 stop</li>
</ul>
<p>Or KDE:</p>
<ul>
<li>sudo /etc/init.d/kdm stop</li>
</ul>
<p>But on mint, you need to use:</p>
<ul>
<li>sudo /etc/init.d/lightdm stop</li>
</ul>
<p>Once I ran that, I was dropped to a terminal, and I could run the NVIDIA installer as per the instructions.  It disabled the nouveau driver and compiled my driver.  After a reboot, all was good in the world.</p>
<p>I have a few thoughts on a simpler process.  It is possible that the nouveau driver was conflicting with the NVIDIA driver.  If I just disabled, or blacklisted the nouveau driver, the restricted drivers install wizard may have worked fine.</p>
<p>Here are a list of the pages I consulted to come to my resolution:</p>
<ul>
<li><a href="http://forums.linuxmint.com/viewtopic.php?f=191&amp;t=82424&amp;start=20" target="_blank">http://forums.linuxmint.com/viewtopic.php?f=191&amp;t=82424&amp;start=20</a></li>
<li><a href="http://www.geforce.com/Drivers" target="_blank">http://www.geforce.com/Drivers</a></li>
<li><a href="http://us.download.nvidia.com/XFree86/Linux-x86_64/295.33/README/index.html" target="_blank">http://us.download.nvidia.com/XFree86/Linux-x86_64/295.33/README/index.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2012/03/31/linux-mint-12-failure-to-boot-and-video-problems-amd-nvidia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed Up X11 Forwarding</title>
		<link>http://cornempire.net/2011/12/24/speed-up-x11-forwarding/</link>
		<comments>http://cornempire.net/2011/12/24/speed-up-x11-forwarding/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 01:22:43 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cornempire.net/?p=305</guid>
		<description><![CDATA[For those who work on multiple Linux/Unix machines, we sometimes need to do work remotely. Sometimes the terminal doesn&#8217;t cut it, and we need to use a GUI application. There are a number of ways to view a GUI on a remote machine, but one way is by X11 forwarding through an SSH connection. One <a href='http://cornempire.net/2011/12/24/speed-up-x11-forwarding/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>For those who work on multiple Linux/Unix machines, we sometimes need to do work remotely.  Sometimes the terminal doesn&#8217;t cut it, and we need to use a GUI application.  There are a number of ways to view a GUI on a remote machine, but one way is by X11 forwarding through an SSH connection.</p>
<p>One problem with X11 forwarding, especially over the internet, is the slow speed.  This post hopes to explain X11 forwarding, and ways to speed it up.</p>
<p>You can use the command:<br />
<code>ssh -c arcfour,blowfish-cbc -X -C user@192.168.11.3</code><br />
To establish an SSH session with X11 forwarding enabled.  Then all you need to do is launch a X program and it should appear on your local display.  Before I explain the command, you must first have X11 forwarding enabled in your sshd_config on your server.  Set <em>X11Forwarding yes</em> in your config file.</p>
<p>Now, for the SSH command:</p>
<ul>
<li><strong>-c arcfour,blowfish-cbc</strong> : specifies the encryption algorithms to use.  These seem to be some of the fastest.</li>
<li><strong>-X</strong> : This enables X11 Forwarding</li>
<li><strong>-C</strong> : This enables compression</li>
<li><strong>user@192.168.11.3</strong> : This is the user name of the remote machine, and the IP address of that server.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2011/12/24/speed-up-x11-forwarding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project Management Game</title>
		<link>http://cornempire.net/2011/12/07/project-management-game/</link>
		<comments>http://cornempire.net/2011/12/07/project-management-game/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 01:55:20 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cornempire.net/?p=300</guid>
		<description><![CDATA[Yeah, I&#8217;m a dork. But as a project manager, it was fun for a bit. http://thatpmgame.com Can you beat my score? &#8220;You have completed 6 projects on-time and under-budget valued at $5.1 million. Put THAT on your resume!&#8221;]]></description>
			<content:encoded><![CDATA[<p>Yeah, I&#8217;m a dork.  But as a project manager, it was fun for a bit.</p>
<p><a href="http://thatpmgame.com/">http://thatpmgame.com</a></p>
<p>Can you beat my score?</p>
<p>&#8220;You have completed 6 projects on-time and under-budget valued at $5.1 million. Put THAT on your resume!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2011/12/07/project-management-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long Time No Post (Various Software and Plans)</title>
		<link>http://cornempire.net/2010/10/31/long-time-no-post-various-software-and-plans/</link>
		<comments>http://cornempire.net/2010/10/31/long-time-no-post-various-software-and-plans/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 20:17:14 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cornempire.net/?p=256</guid>
		<description><![CDATA[Hello Folks, Long time and no posting. I&#8217;ve been quite busy. So here are some updates: Updates MCPM I&#8217;m currently completing a Masters Certificate in Project Management. It is a four month course that prepares you to be a professional project manager. It has been an interesting experience. The skills I&#8217;ve learned so far have <a href='http://cornempire.net/2010/10/31/long-time-no-post-various-software-and-plans/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Hello Folks,<br />
Long time and no posting.  I&#8217;ve been quite busy.  So here are some updates:</p>
<h1>Updates</h1>
<h2>MCPM</h2>
<p>I&#8217;m currently completing a Masters Certificate in Project Management.  It is a four month course that prepares you to be a professional project manager.  It has been an interesting experience.  The skills I&#8217;ve learned so far have already been put to good use both at work, and with my business on the side.</p>
<h2>Project Work</h2>
<p>My company has been awarded a contract to develop a Document Management System, as well as install servers and software to support this system.  Work will be starting next week, and I will have very little free time to work on anything else during this. <img src='http://cornempire.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />   But, it will be a great experience and our first big project!</p>
<h2>Server Hosting</h2>
<p>In the last month or so, the company I had a VPS with <a href="http://www.webserve.ca" target="_blank">http://www.webserve.ca</a> (<a href="http://www.bbb.org/mbc/business-reviews/internet-web-hosting/webserve-communications-in-north-vancouver-bc-1142872" target="_blank">BBB Rating: C &#8211; 121 Complaints</a>) was constantly attacked and hacked by outsiders.  No matter what lengths I go to, somehow, someone was on the server sending mail and doing bad things.  It seems that the company does very little intrusion detection, and the way in which the server was compromised, I suspect that the virtual hosts were actually the source.  After 12 hour downtime with no answer from their 24/7 support, I decided to return to my former web host (<a href="http://www.canadianwebhosting.com" target="_blank">http://www.canadianwebhosting.com</a> <a href="http://www.bbb.org/mbc/business-reviews/internet-web-hosting/canadian-web-hosting-in-richmond-bc-217425" target="_blank">BBB Rating: A+ &#8211; 0 complaints</a>).  Although more expensive, their support has been fantastic, and quality/value of service is good.</p>
<h2>Software Plans</h2>
<p>That last piece is a great segue into my software plan section.  During my migration, I had to move my database (obviously).  That experience has pushed me to develop a script that dumps commands to recreate all of your users and all of your grants in the event that you have to migrate your mysql database.  By running this script, you will get all of the code you need to recreate all of your users and grants.  Coupled with a mysql dump, you should be able to quickly copy an entire database!  Hopefully I will find some time in the next few months to write the code.</p>
<p>I&#8217;m also planning to write a simple script that will aggregate our logwatch reports from our 15 servers into a single daily report.  Instead of the default function, which is to email, the logwatch report will be scp&#8217;ed to a central server, and then a script will go over all of the reports, and put something together for all of the servers.  I&#8217;ll make this available once it is written.</p>
<h2>Gaming</h2>
<p>I&#8217;ve been playing a bit of Civilization 5 lately.  It is an ok game, but I find it is still very rough around the edges.  Lots of bugs, incomplete features, and terrible AI.  Although I really do enjoy the new combat engine.</p>
<p>I&#8217;ve also been playing a bit of <a href="http://www.urbanterror.info/news/home/" target="_blank">Urban Terror</a>.  A free realistic FPS available for Linux.</p>
<h2>Software</h2>
<p>I&#8217;ve also run across a few nice software packages that I&#8217;d like to recommend:<br />
<a href="http://www.adminer.org/en/" target="_blank">Adminer</a>: A great PHP script that you can upload to your site, and gain phpmyadmin type access to your databases.  Supports a number of database types.  Allows you to execute queries, create databases, backup databases and just browse your tables.  It is a single file, so there is no installation, and I intend to use it for some light DB admin work.</p>
<p><a href="http://www.fwbuilder.org/index.html" target="_blank">Firewall Builder</a>: I was looking for a program to help me manage iptables on linux.  I&#8217;ve run firestarter in the past, but that is a gui app, and I wanted to configure the firewall for a server with no gui.  I ran across Firewall Builder and gave it a try.  It is dually licensed as commercial for Windows and Mac users and free for Linux users.  Being a Linux user, I jumped at it to give it a try.  </p>
<p>The interface is a bit daunting for the first time user, I strongly recommend you watch the intro video (and hopefully you already know what a firewall does. <img src='http://cornempire.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )  This program lets you use drag and drop to configure rules for your firewall.  It creates the rules in a custom format, and then compiles them into a number of different formats for various firewall programs and devices.  It even goes a step further and lets you remotely install the firewall on the remote servers.  A very nice touch.</p>
<p>I&#8217;ve only tried iptables configuration so far, but it ran very well.  I intend to use it for all of our servers, and put the configuration files under revision management.  So I can manage all versions of our firewall configs from a single box.</p>
<p>That&#8217;s all for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2010/10/31/long-time-no-post-various-software-and-plans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Art, with ASCII, Asciio and ditaa</title>
		<link>http://cornempire.net/2010/05/19/art-with-ascii-asciio-and-ditaa/</link>
		<comments>http://cornempire.net/2010/05/19/art-with-ascii-asciio-and-ditaa/#comments</comments>
		<pubDate>Wed, 19 May 2010 21:33:01 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cornempire.net/?p=193</guid>
		<description><![CDATA[Art&#8230;with ASCII you say. Well yes I do. Anyone from back in the day will appreciate ASCII art. Better yet is the ability to create ASCII art and diagrams easily. Enter the players: asciio is a tool that allows you to easily make ASCII diagrams. ditaa is a tool that converts ASCII art diagrams into <a href='http://cornempire.net/2010/05/19/art-with-ascii-asciio-and-ditaa/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Art&#8230;with ASCII you say.  Well yes I do.  Anyone from back in the day will appreciate ASCII art.  Better yet is the ability to create ASCII art and diagrams easily.  Enter the players:</p>
<p><strong>asciio</strong> is a tool that allows you to easily make ASCII diagrams.</p>
<p><strong>ditaa</strong> is a tool that converts ASCII art diagrams into rendered images suitable for webpages or publications.</p>
<p>These tools allow you to make nice rendered images and ASCII diagrams.  As some have put it, ASCII Visio. </p>
<p>I&#8217;ve created a tutorial an how to modify asciio to better create ditaa diagrams.  You can view this tutorial here: <a href="http://wiki.cornempire.net/asciiart/start">http://wiki.cornempire.net/asciiart/start</a>  Soon, many of these changes will be integrated with the package available with Debian Sid (and by extension, any Debian based Linux distribution).</p>
<p>The ideas for the modifications came from here: <a href="http://strawp.net/archive/geeking-out-with-diagrams-in-ascii/">http://strawp.net/archive/geeking-out-with-diagrams-in-ascii/</a> and those ideas lead to the more expansive tutorial linked above.  Thanks to David Paleino at Debian who has packaged Ditaa and asciio and may integrate some of these changes into the packages in the future.</p>
<p>If you use, or have interest in ASCII diagrams, leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2010/05/19/art-with-ascii-asciio-and-ditaa/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

