<?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>The Caffeinated Penguin &#187; Software</title>
	<atom:link href="http://www.mattcaron.net/category/computers/computersoftware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattcaron.net</link>
	<description>musings of a crackpot hacker</description>
	<lastBuildDate>Fri, 23 Jul 2010 02:40:06 +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>All my life is a (UI) circle</title>
		<link>http://www.mattcaron.net/2010/07/22/all-my-life-is-a-ui-circle/</link>
		<comments>http://www.mattcaron.net/2010/07/22/all-my-life-is-a-ui-circle/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 02:38:20 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3228</guid>
		<description><![CDATA[
In the beginning, I was on RedHat, and there was Gnome + Enlightenment.
Later, Gnome adopted Sawfish, but you had a choice. I still used Enlightenment.
Then I don&#8217;t exactly recall what happened. I think Enlightenment went away from Gnome, I tried several (IceWM, Fluxbox, etc.) finally settled on FVWM, which I used for several years.
Then Liz [...]
]]></description>
			<content:encoded><![CDATA[<p>In the beginning, I was on RedHat, and there was Gnome + Enlightenment.</p>
<p>Later, Gnome adopted Sawfish, but you had a choice. I still used Enlightenment.</p>
<p>Then I don&#8217;t exactly recall what happened. I think Enlightenment went away from Gnome, I tried several (IceWM, Fluxbox, etc.) finally settled on FVWM, which I used for several years.</p>
<p>Then Liz made fun of me sufficiently for having an ugly WM that I switched to XFCE4.</p>
<p>XFCE broke their window stacking model, so I switched to Gnome + Metacity (the default).</p>
<p>This morning at work, Metacity decided to go insane, pegging my CPU and generally being unreasonable. Now, I had been annoyed by its sluggishness for quite awhile, so this was the final straw.</p>
<p>I installed lubuntu-desktop, and used LXDE + Openbox for today at work. It was a little.. interesting. Fast, for sure, but very minimalist, and not quite.. right in all cases.</p>
<p>On the drive home, it hit me&#8230; Gnome + Enlightenment.. again.</p>
<p>We&#8217;ll see how this goes. There is one little annoyance &#8211; with some themes, the gnome panel menu doesn&#8217;t seem to like non-minimized application windows managed by enlightenment&#8230; It makes you not able to click on menu selections.. However, with ShinyMetal (the theme I was originally using those many years ago), it works fine.</p>
<p>Oh, and I discovered <a href="http://conky.sourceforge.net/">Conky</a> today, which may replace the gnome-panel flyout I have which does system monitoring. (I used to use GKrellM, but now I want trending for memory usage&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/07/22/all-my-life-is-a-ui-circle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I&#8217;m done with Facebook</title>
		<link>http://www.mattcaron.net/2010/05/13/im-done-with-facebook/</link>
		<comments>http://www.mattcaron.net/2010/05/13/im-done-with-facebook/#comments</comments>
		<pubDate>Fri, 14 May 2010 01:51:20 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3190</guid>
		<description><![CDATA[

Their update system is nondeterministic and lame, rendering different answers depending on when and where you ask.

They like to sue people for doing useful things with their data sources.

The human interface is annoying.


I will consider diaspora* when it is available.
If you want to talk to me, send me an email or comment on my blog.
If [...]
]]></description>
			<content:encoded><![CDATA[<ul>
<li>Their update system is nondeterministic and lame, rendering different answers depending on when and where you ask.
</li>
<li>They like to <a href="http://www.readwriteweb.com/archives/facebook_suing_powercom_for_auto-logging.php">sue people</a> for doing useful things with their data sources.
</li>
<li>The human interface is annoying.
</li>
</ul>
<p>I will consider <a href="http://joindiaspora.com/">diaspora*</a> when it is available.</p>
<p>If you want to talk to me, send me an email or comment on my blog.<br />
If you want to keep me in the loop on your life, comment on a proper RSS-enabled blog forum to which I can subscribe.</p>
<p>As a result, I&#8217;ll be commenting here more frequently.</p>
<p>Edit: <a href="http://www.groovypost.com/howto/security/permanently-delete-your-facebook-profile-account/">howto</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/05/13/im-done-with-facebook/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Old Google layout</title>
		<link>http://www.mattcaron.net/2010/05/13/old-google-layout/</link>
		<comments>http://www.mattcaron.net/2010/05/13/old-google-layout/#comments</comments>
		<pubDate>Fri, 14 May 2010 01:44:05 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3186</guid>
		<description><![CDATA[
I dislike the new Google layout. At least for now, you can get back the old one with this workaround.

]]></description>
			<content:encoded><![CDATA[<p>I dislike the new Google layout. At least for now, you can get back the old one with <a href="http://blog.arpitnext.com/2010/05/get-back-old-google-search-design.html">this workaround</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/05/13/old-google-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fallout</title>
		<link>http://www.mattcaron.net/2010/02/28/fallout/</link>
		<comments>http://www.mattcaron.net/2010/02/28/fallout/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 17:47:34 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3112</guid>
		<description><![CDATA[
I finally finished playing through the original fallout (bought for $6 from gog.com). Totally worth it. Very, very good game.
I should note that it runs just fine under wine (tested: 1.1.31 aka the one which ships with Ubuntu 9.10).
Oh, and for the curious, the maintainers of the WineHQ AppDB drop &#8220;old&#8221; versions of Wine, without [...]
]]></description>
			<content:encoded><![CDATA[<p>I finally finished playing through the original fallout (<a href="http://www.gog.com/en/gamecard/fallout">bought for $6 from gog.com</a>). Totally worth it. Very, very good game.</p>
<p>I should note that it runs just fine under wine (tested: 1.1.31 aka the one which ships with Ubuntu 9.10).</p>
<p>Oh, and for the curious, the maintainers of the WineHQ AppDB drop &#8220;old&#8221; versions of Wine, without respect to what is currently shipping in distros. Try to be nice and submit a compatibility report and it will be rejected if you try to fudge the version number. KEEP OLD VERSIONS IN THE SELECT LIST. Lamers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/02/28/fallout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lxc basic howto</title>
		<link>http://www.mattcaron.net/2010/02/20/lxc-basic-howto/</link>
		<comments>http://www.mattcaron.net/2010/02/20/lxc-basic-howto/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 03:10:10 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3097</guid>
		<description><![CDATA[
largely from:
<a href="http://lxc.sourceforge.net/lxc.html">http://lxc.sourceforge.net/lxc.html</a>
<a href="https://help.ubuntu.com/community/OpenVZ">https://help.ubuntu.com/community/OpenVZ</a>
<a href="http://www.ibm.com/developerworks/linux/library/l-lxc-containers/">http://www.ibm.com/developerworks/linux/library/l-lxc-containers/</a>
With additional notes from:
<a href="http://www.stgraber.org/2009/11/06/lxc-containers-or-extremely-fast-virtualization">http://www.stgraber.org/2009/11/06/lxc-containers-or-extremely-fast-virtualization</a>
<a href="http://linux-vserver.org/Upstart_issues">http://linux-vserver.org/Upstart_issues</a>
<a href="http://lxc.teegra.net/">http://lxc.teegra.net/</a>
1.) Note that you likely want to create a separate partition for machines and put the machines there.
2.) apt-get install lxc debootstrap
(Note &#8211; this is pretty inefficient in terms of space. The lxc setup does allow for read-only mounts of things. So, it can have its own /etc and html docs [...]
]]></description>
			<content:encoded><![CDATA[<p>largely from:<br />
<a href="http://lxc.sourceforge.net/lxc.html">http://lxc.sourceforge.net/lxc.html</a><br />
<a href="https://help.ubuntu.com/community/OpenVZ">https://help.ubuntu.com/community/OpenVZ</a><br />
<a href="http://www.ibm.com/developerworks/linux/library/l-lxc-containers/">http://www.ibm.com/developerworks/linux/library/l-lxc-containers/</a></p>
<p>With additional notes from:<br />
<a href="http://www.stgraber.org/2009/11/06/lxc-containers-or-extremely-fast-virtualization">http://www.stgraber.org/2009/11/06/lxc-containers-or-extremely-fast-virtualization</a><br />
<a href="http://linux-vserver.org/Upstart_issues">http://linux-vserver.org/Upstart_issues</a><br />
<a href="http://lxc.teegra.net/">http://lxc.teegra.net/</a></p>
<p>1.) Note that you likely want to create a separate partition for machines and put the machines there.</p>
<p>2.) <code>apt-get install lxc debootstrap</code><br />
(Note &#8211; this is pretty inefficient in terms of space. The lxc setup does allow for read-only mounts of things. So, it can have its own /etc and html docs but share binaries and libraries with the host. But, I didn&#8217;t do it that way for ease of backups)</p>
<p>3.) Set up cgroup<br />
<code>mkdir /var/cgroup<br />
mount -t cgroup cgroup /var/cgroup</code></p>
<p>probably want to add it to /etc/fstab as well:<br />
<code>cgroup          /var/cgroup     cgroup      defaults              0       0</code></p>
<p>4.) Add a bridged network interface:<br />
<code>brctl addbr br0<br />
brctl setfd br0 0</code><br />
- bring up the bridge with a given IP<br />
<code>ifconfig br0 <ip> promisc up</code><br />
- add the existing interface and set it to a bad<br />
<code>brctl addif br0 wlan0<br />
ifconfig wlan0 0.0.0.0 up</code></p>
<p>5.) Bootstrap a basic system<br />
<code>mkdir machine<br />
sudo debootstrap --arch i386 karmic machine</code></p>
<p>6.) Create a config file:<br />
<code>lxc.utsname = my_ssh_container<br />
lxc.network.type = veth<br />
lxc.network.flags = up<br />
lxc.network.link = br0<br />
lxc.network.ipv4 = 192.168.9.151/24<br />
lxc.network.name = eth0<br />
lxc.mount = /var/lxc-machines/machine/fstab<br />
lxc.rootfs = /var/lxc-machines/machine/rootfs<br />
</code></p>
<p>7.) Create the machine:<br />
<code>lxc-create -n trac -f /var/lxc-machines/machine/config</code></p>
<p>8.) edit the appropriate files on the guest<br />
<code>/etc/fstab:<br />
none	/dev/shm   	tmpfs  defaults 0 0<br />
none	/proc      	proc   defaults 0 0<br />
none	/dev/pts 	devpts defaults 0 0<br />
none	/sys		sysfs  defaults 0 0</code><br />
- /etc/resolv.conf<br />
- /etc/hosts<br />
- /etc/hostname<br />
&#8211; Set them up correctly</p>
<p><code>/etc/init</code><br />
- remove the following files:<br />
<code>rm control-alt-delete.conf hwclock.conf \<br />
hwclock-save.conf mountall.conf mountall-net.conf \<br />
mountall-reboot.conf mountall-shell.conf \<br />
networking.conf procps.conf rsyslog-kmsg.conf \<br />
tty2.conf tty3.conf tty4.conf tty5.conf \<br />
tty6.conf upstart-udev-bridge.conf<br />
</code><br />
- Create lxc.conf to generate things:<br />
<code>start on startup<br />
script</p>
<pre>
       &gt;/etc/mtab
       mount -a
       initctl emit virtual-filesystems
       initctl emit local-filesystems
       initctl emit remote-filesystems
       initctl emit filesystem
       ifdown eth0
       ifup eth0
</pre>
<p>end script<br />
</code><br />
- <code>/etc/apt</code><br />
grab the sources.list from the host (if guest is same as host) or make one</p>
<p>- <code>/etc/init/rc.sysinit.conf</code> and change the line:<br />
<code>start on filesystem and net-device-up IFACE=lo</code><br />
to:<br />
<code>start on filesystem</code><br />
<b>Important:</b> This seems to be fragile in that system updates seem to put it back. If all your machines won&#8217;t boot suddenly, check this.</p>
<p>- bootstrap a basic bash so the various nice utilities work:<br />
<code>lxc-start -n trac bash</code></p>
<p>- add user.<br />
- add admin group<br />
- set sudoers to allow admin group<br />
- add user to admin group<br />
- Generate locale: <code>sudo locale-gen en_US.UTF-8</code></p>
<p>9.) Start the machine:<br />
<code>lxc-start -n machine init &#038;</code></p>
<p>Start for real:<br />
<code>lxc-start -n machine</code></p>
<p>10.) Notes:</p>
<p>Console:<br />
<code>sudo lxc-console -n machine</code></p>
<p>Debugging:<br />
<code>lxc-start -l DEBUG -o $(tty) --name machine</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/02/20/lxc-basic-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows task manager vs ps</title>
		<link>http://www.mattcaron.net/2010/02/02/windows-task-manager-vs-ps/</link>
		<comments>http://www.mattcaron.net/2010/02/02/windows-task-manager-vs-ps/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 00:15:12 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3092</guid>
		<description><![CDATA[
So, I was fiddling with java stuff at work the other day, and was struck by just how useless windows task manager is.
When running several:
java -jar something.jar
GNU ps actually shows which is which, because it includes the name of the jar file.
Windows just shows javaw.exe for all of them, so you don&#8217;t know what you&#8217;re [...]
]]></description>
			<content:encoded><![CDATA[<p>So, I was fiddling with java stuff at work the other day, and was struck by just how useless windows task manager is.</p>
<p>When running several:</p>
<p>java -jar something.jar</p>
<p>GNU ps actually shows which is which, because it includes the name of the jar file.</p>
<p>Windows just shows javaw.exe for all of them, so you don&#8217;t know what you&#8217;re killing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/02/02/windows-task-manager-vs-ps/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>lxc is awesomes</title>
		<link>http://www.mattcaron.net/2010/02/02/lxc-is-awesomes/</link>
		<comments>http://www.mattcaron.net/2010/02/02/lxc-is-awesomes/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 23:49:22 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3088</guid>
		<description><![CDATA[
<a href="http://lxc.sourceforge.net/">http://lxc.sourceforge.net/</a>
Win.
(More to come. I&#8217;ll also be updating the community docs once I have all the kinks ironed out.)

]]></description>
			<content:encoded><![CDATA[<p><a href="http://lxc.sourceforge.net/">http://lxc.sourceforge.net/</a></p>
<p>Win.</p>
<p>(More to come. I&#8217;ll also be updating the <a href="https://help.ubuntu.com/community/LXC">community docs</a> once I have all the kinks ironed out.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/02/02/lxc-is-awesomes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is network mounted /usr/local obsolete?</title>
		<link>http://www.mattcaron.net/2010/01/30/is-network-mounted-usrlocal-obsolete/</link>
		<comments>http://www.mattcaron.net/2010/01/30/is-network-mounted-usrlocal-obsolete/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 23:02:40 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=3080</guid>
		<description><![CDATA[
It used to be that, back in the day, /usr/local was an NFS mount on a central server, with appropriate trickery so that each machine got the correct binaries for its architecture. This allowed for reduced storage requirements, plus easy upgrades of new applications. I question if this is an idea which has basically become [...]
]]></description>
			<content:encoded><![CDATA[<p>It used to be that, back in the day, /usr/local was an NFS mount on a central server, with appropriate trickery so that each machine got the correct binaries for its architecture. This allowed for reduced storage requirements, plus easy upgrades of new applications. I question if this is an idea which has basically become obsolete.</p>
<p>Given:</p>
<ul>
<li>computers have become a sufficient commodity that everyone has their own
</li>
<li>disk space (eg fast local storage) is cheap
</li>
</ul>
<p>We can evaluate our objectives in that context:</p>
<ol>
<li>Centralized application distribution is no longer necessary in that sense. Just add an additional in-house repository to your clients&#8217; existing repository list and you&#8217;ve done the same thing, only with fast local storage. I mean, I suppose you could still install them to /usr/local, but it wouldn&#8217;t be a network mount.
</li>
<li>On the individual machine side, I&#8217;d also tend to install things like video games in /usr/local, so that all users could share them &#8211; except there&#8217;s only one user on the machine, so what&#8217;s the point? For that matter, rather than installing whatever it was on two machines, just install it in your homedir and sync it amongst machines. For that matter, if it doesn&#8217;t work in the machine, just exclude it from the sync list.
</li>
</ol>
<p>I suppose that this isn&#8217;t really revolutionary, but I just realized that I was doing it stupidly, so I figured I&#8217;d share.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2010/01/30/is-network-mounted-usrlocal-obsolete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer security</title>
		<link>http://www.mattcaron.net/2009/08/31/computer-security/</link>
		<comments>http://www.mattcaron.net/2009/08/31/computer-security/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 00:01:28 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=2827</guid>
		<description><![CDATA[
The more one reads, listens, and researches computer security, the more it makes one want to sit on ones front porch and drink beer, because there&#8217;s nothing else you can do.
It isn&#8217;t helped by the fact that users are completely retarded and do things like stick MRI machines on the intertubes.

]]></description>
			<content:encoded><![CDATA[<p>The more one reads, listens, and researches computer security, the more it makes one want to sit on ones front porch and drink beer, because there&#8217;s nothing else you can do.</p>
<p>It isn&#8217;t helped by the fact that users are completely retarded and do things like <a href="http://blogs.pcmag.com/securitywatch/2009/05/conficker_attacks_mri_systems.php">stick MRI machines on the intertubes</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2009/08/31/computer-security/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SCADA</title>
		<link>http://www.mattcaron.net/2009/08/26/scada/</link>
		<comments>http://www.mattcaron.net/2009/08/26/scada/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 01:03:29 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mattcaron.net/?p=2817</guid>
		<description><![CDATA[
Don&#8217;t connect control systems to the intertubes!!!
Since we make such systems at work, this was the subject of some lively discussion at work today, especially since we make a unit which connects home via a cellular modem.
This stuff can be really, really scary if not done carefully.
What is even more scary are old, insecure protocols, [...]
]]></description>
			<content:encoded><![CDATA[<p><a href="http://it.slashdot.org/story/09/08/26/1214206/Offshore-Drilling-Rigs-Vulnerable-To-Hackers">Don&#8217;t connect control systems to the intertubes!!!</a></p>
<p>Since we make such systems at work, this was the subject of some lively discussion at work today, especially since we make a unit which connects home via a cellular modem.</p>
<p>This stuff can be really, really scary if not done carefully.</p>
<p>What is even more scary are old, insecure protocols, which were designed for isolated networks. <a href="http://www.digitalbond.com/wiki/index.php/Modbus#Security">Modbus, for example</a>. Don&#8217;t put old bad stuff on teh intertubes!!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcaron.net/2009/08/26/scada/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
