<?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>Techthrob.com</title>
	<atom:link href="http://www.techthrob.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techthrob.com</link>
	<description>Words of Wisdom for Technologists</description>
	<lastBuildDate>Fri, 25 Sep 2009 22:38:02 +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>iSCSI 101: Setting up a simple iSCSI Storage Area Network</title>
		<link>http://www.techthrob.com/2009/03/07/iscsi-101-setting-up-a-simple-iscsi-storage-area-network/</link>
		<comments>http://www.techthrob.com/2009/03/07/iscsi-101-setting-up-a-simple-iscsi-storage-area-network/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 03:55:40 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[filesharing]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[scsi]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/?p=130</guid>
		<description><![CDATA[iSCSI 101: How to setup a Storage Area Network using iSCSI.  Using a file server and iSCSI, this article explains how to present a RAID array, a disk partition, or even an individual file, as a storage device which can then be formatted, partitioned, and mounted by a client.]]></description>
			<content:encoded><![CDATA[<h2><strong>Introduction</strong></h2>
<p>As storage requirements continue to grow, external storage is becoming increasingly popular.  While the simplest way to deal with this growing demand is to attach an external hard drive via USB, many users demand more power and flexibility; for example, the ability to provide storage over a network, or divide storage for various uses. For this, SAN, or Storage Area Network, is the most powerful tool available, and iSCSI is a free and common way to create a SAN.</p>
<p>This article will discuss how to create a simple Storage Area Network with a file server presenting storage to another machine.</p>
<h2><strong>Some SCSI Terminology</strong></h2>
<p>If you are already familiar with SCSI, you can skip this section.  Otherwise, give it a read before you continue.  I will be using these terms extensively throughout the rest of the article.</p>
<p><strong>Target</strong> -   Your iSCSI Target server is the server that physically has the storage, and is presenting it over the network to the initiator.  Essentially, your fileserver is your target.<strong></strong></p>
<p><strong>Initiator</strong> -   The initiator is the machine on which the target&#8217;s storage will be mounted and used, over the network.  This is your HTPC, your workstation, laptop, etc..<strong><br />
</strong></p>
<p><strong>LUN</strong> &#8211; I will be calling any unit of storage shared over iSCSI a LUN.  LUN actually stands for Logical Unit Number, or the number assigned to this unit of storage.  It is a logical unit (as opposed to a physical unit), so an entire RAID array, a single partition, even a file, can become a LUN and used for storage.</p>
<h2><strong>Setting up the Target</strong></h2>
<p>The first step is to setup your storage server with the necessary software.  You&#8217;ll have to install the iscsitarget daemon, which can be installed on Ubuntu/Debian systems with the command:</p>
<div class="linuxCommand">sudo apt-get install iscsitarget</div>
<p>Once that&#8217;s installed, it&#8217;s necessary to do some configuration in the /etc/ietd.conf file to specify what you want to share over the network.  You can share a block device (e.g, a hard disk, a partition), a RAID array, an <a title="Wikipedia Article on LVM" href="http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)">LVM device</a>, or even a file (this file  can be an ISO of a DVD, or just some empty file you&#8217;ve created to act as an independant storage device.  I&#8217;ll talk more about this later).  Here, I will be sharing a Linux MD device (a software RAID device) as well as a 50GB file.</p>
<h4>Configuring /etc/ietd.conf</h4>
<p>The ietd.conf file usually comes with some examples, but they&#8217;re confusing and not all that helpful.  It&#8217;s easier to just write your iSCSI target lines at the bottom, by hand.  The /etc/ietd.conf file is only readable and editable by root, so open it with your favorite text editor, for example &#8220;gedit&#8221;, like so:</p>
<div class="linuxCommand">sudo gedit /etc/ietd.conf</div>
<p>For my setup, sharing a single MD device and a single file, I added the following lines to my configuration file:</p>
<p><code>Target iqn.2009-01.voyager:storage.homeShare<br />
Lun 0 Path=/dev/md0,Type=blockio<br />
Lun 1 Path=/root/fiftyGBFile,Type=fileio</code></p>
<p>That&#8217;s all that I needed to configure in this file.  Obviously yours will be different; here is what the lines mean:</p>
<p><code>Target iqn.2009-01.voyager:storage.homeShare</code></p>
<p>This defines an iSCSI target, as discussed above in the terminology section.  The &#8220;iqn&#8230;&#8221; part is the target&#8217;s name, which must be unique.  The name takes the format:</p>
<p><code>iqn.YYYY-MM.[domainname]:[unique identifier]</code></p>
<p>YYYY-MM is the year and month that the target becomes valid, so it is the current year and month.</p>
<p>The domain name is the name of the machine on the network; if you are sharing over the internet, you will want to use your actual domain name (in reverse order, so com.example instead of example.com).  If you are just sharing over your home network, you only need to specify your hostname.</p>
<p>Finally, specify a unique identifier for this target.  I used &#8220;storage.homeShare&#8221;, because this is the share for my home.  You may chose something more descriptive, such as &#8220;mediaTarget&#8221; or &#8220;remote.backupServer&#8221;.</p>
<p>The next two lines specify which LUNs are shared through this target, starting with 0.  You must define a path and a type.</p>
<p><code> Lun 0 Path=/dev/md0,Type=blockio</code></p>
<p>In this example I am specifying /dev/md0 which is a 2TB software RAID volume, and /root/fifty50GBFile, which is a blank file I created using the command:</p>
<div class="linuxCommand">sudo dd if=/dev/zero of=/root/fiftyGBFile bs=512K count=102400</div>
<p>Of course, for files you could have chosen (for example) an ISO or IMG file, to be mounted by the iSCSI initiator as-is.  In this case, I created a blank file because I plan to write a filesystem to it and use it as a backup device.  Then, this file will contain an ext3 filesystem which can be mounted by any computer to access my backups, as opposed to having a physical disk for backup.</p>
<p>The Type= line determines how iSCSI will treat writing to the device.  In my case, I want to treat my RAID device using blockio, but the file I created using fileio.  If in doubt, use fileio, or read more about these two options in the manual for iscsi.</p>
<p>Once you have finished editing your ietd.conf file, save it and restart the iscsitarget daemon, for the changes to load:</p>
<div class="linuxCommand">sudo /etc/init.d/iscsitarget restart</div>
<p>Now you are ready to move on to the initiator, who will receive the storage from the target.</p>
<h2><strong>Setting up the Initiator</strong></h2>
<p>The first thing to do is install the initiator software, which is the open-iscsi package.  In Debian/Ubuntu Linux, this can be done with the command:</p>
<div class="linuxCommand">sudo apt-get install open-iscsi</div>
<p>Next, you will need to make sure it is started:</p>
<div class="linuxCommand">sudo /etc/init.d/open-iscsi start</div>
<p>Now, you need the initiator software to &#8220;discover&#8221; any iSCSI devices being shared by your storage server.  To do this, simply run:</p>
<div class="linuxCommand">sudo iscsi_discovery -d [server IP address]</div>
<p>If everything is setup correctly, the iscsi_discovery tool will report back that it has found a target.  For example:</p>
<p><code>jdeprizi@enterprise:~$ sudo iscsi_discovery -d 192.168.0.6<br />
Set target iqn.2009-01.voyager:storage.homeShare to automatic login over iser to portal 192.168.0.6:3260<br />
discovered 1 targets at 192.168.0.6, connected to 1<br />
</code></p>
<p>To verify that it worked correctly, you can run the command:</p>
<div class="linuxCommand">cat /proc/scsi/scsi</div>
<p>If all has gone as planned, you will see one &#8220;VIRTUAL DISK&#8221; for each LUN you created.  To see where these devices have shown up on your system, use the command:</p>
<div class="linuxCommand">cat /proc/partitions</div>
<p>In my case, I have created two LUNs; so I see two &#8220;VIRTUAL DISKS&#8221; of LUN 0 and LUN 1:</p>
<pre>Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: IET      Model: VIRTUAL-DISK     Rev: 0
  Type:   Direct-Access                    ANSI  SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 01
  Vendor: IET      Model: VIRTUAL-DISK     Rev: 0
  Type:   Direct-Access                    ANSI  SCSI revision: 04</pre>
<p>And when I view /proc/partitions, I see my devices at sdc and sdd:<br />
<code> 8    32 1953524992 sdc<br />
8    48    52428800 sdd</code></p>
<h2><strong>Controlling the devices</strong></h2>
<p>Finally, you are ready to use your iSCSI shared devices.  You can treat them like you would a normal disk attached to your system, which is the real power of this technology.  You can create a filesystem on them, even partition them into smaller pieces, as you would a physical hard drive.</p>
<p>This is mostly outside the scope of this article, but for a quick demonstration, if I were to format the 50GB LUN (sdd on my initiator) as ext3 and mount it, I could do:</p>
<div class="linuxCommand">sudo /sbin/mkfs.ext3 /dev/sdd</p>
<p>sudo mount /dev/sdd /media/backupdrive</p></div>
<h2><strong>Conclusion</strong></h2>
<p>Using iSCSI technology to create a simple Storage Area Network isn&#8217;t the easiest task imaginable, but it really isn&#8217;t too hard, especially for a basic home setup.  Sharing the devices over gigabit ethernet means file transfers are fast enough that you can use your network shares as if they are local, and, with iSCSI/SAN, you can treat them that way, too: creating partitions, writing individual file systems, and mounting them as their own devices.</p>
<h3>References</h3>
<p>The most useful documents, and also the most immediately available, are of course the man pages:</p>
<p><code>man ietd.conf<br />
man isciadm</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/07/iscsi-101-setting-up-a-simple-iscsi-storage-area-network/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>BTGuard Anonymizing Service: Is it worth it?</title>
		<link>http://www.techthrob.com/2009/03/02/btguard-anonymizing-service-is-it-worth-it/</link>
		<comments>http://www.techthrob.com/2009/03/02/btguard-anonymizing-service-is-it-worth-it/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:38:49 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[end-user]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=102</guid>
		<description><![CDATA[Introduction
BTGuard is a paid proxy service intended for bittorrent users.  For $6.95 a month you can use BTGuard to  hide your IP address from other downloaders and bypass any traffic shaping your ISP performs to limit your bittorrent usage.  I&#8217;ve given this service a try, with mixed results.  Read on for [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>BTGuard is a paid proxy service intended for bittorrent users.  For $6.95 a month you can use BTGuard to  hide your IP address from other downloaders and bypass any traffic shaping your ISP performs to limit your bittorrent usage.  I&#8217;ve given this service a try, with mixed results.  Read on for more.</p>
<p><Br /></p>
<div class="sectionHeader">How it works</div>
<p>BTGuard provides a Socks5 proxy, through which you pass your bittorrent (or other data) traffic before it goes out to other members of a bittorrent swarm.  As a result, the tracker, as well as anyone else on that torrent, will see the BTGuard IP address rather than your own; your identity effectively stays hidden from the public.</p>
<p>When you register for a BTGuard account, you set a username and password, which you use to identify yourself to the proxy.  This is called Socks5/A, or Socks5 with Authentication.  Consequently, the service will only work with programs that support this proxy scheme; most bittorrent clients do, with the notable exception of Transmission (now the default client for Ubuntu Linux). </p>
<p>It is possible to use the proxy for more than just bittorrent traffic; but as of yet I have been unable to find a web browser with Socks5/A support.  This includes Firefox, Opera, Konqueror, and Internet Explorer.  However, any program that has support for this protocol should work, and the primary intention of the BTGuard service is for bittorrent anonymization. </p>
<p>In my tests, I used various clients, including Deluge, Azureus, and uTorrent (running via Wine).</p>
<p><Br /></p>
<div class="sectionHeader">BTGuard in action</div>
<p><strong>Setup</strong><br />
Setting up your client to use BTGuard (after you have procured an account) is simple, and instructions are provided on the BTGuard website for the most popular clients.  The only information you have to fill in the proxy address and port number, as well as your username and password.  Once you configure your client to use the proxy, you&#8217;re good to go.</p>
<p><strong>Speed and reliability</strong><br />
Unfortunately, the speed of the BTGuard service isn&#8217;t quite up to par.  While my download cap from my ISP is quite high (I&#8217;ve often hit 2MB/s, sustained), when routed through BTGuard this falls to approximately 100KBps on average, with peaks around 300KBps and lows of 50KBps.  These speeds are sure to disappoint serious downloaders with fast connections, but for someone who only occasionally grabs a file or two it may be acceptable.  </p>
<p>Another problem with BTGuard is reliability; more than once I noticed my connection dropping entirely for short periods (about 30 seconds) before it would start up again.  I ran all tests with several Linux ISO files downloading at once, so I can say with certainty that the strength of the bittorrent swarm was not the issue; this is also a problem I only encounter when using the BTGuard proxy service.</p>
<p>Overall, using BTGuard will most likely mean a slower, less reliable connection (at least for now, or until they upgrade their systems to meet with demand), and it&#8217;s something to consider before spending $7/month on the service.</p>
<p></p>
<div class="sectionHeader">Security through trust</div>
<p>One of the largest questions about BTGuard is simple: Can you trust them?  When you use a proxy, you&#8217;re sending all your data through someone else&#8217;s servers; as a result, they can view and log everything you do.  Unfortunately, there isn&#8217;t any readily-available information on exactly who is behind BTGuard.  On their website they explicitly state that they <strong>do not</strong> keep any logs, but you have to take them at their word.  </p>
<p>Using BTGuard to become anonymous changes your bittorrent security paradigm from &#8220;security through obscurity,&#8221; or becoming lost in the crowd, to &#8220;security through trust&#8221; of BTGuard&#8217;s systems.  It&#8217;s up to the individual to decide whether or not they want to trust BTGuard.</p>
<p></p>
<div class="sectionHeader">Improving the BTGuard system</div>
<p><strong>Speed</strong></p>
<p>The number one thing BTGuard needs to do to improve their service is make it faster; 100KBps on average is simply too slow for bittorrent traffic.  As more users sign up for the service, their &#8220;tubes&#8221; will become increasingly full, and individuals will see their download speed decrease; hopefully BTGuard will vigorously combat these growing pains and provide a faster service.</p>
<p><strong>Security</strong><br />
BTGuard needs to make it clearer that you can trust their service.  More legal information, more information about who exactly is running the service, and a better privacy policy are must-haves before many people will consider them trustworthy.</p>
<p><strong>Pricing</strong><br />
Currently, the BTGuard service costs $6,95 a month, which I think is fair for what they provide (although speed remains an issue, and some people will likely be turned away from paying for a service as slow as it is now).  However, there is no long-term pricing; you can sign up for one month, or a recurring monthly payment, but there is no price difference.  A 12-month discount price, for example, would be a nice addition; perhaps $75 instead of the current $83.50.</p>
<p></p>
<div class="sectionHeader">Conclusion</div>
<p>BTGuard fills an important niche, and many bittorrent users will likely be willing to pay for such a service, but it&#8217;s currently plagued by some significant problems that will turn many potential users.  If the company is able to increase available bandwidth, deal with its growing pains, and make themselves more trustworthy, it&#8217;s likely that BTGuard will become a powerful tool in the fight for privacy on the internet.</p>
<p></p>
<div class="sectionHeader">Disclaimer</div>
<p><em>Know the laws in your country and locality.  I do not suggest, condone, or practice the violation of national or international copyright law.  The BTGuard service explicitly forbids using the proxy to commit illegal activities, including copyright infringement.  <strong>No laws were broken or copyrights infringed during the writing of this article or review of this service.</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/btguard-anonymizing-service-is-it-worth-it/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Drastically Speed up your Linux System with Preload</title>
		<link>http://www.techthrob.com/2009/03/02/drastically-speed-up-your-linux-system-with-preload/</link>
		<comments>http://www.techthrob.com/2009/03/02/drastically-speed-up-your-linux-system-with-preload/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:37:57 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=100</guid>
		<description><![CDATA[Introduction
Preload is an &#8220;adaptive readahead daemon&#8221; that runs in the background of your system, and observes what programs you use most often, caching them in order to speed up application load time.  By using Preload, you can put unused RAM to good work, and improve the overall performance of your desktop system.

Installation
Installing Preload on [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>Preload is an &#8220;adaptive readahead daemon&#8221; that runs in the background of your system, and observes what programs you use most often, caching them in order to speed up application load time.  By using Preload, you can put unused RAM to good work, and improve the overall performance of your desktop system.</p>
<p><Br /><Br /></p>
<div class="sectionHeader">Installation</div>
<p>Installing Preload on Ubuntu is easily done with the command:</p>
<div class="linuxCommand">sudo apt-get install preload</div>
<p>Preload is in the package repositories of many different managers, so users of other distributions should check their appropriate package managers to see if it&#8217;s available.  If not, you can always install Preload via <a href="http://preload.sourceforge.net/">its page on SourceForge.net</a><br />
<br /><Br /><br />
Once installed, Preload will start, and no further action is necessary, but read on for configuration options, to learn how to monitor Preload&#8217;s activities, and see what kind of improvements Preload will bring to your system.</p>
<p><Br /><Br /></p>
<div class="sectionHeader">Configuration</div>
<p>The configuration file for Preload is kept in <span style="monospaced">/etc/preload.conf</span> and the default values should be fine for most people.  But if you want to tweak the operation of Preload, an explanation of the options is available in the configuration file as well as in the <a href="preload_files/preload.pdf">paper written by its developer, Behdad Esfahbod</a>.<br />
Some common options available are:</p>
<table cellspacing=0 cellpadding=5 border=1 style="font-size: small">
<tr>
<td><strong>Option</strong></td>
<td><strong>Default</strong></td>
<td><strong>Controls</strong></td>
</tr>
<tr style="text-align: center">
<td colspan=3><strong>Cache model (system) settings</strong></td>
</tr>
<tr>
<td>model.cycle</td>
<td>20 [seconds]</td>
<td>How often Preload will query your system to update it&#8217;s model about programs and libraries to cache.</td>
</tr>
<tr>
<td>model.halflife</td>
<td>168 [hours]</td>
<td>How often Preload will begin to &#8220;forget&#8221; about old data; for each halflife, the statistical relevance of the current model loses 50% of its importance.</td>
</tr>
<tr>
<td>model.minsize</td>
<td>2000000 [bytes]</td>
<td>The minimum amount of system calls an application makes for it to be considered by Preload.  A smaller number will mean Preload caches smaller applications, while to make Preload cache only larger applications, increase this number.</td>
</tr>
<tr  style="text-align: center">
<td colspan=3>
<p><strong>Memory settings</strong></td>
</tr>
<tr style="text-align: center">
<td colspan=3>
The forumula used to determine the maximum available memory available to Preload is:<br /><span class="monospaced">(Total RAM x model.memtotal) + (RAM available at start x model.memfree) + (Cached memory x model.memcached)</span>
</td>
<tr>
<td>model.memtotal</td>
<td colspan=2>-10%</td>
</tr>
<tr>
<td>model.memfree</td>
<td colspan=2>100%</td>
</tr>
<tr>
<td >model.memcached</td>
<td colspan=2>30%</td>
</tr>
</table>
<p>As I noted previously, the default values should be fine for most people, and you really shouldn&#8217;t change these values unless you have a specific purpose in mind.</p>
<p>I&#8217;ve heard concerns about Preload&#8217;s RAM usage, so I want to make it clear that <strong>Preload will not drain your system memory!</strong>  On my system with 1GB of RAM, preload has given itself 83670kb as it&#8217;s maximum available memory size; and of that, it&#8217;s only using 35% of that at the moment! </p>
<p><Br /><Br /></p>
<div class="sectionHeader">Monitoring</div>
<p>If you want to check up on what resources Preload is using, you can monitor its logfile by running:</p>
<div class="linuxCommand">sudo tail -f /var/log/preload.log</div>
<p>By default (you can manually set the verbosity of Preload with the &#8220;-V&#8221; flag; for more information, check Preload&#8217;s man page) this won&#8217;t tell you much information about Preload except for the amount of memory it has allocated and how many files it&#8217;s watching.  If you want more information about the specific files that Preload is caching for you, look at this file:</p>
<div class="linuxCommand">sudo less /var/lib/preload/preload.state</div>
<p>The beautiful thing about Preload, however, is that you can ignore these files completely; you might want to check up on the log every once and a while, just to make sure that it&#8217;s running, but Preload will happily sit in the background and stay out of your way.</p>
<p></p>
<div class="sectionHeader">By the numbers</div>
<p>It&#8217;ll take a little while before Preload starts to understand your usage patterns, so don&#8217;t expect to see a drastic change in performance right away.  Also, if you&#8217;re just opening/closing applications repetitively, your computer will store those files in cache anyway (this is called a &#8220;warm&#8221; load), so you won&#8217;t see any difference in speed there.  You will, however, see a speed improvement if, for example, you use a program intermittently; these programs will startup faster than without Preload.</p>
<p>The author of Preload, Behdad Esfahbod, has <a href="preload_files/preload.pdf">written a paper</a> in which he provides some sample figures for the speed effects of Preload: </p>
<table cellpadding=5 cellspacing=0 border=1 style="font-size: small">
<tr>
<td><strong>Application</strong></td>
<td><strong>&#8220;Cold&#8221; Startup Time</strong></td>
<td><strong>Preloaded Startup Time</strong></td>
<td><strong>% Improvement</strong></td>
</tr>
<tr>
<td>Desktop Login</td>
<td>30s</td>
<td>23s</td>
<td>23%</td>
</tr>
<tr>
<td>OpenOffice.org Writer</td>
<td>15s</td>
<td>7s</td>
<td>53%</td>
</tr>
<tr>
<td>Firefox</td>
<td>11s</td>
<td>5s</td>
<td>55%</td>
</tr>
<tr>
<td>Evolution</td>
<td>9s</td>
<td>4s</td>
<td>55%</td>
</tr>
<tr>
<td>Gedit Text Editor</td>
<td>6s</td>
<td>4s</td>
<td>33%</td>
</tr>
<tr>
<td>Gnome Terminal</td>
<td>4s</td>
<td>3s</td>
<td>25%</td>
</tr>
</table>
<p>
Or, for those that prefer graphs to tables:</p>
<p><img src="/tech/preload_files/graph.png" alt="Preload stats graph" /></p>
<p>Keep in mind these numbers are not representitive of current hardware.  Modern machines will probably beat the raw timing of these numbers in even cold-start times, but obviously will still see an improvement in speed with Preload (I wasn&#8217;t able to find any modern benchmarks to compare, but I imagine they will be similar in terms of percent of speed improvement).  For more information, <a href="preload_files/preload.pdf">read the developer&#8217;s thesis paper.</a></p>
<p>As you can see, larger applications benefit more from Preload, although all applications do benefit at least a little bit.  Since Preload is configured to start during bootup, even the amount of time it takes to login to a complete desktop is enhanced by Preload. <strong>Keep in mind these numbers were generated several years ago!</strong>  Modern machines will probably beat these numbers in even cold-start times, but obviously will still see an improvement in speed with Preload!  For more information, <a href="preload_files/preload.pdf">read the developer&#8217;s thesis paper.</a></p>
<p></p>
<div class="sectionHeader">Conclusion</div>
<p>Preload can provide a great improvement in application startup time; since most modern machines have a good deal of memory to spare, Preload puts this RAM to good use.  I highly recommend installing Preload on your desktop machine, and although it may take a little while for the daemon to learn your habits before your see any real performance improvement, it&#8217;s a great tool that increases the speed of your system while staying in the background, out of your way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/drastically-speed-up-your-linux-system-with-preload/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Do I Need an AntiVirus Program on Linux?</title>
		<link>http://www.techthrob.com/2009/03/02/do-i-need-an-antivirus-program-on-linux/</link>
		<comments>http://www.techthrob.com/2009/03/02/do-i-need-an-antivirus-program-on-linux/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:36:43 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=98</guid>
		<description><![CDATA[Introduction
There has been a lot of debate recently over whether or not it&#8217;s a good idea to run an anti-virus program if you&#8217;re using Linux.  Reading the forums, I see a lot of misunderstandings, particularly around what exactly it is that these anti-virus programs do and whether or not they&#8217;re necessary.  I hope [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>There has been a lot of debate recently over whether or not it&#8217;s a good idea to run an anti-virus program if you&#8217;re using Linux.  Reading the forums, I see a lot of misunderstandings, particularly around what exactly it is that these anti-virus programs <em>do</em> and whether or not they&#8217;re necessary.  I hope to clear up some of the confusion regarding the anti-virus situation on Linux.</p>
<p><Br /></p>
<div class="sectionHeader">What a Linux anti-virus is NOT</div>
<p>When you think of an anti-virus program, especially if you&#8217;re coming from a Windows world, you think of a program that runs in the background and scans files as they are accessed (or, perhaps you have your entire system scanned on a regular basis) to see if anything is infected with a virus.  This is an effective way of detecting and removing viruses on a desktop computer; and for a Windows machine, it&#8217;s all but a necessity given the vast amount of threats circulating on the Internet.</p>
<p>Linux anti-virus programs don&#8217;t work this way, because Linux anti-virus programs aren&#8217;t meant to protect the desktop machine from Linux viruses.  <strong><em>An anti-virus program running on Linux is designed to detect Windows viruses</em></strong>, so that they aren&#8217;t spread, unknowingly, by the Linux user.  </p>
<p><Br /></p>
<div class="sectionHeader">So why care about Windows viruses on Linux?</div>
<p>If you&#8217;re running Linux, you are, in a practicality, immune from a Windows virus.  So why would you want to bother scanning your files &#8211; files that won&#8217;t work on your computer, anyway (except, for example, through Wine) &#8211; for viruses that have no effect on you?  Well, the simple answer is, you wouldn&#8217;t.  But it is more complex than that.  I&#8217;ll explain.</p>
<p><strong>Mail servers</strong><br />
The vast majority of Linux anti-virus programs run on mail servers.  These are the computers that your mail client connects to when you want to send or receive an email.  Since email is one of the main way viruses and trojan horses spread, these servers are the &#8220;front-line&#8221; in the battle to stop computer viruses.  And, since so many of these servers run Linux, it&#8217;s clear to see the need for a Linux program to detect Windows viruses.  If you&#8217;re running a mail server, whether it be for your home or office, you should definitely be using an anti-virus program to intercept any naughty files that might be trying to move in or out of your network via email.</p>
<p><strong>File servers</strong><br />
Another place where you&#8217;d want to run an anti-virus program is on a file server shared my multiple users, even if you trust all of these users.  File servers are basically repositories for data; some of that data might come to exist on your server through legitimate sources, but there&#8217;s no way for you to know where each and every file originated.  Running an anti-virus ensures that if someone uploads an infected file, say, downloaded from a Peer-to-Peer network, your file server will detect the threat and stop any other users from becoming infected.</p>
<p></p>
<div class="sectionHeader">So what about Linux on the desktop?</div>
<p>Now that you understand what exactly these anti-virus programs for Linux do, it&#8217;s up to you to decide whether or not you want to implement them if you&#8217;re just running a standard Linux desktop machine.  If you have Windows computers on your network, and you&#8217;re sharing files, it&#8217;s probably a good idea to run something like <a href="http://www.clamav.net/">ClamAV</a>, to keep those other machines safe.</p>
<p>Let me explain how I use my Linux Anti-Virus program on my desktop.  I use ClamAV, but I don&#8217;t keep it running in the background (this uses up resources, and since I&#8217;m not running a mail server or transferring lots of files, it really isn&#8217;t necessary). I only use it from the command line when there is a specific file of questionable legitimacy I want to test; this is a great service I can provide to Windows-using friends.  Since I&#8217;m immune to these viruses, I can check out files before they download them.</p>
<p></p>
<div class="sectionHeader">Conclusion</div>
<p>I hope I&#8217;ve cleared up some of the confusing around Linux anti-virus programs, and that I&#8217;ve answered the oft-repeated question, &#8220;Do I need to run an Anti-Virus on Linux?&#8221;  In reality, the type of setup you have, and the quantity of your paranoia dictate the answer to this question; but for most people, it simply isn&#8217;t necessary to run an anti-virus in Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/do-i-need-an-antivirus-program-on-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Manage your Movie Collection with Griffith</title>
		<link>http://www.techthrob.com/2009/03/02/manage-your-movie-collection-with-griffith/</link>
		<comments>http://www.techthrob.com/2009/03/02/manage-your-movie-collection-with-griffith/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:35:16 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[end-user]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=95</guid>
		<description><![CDATA[Introduction
Griffith is an application for the Gnome desktop that organizes your movie collection, much in the same way Alexandria is used to organize your book library.  Simply by entering the name of a movie, Griffith will query various databases on the internet and download cover art, plot details, and cast information.  

Installation
Griffith is [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>Griffith is an application for the Gnome desktop that organizes your movie collection, much in the same way <a href="/tech/alexandria.php">Alexandria</a> is used to organize your book library.  Simply by entering the name of a movie, Griffith will query various databases on the internet and download cover art, plot details, and cast information.  </p>
<p><Br /><Br /></p>
<div class="sectionHeader">Installation</div>
<p>Griffith is probably included in your package management repositories; for Ubuntu, you can install it by running:</p>
<div class="linuxCommand">sudo apt-get install griffith</div>
<p>But you can find more information about installation, <strong>including a Windows version</strong>, at the <a href="http://griffith.berlios.de/pages/download.php">Griffith download page</a>.</p>
<p></p>
<div class="sectionHeader">Adding movies</div>
<p>The nicest part about using Griffith to organize your movie collection is that it does all the work for you.  By clicking on the &#8220;add movie&#8221; button, you&#8217;ll see a window for a new entry:</p>
<p><img src="/tech/griffith_imgs/add1.png" alt="add new movie in griffith" /><br />
<br /><Br /></p>
<p>You can see here that I&#8217;ve entered the title of a movie, and on the right side there is an option to select the database which Griffith will query for the movie&#8217;s information.  Griffith supports over 25(!) different databases on the Internet, but the <a href="http://www.imdb.com">International Movie Database</a> seems to do a great job at providing all the information needed for a movie.</p>
<p>Once you click &#8220;Get from Web,&#8221; Griffith will go out and find the details for your movie.  Most likely, it will return a list of movie titles that are similar to the one you entered, and ask you to select the correct movie.  Normally this will be the first movie listed, but if, for example, there were several remakes of a title (&#8220;Hamlet&#8221; would be a good example), it also lists the year in which the movie was produced, letting you select the appropriate item.  Once you tell Griffith which movie you want, it will fill in all the information for you, automatically:</p>
<p><img src="/tech/griffith_imgs/add2.png" alt="Griffith's add item filled with info from IMDB: Main" /></p>
<p><img src="/tech/griffith_imgs/add3.png" alt="Griffith's add item filled with info from IMDB: Details" /><br />
<br /><Br /><br />
<img src="/tech/griffith_imgs/add4.png" alt="Griffith's add item filled with info from IMDB: Plot" /><br />
<br /><Br /><br />
You can repeat this process for part or all of your movie collection; when you&#8217;re finished, you&#8217;ll have a Griffith window filled with your movies.  You can select the movie you want to view, and tab between all the information downloaded by the program.  Griffith will even let you grab a larger version of the cover image from Amazon.com, and then help you print it out.</p>
<p><img src="/tech/griffith_imgs/mainwindow.png" alt="Griffith Main Window" /></p>
<div class="sectionHeader">A plethora of options</div>
<p><strong>Adding personalized information</strong><br />
Now that you&#8217;ve gone through the hassle of adding your movie collection to Griffith, and you&#8217;ve had all the information about your titles entered automatically by the program, you can start manipulating your collection to suit your needs.  For example, you might choose to rate movies, which Griffith allows you to do on a scale of 1 to 10.  The little thermometer icon will indicate how well you&#8217;ve rated a movie.  You can also tell Griffith about the media on which a movie is stored; is it a DVD?  What region encoding does it use, and what quality is the disk in?</p>
<p><strong>Search</strong><br />
Searching through your movies is easy, and you can filter by pretty much any type of information Griffith stores: from title, to genre, to director, to year.  You can also indicate whether you&#8217;ve loaned out a particular movie, and to whom; so you&#8217;ll never wind up arguing with a friend again over whether or not she still has your copy of Back to the Future.</p>
<p><strong>Exporting your database</strong><br />
What fun is cataloging all your movies, if you can&#8217;t show off your massive collection to your friends?  Griffith&#8217;s export function is simply amazing.  Not only does it let you export to PDF, HTML, XML, CSV, or iPod formats, but it lets you fine-tune exactly what data you want to include. Personally, I would want to use the HTML export function the most, and when I selected this option I was amazed at the control Griffith gives you over the output:</p>
<p><img src="/tech/griffith_imgs/export.png" alt="Theme griffith HTML output" /></p>
<p><img src="/tech/griffith_imgs/htmloutput.png" alt="Griffith HTML Export Example" /><br />
<br/ /><br />
Not only can you select various themes for your HTML movie list, but you can choose which information to include, and what you want to leave out.  You can also set how you want Griffith to split the entries, how titles should be sorted, and which movies you want to leave out altogether.</p>
<p></p>
<div class="sectionHeader">Conclusion</div>
<p>Movie buffs as well as casual collectors will love Griffith&#8217;s ability to generate an entire, well-documented database simply from knowing the title of a movie, and the single push of a button.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/manage-your-movie-collection-with-griffith/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sneak Preview of Picasa 2.7 for Linux</title>
		<link>http://www.techthrob.com/2009/03/02/9/</link>
		<comments>http://www.techthrob.com/2009/03/02/9/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:33:07 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=92</guid>
		<description><![CDATA[Introduction
Google&#8217;s Picasa software is a powerful tool for managing your photo collection.  It provides a simple  interface for organizing your pictures, as well as some easy-to-use, yet powerful image manipulation tools.  However, until recently the Windows version of Picasa has had some features that put it above the Linux version; some of [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>Google&#8217;s Picasa software is a powerful tool for managing your photo collection.  It provides a simple  interface for organizing your pictures, as well as some easy-to-use, yet powerful image manipulation tools.  However, until recently the Windows version of Picasa has had some features that put it above the Linux version; some of these features, like Picasa Web Album integration, are at the core of the program, without which Picasa isn&#8217;t very useful.  With its newest release, the Linux version is being brought up to par with its Windows counterpart.</p>
<p></p>
<div class="sectionHeader">Installation</div>
<p>Picasa 2.7 is still in beta, so it isn&#8217;t included in many repositories just yet.  However, Google provides  easy-to-install packages in RPM and DEB formats on their <a href="http://picasa.google.com/linux/download.html">download site</a>.</p>
<p></p>
<div class="sectionHeader">New features</div>
<p>The major new feature in Picasa 2.7 is integration with Picasa Web Albums, but we&#8217;ll get to that later; there are a plethora of other upgrades that make this new version worth getting excited about.<br />
<br /><Br /><br />
<strong>Save/revert edits</strong><br />
Picasa has some great image manipulation features.  You can apply basic filters, as well as fine-tune an image based on fill lighting, highlights, shadows, and color temperature.  There are also several effects you can use, such as sharpening, tinting, saturation, and others.</p>
<p><img src="/tech/picasa_imgs/effects.png" alt="Applying effects in Picasa" /></p>
<p>Picasa now allows you to save these edits either to the original file, or to create a new image with the modifications.  More importantly, however, is the &#8220;revert&#8221; option, if you decide the original was better than the modified version.</p>
<p><strong>View images by folders</strong><br />
One of my favorite features is the ability to find and sort files by their location in the filesystem, rather than sorting by albums in a library.  This allows you to use your existing filing method to sort your pictures, rather than forcing you to create an entirely new system to use Picasa.  A small change, but a very useful one nonetheless.</p>
<p><img src="/tech/picasa_imgs/folders.png" /></p>
<p><strong>Better camera importing</strong><br />
Along with the ability to use your existing folder structure for picture imports, Picasa now allows you to import images from your digital camera using this filesystem structure.  Google has also added better RAW support; you can read more about these features <a href="http://picasa.google.com/linux/download.html">on Google&#8217;s website.</a></p>
<p></p>
<div class="sectionHeader">Web album integration</div>
<p>And now the feature we&#8217;ve all been waiting for &#8211; web album integration &#8211; is finally here!  And I have to say that the implementation is as straight-forward and simple as it could possibly be.<br />
<br /><Br /><br />
<img src="/tech/picasa_imgs/weblogin.png" alt="Logging into Picasa Web Albums" /></p>
<p>Once you&#8217;ve logged into your Picasa Web Albums account, you&#8217;ll see your account information in the upper right corner of the screen:</p>
<p><img src="/tech/picasa_imgs/acctinfo.png" alt="Picasa Account Info" /></p>
<p>Now, you&#8217;ll be able to create web albums, upload images, and manage existing albums via the Picasa desktop interface.  Right-clicking on an image gives a contextual menu that will allow you to upload the image to your web gallery:</p>
<p><img src="/tech/picasa_imgs/uploadselect.png" alt="Contextual Upload Menu" /></p>
<p>Clicking this item will open the Web Album manager, which lets you choose the option of adding the image to an existing album, or to create a new album.</p>
<p><img src="/tech/picasa_imgs/upload.png" alt="Upload details window" /></p>
<p>All in all, the new interface for managing, uploading, and modifying Picasa Web Albums is a great improvement, and one that has been sorely lacking in the Linux version of Picasa for some time.  With this new feature, Picasa for Linux becomes, in my opinion, the easiest to use photo management and web gallery software available for linux.</p>
<p></p>
<div class="sectionHeader">Will Picasa beat out all the others?</div>
<p>There are quite a few imaging programs for Linux.  FSpot and Gphoto are two that come immediately to mind; and while they&#8217;re good programs, I have to say that Picasa has really began to mature, and is starting to impress me as a possible complete replacement for these other image cataloging programs.  Of course, unlike its alternatives, Picasa is a closed-source application (not to mention, it runs via Wine on Linux), so there are several licensing as well as philosophical issues to be dealt with before Picasa becomes the default image manager for any Linux distribution.</p>
<p></p>
<div class="sectionHeader">Remember! It&#8217;s still in beta</div>
<p>If you&#8217;re thinking about trying out this new version of Picasa on your production machine, it&#8217;s not a decision you should take lightly.  There are quite a few known bugs listed on the Google Picasa for Linux page, and even though most of them fall into the &#8220;vaguely annoying&#8221; catagory, it&#8217;s probably best to wait until the official release until you upgrade.  If you just <em>have to have</em> the latest version &#8211; and you&#8217;re especially excited about the web album integration &#8211; I don&#8217;t think it&#8217;d be too harmful to try out this beta.  Just remember that there will be bugs!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Explore the Universe from your Desktop with Celestia</title>
		<link>http://www.techthrob.com/2009/03/02/explore-the-universe-from-your-desktop-with-celestia/</link>
		<comments>http://www.techthrob.com/2009/03/02/explore-the-universe-from-your-desktop-with-celestia/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 21:28:18 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[astronomy]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[space]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=88</guid>
		<description><![CDATA[Introduction
While it may not let you go where no man has gone before, Celestia is an amazing desktop application that lets you travel anywhere in the known Universe.  


You can view any object in the Solar System, travel to distant stars, and even leave the Galaxy to view planets only recently discovered by NASA [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>While it may not let you go where no man has gone before, <a href="http://www.shatters.net/celestia/">Celestia</a> is an amazing desktop application that lets you travel anywhere in the known Universe.  </p>
<p><img src="/tech/celestia_imgs/openscreen.png" alt="Celestia's Start Screen" /><br />
<br /><Br /><br />
You can view any object in the Solar System, travel to distant stars, and even leave the Galaxy to view planets only recently discovered by NASA and global space agencies.</p>
<p><Br /></p>
<div class="sectionHeader">Installation</div>
<p>Celestia is cross-platform, which means you can run it on Windows, Mac OS X, or Linux.  It&#8217;s also open source, so if you&#8217;re using a different operating system, or if it&#8217;s not available as a binary package for your distribution, you can compile it yourself.</p>
<p>Windows and Macintosh users should head to the <a href="http://www.shatters.net/celestia/download.html">Celestia download page</a>, while Linux users should check and see if it&#8217;s available through their package manager.  In Ubuntu, you can download Celestia using the following command:</p>
<div class="linuxCommand">sudo apt-get install celestia</div>
<p>By default, Celestia uses a QT interface, which will work great in a KDE setup (such as Kubuntu).  Gnome users will probably want to install the Gnome front-end, using the command:</p>
<div class="linuxCommand">sudo apt-get install celestia-gnome</div>
<p>There are also loads of add-on packages available for Celestia, which increases the size of the database of objects Celestia is able to view.  These include various spacecraft and satellites, deep space objects, and even fictional objects such as space bases in Star Trek and Babylon 5.  For a complete list of add-ons, check out the <a href="http://www.celestiamotherlode.net/">Celestia Motherlode site</a>.</p>
<p><Br /></p>
<div class="sectionHeader">Navigating the Solar System</div>
<p>Once installed, you&#8217;re ready to start navigating your way around space in Celestia.  The first thing you&#8217;ll probably want to do is check out Earth, or maybe some of the other planets in our Solar System.  By default, Celestia comes with the graphics for objects in the Milky Way, such as each planet&#8217;s moons, various asteroids, stars, and comets.  The Gnome front-end has a really handy tour guide feature, which will let you select some of the more popular attractions in space:<br />
<br /><Br /><br />
<img src="/tech/celestia_imgs/tourguide.png" alt="Celestia-Gnome Tour Guide" /></p>
<p>Selecting &#8220;Go To&#8221; will take you on a journey through the millions of miles to whichever object you have selected.  I traveled to the comet Borrelly, and was able to view this beautiful image taken by the Deep Space 1 spacecraft:</p>
<p><img src="/tech/celestia_imgs/comet.png" alt="Comet Borrelly Image" /></p>
<p>Next, I was curious about how things looked from the most distant parts of our Solar System, so I traveled over to the ex-planet Pluto, to check out how things looked from that icy rock way out in space.  Celestia gave me a beautiful view of Pluto&#8217;s moon, Charon, which you can see in the upper-left corner here, and you can see all the inner planets labeled in the distance:</p>
<p><img src="/tech/celestia_imgs/pluto.png" alt="Pluto and Charon" /></p>
<p>To travel back, I simply right-clicked on Saturn and selected &#8220;Go-To&#8221;; stars in the background whizzed by as Jupiter and one of its moons, Titan, approached, giving me this wonderful view:</p>
<p><img src="/tech/celestia_imgs/titan.png" alt="Titan" /></p>
<p>I could have spent hours traveling around the planets and asteroids in our Solar System, but I wanted to get into Outer Space and see what else Celestia could do.</p>
<p><Br /></p>
<div class="sectionHeader">Explore the galaxy and beyond</div>
<p>Celestia comes with a very handy Star System Browser, which will show you a list of known stars, and you can sort by distance, known planetary systems, or brightness.  Personally, I find stars with planets to be the most interesting, since they&#8217;re the ones that will likely have life, so I selected the Wolf 562 system.  Once Celestia traveled to this distant star, I was able to see its planetary companion (romantically named &#8220;b&#8221;), and plot its orbit around its mother star.</p>
<p><img src="/tech/celestia_imgs/wolf.png" alt="Wolf 562 and planet B" /></p>
<p>Obviously, there are hundreds, if not thousands, of other stars objects to explore.  That&#8217;s the fun of Celestia!  You&#8217;ll never run out of objects to view, or new things to find.  And for more cool pictures, check out the <a href="http://www.shatters.net/celestia/gallery.html">Celestia Screenshot Gallery</a>!</p>
<p><Br /></p>
<div class="sectionHeader">Travel through time</div>
<p>I heard on the news that there will be a lunar eclipse today (Feburary 21, 2008).  Unfortunately, I&#8217;m not in a position to see it; but with Celestia, I can get a 3D simulation of any eclipse (Solar or Lunar) and of any planet, at any point in history &#8211; or even the future!  Celestia&#8217;s eclipse finder lets you enter a date range, and select which eclipse you&#8217;d like to view:</p>
<p><img src="/tech/celestia_imgs/eclipsefinder.png" alt="Eclipse finder" /></p>
<p>Even though I won&#8217;t be able to see the Lunar eclipse today, I can still check out the view of the Earth, Sun, and the Moon lined up, using Celestia:<br />
<br /><Br /><br />
<img src="/tech/celestia_imgs/eclipse.png" alt="Lunar Eclipse" /></p>
<p><Br /></p>
<div class="sectionHeader">Conclusion</div>
<p>I haven&#8217;t really discussed the details about what type of information Celestia shows you.  Obviously, you can set it to label stars, orbits, planets, and other bodies; it will tell you the surface temperature and luminosity of any object, its distance from any other object, and what class planet or star something is.  This is all really great information for astronomers, and I have no doubt that this software will serve as a useful tool for anyone in that profession or field of study. But Celestia is great even for those who are just interested in space and the Universe.  Celestia lets travel millions of light years without ever leaving home! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/explore-the-universe-from-your-desktop-with-celestia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring the Update Manager in Ubuntu Linux</title>
		<link>http://www.techthrob.com/2009/03/02/configuring-the-update-manager-in-ubuntu-linux/</link>
		<comments>http://www.techthrob.com/2009/03/02/configuring-the-update-manager-in-ubuntu-linux/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 21:25:37 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=85</guid>
		<description><![CDATA[Introduction
One of the great things about using open source software is the frequency with which bugs are fixed, security holes are patched, and new features are added.  Ubuntu includes a very convenient update manager, which checks the software repositories for updates, and alerts you to install any new versions found.  However, its default [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>One of the great things about using open source software is the frequency with which bugs are fixed, security holes are patched, and new features are added.  Ubuntu includes a very convenient update manager, which checks the software repositories for updates, and alerts you to install any new versions found.  However, its default behavior of checking for updates every day annoys some people.  Sometimes updates will be released multiple days in a row, and constantly upgrading your system. can start to be a burden.  This guide will explain howto control how often the update manager runs, or howto set the update manager in Ubuntu to automatically install updates.</p>
<p></p>
<div class="sectionHeader">The software sources window</div>
<p>The update manager is controlled through the Software Sources control panel.  Under your &#8220;System&#8221; menu, select &#8220;Administration&#8221;, and select &#8220;Software Sources.&#8221;  You will be prompted for your root password; once the window opens, select the &#8220;Updates&#8221; tab:</p>
<p><img src="/tech/updatefreq/updatetab.png" alt="Update manager updates tab" /></p>
<p>The section we&#8217;re concerned with is the bottom half, &#8220;Automatic Updates.&#8221;  You should, however, probably make sure that all the update sources are checked.</p>
<p></p>
<div class="sectionHeader">Frequency</div>
<p>First, you can disable automatic updates entirely by unclicking &#8220;Check for updates.&#8221;  I don&#8217;t recommend this, as updates are important to keep your stable and secure; so unless you&#8217;re planning on updating your system manually, leave automatic updates turned on.  You can select how often you&#8217;d like the update manager to check for updates via the drop-down menu; you can select &#8220;Daily,&#8221; &#8220;Every two days,&#8221; &#8220;Weekly,&#8221; or &#8220;Every two weeks.&#8221;  This setting is really just a personal preference.</p>
<p></p>
<div class="sectionHeader">Automatic install or download</div>
<p>The options below the update frequency menu are pretty self explanatory.  You can have the manager install updates automatically, without asking you; if you set it to do this, it will still prompt you before your computer reboots in the event that the machine has to restart for an update to take affect (unlike Windows, which requires restarts for lots of updates, Linux typically only requires a restart if the kernel is updated).</p>
<p>The other options are to download updates in the background, which will prompt you to install them at a later date, or to just tell you when there are updates available, in which case the update manager will download packages when you manually update your system.</p>
<p><br ></p>
<div class="sectionHeader">Conclusion</div>
<p>Updates are an important part of keeping your system stable and secure.  But sometimes they can be annoying, when updates are released almost every single day.  Thankfully, the update manager allows you to configure often you want Ubuntu to update itself, or it allows you to make the process entirely transparent (by automatically installing updates).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/configuring-the-update-manager-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>10 Steps to Convert a Windows User to Linux</title>
		<link>http://www.techthrob.com/2009/03/02/10-steps-to-convert-a-windows-user-to-linux/</link>
		<comments>http://www.techthrob.com/2009/03/02/10-steps-to-convert-a-windows-user-to-linux/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 21:24:21 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Lists]]></category>
		<category><![CDATA[end-user]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=83</guid>
		<description><![CDATA[Introduction
With Linux becoming more popular and easier to use, more and more people are adopting it as their primary operating system.  But the transformation from Windows user to Linux user can be a tough road to take.  Most new users become long-term users because they have friends that introduce Linux to them, and [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>With Linux becoming more popular and easier to use, more and more people are adopting it as their primary operating system.  But the transformation from Windows user to Linux user can be a tough road to take.  Most new users become long-term users because they have friends that introduce Linux to them, and help them through the first few weeks of rough-patches.  Here are ten steps to help you introduce Linux to a would-be convert.</p>
<p></p>
<div class="sectionHeader">1.  Select your mark</div>
<p>Let&#8217;s face it &#8211; Linux isn&#8217;t for everyone.  Your grandmas, your uber-gamers, your technophobes; all of these are bad candidates for Linux conversion.  You want someone that&#8217;s interested in computing, and someone that is decently tech-literate.  The ideal candidate is one that has heard of Linux, but for whatever reason believes it would be too complex for him or her to use.  Another important quality in a mark is someone who&#8217;s willing to take some time and work through the initial phase of changing to a new operating system.  If a candidate doesn&#8217;t have these qualities, it might be best to look somewhere else.</p>
<p></p>
<div class="sectionHeader">2.  Introduce the mark to free software on Windows</div>
<p>Once you&#8217;ve selected your potential convert, introduce him or her to free software on the Windows platform.  It&#8217;s likely that he or she is already using Firefox (if it&#8217;s an IE user, you might want to pick someone else to convert), but there&#8217;s a chance that he or she doesn&#8217;t realize that it&#8217;s free software.  Drop a hint about how Firefox was written the same way Linux is written; by a community of developers, rather than by a giant corporation.  Explain why you think this is better: more eyeballs equals fewer bugs, more features, and more developers.  For a full list of free software that runs on Windows, check out <a href="http://www.opensourcewindows.org/"</a>this page</a>.</p>
<p></p>
<div class="sectionHeader">3.  Show off your Linux desktop</div>
<p>One of the reasons that people get the &#8220;gotta have it&#8221; syndrome over Linux is the eye-candy of the Compiz-enabled desktop.  Sure, it&#8217;s superficial, and we all know that there&#8217;s more to Linux than just a rotating cube and windows that minimize in a ball of fire, but it&#8217;s a great way to quickly grab someone&#8217;s attention and get them asking questions.  &#8220;What is that?&#8221;  &#8220;How did you do that?&#8221;  &#8220;<em>How can I get that?</em>&#8221;  Your answers for all of these questions will be points towards Linux.</p>
<p></p>
<div class="sectionHeader">4.  Give your mark a LiveCD</div>
<p>You don&#8217;t want your to-be-convert to rush into things and get frustrated.  This is a quick and easy way for them to go running back to Windows.  Instead, give them a LiveCD; it&#8217;s a great way for them to become familiar with the Linux desktop, the interface, and the features included in the installation.  Think of it as a toy that they can play with in their spare time.  Don&#8217;t push it on them, just say &#8220;if you want to check it out, you can boot off this CD without making any modifications to your hard drive.&#8221;  It&#8217;s a great way for the mark to get their feet wet.</p>
<p></p>
<div class="sectionHeader">5.  The initial install</div>
<p>Hopefully, your mark has been impressed with what he&#8217;s seen on the LiveCD, and is ready to take the initial plunge.  Great for him!  Encourage him that it&#8217;s really no big deal.  Walk him through the installation, and explain that he can keep his Windows partition and duel-boot with Linux, picking whichever he prefers to use at the moment.  This is a great way for people to slowly become accustomed a new operating system.  <strong>It&#8217;s imperative that you be around to help out the new user.</strong>  The most important thing about Linux is that it has great community support &#8211; by sticking around and being a helpful hand, you&#8217;re encouraging your mark to use community channels to find solutions to problems.</p>
<p></p>
<div class="sectionHeader">6.  The first boot</div>
<p>Again, you must, must, <strong>must</strong> remain helpful even after the operating system is installed, but let the new-convert try to figure things out on her own.  Let her find her way around the desktop, check out the included programs, browse the web, and do the things she wants to do with her computer.  Your job now is to sit back and just <strong>remain available</strong> when she has questions.  Show her how to add and remove software; recommend programs when she asks, &#8220;what program do I use to do [insert task here]?&#8221;  But throughout all of this, let the new user do her own thing.</p>
<p></p>
<div class="sectionHeader">7.  The first few days</div>
<p>If all goes well, the newly-converted user will be enjoying her first Linux experience.  But of course, there will be problems.  Remain available to help work her through the tough times and the initial shock of a completely new desktop experience, but don&#8217;t force your advice when you aren&#8217;t asked. </p>
<p></p>
<div class="sectionHeader">8.  Week two</div>
<p>This is a good time to start explaining <a href="/tech/ubuntuhelp.php">other ways of getting help with Linux</a>.  The idea here is to make the user self-sufficient in trouble-shooting and problem solving, but still try to be the most valuable resource you can possibly be.</p>
<p></p>
<div class="sectionHeader">9. The first month and beyond</div>
<p>If your convert is still using her new Linux desktop at this point, it&#8217;s probably safe to declare success!  Congratulations! You&#8217;ve turned someone on to a free-software operating system.  By this time, her desktop should probably be well-configured, and all the programs she needs should be installed and working properly.  By this time, you&#8217;ll probably be starting to get more advanced questions than before; things like, &#8220;How do I customize function [x]?&#8221; or &#8220;What does it mean when the update manager does [something]?&#8221; If you&#8217;re lucky, you&#8217;ll know all the answers; otherwise, use <a href="/tech/ubuntuhelp.php">these valuable resources</a> to find out some solutions!  It&#8217;s always important to learn more yourself, so that you can proceed to step 10:</p>
<p></p>
<div class="sectionHeader">10. Repeat step 1 through 9</div>
<p>If you&#8217;ve been lucky enough to successfully convert a Windows user to Linux, you should definitely try it again with someone else!  Use what you&#8217;ve learned with your previous experience and adapt it to fit your style and your mark.  If all goes well, you should have your own personal army of Linux converts in no time at all!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/10-steps-to-convert-a-windows-user-to-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Will Ajax Runtime Environments Create Web 3.0?</title>
		<link>http://www.techthrob.com/2009/03/02/will-ajax-runtime-environments-create-web-30/</link>
		<comments>http://www.techthrob.com/2009/03/02/will-ajax-runtime-environments-create-web-30/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 21:23:26 +0000</pubDate>
		<dc:creator>Jonathan DePrizio</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techthrob.com/wp/wordpress/?p=79</guid>
		<description><![CDATA[Introduction
Web 2.0 was marked by the development of web-based applications.  Things really took off when &#8220;mashups&#8221; began to appear; the ability to take information from multiple sites and create a unique service, based on the web, that provided a sum greater than the whole of its parts.  But the major limitation to all [...]]]></description>
			<content:encoded><![CDATA[<div class="sectionHeader">Introduction</div>
<p>Web 2.0 was marked by the development of web-based applications.  Things really took off when &#8220;mashups&#8221; began to appear; the ability to take information from multiple sites and create a unique service, based on the web, that provided a sum greater than the whole of its parts.  But the major limitation to all these services is that they existed solely in the realm of the Internet, and data was stored on somebody else&#8217;s servers.</p>
<p>The introduction of Ajax Runtime Environments is poised to change all that.  Adobe&#8217;s Air platform and Mozilla&#8217;s XULRunner allow coders to write applications using the technology of Web 2.0 &#8211; XML, Ajax, and Javascript &#8211; and transfer what was once a web-only platform to the user&#8217;s desktop.</p>
<p></p>
<div class="sectionHeader">What this brings to the table</div>
<p>Traditionally, Web 2.0 applications were limited to content already in existence on the web.  They relied largely upon user-uploaded content to various sites (Flickr being a great example), as well as the large databases maintained by corporations (Amazon.com&#8217;s API, which allows you to query their products, being a good example of this).  </p>
<p>These desktop-based applications will still have access to this web-based content, but it is also able to utilize what&#8217;s most important to the user &#8211; the files located on his or her desktop and local network.  Combining this data with the information stored can bring about limitless possibilities.  </p>
<p>A quick example: imagine an application that can sort and browse through the photos you took on a recent trip to Spain.  The application then queries Flickr for other people&#8217;s photos of the same locations; together, you now have not only your own photos, but access to pictures taken by the entire web community.  Another example: you have an application to <a href="/tech/alexandria.php">manage your personal book collection</a>.  This web-enhanced app, running on your desktop, is now able to lookup what books you might like to read, based on recommendations from Amazon.com and other sites.  The possibilities are endless.</p>
<p></p>
<div class="sectionHeader">Getting in on the ground floor</div>
<p>We&#8217;ve already seen the beginning of such programs.  Miro, an application for downloading and watching internet-based TV, uses the Mozilla XULRunner Runtime Environment.  Songbird, an iTunes-like music player, also utilizes the XULRunner environment.  Joost, an application similar to Miro, was created by the founders of Skype and Kazaa, and uses p2p technology to distribute vidcasts over the internet.  All of these applications have a few key things in common: they run on the desktop, they are cross-platform, easy to develop, and can easily leverage the full power of the Internet to deliver content and an experience not limited by the traditional methods of desktop-based programs.</p>
<p></p>
<div class="sectionHeader">Who knows what the future may bring</div>
<p>Like the emergence of Web 2.0, it&#8217;s impossible to tell where things will end up going.  But the possibilities of combining the desktop with the collective resources of the Internet-at-large are seemingly endless.  My prediction is that we&#8217;ll see applications that become as integral a part of our computing experience as services like Gmail and Flickr have become in the past few years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techthrob.com/2009/03/02/will-ajax-runtime-environments-create-web-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
