<?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>Terminally Incoherent &#187; linux</title>
	<atom:link href="http://www.terminally-incoherent.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.terminally-incoherent.com/blog</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<lastBuildDate>Thu, 18 Mar 2010 15:24:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux: how do I find the devce name of my USB drive?</title>
		<link>http://www.terminally-incoherent.com/blog/2009/12/28/linux-how-do-i-find-the-devce-name-of-my-usb-drive/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/12/28/linux-how-do-i-find-the-devce-name-of-my-usb-drive/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 15:42:08 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/?p=4493</guid>
		<description><![CDATA[Around the time I reviewed Chromium OS, I managed to totally b0rk one of my thumb drives. I somehow botched the dd command, and the device became unusable. When I plugged it in, nothing would happen. Or rather nothing on the UI side. My KDE would simply ignore the drive and pretend it was not [...]]]></description>
			<content:encoded><![CDATA[<p>Around the time I reviewed Chromium OS, I managed to totally b0rk one of my thumb drives. I somehow botched the dd command, and the device became unusable. When I plugged it in, nothing would happen. Or rather nothing on the UI side. My KDE would simply ignore the drive and pretend it was not there. I didn&#8217;t want to just throw out the USB stick, so I decided to figure out what device name gets assigned to it, and then repartition it again.</p>
<p>How do you do that? The simplest method is to watch the log files. When you plug in a USB the device, your system should make a note of it in /var/log/messages. So you should do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>messages</pre></div></div>

<p>In case you didn&#8217;t know, the tail command prints out the last few lines of a text file, and the <em>-f</em> argument basically means <em>&#8220;follow&#8221;</em>. So tail will basically pring any new lines that are appended into the console in real time. Once you issue this command, just plug in your device. Your output should look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">44</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13631.153753</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> usb <span style="color: #000000;">2</span>-<span style="color: #000000;">1</span>: new high speed USB device using ehci_hcd and address <span style="color: #000000;">4</span>
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">44</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13631.288125</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> usb <span style="color: #000000;">2</span>-<span style="color: #000000;">1</span>: configuration <span style="color: #666666; font-style: italic;">#1 chosen from 1 choice</span>
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">44</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13631.288669</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> scsi5 : SCSI emulation <span style="color: #000000; font-weight: bold;">for</span> USB Mass Storage devices
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">49</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13636.295004</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> scsi <span style="color: #000000;">5</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: Direct-Access     Kingston DT <span style="color: #000000;">101</span> II        <span style="color: #000000;">1.00</span> PQ: <span style="color: #000000;">0</span> ANSI: <span style="color: #000000;">2</span>
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">49</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13636.295900</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> sd <span style="color: #000000;">5</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: Attached scsi generic sg3 <span style="color: #7a0874; font-weight: bold;">type</span> <span style="color: #000000;">0</span>
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">49</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13636.306962</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> sd <span style="color: #000000;">5</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdc<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000;">7831552</span> <span style="color: #000000;">512</span>-byte logical blocks: <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">4.00</span> GB<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">3.73</span> GiB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">49</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13636.308590</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> sd <span style="color: #000000;">5</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdc<span style="color: #7a0874; font-weight: bold;">&#93;</span> Write Protect is off
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">51</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13636.315523</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>  sdc: sdc1
Dec  <span style="color: #000000;">1</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">51</span> malekith kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">13637.905840</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> sd <span style="color: #000000;">5</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdc<span style="color: #7a0874; font-weight: bold;">&#93;</span> Attached SCSI removable disk</pre></div></div>

<p>Check out the second to last line &#8211; it says <em>sdc1</em>. What does that mean? That means that my b0rken thumb drive is assigned to the /dev/sdc1 device. Now that I know that I can easily run fdsk on the device to format it and rebuild the partition table that was messed up by a botched dd command.</p>
<p>It&#8217;s that easy. I&#8217;m putting it here for future reference more than anything else.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/12/28/linux-how-do-i-find-the-devce-name-of-my-usb-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make my OS Faster</title>
		<link>http://www.terminally-incoherent.com/blog/2009/11/30/make-my-os-faster/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/11/30/make-my-os-faster/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 15:35:57 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/?p=4176</guid>
		<description><![CDATA[Have you noticed how all prominent operating systems seem to bloat with each release? Windows is probably the best example, but even Ubuntu had slowly gained weight and become more of a resource hog over the years. It&#8217;s sad really. Instead of becoming leaner, more optimized and streamlined our OS&#8217;s become bigger, more sluggish and [...]]]></description>
			<content:encoded><![CDATA[<p>Have you noticed how all prominent operating systems seem to bloat with each release? Windows is probably the best example, but even Ubuntu had slowly gained weight and become more of a resource hog over the years. It&#8217;s sad really. Instead of becoming leaner, more optimized and streamlined our OS&#8217;s become bigger, more sluggish and encumbered with tons of unnecessary features. The primary driving force behind OS development these days is usability (a noble cause) and multiplying the feature count. Because nothing shows that the new version is better than a bullet list of new features that can be printed on a sales brochure. The OS makers are often forgoing optimization relying on Moore&#8217;s law to pick up the slack. Naturally they forget that most users do not replace their computer every 18 months. Therefore there is a discrepancy between what users have in terms of hardware, what should they have based on Moore&#8217;s law and what the developers are shooting for.</p>
<p>The result is that unless you have a bleeding edge hardware, your new OS is likely to run anywhere between slow and sluggish. Add an array of resident tools such as Anti Virus suite, print monitors, media programs that launch on start up, preloaders of various applications, IM suites and you have a machine that is moving in slow motion from the day one. Any new resident programs and (God forbid) inevitable malware infections will bring the machine to a grinding halt. If not today, then tomorrow when new releases of software will assume hardware moved to the next performance bracket as predicted by Moore&#8217;s law.</p>
<p>If you have ever worked in IT you know that the #1 user complaint you will hear on a daily basis is <em>&#8220;my computer is slow&#8221;</em>. Actually, you don&#8217;t even have to work in IT to know that. All you need is to work in any field where you need some technical knowledge. Or hell, if you ever reveal any kind of computer know-how to your friends and relatives you will likely be overrun with questions on how to make windows faster.</p>
<p>Slow performance is such a pervasive issue that even malware makers are using a promise of fixing it as a bait. If I had a penny for every time I&#8217;ve seen someone download a &#8220;registry cleaner&#8221;, &#8220;system speedup toolkit&#8221; or other &#8220;turbo booster&#8221; software which was really a trojan, I would be a rich man. People fall for this trick all the time, because they get desperate. They buy a computer which runs fine for 6 months to a year, and then starts becoming more and more sluggish. No matter what they do, they can&#8217;t return it to the original performance. Why?</p>
<p>Well, it&#8217;s a difficult question. The performance degradation has many possible causes:</p>
<ol>
<li>Malware</li>
<li>Resident programs running at start up</li>
<li>Unnecessary services running in the background</li>
<li>3rd party software modifying the OS functions ways that degrade performance (a/v suites are big offenders here)</li>
<li>Disk fragmentation</li>
<li>OS updates that increase memory footprint and CPU load</li>
<li>Other software updates that increase memory footprint of running services</li>
<li>Gremlins maliciously flipping bits in the memory for LULZ</li>
<li>Bit bucket becoming full and overflowing</li>
<li>Machine spirits nesting in the hardware</li>
</ol>
<p>That last one is something I keep warning people about. If you keep personifying your computer, it will eventually cause a machine spirit to coalesce inside of your computer case. These spirits are not really autonomous beings &#8211; they are more like an empathic echo. They acquire all the personality traits which the user commonly ascribes to the machine. So if you keep saying something like &#8220;this computer hates me&#8221; or &#8220;I hate this computer&#8221; the machine spirit will really hate you, or assume you hate it and will work against you. A machine that is loved, and pampered may behave much better &#8211; but it can become moody, and downright malicious when it starts suspecting that the user is planing to replace it. Even if your machine spirit is benign most of the time, it still needs to steal some CPU cycles and some memory to store it&#8217;s personality and cognitive processes. The older the machine spirit, the more resources it requires. The only way to get rid of a machine spirit is to stop feeding it. When you think of your machine as an inanimate electronic box, or better yet &#8211; a tool, or extension of yourself the spirit will eventually cease to exist.</p>
<p>All joking aside, part of the performance degradation issue lies in the simple fact that most our operating systems are bloated to begin with. So even if you take a slow machine, wipe it clean and reinstall the OS it will still be slow. By the time you install all the current patches, all upgrades and equip it with the latest a/v suite you will be almost back to where you started minus the malware. But the user will install that back as soon as he gets the machine back. This happens because new applications and the OS updates are tailored at current hardware, whereas most users will be running them on a machine that is one or two Moore&#8217;s law iterations behind (if not more). Not only that, but our perception of what is fast changes quite significantly over the years. Your machine might have seemed fast 4 years ago, but that&#8217;s because it was on the cutting edge back then. Now the cutting edge has moved.</p>
<p>The more complex and feature full the operating systems get, the more prone they become to general crufting. For years now I have been dreaming about a lean, stripped down mainstream OS that would be available to general public, and could be installed on slightly older hardware. I mean, yes &#8211; you can do this with a stripped down Linux distro. For example I heard good things about <a href="http://en.wikipedia.org/wiki/Arch_Linux" rel="nofollow" class="liwikipedia">Arch</a>, and <a href="http://en.wikipedia.org/wiki/CRUX" rel="nofollow" class="liwikipedia">Crux</a>. But these are more of a fringe systems that are targeted at enthusiasts. Not necessarily something you install on your neighbors machine when he cries about performance issues. Besides, if you try hard enough you can make those systems bloated as well.</p>
<p>Microsoft has it&#8217;s <a href="http://en.wikipedia.org/wiki/Windows_Fundamentals_for_Legacy_PCs" rel="nofollow" class="liwikipedia">Windows Fundamentals</a> thing, which is a stripped down XP. Still, it can only be obtained via Volume Licensing which means it is clearly not targeted at the home market. Also, Fundamentals seems a bit like an afterthought &#8211; it&#8217;s not a flagship product and gets limited amount of attention.</p>
<p>What we really need is a modern OS designed from ground up to be lean, mean and optimized for performance. I mean something built for speed and usability &#8211; not retrofitted for it by stripping off useful features and degrading user experience. The most user friendly Linux distributions are usually tailored towards feature bloat. Can <a href="http://en.wikipedia.org/wiki/Google_Chrome_OS" rel="nofollow" class="liwikipedia">Google Chrome</a> break that trend?</p>
<p>Google certainly has the clout to market this OS to the masses, and brand recognition that won&#8217;t make people run for the hills. It&#8217;s still Linux, but people won&#8217;t know about it, and therefore won&#8217;t be scared of trying it. Could chrome be the first user friendly, mainstream Linux distro tailored towards non-geeks using legacy hardware?</p>
<p>It&#8217;s certainly interesting. I&#8217;m anxiously awaiting the release of the OS to see if it will follow the same high quality design as most other Google products. I&#8217;m also very curious as to how it will be received by mainstream, non-technical population. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/11/30/make-my-os-faster/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Kubuntu 9.10 Upgrade: Karmic nVidia Failure</title>
		<link>http://www.terminally-incoherent.com/blog/2009/11/16/kubuntu-9-10-upgrade/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/11/16/kubuntu-9-10-upgrade/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 15:37:59 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tech support]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[kubuntu]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/?p=4333</guid>
		<description><![CDATA[Did they name Ubunu 9.10 Karmic on purpose, and then had it ruin the lives of the wicked people? My upgrade was an absolute train wreck. I spent my whole afternoon, and evening fixing it, and managed to accidentally delete few moths of email. Yay me!
The upgrade went smoothly up until I rebooted the machine [...]]]></description>
			<content:encoded><![CDATA[<p>Did they name Ubunu 9.10 Karmic on purpose, and then had it ruin the lives of the wicked people? My upgrade was an absolute train wreck. I spent my whole afternoon, and evening fixing it, and managed to accidentally delete few moths of email. Yay me!</p>
<p>The upgrade went smoothly up until I rebooted the machine and noticed that I&#8217;m running 800&#215;600 and my dual head setup was broken. This was very noticeable on a 23 inch monitor, and running the new KDE version which super-large windows decorations. So I decided to fix it.</p>
<div style="padding: 10px; margin: 10px; border: 1px solid orange; background: lightYellow; font-size: small; font-style: italic;">Quick note on KDE 4.3: </p>
<p>WHAT THE FUCK? </p>
<p>It seems that the design goal of this release was to &#8220;make it as shitty as Vista&#8221;. Can we please stop doing that? Seriously, I don&#8217;t even recognize this environment anymore. It was working fine before &#8211; there was no need to change the Kmenu, the panel or the fucking desktop.</p>
<p>Granted, the desktop effects are actually very nice, and the plasma widgets are cool.  Still, I wasn&#8217;t very happy viewing it in 800&#215;600 resolution on a 23&#8243; monitor. Try that yourself and you will see why I was angry. Without the bells and whistles the desktop was just ugly and barely functional. I&#8217;m slowly getting used to it now and I think I will be fine but the first impression was horrible.</p></div>
<p>So I did the exact same thing that worked for me last time. I pulled up the KDE Hardware app and told it to activate proprietary nVidia driver. It didn&#8217;t work. I tried couple more times, and then restarted the machine thinking that maybe the damn thing is just not registering the change. That&#8217;s how I hosed my X. Kubuntu came back in text only mode and I had to hack the xorg.conf and switch it back to the generic driver. </p>
<p>After this I tried following some online troubleshooting steps trying to install, re-install the drivers, hack the xorg.conf and each thing I did made my system more broken than it was. Eventually I managed to delete my .kde folder with several moths of emails (ie. my last backup was few months ago, and I have no one to blame for this but my own stupidity).</p>
<div style="padding: 10px; margin: 10px; border: 1px solid orange; background: lightYellow; font-size: small; font-style: italic;"><strong>PROTIP:</strong> </p>
<p>Do not do mv -i as root. Ever!</p>
<p>In fact, every time you do any moving or deleting from the command line you should back up the folders in question just in case. The beauty of working from the shell is that it does not try to hold your hand or second guess your choices. Linux will do precisely what you ask it to do &#8211; whether it is good or bad for the system. This gives you great deal of power and flexibility but comes at a price &#8211; a typo, or badly formatted command may actually damage the system or wipe your files.</p>
<p>This is what happened to my email folder. At one point during the troubleshooting I got it in my head that something went wrong in my KDE setup. At that point I got my machine to display the log in screen, but X would crash when trying to actually load the environment. So I decided rename my .kde directory and let the system generate a clean one to see if this helps. It did not, so I renamed it back. About 2 hours later I realized that I must have made a typo of some sort. When I finally got KDE to load it completely forgot all my settings. I went searching for the .kde-bak directory I created earlier, but it was nowhere to be found. It just went *poof*.</p>
<p>It wouldn&#8217;t be that bad if it wasn&#8217;t for the fact that Kontact keeps it&#8217;s email diles in there. Oops&#8230; I had backups, of course, but unfortunately I have been rather lax about them in the last few&#8230; um&#8230; months. So yeah &#8211; you get the idea. I was not a happy camper and there was no one I could blame for this but myself. First for being reckless with my commands. Second for not making a copy prior to fucking with such a crucial directory. Third for getting complacent and not running the backup script in god knows how long.</p></div>
<p>To make a long story short, half the solutions posted in the Ubuntu forums are total crap. It became painfully obvious that my problem ran much deeper. Reinstalling the drivers and re-creating the x config just wouldn&#8217;t cut it.</p>
<p>For reference my machine is a Latitude D820 with nVidia Quadro NVS 140m board. I was starting to think that there is just no working driver for this card that is compatible with the 2.6.31-14-generic kernel. Finally, after several hours <a href="http://phun-ky.net/2008/10/fix-for-failed-to-load-the-nvidia-kernel-module-on-ubuntu" class="liexternal">I found the solution</a>.</p>
<p>Alexander V. Røyne-Helgesen deserves one free internet for figuring this out. His fix is the only thing that worked for me. In case you are to lazy to click on the link, here is the solution:</p>
<p>First, open up your <samp>/etc/modprobe.d/lrm-video</samp> file and comment out every single entry that references nvidia. Your file should look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #666666; font-style: italic;"># Make nvidia/nvidia_legacy and fglrx use /sbin/lrm-video to load  </span>
<span style="color: #c20cb9; font-weight: bold;">install</span> fglrx <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>lrm-video fglrx <span style="color: #007800;">$CMDLINE_OPTS</span>  
<span style="color: #666666; font-style: italic;">#install nvidia /sbin/lrm-video nvidia $CMDLINE_OPTS  </span>
<span style="color: #666666; font-style: italic;">#install nvidia_legacy /sbin/lrm-video nvidia_legacy $CMDLINE_OPTS  </span>
<span style="color: #666666; font-style: italic;">#install nvidia_new /sbin/lrm-video nvidia_new $CMDLINE_OPTS'</span></pre></div></div>

<p>Once this is done, go to your <samp>/etc/modules</samp> file and add this at the end:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">nvidia</pre></div></div>

<p>Finally, go to your xorg.conf, find the entry that describes your video card and change the driver to nvidia. It should look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Section <span style="color: #ff0000;">&quot;Device&quot;</span>
   Identifier      <span style="color: #ff0000;">&quot;NVIDIA Corporation NV40m [Quadro NVS 140m]&quot;</span>
   Driver          <span style="color: #ff0000;">&quot;nvidia&quot;</span>
   <span style="color: #666666; font-style: italic;"># more lines here...</span></pre></div></div>

<p>Now restart thy X server and&#8230; Boom! Back in business.</p>
<p>I should probably mention that I uninstalled and reinstalled the nVidia drivers about 10 times during the whole ordeal. I used various sources. The last thing I tried was the EnvyNG script (the package name is envyng &#8211; it&#8217;s in the repos). So I can confirm that this method above works with Quadro NVS 140m with a driver installed by EnvyNG. May not work after a straight upgrade.</p>
<p>Did I mention that the upgrade also broke my VirtualBox installation? Yeah, it did, but that&#8217;s a topic for a whole other post. Needless to say, I am never doing this sort of thing again on a weekday.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/11/16/kubuntu-9-10-upgrade/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>You don&#8217;t need to convert them&#8230;</title>
		<link>http://www.terminally-incoherent.com/blog/2009/11/05/you-dont-need-to-convert-them/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/11/05/you-dont-need-to-convert-them/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 14:52:03 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/?p=4114</guid>
		<description><![CDATA[Recently a friend of mine approached me with a weird question: how to install Windows on a machine without a CD or Floppy drive. I was intrigued. The obvious question here was &#8220;why?&#8221; It turned out that he just ordered himself one of those Dell Mini notebooks. Naturally, like every living being on planet Earth [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a friend of mine approached me with a weird question: how to install Windows on a machine without a CD or Floppy drive. I was intrigued. The obvious question here was &#8220;why?&#8221; It turned out that he just ordered himself one of those <a href="http://www.dell.com/content/products/features.aspx/mini_laptop_deals?c=us&#038;cs=19&#038;l=en&#038;s=dhs&#038;ST=dell%20mini%20%28exact%29&#038;dgc=ST&#038;cid=34899&#038;lid=975759&#038;acd=52183,8,0,65152143,705980508,1256432301,,11291616,3392015691" class="liexternal">Dell Mini</a> notebooks. Naturally, like every living being on planet Earth my friend hates Windows Vista with a passion and as a result he didn&#8217;t really feel like paying a Vista tax. So he opted for the Ubuntu version with the intention of installing his copy of Windows XP on the machine. But while he was in the cost saving mode, he also decided not to purchase the optional external CD drive.</p>
<p>Oops&#8230; That CD drive was sort of there for a reason. He realized that after it was too late to do anything. So now he basically wanted to know if it&#8217;s possible to install XP from a USB thumb drive. Can it be done? Apparently, yes it can. All you need to do, is <a href="http://lmgtfy.com/?q=install+xp+from+usb" class="liexternal">google for it</a>.</p>
<p>But at the time we were having this conversation I gave him a benefit of the doubt and assumed he already did search it online, and came up empty. And since I didn&#8217;t know the solution of the top of my head, I got a crazy idea.</p>
<p><em>&#8220;Why don&#8217;t you just keep Ubuntu?&#8221;</em> I asked him.</p>
<p>I mean, it&#8217;s a Dell Mini with a 16GB solid state drive and a tiny ass screen &#8211; he is definitely not going to use that machine for gaming, photoshop or other Windows centric stuff like that. The machine will likely be used as a hardware extension of a web browser. The OS is mostly an overhead on a machine like that.</p>
<p>Now, I&#8217;m not a linux evangelist. I don&#8217;t go around telling people to switch to Linux. I honestly can&#8217;t do that anymore because I know that my experience with the OS is irrelevant. I am a computer geek a software developer and linux enthusiast. This makes so far removed from the general population, that I can hardly relate to your average Windows user.</p>
<p>Nevertheless I did my best to give him a quick pitch on how the OS will be mostly irrelevant on that machine. And it will run most of his favorite apps &#8211; like firefox for example.</p>
<p><em>&#8220;Will it run Chrome?&#8221;</em> he demanded.</p>
<p>Of course it will run chrome. Then again last time I used Linux version of Chrome Flash didn&#8217;t work yet, but they fucking update it daily. I quickly launched my copy of the browser to check, and lo &#8211; it was running flash quite flawlessly now.</p>
<p>My friend was not fully convinced yet. He started asking me about opening Word documents so I pulled up Open Office and illustrated how it works. Then I quickly downloaded and burned him a copy of the Gnome based Jaunty to show him what the OS that ships with his Mini will look like (I&#8217;m running Kubuntu on my laptop, and it looks quite different).</p>
<p>I booted it on his laptop, and he was blown away when he realized you can actually run a fully functional OS from the CD like that.</p>
<p><em>&#8220;But how can it do that?&#8221;</em></p>
<p>Well, because it&#8217;s really not that impressive. I mean, it doesn&#8217;t really matter whether your OS binaries are on the HD or on some other media. You have to load them into memory before they get executed anyway &#8211; so where they are originally is irrelevant. There is really no reason why Windows couldn&#8217;t have a Live CD version. In fact, you can easily make one with <a href="http://www.nu2.nu/pebuilder/" class="liexternal">BartPE</a>.</p>
<p>He was also enamored with virtual desktops. <em>&#8220;It&#8217;s like tabs for your desktop&#8221;</em> he said. I never thought about them like that, but yes &#8211; that&#8217;s a valid analogy. That&#8217;s technically how these things work.</p>
<p>He was also amazed on how many &#8220;features&#8221; were included in the OS itself. I had to explain that most of the applications he saw there were really stand alone open source projects &#8211; but by virtue of being free software they could be included in the free OS. </p>
<p>To make this long story short, my friend decided to keep Ubuntu on that machine &#8211; at least for now. In fact, he said he might replace it with the <a href="http://www.ubuntu.com/GetUbuntu/download-netbook" class="liexternal">Notebook Remix</a> version he found online so he can be running Jaunty (the Dell ships with Intrepid if I&#8217;m not mistaken). I told him that if he tries Ubuntu can&#8217;t deal with it, I&#8217;ll be happy to help him with the XP installation hack. He nodded, but I&#8217;ve seen that gleam in his eye that told me it won&#8217;t be needed. I think our little community might have a brand new member. </p>
<p>Now, I&#8217;m fairly sure my friend will continue using Windows. I didn&#8217;t &#8220;convert&#8221; him and made him into an exclusive Linux user. But he will give Ubuntu a try, and hopefully will like it becoming an OS agnostic nut bag like me. And that&#8217;s more than I could ever ask for.</p>
<p>We really don&#8217;t need to convert people, or try to ween them off of Windows. All we need to do is to show them the alternatives and find places in which they work well &#8211; like mini notebooks for example. This will have far reaching effects. For one, they will no longer automatically assume that OS == Windows. They will see that there are different operating systems that can be used for different purposes. Secondly, they will be now able to call MS on their bullshit as they will see that things can be done differently in the open source world. Thirdly&#8230; Well, they will be using linux. The more of us are there, the better. I don&#8217;t care if he still uses Windows on the other machine &#8211; he still counts as one of us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/11/05/you-dont-need-to-convert-them/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Slax</title>
		<link>http://www.terminally-incoherent.com/blog/2009/09/28/slax/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/09/28/slax/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 14:45:27 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[slax]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/?p=3853</guid>
		<description><![CDATA[My work laptop is a little bit on the heavy side. It works well as a desktop replacement which is how I use it these days. I hardly ever use it without an external monitor mouse and keyboard. I&#8217;m actually considering buying either one of those mini notebooks or perhaps a macbook at some point [...]]]></description>
			<content:encoded><![CDATA[<p>My work laptop is a little bit on the heavy side. It works well as a desktop replacement which is how I use it these days. I hardly ever use it without an external monitor mouse and keyboard. I&#8217;m actually considering buying either one of those mini notebooks or perhaps a macbook at some point in the future &#8211; a machine that I could actually drag around with me everywhere. But that will have to wait since I just got my gaming monster PC recently.</p>
<p>Besides, most of the time when I need to use a computer one is readily available for me. For example, when I&#8217;m at school I have a PC on the desk in the adjunct office. And since I tend to keep most of my school related files synced with <a href="http://getdropbox.com" class="liexternal">Dropbox</a> they are available to me via the web interface. That said, it is nice to work in a familiar environment using the software you like without worrying about key loggers that other adjuncts doubtlessly installed on the shared office computer. Yeah, I do usually carry a Knoppix CD in my book bag but that doesn&#8217;t really cut it. What I&#8217;d really like is my own comfy, lived-in environment &#8211; not a pristine Live CD boot. You know what I mean?</p>
<p>So lately I decided to do something new. Believe it or not, but in all my years with Linux I have never created a bootable USB type thing. I used countless live CD&#8217;s in the past, but it actually never occurred to me to try something more persistent. So I dug out my old 2GB stick and installed <a href="http://www.slax.org/" class="liexternal">Slax</a>.</p>
<p>Why Slax you ask? Oh, I don&#8217;t know. It&#8217;s small, clean, easy to use and actually designed to work off a USB drive. It&#8217;s a minimalistic OS and yet it runs a lightweight version of KDE making me feel like home. I have tried many different desktop environments but KDE was always the one that just felt right. So I&#8217;m naturally inclined towards systems that use it.</p>
<p>Not to mention that the installation itself is almost laughably easy. You download a tarball, extract it to your USB stick and then just run an included shell script to overwrite the devices MBR. It literally takes 5 minutes, including the download time (well, depends on your bandwidth, but you know what I mean). </p>
<p>The USB version of Slax is persistent &#8211; it will actually write changes to the disk, and allow you to set up your environment the way you like it and keep it that way. If you mess up, you can even reset it to a default state at boot time. It boots around 10 times faster than a Live CD and is quite responsive. </p>
<p>I particularly like how Slax resolved the whole package management conundrum. For example, you can &#8220;temporarily&#8221; install software with one click of a button. You just go <a href="http://www.slax.org/modules.php" class="liexternal">here</a> find your module and click &#8220;Activate&#8221;. This will download an install the package, but only for the duration of the current session. Once you reboot the package will be gone. Of course you can download the package and permanently install it as well &#8211; it&#8217;s just that the temporary option is kinda neat.</p>
<p>Of course, it is mostly a toy operating system. I wouldn&#8217;t recommend using it for mission critical stuff. I wouldn&#8217;t make it your primary OS. But if you want to carry your own customized environment and software in your pocket, it is perfect. Just plug it in, boot the machine and enjoy. I highly recommend setting one up for yourself if you know you will need to use some public/shared machine somewhere. Naturally competent admins of shared machines will probably disable all the bootable devices other than the HD and password protect the BIOS. Thankfully, competent admins are quite rare.</p>
<p>So yeah. Give it a whirl if you are in the market for USB based distribution. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/09/28/slax/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SSH From Behind a Firewall via HTTP Proxy</title>
		<link>http://www.terminally-incoherent.com/blog/2009/09/03/ssh-from-behind-a-firewall-via-http-proxy/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/09/03/ssh-from-behind-a-firewall-via-http-proxy/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 14:15:15 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/?p=3726</guid>
		<description><![CDATA[The other day, I found myself behind a fairly draconian firewall. There are really two philosophies when setting up a corporate network. One is to block everything inbound while allowing everything outbound. The other one is just to block everything except ports 80 (HTTP) and 443 (HTTPS) and only allow dedicated mail servers to use [...]]]></description>
			<content:encoded><![CDATA[<p>The other day, I found myself behind a fairly draconian firewall. There are really two philosophies when setting up a corporate network. One is to block everything inbound while allowing everything outbound. The other one is just to block everything except ports 80 (HTTP) and 443 (HTTPS) and only allow dedicated mail servers to use 110 (POP) and 25 (SMTP). This is of course more secure, but can also be quite annoying when you for example you have an IMAP email account, or when you are trying to SFTP some files to a remote machine.</p>
<p>That&#8217;s ok though. What do we have ssh for? Am I right guys? Let me just whip out a nice little tunnel that will bounce my IMAP traffic off the home server and I will be back in busine&#8230; Oh. Right. Port 22 is also closed. Granted, there is not much use for that port at a location that is running nothing but Windows both on the desktop and the server side. Leaving it open would probably drive the anal retentive admin insane with doubt, and uncertainty. I was foolish for thinking it could be that easy.</p>
<p>Of course I&#8217;m not a person who takes closing port 22 lightly. In fact I&#8217;m quite attached to that port, and not being able to used it makes me cranky. So I decided to figure out a way to bypass this firewall silliness and share the solution with you. </p>
<p>Lets sum up what we know about this network. It&#8217;s locked down pretty tight, but the two ports they can&#8217;t lock are 80 and 443. I mean, they could and then force you to use a proxy server but they didn&#8217;t. So we have our window &#8211; we can send packets out of the network on one or both of these ports unrestricted. Now we just have to jerry-rig something to allow us to redirect ssh to one of those ports. To do that, you will need two things:</p>
<ol>
<li>A <a href="http://www.agroman.net/corkscrew/" class="liexternal">corcscrew</a></li>
<li>A HTTP proxy with SSL support</li>
</ol>
<p>I&#8217;m running ubuntu, so installing corkscrew was easy:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> corkscrew</pre></div></div>

<p>Alternatively you can just download it from the homepage (linked above) and compile it yourself. This tool will allow you to proxy your ssh traffic (or any traffic really) over a HTTP proxy. The problem of course is finding a proxy that will work. I recommend not even bothering with basic HTTP proxies. Corkscrew uses the CONNECT command that is usually disabled on most servers. Look for SSL enabled proxies instead since they will usually leave that feature on by default since the SSL protocol itself uses it. This narrows down your search a little bit.</p>
<p>You can test prospective proxies like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">corkscrew prospective.proxy.server <span style="color: #000000;">80</span> your.ssh.server <span style="color: #000000;">22</span></pre></div></div>

<p>If the CONNECT command is disabled you will usually get an error message, at this point or the connection will simply time out. If the proxy does relay ssh data you will get some feedback. For example, I saw this <samp>SSH-2.0-OpenSSH_5.1p1</samp>. Once you have a working proxy, add the following lines to your <strong>~/.ssh/config</strong> file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Host your.ssh.server
	ProxyCommad corkscrew working.proxy.server <span style="color: #000000;">80</span> <span style="color: #000000; font-weight: bold;">%</span>h <span style="color: #000000; font-weight: bold;">%</span></pre></div></div>

<p>This tells your ssh to route any connection to <em>your.ssh.server</em> via the <em>working.proxy.server</em> on port 80, bypassing the draconian firewall. From now on, you can simply log in like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> your.ssh.server</pre></div></div>

<p>No other setup is necessary. This should also work for tunnels, scp and anything else you can think of. Of course the connection will be slower, and you are routing your traffic through an unknown machine (unless you actually own the proxy) which is obviously a security issue. Still, if you are stuck and you need to ssh somewhere and the syadmin is either a BOFH or simply MIA, this trick will work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/09/03/ssh-from-behind-a-firewall-via-http-proxy/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Favorite Unix Directory</title>
		<link>http://www.terminally-incoherent.com/blog/2009/04/17/favorite-unix-directory/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/04/17/favorite-unix-directory/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 14:29:24 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[poll]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2009/04/17/favorite-unix-directory/</guid>
		<description><![CDATA[Lion share of my writing here gets done on the weekends. Some are better than others in terms of productivity. If I can knock out 4 articles during those 2 days it really takes a load off my mind. I can then take it easy during the week, and not worry about cranking out more [...]]]></description>
			<content:encoded><![CDATA[<p>Lion share of my writing here gets done on the weekends. Some are better than others in terms of productivity. If I can knock out 4 articles during those 2 days it really takes a load off my mind. I can then take it easy during the week, and not worry about cranking out more content to fill my silly self imposed quota. This weekend was Easter and it totally killed my productivity. </p>
<p>Rather than skipping a day, I decided to post a last minute silly Friday poll: </p>
<p>Wwhat is your favorite unix directory and why?</p>
<div>
	<div class='democracy'>
		<strong class="poll-question">Favorite Unix Directory</strong>
		<div class='dem-results'>
		<form action='http://www.terminally-incoherent.com/blog/wp-content/plugins/democracy/democracy.php' onsubmit='return dem_Vote(this)'>
		<ul>
			<li>
					<input type='radio' id='dem-choice-177' value='177' name='dem_poll_22' />
					<label for='dem-choice-177'>/</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-178' value='178' name='dem_poll_22' />
					<label for='dem-choice-178'>/home</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-179' value='179' name='dem_poll_22' />
					<label for='dem-choice-179'>/bin</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-180' value='180' name='dem_poll_22' />
					<label for='dem-choice-180'>/etc</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-181' value='181' name='dem_poll_22' />
					<label for='dem-choice-181'>/opt</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-182' value='182' name='dem_poll_22' />
					<label for='dem-choice-182'>/usr</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-183' value='183' name='dem_poll_22' />
					<label for='dem-choice-183'>/usr/local</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-184' value='184' name='dem_poll_22' />
					<label for='dem-choice-184'>/proc</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-185' value='185' name='dem_poll_22' />
					<label for='dem-choice-185'>/var</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-186' value='186' name='dem_poll_22' />
					<label for='dem-choice-186'>/dev</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-187' value='187' name='dem_poll_22' />
					<label for='dem-choice-187'>/dev/null</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-188' value='188' name='dem_poll_22' />
					<label for='dem-choice-188'>/dev/random</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-189' value='189' name='dem_poll_22' />
					<label for='dem-choice-189'>Someone else's home directory</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-190' value='190' name='dem_poll_22' />
					<label for='dem-choice-190'>~/.pron</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-191' value='191' name='dem_poll_22' />
					<label for='dem-choice-191'>/mnt</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-192' value='192' name='dem_poll_22' />
					<label for='dem-choice-192'>/media/ChuckNorris/</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-193' value='193' name='dem_poll_22' />
					<label for='dem-choice-193'>/tmp</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-194' value='194' name='dem_poll_22' />
					<label for='dem-choice-194'>/usr/bin</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-195' value='195' name='dem_poll_22' />
					<label for='dem-choice-195'>/boot</label>
			</li>
			<li> <a href="/blog/category/linux/feed/?dem_add_user_answer=true&dem_poll_id=22" rel='nofollow' onclick='return dem_addAnswer(this)' class='dem-add-answer'>Add an Answer</a>
			</li>
		</ul>
			<input type='hidden' name='dem_poll_id' value='22' />
			<input type='hidden' name='dem_action' value='vote' />
			<input type='submit' class='dem-vote-button' value='Vote' />
			<a href="/blog/category/linux/feed/?dem_action=view&amp;dem_poll_id=22" onclick='return dem_getVotes("http://www.terminally-incoherent.com/blog/wp-content/plugins/democracy/democracy.php?dem_action=view&amp;dem_poll_id=22", this)' rel='nofollow' class='dem-vote-link'>View Results</a>
		</form>
		</div>
	</div></div>
<p>Me? Obviously I like /home cause that&#8217;s where I keep all my &#8220;stuff&#8221;, but that&#8217;s an obvious choice. To tell you the truth I was always drawn to and strangely fascinated by the pseudo devices such as /dev/random and /dev/null. The former is basically an entropy device producing endless, pseudo-random output. The later is a black hole which swallows all the input and never becomes full no matter how much you write to it. They are interesting on a philosophical level because of the two primal concepts they represent &#8211; chaos and oblivion.</p>
<p>The other pseudo devices like /dev/full and /dev/zero are not as interesting so I didn&#8217;t even include them on the list. Feel free to add them though. As usual, be nice and don&#8217;t abuse the write in option. Not that you guys usually abuse it. Surprisingly enough, this blog is one of the few places on the interwebs where <a href="http://www.terminally-incoherent.com/blog/2007/05/08/reflections-on-voting-patterns/" class="liinternal">the Norris Rule</a> only applies to like half of the polls. I&#8217;m just saying that I will go in and delete inappropriate entries if needed.</p>
<p>Anyways, pick the directory in the poll and tell me why you like it in the comments. Being windows user is not an excuse for not participating. You can use windows if you like it &#8211; I don&#8217;t care. But you should be at least a little bit familiar with unix and linux &#8211; <a href="http://www.terminally-incoherent.com/blog/2008/12/18/os-agnosticism-is-good-for-you/" class="liinternal">os agnosticism is good for you</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/04/17/favorite-unix-directory/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>TI Extensa Scholar ESS2</title>
		<link>http://www.terminally-incoherent.com/blog/2009/04/13/ti-extensa-scholar-ess2/</link>
		<comments>http://www.terminally-incoherent.com/blog/2009/04/13/ti-extensa-scholar-ess2/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 14:22:09 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2009/04/13/ti-extensa-scholar-ess2/</guid>
		<description><![CDATA[My ancient Compaq Presario is gone. You know which one I&#8217;m talking about, right? It was the machine that used to run the Nethack server and then was turned into a very lightweight laptop running Hardy with Ratpoison. Well, it died on me recently. Cause of death? Old age I presume.
The damn thing simply stopped [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://www.terminally-incoherent.com/blog/2006/12/05/old-laptops/" class="liinternal">ancient Compaq Presario</a> is gone. You know which one I&#8217;m talking about, right? It was the machine that used to run the <a href="http://www.terminally-incoherent.com/blog/2007/11/17/setting-up-a-private-nethack-server-on-ubuntu-lite/" class="liinternal">Nethack server</a> and then was turned into a very lightweight laptop <a href="http://www.terminally-incoherent.com/blog/2008/06/10/ubuntu-hardy-on-compaq-presario-1240-living-without-x/" class="liinternal">running Hardy with Ratpoison</a>. Well, it died on me recently. Cause of death? Old age I presume.</p>
<p>The damn thing simply stopped charging one day. Either the AC adapter gave way or the internal power supply went to the big data center in the sky. Either way, the battery juice ran out and the laptop is now just a paperweight. I could buy a new power supply, but frankly, I don&#8217;t think it&#8217;s worth it. The machine was ancient and in a less than perfect condition (cracks, scratches, dead pixels, etc&#8230;). There is just no point in investing any money into it.</p>
<p>The good news is that I found an even older, and slower computer to replace it &#8211; a Texas Instruments Extensa Scholar ESS2:</p>
<p><a href="http://www.flickr.com/photos/maciak/3432573064/" title="Texas Instruments Extensa Scholar ESS2 by tuxmentat, on Flickr"><img src="http://farm4.static.flickr.com/3570/3432573064_54be0426dc.jpg" width="450" height="375" alt="Texas Instruments Extensa Scholar ESS2" /></a></p>
<p>Next to this baby, the Compaq looks like a speed demon. The Extensa is equipped with 133 MHz CPU, sports a whopping 16 MB RAM and has an impressive 1.3 GB hard drive. This thing is ancient beyond words! It is also in much worse condition than the Compaq. Both batteries on this system are dead. The main battery is the size of a a small club, and I&#8217;m pretty sure it could be used as a deadly bashing weapon in a pinch. But I&#8217;m not worried about that &#8211; I can just keep it plugged into AC at all times. What is worse is that the CMOS battery is fried as well. This means I can&#8217;t change any BIOS settings such as, for example, the boot order. Or rather, I can change them but they don&#8217;t stick.</p>
<p>This effectively means I can&#8217;t boot the machine from a CD to install linux. Fortunately the laptop came with an external floppy disk that is the first boot device. So I could use a floppy boot loader of some sort that would punt me off to the CD drive and allow for CD based installation. Slackware ships with the right tool for this. It&#8217;s called <a href="http://ftp.lanet.lv/ftp/mirror/Slackware/isolinux/sbootmgr/" class="liexternal">sbootmgr.dsk</a>. Just create a bootable floppy with that image with <a href="http://www.chrysocome.net/rawwrite" class="liexternal">RAWRITE</a>, pop it into the drive and you will be presented with a nifty boot menu. The only problem is that I no longer own a computer with an operational floppy drive. The Compaq had one, but it is dead. I actually had to locate an old computer at work, and create this boot disk there.</p>
<p>The question now, is what to do with this machine? I want to install linux on it, but I&#8217;m not sure if Ubuntu will actually run on this thing. Any recommendations for super-light linux distros that would be good for this machine? I will probably run it X-less, or with a very light window manager such as ratpoison.</p>
<p>Here are few caveats:</p>
<ol>
<li>The laptop does not have any USB ports</li>
<li>It has no network card of any kind</li>
<li>It does have a PCIMCIA, but&#8230;</li>
<li>I do not have any PCIMCIA ethernet cards at home</li>
<li>I only have the Linksys WPC54G ver 1.2 Wifi card</li>
<li>My Wifi is WPA encrypted</li>
</ol>
<p>No matter which distro I choose, I will need to figure out how to get that damn Linksys card working. Some distros make it easier than others. I believe newer releases of Ubuntu might actually support it out of the box. In the past however I always had to use nidswrapper for it.</p>
<p>Perhaps I should get myself one of those more widely supported wifi cards for my experiments with these ancient machines. Anyway, what OS would you put on it given the above parameters. Keep in mind that the machine only has 16MB of RAM and 1 GB of HD to work with. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2009/04/13/ti-extensa-scholar-ess2/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>OS agnosticism is good for you</title>
		<link>http://www.terminally-incoherent.com/blog/2008/12/18/os-agnosticism-is-good-for-you/</link>
		<comments>http://www.terminally-incoherent.com/blog/2008/12/18/os-agnosticism-is-good-for-you/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 15:56:50 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[musings]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[teaching]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2008/12/18/os-agnosticism-is-good-for-you/</guid>
		<description><![CDATA[I was talking to a student recently about the MS Office 2007 ribbon feature and how it throws many people off at first. I asked her if this was also her experience, but she replied that she had no major problems adjusting to it. They simply changed where things are, but the icons and names [...]]]></description>
			<content:encoded><![CDATA[<p>I was talking to a student recently about the MS Office 2007 ribbon feature and how it throws many people off at first. I asked her if this was also her experience, but she replied that she had no major problems adjusting to it. They simply changed where things are, but the icons and names of most of the features are still roughly the same, she told me. In fact, she told me that the ribbon reminded her a little bit of the office suite looks on her MacBook.</p>
<p>Ladies, and gentlemen, I submit this as a proof that using more than one operating system on a regular basis is good for you. In fact, quite a few students in my two classes were Mac users. I know because several of them brought their laptops to school and wanted to use it for a presentation and couldn&#8217;t because the projector in the classroom had only a standard VGA cable. None of them thought to bring the mini-DVI to VGA extension &#8211; they probably never even bought one. Still, I have noticed that those students were the ones who rarely asked the questions of the type &#8220;how do I do X&#8221;. They were the ones able to work with the lab handouts and locate desired functionality by looking on the screen shots. These students were inherently more adaptable (at least to some degree) because they have been exposed to more than one way of doing things. </p>
<p>Your work-flow on a mac is slightly different from the work-flow on the PC. Asa result, any new Mac user is forced to go through the adjustment period when they figure out how to do task A, B or C on their new system. They learn how to explore and familiarize themselves with a new system. They are aware that different systems accomplish different tasks in their own unique way. They learn distinction between basic concepts and their implementation. Next time they are exposed to an unfamiliar interface, they are better prepared to deal with it.</p>
<p>The non technical folks who live firmly entrenched in Microsoft&#8217;s monoculture often memorize common tasks by rote. They remember which menu option, and which buttons to click but do not try to understand why. These are the people who like to take notes when you tell them how to do something. They go, <em>&#8220;hold on, hold on, I go to Tools, then Pro-per-ties and then click on Add Vance&#8230; Oh, it&#8217;s Advanced&#8230; What&#8217;s next?&#8221;</em> </p>
<p>Sometimes there are many ways to accomplish a task. For example, copying and pasting. In most applications you can do it using the context menu, the Edit menu or the keyboard shortcuts. Some people will learn just one of these methods, and be at a complete loss when it is unavailable.  Whenever you change the interface, they  are lost and must slowly learn to use the software almost from scratch. </p>
<p>Of course, there is nothing stopping someone from learning how to use a Mac this way &#8211; memorization, note taking and rote drills. It is not uncommon. But the very process of <em>&#8220;switching&#8221;</em> tends to do something to people. When the switch is done out of ones own free will, it tends to trigger a sudden realization in most people. The Apple software does almost everything that the PC software used to do, just differently. There are different ways to accomplish different tasks. They unknowingly take the huge cognitive leap that allows them to understand machines better. This is why so many non-geeks love their macs so much, and keep telling everyone how easy their OS is to learn. It is not because of the design on OSX (although it may be part of it). It&#8217;s because the process of switching the OS opened up their minds, and expanded their awareness. It is easy for them, because they have learned how to learn new OS&#8217;s.</p>
<p>A lot of people hate Apple, and the culture that surrounds it. I don&#8217;t. I am thankful that we have this system which to me is a small beacon of hope. Unlike Linux, Mac OS seems to be attractive, and accessible to the mainstream public. And because it teaches people that you can actually switch operating systems it does open up new unexplored avenues for linux adoption. Think about it &#8211; a person who can use both OSX and Windows with a relative ease, is likely to be open to yet another alternative operating system. OSX can be the gateway drug that may lead some to Linux. Not everyone, but some. And even if it doesn&#8217;t, it shows them that there exists a world outside the Microsoft. It challenges the MS monopoly &#8211; and that is a good thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2008/12/18/os-agnosticism-is-good-for-you/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Virtual Workspaces</title>
		<link>http://www.terminally-incoherent.com/blog/2008/11/20/virtual-workspaces/</link>
		<comments>http://www.terminally-incoherent.com/blog/2008/11/20/virtual-workspaces/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 16:07:46 +0000</pubDate>
		<dc:creator>Luke Maciak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2008/11/20/virtual-workspaces/</guid>
		<description><![CDATA[I was going through my Google Reader recently and I saw this post about workspaces and started thinking. Didn&#8217;t I do a post like that before? I mean, I probably had to, right? Out of all the topics out there, I&#8217;m pretty sure I had to mention this at one time or another. Besides, I [...]]]></description>
			<content:encoded><![CDATA[<p>I was going through my Google Reader recently and I saw <a href="http://pthree.org/2008/11/11/workspaces/" class="liexternal">this post about workspaces</a> and started thinking. Didn&#8217;t I do a post like that before? I mean, I probably had to, right? Out of all the topics out there, I&#8217;m pretty sure I had to mention this at one time or another. Besides, I have a vague recollection of writhing about it.</p>
<p>It turns out I was right. I <a href="http://www.terminally-incoherent.com/blog/2007/08/31/how-many-virtual-destktops-do-you-use/" class="liinternal">did write about it</a> last year. Thank you Google! You are by best friend, and nowadays that I actually figured out the site map thing (and by that I mean I found a plugin that will generate them for me) and I&#8217;m all indexed up you often work better than the shitty Wordpress search. You know what I&#8217;m talking about no? If you don&#8217;t look for the search box on top of the side bar. That defaults to the internal Wordpress search, but I might actually switch it over to the googles one of these days. </p>
<p>Anyways, I digress. Digressing is probably one of the things I do well. It is also one of the reasons why my posts are longer than they need to be most of the time. The other is my tendency to use seven sentences where one would be enough. Being concise is a skill that I have never mastered. I am always amazed when people take my 15 minutes of rambling and abstract it into a 5 words or less. I&#8217;m like &#8211; wow! Yes, that&#8217;s exactly what I meant. Of course being a long winded writer has some benefits &#8211; for example I never had to worry about meeting length requirements on school papers. My friends were doing all these tricks with changing the font size, changing the face to the widest one available. I&#8217;d just write the damn essay, notice it is 3 pages to long, then cut some stuff out, rewrite bits to be shorter and I was done. And that was when I was speaking strictly <em>on topic</em>. Not like I&#8217;m doing now. </p>
<p>Anyway, I re-read my earlier post and decided that &#8211; what the hell &#8211; let&#8217;s talk about this again!</p>
<p>How do you organize your virtual workspaces on your machine? Do you organize your windows based across worskpaces based on some sort of order, or randomly assign them to the virtual desktops on a first come first served basis. I&#8217;m surprisingly organized when it comes to my worskspaces. Surprisingly, because you wouldn&#8217;t be able to tell that if you had seen my actual desk where everything is arranged using a stack methodology. ANd I mean that literally &#8211; I stack things on top of each other until they fall off which is what I call a natural stack distribution. </p>
<p>My virtual workspaces however are nearly arranged like this:</p>
<div align="center"><img id="image2740" src="http://www.terminally-incoherent.com/blog/wp-content/uploads/2008/11/workspaces.png" alt="workspaces.png" /></div>
<p>It pretty much goes like this:</p>
<ol>
<li><strong>Email</strong> &#8211; first workspace is always for work/school email. My personal email lives on the second desktop because it is web based, but my work and school emails live inside Kmail and always are located on the workspace number one.</li>
<li><strong>Web</strong> &#8211; second desktop is for firefox, and assorted windows that I use for web browsing, downloading shit from the web and etc..</li>
<li><strong>Code</strong> &#8211; third desktop always holds my IDE. More often than not it is Komodo Edit which I like because it has <em>limited</em> vim bindings. Sometimes it is Eclipse though.</li>
<li><strong>Virtual Machines</strong> &#8211; my windows XP instance lives here. I use it to run shitty Windows only software like Monarch, Office 2007 and some other proprietary apps that my company supports.</li>
<li><strong>Stuff</strong> &#8211; this is the workspace where I open all the random windows that don&#8217;t fit anywhere else &#8211; like Dolphin for file browsing, random shell windows, random Vim windows, and sometimes Gimp when I need to edit some images (which is almost never)</li>
<li><strong>Remote</strong> &#8211; last worskpace is reserved for remote desktop sessions for the servers that I maintain. Usually they are rdp sessions, but I sometimes I have a VNC window there (for remote support stuff)</li>
</ol>
<p>How about you? How do you organize your desktops?</p>
<p>Oh, a word about windows &#8211; I have yet to find a virtual desktop manager for that OS which would work the way these things work in Linux. The <a href="http://www.terminally-incoherent.com/blog/2007/08/31/how-many-virtual-destktops-do-you-use/" class="liinternal">MS Powertoy</a> is slow and buggy in my experience. I found the popular <a href="http://virtuawin.sourceforge.net/" class="liexternal">VirtuaWin</a> to be ass backwards and counter intuitive when it comes to moving window across the desktops. The <a href="http://technet.microsoft.com/en-us/sysinternals/cc817881.aspx" class="liexternal">Sysinternals Tool</a> is nice but so bare-bones that it doesn&#8217;t even have the functionality to move windows between desktops. <a href="http://virt-dimension.sourceforge.net/" class="liexternal">Virtual Dimension</a> was possibly the only tool that I knew off that would actually show you what is on which desktop (the way KDE pager does) but it did not integrate into the task bar, and it has not been updated in over 3 years. So meh&#8230; I&#8217;m not using workspaces on my Windows box. Then again I hardly do any coding on Windows anymore and for entertainment I usually either run Firefox or fullscreen video games so I don&#8217;t really need the virtual worskpace functionality for that.</p>
<p>Any suggestions for a working windows virtual desktop manager though?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminally-incoherent.com/blog/2008/11/20/virtual-workspaces/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
