<?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>Paranoid Linux Ninja Geek &#187; linux</title>
	<atom:link href="http://dave.mysticmorph.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://dave.mysticmorph.net</link>
	<description>Info Security Kung Fu and Open Source Feng Shui</description>
	<lastBuildDate>Fri, 09 Apr 2010 23:51:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Systems Administration Documentation</title>
		<link>http://dave.mysticmorph.net/2010/04/09/systems-administration-documentation/</link>
		<comments>http://dave.mysticmorph.net/2010/04/09/systems-administration-documentation/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 23:51:05 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[philosophy]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=184</guid>
		<description><![CDATA[As a systems administrator, I periodically review the tools I use in my job.  I go back and evaluate if I&#8217;m using the best tools for the task and determine if there are new tools available, or new versions of existing tools that I already use, etc.  Based on what I find, if there are [...]]]></description>
			<content:encoded><![CDATA[<p>As a systems administrator, I periodically review the tools I use in my job.  I go back and evaluate if I&#8217;m using the best tools for the task and determine if there are new tools available, or new versions of existing tools that I already use, etc.  Based on what I find, if there are new tools or new versions of existing tools, I evaluate the level of effort to implement the new thing versus the utility the new thing provides.  In other words, if something new is out there, and it seems better than what I already use, I carefully analyze if upgrading/installing/configuring the new tool is worth my time versus what I&#8217;ll eventually gain from using the new tool.</p>
<p>I&#8217;ve gone through this process quite often, and most times its pretty fun to see new things become available that solve particular eccentricities or minor flaws in the tools I use already.</p>
<p>Recently, I&#8217;ve been on the &#8220;Am I documenting things as efficiently as I can?&#8221; kick.</p>
<p>First of all&#8230;  I&#8217;m not a fan or wikis.  Actually, I dislike wikis.  Most of them are atrocious, with very few exceptions.  I find directly editing HTML easier than editing wikis, with their ridiculous markup language &#8212; come on,  two single-quotes for italics; i.e., <code>''italics''</code>, three single-quotes for bold; i.e, <code>'''bold'''</code>, and FIVE single-quotes for bold+italics; i.e., <code>'''''bold+italics'''''</code>?  Really?  That&#8217;s 10 mofreakin SINGLE quotes to make something italicized and bold!  HTML?  Much easier.  <code>&lt;i&gt;italics&lt;/i&gt;</code>. <code>&lt;b&gt;bold&lt;/b&gt;</code> and <code>&lt;b&gt;&lt;i&gt;bold+italics&lt;/i&gt;&lt;/b&gt;</code> Ok, maybe not so much easier, but definitely less confusing.  So, when creating documentation that typically lives on a webpage, are wikis actually easier?  I&#8217;m inclined to think they&#8217;re not.  But editing isn&#8217;t the only reason.</p>
<p>I have a <a href="#philosophy">philosophy</a> on systems administration documentation, which I&#8217;ll get into later, but in essence it overcomes the chicken-and-egg problem.  Basically, if there is documentation for system administration about how to properly set up a wiki, where should this information be stored?  In a wiki?  Most wikis, like Mediawiki, store the information in a database.  Systems administrators need documentation about how to properly set up databases.  We just multiplied our chicken-and-egg problem by 2.</p>
<ol>
<li>Set up a database as a prerequisite to have a wiki</li>
<li>Document how to set up a database properly</li>
<li>Set up a wiki to hold the documentation</li>
<li>Document proper set up of a wiki</li>
</ol>
<p>Where does the information from #2 and #4 live?</p>
<p>HINT:  &#8220;Inside the wiki&#8221; is the wrong answer, and if this isn&#8217;t obvious to you, you should consider another career field because you are bound to have other more pressing problems than where to store your documentation.</p>
<p>Back to my periodic re-evaluation of tools&#8230;</p>
<p>In scouring the Interwebs for new and better tools for documentation, I found this <a href="http://www.ukuug.org/events/linux2008/programme/abstract-JDowland-1.shtml">abstract of a talk</a> from a Linux conference in 2008.  It speaks directly to the chicken-and-egg problem I&#8217;ve been pondering:</p>
<blockquote><p>Most professional teams will have some form of team documentation used as a reference by existing team members but also as a means of getting new staff up-to-speed. System administrators are no exception, but have their own set of additional requirements: lots of diverse, complex systems mean lots of procedures to recall. It&#8217;s also no good having procedures for repairing a database server stored in a database table.</p>
<p>I recently undertook a project to migrate Newcastle University UNIX team&#8217;s internal documentation from a simple filesystem-based scheme to a web-based wiki system using &#8220;mediawiki&#8221;, the software that powers Wikipedia. Once I had achieved this, it became apparent procedures and tools were necessary to help manage the continued review and updating of the documentation. I also became aware of several issues with the approach that impacted us specifically as systems administrators.</p></blockquote>
<p>The talk itself was probably much more detailed, but the issue is relatively simple.  You need to be aware of any circular dependencies you&#8217;re creating, and try like the dickens to avoid them.  Also, everyone relying on the documentation needs to be well aware of the limitations of the documentation system.  Sure, you can devise a documentation system that doesn&#8217;t store its information in a database, but there are other dependencies as well &#8212; documentation about how to fix a broken web server might not be best suited inside a wiki, since all wikis rely on web servers to operate.  Granted, you may be able to quickly erect a web server, but this itself creates an unnecessary complexity that needs to be overcome in order to access procedures detailing how to fix a different problem.</p>
<p>Most things in systems administration deal with these types of issues, which I&#8217;m going to try not to get into except to say that if you can deal with these types of problems you will probably be a very good systems administrator and not paint yourself into a corner of dependencies.</p>
<p>Back to documentation.  In the abstract of the talk, it mentions a &#8220;wiki compiler&#8221; as a possible solution to the documentation chicken-and-egg problem.  The concept is that it isn&#8217;t strictly a wiki itself, but a method to construct a wiki dynamically based on files on disk.  If the web server explodes, you still have the files.  The files aren&#8217;t stored in a database, so that dependency is removed as well.  Also, the files can be under a <a href="http://en.wikipedia.org/wiki/Revision_control">version control system</a>, so if an author makes a mistake somewhere this can be easily and quickly reverted.  One such &#8220;wiki compiler&#8221; is <a href="http://ikiwiki.info/">ikiwiki</a>, apparently.  The more I read about this concept, the more I like it.  I&#8217;m still researching documentation tools, but this is definitely one that I will be exploring more, if only because it seems to make the documentation itself less complex.</p>
<p><a name="philosophy">My systems administration documentation philosophy</a> is also considerably simple.  Systems documentation basically consists of only 3 types:  online, offline, and hybrid.</p>
<ul>
<li>Online systems documentation should only consist of procedures, concepts, ideas, and notes that have zero dependency on web servers, and not depend on any other part of an infrastructure needed to access the documentation itself.  A good example would be procedures about how to create a user account &#8212; creating a new user isn&#8217;t dependent on the wiki, the web server, or being able to access the documentation within.</li>
<li>Offline documentation is system details and procedures needed that deal directly with portions of the infrastructure that may be offline or broken; e.g., disaster recovery procedures.  This type of documentation is offline primarily to simplify the review/update process needed to keep the documentation current.  If procedures to restore data from tape are online, of course copies can be printed to use when/if a critical file server needs to be restored.  However, if the data is moved to a different location or the restoration procedure is modified in some way, the documentation needs to be updated.  If this information is kept online, the new information should be added, and then printed again, making sure to destroy the previously printed copies to avoid confusion.  Keeping critical information online quickly becomes a complex procedure in itself because the information needs to be kept offline on paper in the event of an emergency, and updating the information in multiple locations is prone to error and confusion.</li>
<li>Hybrid systems documentation is a mixture of offline and online.  Hybrid docs are normally created offline, converted or translated into online format, then added somewhere to be available online as well.  They are never edited online, to avoid having multiple conflicting documents that would cause confusion in an emergency.  DocBook is a good example of hybrid systems documentation:  a single source document is created from which other versions can be generated in HTML, PDF, PostScript, plain text, etc.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2010/04/09/systems-administration-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passwords are not a formality</title>
		<link>http://dave.mysticmorph.net/2009/12/07/passwords-are-not-a-formality/</link>
		<comments>http://dave.mysticmorph.net/2009/12/07/passwords-are-not-a-formality/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 19:08:57 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=181</guid>
		<description><![CDATA[I recently came across an encrypted password NOT where it should be.  The individuals involved probably didn&#8217;t realize what they had done, and it might be fixable by relocating and properly protecting the file containing this password (as long as the password has not been guessed, or the individuals involved change the password).  However, the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across an encrypted password NOT where it should be.  The individuals involved probably didn&#8217;t realize what they had done, and it might be fixable by relocating and properly protecting the file containing this password (as long as the password has not been guessed, or the individuals involved change the password).  However, the mindset will still remain.</p>
<p>Anyone that puts an important file with an encrypted password on more than a dozen computers, with permissions of the file being world-readable, doesn&#8217;t really understand the ramifications involved.</p>
<p>Since then, I have been trying to &#8220;crack&#8221; the password through regular means.  Given their usage pattern, I&#8217;m fairly certain the password is 8 characters long, at least one capital letter, one number, and one special character.  Sadly, only that much information probably won&#8217;t be enough for me to crack it without throwing more compute power at it.  The tough part is that its a salted hash, so I can&#8217;t really use <a href="http://en.wikipedia.org/wiki/Rainbow_table">Rainbow Tables</a>, and I&#8217;ve already tried dictionary attacks with Webster&#8217;s Dictionary.  So, I&#8217;ve resorted to brute-force automated guessing.  JTR seems pretty good at this, but even so it will probably take months to obtain the plaintext password.  It has been running for 11+ days so far.</p>
<p>The encrypted password in question is: {SSHA}KZhA0wzX4AThn9CkxBgYDmmy42pNY9ME</p>
<p>Salted SHA-1, of course.  If you know encryption algorithms, you already know what this is likely used for, but I won&#8217;t give that away.  I won&#8217;t tell you what its used for, or who it belongs to, or what you might do with it once you&#8217;ve cracked it, suffice to say the plaintext password in the wrong hands could cause some damage.</p>
<p>If you know of a quick way to crack such a password, other than what I&#8217;ve tried so far, drop me a line.</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/12/07/passwords-are-not-a-formality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Tools for Remembering</title>
		<link>http://dave.mysticmorph.net/2009/11/12/password-tools-for-remembering/</link>
		<comments>http://dave.mysticmorph.net/2009/11/12/password-tools-for-remembering/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 07:58:36 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=177</guid>
		<description><![CDATA[I&#8217;ve been a reader of Slashdot.org for quite a while.  At least for 9 or 10 years if I recall correctly.  Every now and then a reader asks the Slashdot community a question regarding best practices and practical methods for remembering an arbitrary large number of passwords the average person needs to keep track of.  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a reader of Slashdot.org for quite a while.  At least for 9 or 10 years if I recall correctly.  Every now and then a reader asks the Slashdot community a question regarding best practices and practical methods for remembering an arbitrary large number of passwords the average person needs to keep track of.  The question is usually worded differently, but the need is usually the same &#8212; the passwords need to be kept safe, but portable, uncoupling them from specific software or platform as much as possible, and secure enough that if the file/software/computer were stolen the passwords (and the things the passwords unlock) would still be safe.</p>
<p>Recently, a <a href="http://ask.slashdot.org/story/09/11/10/2045258/Best-Tool-For-Remembering-Passwords">Slashdot submission in this context</a> was:</p>
<blockquote><p><em>&#8220;Lately I&#8217;ve been rethinking my personal security practices. Should my laptop be stolen, having Firefox &#8216;fill in&#8217; passwords automatically for me when I go to my bank&#8217;s site seems sub-optimal. Keeping passwords for all the varied sites on the computer in a plain-text file seems unwise as well. Keeping them in my brain is a prescription for disaster, as my brain is increasingly leaky. A paper notepad likewise has its disadvantages. I have looked at a number of password managers, password &#8216;vaults&#8217; and so on. The number of tools out there is a bit overwhelming. Magic Password Generator add-in for Firefox seems competent, but it&#8217;s tied to Firefox, and I have other places and applications where I want passwords. And I might be accessing my sites from other computers that don&#8217;t have it installed. The ideal tool in my mind should be something that is independent of any application, browser, or computer; something that is easily carried, but which if lost poses no risk of compromise. What does the Slashdot crowd like in password tools?&#8221;</em></p></blockquote>
<p>The response is filled with witty replies and interesting views and suggestions as per usual.  Nothing really new usually surfaces when someone asks this on Slashdot, since it seems the capacity to have passwords for online banking, social networking, work computers, home computers, blogs and whatever else grows and evolves faster than the ability to keep track of them all efficiently (and securely).</p>
<p>A while back, I <a href="http://dave.mysticmorph.net/2007/12/05/passwords-passwords-everywhere">wrote about my solution to this problem</a> after having tried to solve it different ways.  In that post, I detailed my evolution from a Java application on a USB keychain to a website called Clipperz.</p>
<p>Well, I have been using Clipperz for almost 2 years now.  It is immensely useful and efficient.  I have had ZERO problems.  Yes, none, nada. NO problems whatsoever.  How many things can you say that about?</p>
<p>Clipperz does seem to be growing in popularity, since the last time I remembered the question asked on Slashdot, hardly anyone recommended Clipperz.  This time, a few people mentioned Clipperz on Slashdot.  However, its been 2 years and Clipperz still has the &#8220;beta&#8221; status.  Granted, Google Mail was in beta for years until they became &#8220;production&#8221;, but still&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/11/12/password-tools-for-remembering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Update: My Very Own Linux</title>
		<link>http://dave.mysticmorph.net/2009/08/25/update-my-very-own-linux/</link>
		<comments>http://dave.mysticmorph.net/2009/08/25/update-my-very-own-linux/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 22:52:10 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[critical thinking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=156</guid>
		<description><![CDATA[It has been a few months since I decided to create my own Linux distribution, and nary an update since then.  So, I figured I&#8217;d create an update&#8230; to&#8230;  update&#8230;  you.
Anyway&#8230;
I&#8217;m actually still in the initial stages, in the overall context of the project.  Basically, to create a Linux distribution (from scratch, as I am [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a few months since I decided to create <a href="http://dave.mysticmorph.net/2009/05/14/my-very-own-linux/">my own Linux distribution</a>, and nary an update since then.  So, I figured I&#8217;d create an update&#8230; to&#8230;  update&#8230;  you.</p>
<p>Anyway&#8230;</p>
<p>I&#8217;m actually still in the initial stages, in the overall context of the project.  Basically, to create a Linux distribution (from scratch, as I am doing), it begins similar to a chicken-and-egg problem.  You have to use an existing system to create building blocks, and use the building blocks to create a complete toolset.  Then, you use the toolset in a limited environment, which makes zero assumptions (a &#8220;chroot&#8221; environment, for geeks out there), to begin construction of the target system.</p>
<p>While doing this is actually pretty straightforward, usually, the difficulty and complexity enters the stage when thoughts about the future begin to crop up.  Issues such as future maintenance and automation complicate matters because while there might be a working toolset to construct a target system, no one wants to have to manually create the target system each time something changes.  Also, if something changes within the toolset itself, the component will need to be rebuilt, or worse, the entire toolset will require rebuilding such that the whole thing remains cohesive.</p>
<p>This is similar to around the time when man first thought about hunting and killing for food.  He realized he could fashion a tool to make a weapon.  Next, he used the tool to create the weapon, which was then used to hunt and kill for food.  As evolution continued, he created more efficient tools, to in turn create better weapons that would enable him to hunt and kill more exotic food.  The same general principle exists when creating a Linux distribution &#8212; though, we&#8217;re not depending on the need to eat in our software toolchain, we are depending on the ability to make more software available, which will comprise a Linux distro.  The tricky part is to know how to manufacture tools in such a way that when a component in the process breaks, it is trivial to fix it so much to the point that if a tool very deep in the toolset breaks there is less need to re-manufacture everything that was built with it.  Henry Ford had a very good idea, with small replaceable parts.</p>
<p>At this point, I&#8217;m at the point that I have the toolchain built.  Before I go much further, I need to figure out a sensible way to maintain this toolchain so that if/when something becomes stale or breaks, I will spend less time repairing the toolchain and more time tending to the actual Linux software in the distribution.  Also, since the toolchain itself was build manually and painstakingly, I also need a system to churn out software using the toolset I have.  Perhaps a framework/system could be used for both maintaining the toolset, and maintaining the distro?</p>
<p>I&#8217;m quite sure this is not entirely a brand new problem &#8212; major Linux distros would have had to flesh this out very early on.  The trouble is, though, whatever they&#8217;re using to handle this type of framework, they&#8217;re not very up front in saying exactly what they use, what it does, or where it came from.</p>
<p>I know what I want my system to do.  I have a general idea how it should fit all together.  My dilemma is that I&#8217;m splitting my time between searching the Internet for any existing software to satisfy the need, and planning how I might create my own toolchain/distro maintenance framework/system.  There are, actually, existing systems that do something along these lines, but they were designed for very specific purposes, and implemented with specific needs in mind, which resulted in assumptions that require specific platforms.  Not very useful in my case, because I&#8217;m creating from scratch with no assumptions.</p>
<p>Eventually, I will have an automated system that will:</p>
<ul>
<li>institute modularity wherever practical</li>
<li>automatically rebuild (with dependent software if necessary) anything that needs updating/fixing</li>
<li>handle both the toolchain itself, and the target Linux software</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/08/25/update-my-very-own-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Online Operating System Creation</title>
		<link>http://dave.mysticmorph.net/2009/08/04/online-operating-system-creation/</link>
		<comments>http://dave.mysticmorph.net/2009/08/04/online-operating-system-creation/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 06:18:47 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=153</guid>
		<description><![CDATA[A few months ago, I came across an interesting website in my browsing of OpenID sites, which I do regularly here and here.  The site I stumbled upon was in beta, so I made a note of it, and carried on.  Later, I was invited to participate in the beta, and I gotta say&#8230;  it [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I came across an interesting website in my browsing of OpenID sites, which I do regularly <a href="https://www.myopenid.com/directory">here</a> and <a href="http://openiddirectory.com/">here</a>.  The site I stumbled upon was in beta, so I made a note of it, and carried on.  Later, I was invited to participate in the beta, and I gotta say&#8230;  it rocks.</p>
<p>The site, now released to the public, is <a href="http://susestudio.com">Suse Studio</a>.  The concept behind the service is that you can remotely create, per your preferences, a Linux distribution, based on a recent Suse flavor &#8212; basically, either OpenSUSE or SUSE Enterprise Linux.</p>
<p>How does it work?  You login (with OpenID, or after creating an account), select a base to begin with;  GNOME, KDE, generic X, text only, etc.  You can select 32-bit or 64-bit.  Then, you can select software to be installed down to the specific package.  You can even upload your own packages &#8212; rpm, .tar, .tar.gz, .tgz, .tar.bz2, .tbz, or .zip, specify particular software repositories, or choose from over 300 pre-existing software repositories (some with rarely found packages, such as ATI or nVIDIA drivers).  After selecting software to be installed, you are brought to a configuration webpage that allows you to completely configure the system prior to building it, with the added option of uploading your own customized files.  After building the system, it can be tested via &#8220;test drive&#8221; &#8212; completely able to log into the newly built system via the website.</p>
<p>Once the system has been built (and optionally tested), it can be downloaded and installed as either:  Disk image, LiveCD (ISO image), Xen virtual machine, or VMware appliance.</p>
<p>The service is intelligently laid out, and quite intuitive, enabling the user to create systems within minutes.  Suse Studio routinely clears out built systems, but keeps the meta-info such that systems specified previously can be re-built easily and quickly.</p>
<p>It really seems to be a well thought out service.  I have experienced other web services that allow the user to build a Linux distribution, but never anything this detailed.</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/08/04/online-operating-system-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Very Own Linux</title>
		<link>http://dave.mysticmorph.net/2009/05/14/my-very-own-linux/</link>
		<comments>http://dave.mysticmorph.net/2009/05/14/my-very-own-linux/#comments</comments>
		<pubDate>Thu, 14 May 2009 16:32:17 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=136</guid>
		<description><![CDATA[Lately, I&#8217;ve been toying with the idea of creating my own Linux distribution.  Why?  Well, for starters I think it would be a good thing to do in order to gain a better understanding/appreciation of the process.  Linux distributions, in my mind, have all failed in subtly minor ways for a variety of reasons.  Sure, [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve been toying with the idea of creating my own Linux distribution.  Why?  Well, for starters I think it would be a good thing to do in order to gain a better understanding/appreciation of the process.  Linux distributions, in my mind, have all failed in subtly minor ways for a variety of reasons.  Sure, nothing is perfect, but with the power and efficiency of the Open Source movement, you&#8217;d think that it would approach something better than the current state.  Another reason for rolling my own distro?  To see if I can.  I have a very vague and general understanding of how it is accomplished, but by doing it myself maybe I can add something to it that nobody has thought of, thereby making it better, which is generally what the entire Open Source concept is about.</p>
<p>But, Dave&#8230;  There are well over 800 Linux distributions out there already.  What makes you think you can compete?</p>
<p>Competing is not the point.  The point in mountain climbing is not to see who can reach the top first, but to learn something about yourself, and generally &#8220;because its there&#8221;.  If my Linux distro gains momentum and ends up being something more than just a hobby/pasttime, great!  If it doesn&#8217;t, that&#8217;s fine too.  I&#8217;m not going to make any promises to anyone, at first, because this will be to used fulfill my own needs which don&#8217;t necessarily apply to anyone else.  If I later discover that other people have needs similar to mine, we&#8217;ll talk about where to go from there.</p>
<p>Basically, there are two approaches in creating your own Linux distribution:  building from scratch, and basing it on existing.  Some Linux distros are based on other Linux distros.  For example, Ubuntu was created out of re-building software packages from the Debian/GNU Linux distribution, but Debian was created from scratch by hundreds of volunteers.  Ubuntu itself has spawned derivative Linux distributions; Kubuntu, Xubuntu, Ubuntu Studio, and Mythbuntu to name a few.  Both methods have their advantages and disadvantages, and both are equally valid (and probably equally popular).</p>
<p>A few existing Linux distros come with their own &#8220;roll your own&#8221; application that will automagically create a customized ISO image that you can use to modify/install/spin/fold/mutilate to your heart&#8217;s content.  Yes, the method bases it on a specific Linux distro, but it will be relatively different depending on the customizations you&#8217;ve set in place.  For example, Fedora has <a href="http://revisor.fedoraunity.org/">Revisor</a>.  There are also non-distro-specific utilities on the web such as <a href="http://www.instalinux.com/">Instalinux</a>, as well as complete Linux distros based on customization and optimization in which everything is built from source &#8212; <a href="http://distrowatch.com/table.php?distribution=gentoo">Gentoo</a>.</p>
<p>The other method is to construct a Linux distribution completely from scratch, appropriately named <a href="http://www.linuxfromscratch.org/">Linux From Scratch</a> (<a href="http://www.linuxfromscratch.org/">LFS</a>).  While this approach isn&#8217;t entirely difficult initially &#8212; its just building binary files from source files &#8212; it is time-consuming.  It is also recursive, meaning that software you compile in the beginning stages are depended upon by other software you build later, and you&#8217;ll have to start over from the point of contention if you discover something broken.  This is termed &#8220;building the toolchain&#8221;.  Building software so that you can build other software with it, that software becomes dependent on the initial software build, which is then used to build even more software &#8212; creating a chain of software used to create a system, which will be bundled together to form an installation, and a Linux distribution.  That&#8217;s the easy part.  The hard part isn&#8217;t in building the software; its in <em>maintaining</em> the whole thing such that when a bug is discovered it is easily and quickly patched/fixed and the remaining components of the toolchain remain relatively unaffected or are automatically rebuilt using the new link in the toolchain.</p>
<p>Whatever method used to build the Linux distribution, there still needs to be some point to the exercise, else time invested is wasted in making an exact copy of something that could have been simply downloaded to begin with.</p>
<p>My goals:</p>
<ul>
<li>Hybrid approach, mixing Linux From Scratch with useful tools from established distributions.</li>
<li>A practical level of security in the system, without sacrificing usability.</li>
<li>An agnostic mindset for software packages, trying not to rely on one set of software built for one distribution.  A best of breed path would be ideal, taking the best software from well known distributions, and possibly introducing software that is not available in any Linux distro.</li>
<li>Initially, aim at the desktop and see how that goes before configuring things for a server platform.</li>
<li>Simple for the user, but without the cost of being difficult or complicated for the system administrator (who is often the user also).</li>
</ul>
<p>I&#8217;ve had quite a few discussions with friends about what I should name it. After all, that&#8217;s the most important aspect of a Linux distribution, right?  Amazingly, in the discussions about naming my distro, no one ever asked me what I wanted it to do &#8212; but everyone has suggestions for a name.  I guess in the age of Google, and Yahoo, the name doesn&#8217;t have to be related to what it does.  I have a pretty good idea what I want to name it, but that may change later.  Considering there are over 600 distributions of Linux in circulation, a few hundred discontinued, and a few hundred more about to be announced (some of which might be discontinued in a few months), the name doesn&#8217;t matter that much to me as long as it isn&#8217;t completely ridiculous.  Douchebag Linux doesn&#8217;t smack of &#8220;Download me!  Use me!  I&#8217;m useful!&#8221;  On the other hand, Master of All Linux sounds good, but is probably just a tad too ambitious.</p>
<p>I wish there was a quick way to check if a name is already taken.  Like a global registry, or something that I could search for to determine if a name is used.  <a href="http://www.distrowatch.com">Distrowatch.com</a> is good, but there is a 90 day waiting period for a Linux distro to be added to the list because &#8220;this is to discourage submission of new projects that start with great enthusiasm only to vanish in a few short months&#8221;.  Like I said&#8230;  Easy to start, difficult to maintain.  Incidentally, <a href="http://paranoidlinux.org/">ParanoidLinux</a> is on the waiting list to be added to Distrowatch.  Its not mine, but I get quite a few people that read this blog after searching for that particular distro.  I wonder why&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/05/14/my-very-own-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eBook Reading, Readers, and Ethos</title>
		<link>http://dave.mysticmorph.net/2009/04/15/ebook-reading-readers-and-ethos/</link>
		<comments>http://dave.mysticmorph.net/2009/04/15/ebook-reading-readers-and-ethos/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 23:58:04 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=116</guid>
		<description><![CDATA[I read eBooks back in the late &#8217;90&#8217;s on my PalmPilot.  It was small, difficult to read, and the text scrolled down the screen automatically.  There weren&#8217;t very many ebooks to read, either, but I managed to find a few to satisfy my need for reading.  Since it was on my PalmPilot, while I couldn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I read eBooks back in the late &#8217;90&#8217;s on my <a href="http://en.wikipedia.org/wiki/Palm_pilot">PalmPilot</a>.  It was small, difficult to read, and the text scrolled down the screen automatically.  There weren&#8217;t very many ebooks to read, either, but I managed to find a few to satisfy my need for reading.  Since it was on my PalmPilot, while I couldn&#8217;t take notes on the actual pages of the ebook, I could take notes elsewhere on the device through the touchscreen and its ability to understand pseudo-handwriting.  The PalmPilot was actually designed for things other than reading ebooks, though.  Reading ebooks was an afterthought, possible with software created by a 3rd-party software developer.  Eventually, I stopped reading on my PalmPilot for various reasons, and ended up not using the device very much for anything at all.</p>
<p>Recently, on a plane trip, I sat next to a kind gentleman that started to read a Kindle in the middle of the flight.  I heard good and bad things about these devices, and my curiosity piqued.  I didn&#8217;t want to disturb the guy, though.  You don&#8217;t see people commenting or asking questions about a book someone begins to read because its generally rude and disruptive.  I decided to ask him anyway, &#8220;Do you like reading on that?&#8221;</p>
<p>His head popped up, looked at me, and smiled.  He paused what he was doing and proceeded to tell me all about his device.  &#8220;I imagine most Kindle owners would love to talk to anyone about theirs,&#8221; he explained, so I would feel less guilty about interrupting him.  He explained that it was an Amazon Kindle 2, and he was reading a free ebook.  It seemed like everything he explained to me about his electronic reader was good, and I probed further to find something bad about it.  Finally, he told me that the 5-way rocker switch, used to control the menus and select text, was a little too small for his fingers and that he would sometimes accidentally press down instead of left or right, so he figured the best way to overcome this was to use the sides of his fingers and fingernails.  This was hardly something bad about the device, and he made it seem like it was more a problem of his anatomy than with the device itself.</p>
<p>&#8220;I can buy books anywhere, and have them in 30 seconds,&#8221; he told me.  He explained that the Kindle 2 has wi-fi built in, and he could get on the Internet, go to the Amazon store, buy books, and download them to the Kindle faster than you can boot a computer.  I was impressed.</p>
<p>I asked him if he could download the ebook later on, if something happened to the device or the ebook.  It seems that once you buy an ebook from Amazon.com, its yours.  You can download it as many times as you like, which I had heard was a problem with previous incarnations of ebooks from various book stores in that once you buy a ebook and download it, you&#8217;re on your own.</p>
<p>Then, I asked him about the battery, since I was curious about how long a device like this can operate without needing to be recharged.  He told me that he has used his for weeks before, without needing to be recharged.  Again, I was impressed.  It is mainly due to the screen display technology, called &#8220;electronic ink&#8221;, or e-ink.  It is made in such a way that the screen doesn&#8217;t need to be refreshed frequently, relieving the battery from being needed all the time &#8212; the battery gets used really only when the screen gets refreshed, when the page is changed.</p>
<p>&#8220;Can you put other things, besides books, in it?&#8221;  He told me that he could put MP3s in it to listen to, and also visit websites, but it kinda sucks as a web browser.  I explained further, &#8220;What about like PDFs, or other documents?&#8221;  He explained that he could email PDFs to Amazon, which would convert them into something to be read on the Kindle, but it wasn&#8217;t always perfect and it wasn&#8217;t entirely free &#8212; 10 cents a document.</p>
<p>He seemed to absolutely love his Amazon Kindle 2.  After I was satisfied that he answered my questions, I thanked him for showing me, and tried to leave him alone.  After that, it seemed like he was searching for more things to tell me about his ebook reader.  He showed me that he could take notes on pages, search for text within a book and across books, and that he could store about 1,000 books.  He also demonstrated that, if he wanted to, the Kindle could read the books to him via the text-to-speech.  I listened to it for a few phrases, then he turned that feature off.  That didn&#8217;t impress me very much, because it sounded really robotic and reminded me of a <a href="http://en.wikipedia.org/wiki/Speak_%26_Spell_(toy)">Speak &amp; Spell</a>.  It isn&#8217;t something I would want to listen to for very long.</p>
<p>I thought it was a wonderful device, and how that must be handy to carry so many books around in such a small form, with the added ability to take notes, search, and buy more books whenever you needed.  The thought of having such a device rolled around in my head for the next few days or so.</p>
<p>. . .</p>
<p>I&#8217;m the type of reader that frequently reads technical books.  Oh, I&#8217;ll read a good biography or historical fiction, sprinkled with a few humor books now and then, but mainly I read non-fiction.  Programming languages, Internet and technology concepts, and even some computer security books for good measure.  Usually, I have more than a couple bookmarks in the books I read.  I&#8217;ll get a book, read it cover to cover, and then put placeholders in and use the book as a reference until it becomes obsolete or innaccurate.  Other books I read, I&#8217;ll read them once or twice, and won&#8217;t have any bookmarks at all other than a placeholder if I get interrupted.</p>
<p>Since I read technical books, I subscribe to <a href="http://my.safaribooksonline.com">O&#8217;Reilly&#8217;s Safari</a> for my fill of computer geek-reading.  I pay a monthly fee to have a number of books on my electronic bookshelf, and can download a few chapters here and there to read offline.  The chapters are downloaded as PDF files, which makes them relatively portable since PDF viewer software is readily available pretty much anywhere.  How awesome, I thought,  would it be to have a handheld device with these PDFs in them.</p>
<p>. . .</p>
<p>As with most technical purchases i consider, I research quite a bit.  Mostly, I try to determine if the purchase I might make is technically solving my needs, but then I look at it from a cost analysis &#8212; will the thing I buy be the most/best I can get for the money?  Things usually aren&#8217;t that cut-n-dry, though.  If something doesn&#8217;t solve my need/want, I move onto something else.  If something solves my need, I look at price.  If it costs too much, I weigh the price against the features, deciding if the feature is worth the price.  If a feature costs too much, I might weigh that feature against the possibility of a future need.  Then, I look at how long I plan to keep the purchase, how much I plan to use it, and weigh that against the total cost of purchasing.  In other words, it had better have all the things I need, not much else, and be usable for the entire time I plan on using it, and not be too expensive for what I plan to do with it, but if its more expensive than I expect it should have things that justify the cost.</p>
<p>I&#8217;ve done quite a bit of research in purchasing an eBook reader, thinking about how I might use one, and reading/listening to what other people say about them.</p>
<p>Amazon Kindle (1 &amp; 2) don&#8217;t justify the price, for my needs.  Kindle 1, the first iteration, is about $289.00. Kindle 2 is about $359.00  They both have e-ink, wireless transfer of books, searching, built-in dictionary, and weighs roughly 10 ounces, with a battery life measured in weeks (actually its measured in page-turns, so your use depends on how much you read rather than the device sitting around idle).  This seems like a pretty good deal, as long as the main thing you want to do is buy and read books from Amazon.com.  Outside of Amazon, it gets sketchy.  Amazon says the PDF reading portion is &#8220;experimental&#8221;, and requires you to email your PDF files to Amazon as there is no software to convert file formats that comes with the Kindle.  This seems like a pain to me, especially if the PDF ends up not readable.  I&#8217;m not even going to go down the path of considering limitations in email (what if the PDF I want to read is too big for email?  what happens when someone spams the email address?).  Since I was used to writing and taking notes, I was sorta looking for something that would let me do that.  The Kindle does have note-taking abilities, but you have to use the tiny Blackberry-style keyboard.</p>
<p>The next device I researched, after many different forums <a href="http://www.mobileread.com/forums/">here</a>, <a href="http://www.ebookimpressions.com/forum/default.asp">here</a>, and <a href="http://resources.bnet.com/topic/e-books+and+open+ebook+forum.html">here</a>, was the <a href="http://www.bookeen.com/">Cybook by Bookeen</a>.  Not entirely a bad device, actually.  Comparitavely priced with the Amazon Kindle, and has similar features sans the ability to buy/download books directly from the device.  My main concern here was it seems to be <a href="http://www.mobipocket.com">Mobipocket</a>-specific, as it relies on that format for the books within.  While Mobipocket is a well known ebook format, and has a rather extensive library, the Mobipocket book store didn&#8217;t seem to carry much of what I would typically read.  Also, the Cybook seems to rely quite heavily on the <a href="http://www.mobipocket.com/en/DownloadSoft/ProductDetailsReader.asp">Mobipocket Desktop Reader</a> software to do much of the conversion from other formats like HTML and PDF.  Also, it has no touchscreen, and the only ability I can see as far as note-taking is in the form of bookmarks, but the documentation isn&#8217;t very clear if you can attach a note to the bookmark.</p>
<p>Another ebook reader that seemed to be within my price range was the <a href="http://www.jinke.com.cn/Compagesql/English/embedpro/prodetail.asp?id=41">Hanlin eBook V3</a>.  It seems to support a very large variety of formats &#8212; actually the most aside from the iLiad, which I&#8217;ll talk about next.  The potential drawback is that the Chinese company that makes the Hanlin, Jinke, decided to create its own proprietary ebook format, Wolf, to be its primary ebook format for the device.  While this is typically what large manufacturers do so that they can proliferate their devices and lock-in customers for future products, Jinke is a relative unknown in the United States.  Also, I have no idea what I would do if I needed to send the reader back &#8220;to the manufacturer&#8221; if it ceased functioning under warranty, and the Jinke Support Forum is disturbingly sparse, but riddled with complaints like:</p>
<blockquote><p><span id="copyid" style="font-size: 9pt;">When the developer is going to begin answering questions about units already bought (LBook V8)?<br />
Thank you.</span></p></blockquote>
<p>&#8230;from a few years ago.  No touchscreen, also relies on Mobipocket, and has no note-taking ability.  Surprisingly, it isn&#8217;t even USB 2, it is ancient USB 1.1, which would make transferring of large ebooks a sit-and-wait process.  Not worth the $300 price tag, in my view.</p>
<p>In stark contrast is the <a href="http://www.irextechnologies.com/products/iliad">iLiad</a>, by iRex.  This thing is a monster.  Anything that you can print from a PC can be read on the iLiad.  Touchscreen.  Not <strong>just</strong> a touchscreen, though.  You can write on the screen, to take notes.  The notes can then be transferred to a PC or another iLiad where you can have other people annotate your notes, and then transferred back to the iLiad.  It had games &#8212; crossword puzzles and Sudoku, if you want.  It has a wireless connection, like the Amazon Kindle, but runs on Wifi rather than a 3G network.  There is very little you cannot do with this baby, it seems.  Price?  Are you sitting down?  This monstrosity will set you back about $700.  (read: approaching the price of a brand new Tablet PC)  It goes without saying (but I&#8217;ll say it anyway), this thing is way out of my price range.  Yes, it has a ton of features, and will most likely be able to read just about anything I throw at it, but the price is just too high for the device, considering a few of the features are not that important to me and thus will probably not end up using.</p>
<p>So, what did I finally settle on?</p>
<p><a href="http://wiki.mobileread.com/wiki/PRS700">Sony PRS-700</a>. It has a long list of supported formats, a touchscreen (with on-screen keyboard), a built-in front light for reading in the dark, and bookmarks and note-taking capabilities.  All for around $350.  Now, fans of the previous incarnation (<a href="http://wiki.mobileread.com/wiki/PRS505">PRS-505</a>) will tell you that the PRS-700&#8217;s screen is dark and full of glare, but they say that when they compare it to the PRS-505, which doesn&#8217;t have a touchscreen or a built-in light.  I went for functionality, and features, trying not to compromise readability too much.  It has electronic ink, but you&#8217;re reading it through a touchscreen, on a recessed panel so that the lights are able to shine onto the panel from the side.  I would imagine the $700 iLiad suffers from the same problem, but not many people have those obscene devices, so really it came down to what I wanted the device to let me do, and not necessarily how good it looked.  Speaking of how good it looks, the looks of the device (and the PRS-505) are sleek and professional, which impressed me more than the Amazon Kindle.  Granted, the Amazon Kindle and the two Sony readers were the only ones I actually have been able to hold in my hands, I was most impressed with the PRS-700.  Sony is marketing the 700 as an upscale version of the 505, and not a replacement, mainly for the reasons I just stated.</p>
<blockquote><p>[<em>Update:</em> It occurred to me that there's an entire string of stuff I haven't talked about, which actually pushed me over the edge to get the PRS-700 -- 3rd-party software.  A very smart individual created an Open Source application named <a href="http://calibre.kovidgoyal.net/">calibre</a>.  It runs non-concurrently (alone and separate) from the software that comes with Sony's eBook Reader, and is <strong>VERY</strong> handy.  The function is basically that it catalogs the ebooks you buy/download from various sources outside of <a href="http://ebookstore.sony.com/">Sony's ebook store</a>.  It also allows you to convert it into one of <a href="http://calibre.kovidgoyal.net/user_manual/faq.html#what-formats-does-app-support-conversion-to-from">3 formats</a> suited for the reader device, from a large variety of formats that are foreign to the Sony reader.  In all actuality, Sony needs to send this guy a check, because he has increased the device's usefullness exponentially, opening the reader to a vast inventory of possibilities for content not just limited to Sony's ebook store.]</p></blockquote>
<p>I love it.  It is Sony, and while I&#8217;m generally not a huge fan of Sony&#8217;s computers, all my home appliances (TV&#8217;s, DVD players, VCR, etc.) are made by Sony.  They have an attention to detail that is hard to beat.</p>
<p>In case you&#8217;d like to do all the research about these yourself, feel free.  A good starting place is the huge <a href="http://wiki.mobileread.com/wiki/E-book_Reader_Matrix">matrix of eBook Reader devices</a>.</p>
<p>One thing you might want to keep in mind, however, is that it is an evolving market.  As new devices are released, the manufacturers typically align themselves with content partners (ebook stores, which are associated with publishers).  So, depending on the device you decide on, you may be locking yourself out of specific content.  Also, the larger manufacturers tend to produce the device such that it works best with their own proprietary format of books, so be careful.</p>
<p>Since it is an evolving market, there seem to be a few ebook reader devices about to come out, but have yet to be released.  There is the <a href="http://www.plasticlogic.com/product.html">Plastic Logic Reader</a>, set to be available in 2010. Also, there will be the <a href="http://www.foxitsoftware.com/ebook/">eSlick Reader</a>, releasing in May for $260, which claims that you can convert any document to PDF and read it, implying that it only relies on ebooks being in PDF form.</p>
<p>That&#8217;s all I really have, and should go because I have about 50 books loaded up and have started reading about a dozen of them already.</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/04/15/ebook-reading-readers-and-ethos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX in Scalable Vector Graphics</title>
		<link>http://dave.mysticmorph.net/2009/04/09/latex-in-scalable-vector-graphics/</link>
		<comments>http://dave.mysticmorph.net/2009/04/09/latex-in-scalable-vector-graphics/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 23:18:20 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=98</guid>
		<description><![CDATA[For the uninitiated:
LaTeX has been around for quite a while, and is widely known in the scientific and academic community as being the best in desktop publishing and typesetting.  The principle is that the writer should be able to easily focus on the content/topic rather than being distracted by the way the resulting document appears.  [...]]]></description>
			<content:encoded><![CDATA[<h4>For the uninitiated:</h4>
<p><a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> has been around for quite a while, and is widely known in the scientific and academic community as being the best in desktop publishing and typesetting.  The principle is that the writer should be able to easily focus on the content/topic rather than being distracted by the way the resulting document appears.  Logical structure in articles, chapters, and sections are created by the author with visual presentation happening only after the content is complete.  LaTeX also makes it rather easy to create complicated mathematical formulae in a document otherwise not possible (or very difficult) with word processors &#8212; mainly the difference between word processing software and typesetting software, or What You See Is What You Get (WYSIWYG) versus What You See Is What You Mean (WYSIWYM).</p>
<p><a href="http://en.wikipedia.org/wiki/Svg">Scalable Vector Graphics</a> is a specification for creating 2-dimensional graphics from XML text files.  The resulting graphic images can be either static or dynamic, animated, or even interactive.  SVG is a relative newcomer in the field of graphic image formats, so it is not as widespread as say GIF or JPG.  SVG is also still in the early stages on the web, though there is some support in existing web browsers.  However, to compare SVG (vector images) to GIF or JPG (bitmap images) is tantamount to comparing apples to oranges.  Bitmapped images rely on dots, using positions and color for the dots.  Vector-based images rely on predefined shapes.  This means that vector-based images appear much sharper at very low resolutions where bitmap images begin to appear blocky and coarse.</p>
<h4>The cool part:</h4>
<p>Recently, a professor I work with came to me with a very specific need.  He wanted a particular piece of software that has been written as a plugin for <a href="http://www.inkscape.org/">Inkscape</a>, an SVG editor, that allows LaTeX code to be input into an object and rendered inside an SVG image.  Not only that, but once the LaTeX object is embedded into the image, you can re-edit the rendered LaTeX object by changing the LaTeX code.</p>
<p>Why is this cool?  Simple.  Before, if you wanted to create a mathematical formula or complicated diagram for use in an image say on a webpage, you either had to use LaTex to create your formula inside a document, then convert the document to an image, then edit the image to be used for presentation (i.e., on a webpage), or you had to <strong>manually</strong> draw the formula by hand and save that as an image. This was a tedious and often error-prone process, with the only payoff in the end being a <a href="http://rogercortesi.com/eqn/index.php">static image of a formula</a>.</p>
<div id="attachment_100" class="wp-caption alignnone" style="width: 218px"><a href="http://dave.mysticmorph.net/wp-content/uploads/2009/04/handy_eqn.gif"><img class="size-medium wp-image-100" title="handy_eqn" src="http://dave.mysticmorph.net/wp-content/uploads/2009/04/handy_eqn-300x124.gif" alt="Hand-drawn equation" width="208" height="78" /></a><p class="wp-caption-text">Hand-drawn equation</p></div>
<div id="attachment_113" class="wp-caption alignnone" style="width: 212px"><a href="http://dave.mysticmorph.net/wp-content/uploads/2009/04/eqn2395.png"><img class="size-medium wp-image-113" title="eqn2395" src="http://dave.mysticmorph.net/wp-content/uploads/2009/04/eqn2395.png" alt="LaTeX rendered equation" width="202" height="65" /></a><p class="wp-caption-text">LaTeX rendered equation</p></div>
<p>Now, you can create mathematical formulae inside SVG images with simple LaTeX code inside an SVG editor.  The plugin for <a href="http://www.inkscape.org/">Inkscape</a> is called <a href="http://www.elisanet.fi/ptvirtan/software/textext/index.html">Textext</a>, and will allow you to re-edit the rendered LaTeX formula after it has been rendered inside the SVG image.</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/04/09/latex-in-scalable-vector-graphics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop Virtualization: Into the Virtual Fray</title>
		<link>http://dave.mysticmorph.net/2009/03/19/desktop-virtualization-into-the-virtual-fray/</link>
		<comments>http://dave.mysticmorph.net/2009/03/19/desktop-virtualization-into-the-virtual-fray/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 22:26:45 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=82</guid>
		<description><![CDATA[I&#8217;ve been a huge fan of virtualization for almost 10 years now, beginning with VMware&#8217;s first product, which I tried as a beta version.  Since then, I&#8217;ve tried other VMware products, and Xen, trying to capitalize on the server end by running multiple VMs on a single rackmounted machine (this works quite well, by the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a huge fan of virtualization for almost 10 years now, beginning with VMware&#8217;s first product, which I tried as a beta version.  Since then, I&#8217;ve tried other VMware products, and Xen, trying to capitalize on the server end by running multiple VMs on a single rackmounted machine (this works quite well, by the way, but also has disadvantages).</p>
<p>Recently, I&#8217;ve been playing around with other desktop virtual machine managers, trying to install as many operating systems as I can onto my trusty laptop (a Dell Inspiron 1525, with 3GB RAM, 100G hard drive, Intel Core2 Duo 1.83GHz, running Windows Vista), to see what could be accomplished in the way of running something on my machine without having to re-configure it into a <a href="http://en.wikipedia.org/wiki/Dual_boot">multi-boot mess</a>.  The point of this exercise is to gain the benefits of another operating system without having to reboot, wasting some time while I wait for booting to complete.</p>
<p>I&#8217;m using Sun&#8217;s <a href="http://www.virtualbox.org/">VirtualBox</a>, which is actually a pretty darn good desktop virtual machine manager.  Setup is easy, configuration of a virtual machine is fairly straightforward, it doesn&#8217;t take up much space, and best of all it doesn&#8217;t cost anything. VirtualBox can take advantage of VT-x/AMD-V if your chipset supports that function.  My Dell laptop does not, so I&#8217;m relying only on software virtualization.  A cool thing about VirtualBox is that not only will the software allow me to easily switch between virtual machine and regular host desktop (Windows Vista in my case), without &#8216;escaping&#8217; the virtual machine, but it has a function called &#8220;seamless mode&#8221;.  Seamless mode incorporates windows from a virtual machine desktop into the hosted desktop.  Seamless mode is only possible if the guest OS (the operating system in the virtual machine) is supported by <a href="http://www.virtualbox.org/wiki/Guest_OSes">VirtualBox Guest Additions</a>.</p>
<div id="attachment_87" class="wp-caption alignnone" style="width: 310px"><a href="http://dave.mysticmorph.net/wp-content/uploads/2009/03/virtualbox-nonseamless.jpg"><img class="size-medium wp-image-87" title="virtualbox-nonseamless" src="http://dave.mysticmorph.net/wp-content/uploads/2009/03/virtualbox-nonseamless-300x187.jpg" alt="Figure 1. Non-seamless VirtualBox" width="300" height="187" /></a><p class="wp-caption-text">Figure 1. Non-seamless VirtualBox</p></div>
<p>In Figure 1, you can see that the entire Xubuntu Linux desktop is a window on the Windows Vista desktop.  I am able to switch between the two via mouse, though the Alt+Tab trick doesn&#8217;t work as well because Xubuntu Linux captures my Alt+Tab keypresses and switches windows within the virtual machine desktop.  After pressing the right Ctrl key, Alt+Tab works, treating the Xubuntu virtual desktop as an application window on the Windows Vista desktop.</p>
<div id="attachment_88" class="wp-caption alignnone" style="width: 310px"><a href="http://dave.mysticmorph.net/wp-content/uploads/2009/03/virtualbox-seamless.jpg"><img class="size-medium wp-image-88" title="virtualbox-seamless" src="http://dave.mysticmorph.net/wp-content/uploads/2009/03/virtualbox-seamless-300x187.jpg" alt="Figure 2. Seamless VirtualBox" width="300" height="187" /></a><p class="wp-caption-text">Figure 2. Seamless VirtualBox</p></div>
<p>Figure 2 displays that there is no Xubuntu Linux desktop.  It has been incorporated into the Windows Vista desktop.  You can also see near the bottom of the screen that the Linux taskbar that was at the bottom of the virtual desktop in Figure 1 is now at the bottom of my Windows Vista desktop in Figure 2.</p>
<p><strong>Disclaimer</strong>:  No, I do not normally run Internet Explorer.  I only had it open during the screenshots to showcase that it is actually WIndows Vista, since I have a non-standard Vista desktop theme.</p>
<p>Another cool feature of VirtualBox Guest Additions is the ability to have a shared folder between the virtual machine guest OS (Xubuntu Linux, for example) and the host (Windows Vista in my case).  This particular feature, I *love*.</p>
<p>I&#8217;m often &#8220;printing&#8221; certain things into a Postscript file, converting it into a PDF, and archiving the PDF for historical filekeeping purposes (think: receipts you get from websites).  In Linux, I &#8220;print to file&#8221;, convert the Postscript file into PDF, and then archive the PDF file.  In Windows, this is not as cut and dry.  I can certainly &#8220;print to file&#8221; as Postscript, but converting to PDF is a bit more involved.  To overcome this, I have a Linux virtual machine running with a guest-to-host share in VirtualBox; Windows Vista sees this as a folder, and the Linux virtual machine sees this as a mounted directory.  I can &#8220;print to file&#8221; from Windows directly into the VirtualBox share, go into Linux, and &#8220;ps2pdf&#8221; the file, and it gets written as a PDF in the same place next to the original Postscript file.  From that, I can either view the PDF in Linux, or view it in Vista with Adobe Acrobat Reader.  There might be easier ways to accomplish this only in Windows, but I&#8217;m more familiar with the Linux tools, and in Linux I don&#8217;t have to launch a separate application.</p>
<p>So far, in VirtualBox, I have created virtual machines for Xubuntu, openSUSE v10.3, openSolaris v2008.11, Haiku, and even WIndows 7.  Haiku runs a bit slowly, though.  Each of these virtual machines have about 512MB RAM and no more than 6GB of hard drive space.  Keep in mind that the amount of memory you allocate for a virtual machine gets used by that virtual machine when it is running.  Similarly, hard drive space you declare for a virtual machine becomes occupied by that virtual machine&#8217;s hard drive on the physical machine in the form of a file.  My meager Dell Inspiron with 3GB RAM and 100GB hard drive, can handle the hard drive space and a few virtual machines running at the same time with a few signs of stress, but nothing major.</p>
<p>My next stop on this Virtual Desktop adventure is with some of the older operating systems I&#8217;ve used in the past, working on this laptop.</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/03/19/desktop-virtualization-into-the-virtual-fray/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Epoch milestone</title>
		<link>http://dave.mysticmorph.net/2009/02/09/unix-epoch-milestone/</link>
		<comments>http://dave.mysticmorph.net/2009/02/09/unix-epoch-milestone/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 07:36:39 +0000</pubDate>
		<dc:creator>Dave Le Blanc</dc:creator>
				<category><![CDATA[funny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dave.mysticmorph.net/?p=77</guid>
		<description><![CDATA[At 11:31:30pm UTC on Feb 13, 2009, UNIX time will reach 1,234,567,890.
For the uninitiated, UNIX time is based on the number of seconds since the &#8220;UNIX epoch&#8220;, which is 1970-01-01 00:00:00 UTC.  Practically speaking, UTC actually means Greenwich Mean Time, but GMT is not used in technical contexts and was replaced by UTC (or UT1) [...]]]></description>
			<content:encoded><![CDATA[<p>At 11:31:30pm UTC on Feb 13, 2009, UNIX time will reach 1,234,567,890.</p>
<p>For the uninitiated, UNIX time is based on the number of seconds since the &#8220;<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX epoch</a>&#8220;, which is 1970-01-01 00:00:00 UTC.  Practically speaking, UTC actually means Greenwich Mean Time, but GMT is not used in technical contexts and was replaced by UTC (or UT1) in 1972.</p>
<p>To find out when 1234567890 time will occur in your local time, there are a few ways to do this right on the command-line:</p>
<blockquote><p>date -d @1234567890</p></blockquote>
<p>or</p>
<blockquote><p>perl -e &#8216;print scalar localtime(1234567890),&#8221;\n&#8221;;&#8217;</p></blockquote>
<p>For me, in PST timezone, it will occur: Fri Feb 13 15:31:30 PST 2009.  I wonder if 1234567890 has anything to do with it being Friday the 13th.</p>
]]></content:encoded>
			<wfw:commentRss>http://dave.mysticmorph.net/2009/02/09/unix-epoch-milestone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
