<?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>Steven Harms</title>
	<atom:link href="http://www.sharms.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharms.org/blog</link>
	<description>Life, Linux and Technology</description>
	<lastBuildDate>Sun, 13 May 2012 09:57:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Acer Iconia A510 Tablet Review</title>
		<link>http://www.sharms.org/blog/2012/05/acer-iconia-a510-tablet-review/</link>
		<comments>http://www.sharms.org/blog/2012/05/acer-iconia-a510-tablet-review/#comments</comments>
		<pubDate>Sun, 13 May 2012 09:57:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[a510]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[ipad]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=910</guid>
		<description><![CDATA[There are many great choices in the tablet market today, with the main contenders being the iPad 3, the Asus Transformer Prime, and the Kindle Fire. Today I am going to share my experiences with an alternative that I found very fun and functional in it&#8217;s own right: The Acer Iconia A510 10.1 Inch Tablet [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2012/03/ubuntu-12-04-and-the-hp-envy-15/' rel='bookmark' title='Permanent Link: Ubuntu 12.04 and the HP Envy 15'>Ubuntu 12.04 and the HP Envy 15</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are many great choices in the tablet market today, with the main contenders being the iPad 3, the Asus Transformer Prime, and the Kindle Fire.  Today I am going to share my experiences with an alternative that I found very fun and functional in it&#8217;s own right: The <a href="http://www.amazon.com/gp/product/B007E8TWPU/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B007E8TWPU">Acer Iconia A510 10.1 Inch Tablet</a><img src="http://www.assoc-amazon.com/e/ir?t=mindwarpnet-20&#038;l=as2&#038;o=1&#038;a=B007E8TWPU" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2012/05/box.jpg"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/05/box-small.jpg" alt="" title="box-small" width="400" height="300" class="aligncenter size-full wp-image-911" /></a></p>
<h2>Linux Biased</h2>
<p>I wanted to preface this by sharing that I am a <a href="http://www.ubuntu.com">Ubuntu Linux</a> user, and as such there were several reasons why an Android based tablet makes more sense.  Developers will find the iPad impossible to develop for unless you own a Mac.  In addition, music collections are designed to work through iTunes, which besides the clumsy interface, becomes a pain if you and your family want to store music libraries on multiple computers.  Apple also enforces policies which prevent common sense features like Amazon actually having a link to it&#8217;s own store in the Kindle application.</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2012/05/onbox.jpg"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/05/onbox-small.jpg" alt="" title="onbox-small" width="400" height="356" class="aligncenter size-full wp-image-914" /></a></p>
<h2>Specifications</h2>
<ul>
<li>10.1” HD Multi-Touch Display: (1280 x 800) resolution, 16:10 aspect ratio</li>
<li>Android™ 4.0 Operating System (Ice Cream Sandwich)</li>
<li>NVIDIA Tegra 3 Quad Core (1.3GHz)</li>
<li>1GB DDR2 Memory</li>
<li>32GB internal storage</li>
</ul>
<h2>Usage</h2>
<p>The default Ice Cream Sandwich load with the Acer customizations works well and is fluid.  Reading books using the Kindle application works great, and I found it substantially easier to read technical books on it&#8217;s 10.1&#8243; screen vs. the <a href="http://www.amazon.com/gp/product/B0051VVOB2/ref=as_li_tf_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B0051VVOB2">Kindle Fire&#8217;s</a> 7&#8243; screen.  The Tegra 3 itself is a very powerful 3d graphics unit, and I was able to run <a href="http://www.amazon.com/gp/product/B00005O0I2/ref=as_li_tf_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B00005O0I2">Grand Theft Auto 3</a> on it with complete smoothness and great graphics, while still receiving Google mail and Facebook messages.  I wasn&#8217;t expecting the Acer to be so powerful, and was pleasantly surprised. </p>
<h2>Battery Life</h2>
<p>The battery life on this tablet is what sets it apart from the pack, with between 10 and 13 hours depending on usage.  I wasn&#8217;t able to find another 10.1&#8243; tablet which could compare with this across the board.</p>
<h2>Size</h2>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2012/05/kindle.jpg"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/05/kindle-small.jpg" alt="" title="kindle-small" width="400" height="300" class="aligncenter size-full wp-image-916" /></a></p>
<p>The Iconia feels nice to hold, although it is definitely thicker than many of it&#8217;s competitors.  I have no problem holding it while reading a ebook etc, and the weight makes it feel more robust.  Having the extra screen real estate makes a big difference for PDF documents, along with applications designed with these tablets in mind.</p>
<h2>Other Features</h2>
<p>The Iconia comes with built in cameras which work very well, GPS, Bluetooth and an SD card slot.</p>
<h2>Conclusion</h2>
<p>Acer has designed a surprisingly good tablet that can compete with any on the market today.  With it&#8217;s powerful tegra 3 graphics and best in class battery, it can go with you and stay on through long trips and varied workloads.  It&#8217;s a great time for Linux across the board.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2012/03/ubuntu-12-04-and-the-hp-envy-15/' rel='bookmark' title='Permanent Link: Ubuntu 12.04 and the HP Envy 15'>Ubuntu 12.04 and the HP Envy 15</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2012/05/acer-iconia-a510-tablet-review/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Finding a great Ubuntu Linux laptop for &lt; $1000</title>
		<link>http://www.sharms.org/blog/2012/04/finding-a-great-ubuntu-linux-laptop-for-1000/</link>
		<comments>http://www.sharms.org/blog/2012/04/finding-a-great-ubuntu-linux-laptop-for-1000/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 03:58:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=859</guid>
		<description><![CDATA[I was searching for a new laptop recently, and the journey took me in many different directions. I tried a 13&#8243; Macbook Air, a Acer Aspire S3, HP Envy 15 and considered countless others. To cut a long story short, I decided on the Acer TimelineX AS4830TG-6808. Component Cost Acer TimelineX AS4830TG-6808 $649 at Microcenter [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/11/ecs-gf8200a-under-intrepid/' rel='bookmark' title='Permanent Link: ECS GF8200A under Ubuntu Intrepid'>ECS GF8200A under Ubuntu Intrepid</a></li>
<li><a href='http://www.sharms.org/blog/2009/02/finding-the-difference-between-two-files/' rel='bookmark' title='Permanent Link: Finding the difference between two files'>Finding the difference between two files</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/installing-groupwise-8-client-in-ubuntu-jaunty-amd64/' rel='bookmark' title='Permanent Link: Installing Groupwise 8 Client in Ubuntu Jaunty AMD64'>Installing Groupwise 8 Client in Ubuntu Jaunty AMD64</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was searching for a new laptop recently, and the journey took me in many different directions. I tried a 13&#8243; Macbook Air, a Acer Aspire S3, <a href="http://www.sharms.org/blog/2012/03/ubuntu-12-04-and-the-hp-envy-15/">HP Envy 15</a> and considered countless others. To cut a long story short, I decided on the Acer TimelineX AS4830TG-6808.</p>
<table>
<th>Component</th>
<th>Cost</th>
<tdata>
<tr>
<td><a href="http://www.amazon.com/gp/product/B006ITEB34/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B006ITEB34">Acer TimelineX AS4830TG-6808</a></td>
<td>$649 at Microcenter</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B005T3GQ0G/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B005T3GQ0G">Samsung SSD 256GB</a></td>
<td>$309 at Microcenter</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B003DZJQQI/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B003DZJQQI">Crucial 8GB (2x4GB dimms)</a></td>
<td>$49 at Microcenter</td>
</tr>
<tr>
<td><a href="http://www.ubuntu.com">Ubuntu 12.04 x86-64</a></td>
<td>Free!</td>
</tr>
</tdata>
</table>
<p>This gave me everything I was looking for.  It boots in 5-6 seconds flat, has a ton of SSD storage, all of my frequent files get cached in ram anyways and it works great.  It also has the added advantage of not having only a Intel HD 3000 card (which does horrible on actual 3d applications), but has an Nvidia GT540M card which is fully supported by <a href="http://www.ubuntu.com" title="Ubuntu Linux" target="_blank">Ubuntu 12.04</a> and the <a href="http://bumblebee-project.org/" title="Bumblebee Project" target="_blank">Bumblebee Project</a>.</p>
<h2>Total: $1000</h2>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2012/04/boxes-big.jpg"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/04/boxes-small.jpg" alt="" title="Acer TimelineX in box with 8GB crucial memory and a Samsung SSD" width="480" height="360" class="aligncenter size-full wp-image-864" /></a></p>
<h2>Adding Components</h2>
<p>Once I removed the middle screw towards the front of the laptop, the panel came off by just sliding it forward.  Here I replaced the slow tradition SSD and single 4GB module of ram:<br />
<a href="http://www.sharms.org/blog/wp-content/uploads/2012/04/open-big.jpg"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/04/open-small.jpg" alt="" title="Acer Timeline X adding RAM and SSD" width="428" height="205" class="aligncenter size-full wp-image-861" /></a></p>
<h2>Hardware Complete and Ready To Go</h2>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2012/04/laptop-big.jpg"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/04/laptop-small.jpg" alt="" title="Acer Timeline X" width="480" height="420" class="aligncenter size-full wp-image-870" /></a></p>
<h2>Software Steps</h2>
<p>Once I had the hardware ready, it was time to install Ubuntu 12.04 (which you can now download straight from <a href="http://www.ubuntu.com">ubuntu.com</a> without any special links).  When I partitioned the drive, I made the following partitions.  This is largely up to personal preference, but this best suited my use:</p>
<table>
<th>Size</th>
<th>Name</th>
<tdata>
<tr>
<td>300M</td>
<td>/boot</td>
</tr>
<tr>
<td>20G</td>
<td>/var</td>
</tr>
<tr>
<td>500M</td>
<td>swap</td>
</tr>
<tr>
<td>max</td>
<td>/</td>
</tr>
</tdata>
</table>
<p>After the installation was finished, I edited my fstab for all partitions to use the <strong>noatime,discard</strong> option as I didn&#8217;t want too much writing to my SSD.  <strong>&#8220;discard&#8221;</strong> will enable TRIM support for the SSD. I changed the file by running <strong>&#8220;gksudo gedit /etc/fstab&#8221;</strong>:</p>
<p><code><br />
UUID=ff44d983-f944-4790-95c7-f2e9982cf70 /               ext4    errors=remount-ro 0       1<br />
</code><br />
to<br />
<code><br />
UUID=ff44d983-f944-4790-95c7-f2e9982cf70 /               ext4    noatime,discard,errors=remount-ro 0       1<br />
</code></p>
<h2>Display Settings</h2>
<p>Out of the box, the system cannot change brightness.  I added the following lines to my default grub:<br />
<code><br />
sudo -i<br />
echo 'GRUB_CMDLINE_LINUX="quiet splash pcie_aspm=force i915.i915_enable_rc6=1 acpi_osi=Linux acpi_backlight=vendor"' > /etc/default/grub<br />
update-grub2<br />
</code></p>
<h2>Wifi</h2>
<p>Wifi worked out of the box, however with my wireless N access point I had to force it to not use wireless N:<br />
<code><br />
sudo -i<br />
echo "options iwlwifi 11n_disable=1" > /etc/modprobe.d/disable-iwlwifi-n.conf<br />
</code></p>
<h2>Nvidia Graphics</h2>
<p>By default the system will use the Intel graphics, however this is quite slow for anything other than web browsing.  To use the Nvidia Optimus features, I installed <a href="http://bumblebee-project.org/install.html">Bumblebee</a><br />
<code><br />
sudo add-apt-repository ppa:bumblebee/stable<br />
sudo apt-get install bumblebee bumblebee-nvidia<br />
sudo usermod -a -G bumblebee $USER<br />
</code></p>
<p>After rebooting, you can then check out the dramatic FPS difference between these:<br />
<code><br />
# Intel 3000<br />
glxspheres<br />
# Nvidia<br />
optirun glxspheres<br />
</code></p>
<h2>Bluetooth</h2>
<p>Bluetooth works, however it does take a little tweaking out of the box:<br />
<code><br />
sudo -i<br />
cat << EOF > /etc/rc.local<br />
#!/bin/sh -e<br />
modprobe btusb<br />
echo "0489 e033" > /sys/bus/usb/drivers/btusb/new_id<br />
EOF<br />
</code></p>
<h2>Suspend / Resume</h2>
<p>Looks like there is still the suspend / resume bug for the EHCI controller on a few different netbooks, this fixes it if your laptop shows a black screen resuming from suspend, <a href="http://www.sharms.org/files/20_suspendfix" alt="Ubuntu Suspend fix for Acer Timeline X">download this file and copy it to /etc/pm/sleep.d/20_suspendfix</a></p>
<h2>Terminal Settings</h2>
<p>As soon as I get a new system up, I apply my bash defaults that I posted to the Ubuntu wiki with a detailed description of what they do: <a href="https://wiki.ubuntu.com/Spec/EnhancedBash">Enhanced Bash</a></p>
<h2>Programs</h2>
<p>I install the following programs right away:<br />
<code><br />
sudo apt-get install git mercurial bzr build-essential vim seahorse xchat keepassx vlc gimp chromium-browser fonts-droid fonts-inconsolata devscripts<br />
</code></p>
<h2>Summary</h2>
<p>I am really enjoying both this laptop and the Ubuntu 12.04 release (running Unity).  I was able to hook up my external 25&#8243; monitor through the HDMI port and it detected and used it seamlessly.  It suspends and resumes with no problem, audio controls and brightness controls also work.  Two finger scrolling works once enabled under touchpad settings, and the battery life is over 7 hours.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/11/ecs-gf8200a-under-intrepid/' rel='bookmark' title='Permanent Link: ECS GF8200A under Ubuntu Intrepid'>ECS GF8200A under Ubuntu Intrepid</a></li>
<li><a href='http://www.sharms.org/blog/2009/02/finding-the-difference-between-two-files/' rel='bookmark' title='Permanent Link: Finding the difference between two files'>Finding the difference between two files</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/installing-groupwise-8-client-in-ubuntu-jaunty-amd64/' rel='bookmark' title='Permanent Link: Installing Groupwise 8 Client in Ubuntu Jaunty AMD64'>Installing Groupwise 8 Client in Ubuntu Jaunty AMD64</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2012/04/finding-a-great-ubuntu-linux-laptop-for-1000/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 and the HP Envy 15</title>
		<link>http://www.sharms.org/blog/2012/03/ubuntu-12-04-and-the-hp-envy-15/</link>
		<comments>http://www.sharms.org/blog/2012/03/ubuntu-12-04-and-the-hp-envy-15/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 11:43:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu envy laptop hp]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=826</guid>
		<description><![CDATA[The HP Envy 15 (HP Envy 15-3033CL) was released in late 2011 as a competitor to the MacBook Pro. When comparing against new models, I chose the envy over others that I was considering: Model Notes Asus UX31 The Asus UX31 was my second choice, with an SSD and high resolution screen. The touchpad however [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2007/05/dell-d620-on-linux/' rel='bookmark' title='Permanent Link: Dell D620 on Linux'>Dell D620 on Linux</a></li>
<li><a href='http://www.sharms.org/blog/2012/04/finding-a-great-ubuntu-linux-laptop-for-1000/' rel='bookmark' title='Permanent Link: Finding a great Ubuntu Linux laptop for < $1000'>Finding a great Ubuntu Linux laptop for < $1000</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.amazon.com/gp/product/B006PCDJI2/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B006PCDJI2">HP Envy 15 (HP Envy 15-3033CL)</a> was released in late 2011 as a competitor to the MacBook Pro. When comparing against new models, I chose the envy over others that I was considering:</p>
<table>
<th>Model</th>
<th>Notes</th>
<tbody>
<tr>
<td>Asus UX31</td>
<td>The <a href="ttp://www.amazon.com/gp/product/B005SY32Q2/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B005SY32Q2">Asus UX31</a> was my second choice, with an SSD and high resolution screen. The touchpad however was as bad as the other internet reviews say it was, and it didn&#8217;t suspend / resume without hand holding according to the wiki</td>
</tr>
<tr>
<td>MacBook Air 13&#8243;</td>
<td>The <a href="http://www.amazon.com/gp/product/B005CWHZP4/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B005CWHZP4">MacBook Air</a> was a great choice, but for the same price I was able to sacrifice some portability for 8GB of ram and 4 cores. In addition I had no intention of running OS X, so this didn&#8217;t make a lot of sense. Also it is very sensitive to water according to customer accounts on the internet, which scared me as I like to work hydrated</td>
</tr>
<tr>
<td>Acer S3</td>
<td>I liked the <a href="http://www.amazon.com/gp/product/B005MR58MG/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B005MR58MG">Acer S3</a> hybrid SSD / traditional hard disk approach, but the screen resolution was a horrible 1366&#215;768 which is not easy to get real work done on</td>
</tr>
<tr>
<td>MacBook Pro 15&#8243;</td>
<td>The <a href="http://www.amazon.com/gp/product/B005CWJ1DI/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B005CWJ1DI">Macbook Pro 15&#8243;</a> was the same size as the Envy, with less ram, processor and screen resolution</td>
</tr>
</tbody>
</table>
<h2>The HP Envy 15</h2>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2012/03/photo-1.jpg"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/03/envy-small.jpg" alt="HP Envy 15 Laptop Running Ubuntu 12.04" title="envy-small" width="300" height="225" class="aligncenter size-full wp-image-835" /></a></p>
<p>The laptop is the same form factor as a <a href="http://www.amazon.com/gp/product/B005CWJ1DI/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&#038;tag=mindwarpnet-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B005CWJ1DI">MacBook Pro 15&#8243;</a>, and has an aluminum body.  It has a hardware volume control which works out of the box on Ubuntu.  The keyboard itself feels natural and is easy to type on, although the laptop supports Bluetooth if you wanted to easily add an external keyboard.  The keyboard is also backlit, which makes it much easier to see the keys in low light conditions.</p>
<p>The Envy sets itself apart from endless models with low resolution screens by providing a 1920&#215;1080 15&#8243; LCD.  The screen allows for much more content on screen than the traditional 1366&#215;768 panels and looks beautiful.  Having recently purchased a laptop with a 1366&#215;768 screen, I can say that no matter how much you try and make apps fullscreen and decrease fontsize, that they simply don&#8217;t compare to the higher resolution display of the Envy.</p>
<h2>Ubuntu Experience</h2>
<table>
<th>Feature</th>
<th>Notes</th>
<tbody>
<tr>
<td>Touchpad / Clickpad</td>
<td>Works.  Comes with  a synaptics clickpad.  See notes below</td>
</tr>
<tr>
<td>Video</td>
<td>Works.  Comes with hybrid Intel / ATI graphics, and they both work out of the box using open source drivers.  See notes below</tr>
<tr>
<td>CPU</td>
<td>Works.  CPU throttling works and all cores are recognized</td>
</tr>
<tr>
<td>Wireless</td>
<td>Works.  Comes with an Intel 6230, although I did force it to not use 802.11N.  See notes below</td>
</tr>
<tr>
<td>Networking</td>
<td>Works.  Lan connectivity works with no issues</td>
</tr>
<tr>
<td>Suspend / Sleep</td>
<td>Works.  No issues with suspend / resume functionality</td>
</tr>
</tbody>
</table>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2012/03/screenshot-small.png"><img src="http://www.sharms.org/blog/wp-content/uploads/2012/03/screenshot-small.png" alt="" title="Ubuntu 12.04 on HP Envy running Unity" width="400" height="225" class="aligncenter size-full wp-image-843" /></a></p>
<h2>Touchpad / Clickpad</h2>
<p>After a little bit of searching I found that it is 10x easier to google calling it a clickpad.  Run this to make click-dragging work in 12.04 (must be ran each time you start up):</p>
<pre class="brush: sh">
#!/bin/bash
# Taken from http://www.theorangenotebook.com/2012/02/call-for-testing-clickpad.html
xinput set-prop &quot;13&quot; &quot;Synaptics ClickPad&quot; 1
</pre>
<h2>Video</h2>
<p>By default it works great, including with Unity.  However, you could get better 3d performance if you use ATI&#8217;s Catalyst drivers.  They can be installed through the Additional Drivers window.  If you don&#8217;t want both cards running at once (ie you are on battery power):</p>
<pre class="brush: sh">
echo OFF &gt; /sys/kernel/debug/vgaswitcheroo/switch
</pre>
<p>This will switch the ATI card off leaving only the Intel card on</p>
<h2>Wireless</h2>
<p>I have a pretty awesome router that runs DD-WRT (ASUS RT-N16), however it doesn&#8217;t appear I can use wireless N.  To disable wireless N:</p>
<pre class="brush: sh">
cat &lt;&lt; EOF &gt; /etc/modprobe.d/disable-n.conf
options iwlwifi 11n_disable=1
EOF
</pre>
<h2>Processors</h2>
<p>Here you can see them scaling their frequencies as expected:</p>
<pre class="brush: sh">
sharms@dawnstar:~$ cat /proc/cpuinfo | grep MHz
cpu MHz		: 800.000
cpu MHz		: 800.000
cpu MHz		: 800.000
cpu MHz		: 800.000
cpu MHz		: 800.000
cpu MHz		: 800.000
cpu MHz		: 2201.000
cpu MHz		: 800.000
</pre>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2007/05/dell-d620-on-linux/' rel='bookmark' title='Permanent Link: Dell D620 on Linux'>Dell D620 on Linux</a></li>
<li><a href='http://www.sharms.org/blog/2012/04/finding-a-great-ubuntu-linux-laptop-for-1000/' rel='bookmark' title='Permanent Link: Finding a great Ubuntu Linux laptop for < $1000'>Finding a great Ubuntu Linux laptop for < $1000</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2012/03/ubuntu-12-04-and-the-hp-envy-15/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Using KeepassX on Ubuntu Linux</title>
		<link>http://www.sharms.org/blog/2011/08/using-keepassx-on-ubuntu-linux/</link>
		<comments>http://www.sharms.org/blog/2011/08/using-keepassx-on-ubuntu-linux/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 18:02:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=815</guid>
		<description><![CDATA[Recently I switched my personal password manager from Revelation to KeepassX.  I keep an encrypted password file in my Dropbox account, which syncs across all of my computers (Dropbox on Ubuntu). Install KeepassX You can install KeepassX by opening a terminal and running &#8216;apt-get install keepassx&#8217;, or by opening the Ubuntu Software Center and searching [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2009/12/a-thousand-passwords/' rel='bookmark' title='Permanent Link: A thousand passwords'>A thousand passwords</a></li>
<li><a href='http://www.sharms.org/blog/2009/04/dropbox-on-ubuntu/' rel='bookmark' title='Permanent Link: Dropbox on Ubuntu'>Dropbox on Ubuntu</a></li>
<li><a href='http://www.sharms.org/blog/2009/03/migrated-to-a-vps/' rel='bookmark' title='Permanent Link: Migrated to a VPS'>Migrated to a VPS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently I switched my personal password manager from Revelation to KeepassX.  I keep an encrypted password file in my Dropbox account, which syncs across all of my computers (<a title="Dropbox on Ubuntu" href="http://www.sharms.org/blog/2009/04/dropbox-on-ubuntu/" target="_blank">Dropbox on Ubuntu</a>).</p>
<p><strong>Install KeepassX</strong><br />
You can install KeepassX by opening a terminal and running &#8216;apt-get install keepassx&#8217;, or by opening the Ubuntu Software Center and searching for it there:</p>
<p>&nbsp;</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2011/08/install.jpg"><img class="aligncenter size-full wp-image-816" title="Installing KeepassX" src="http://www.sharms.org/blog/wp-content/uploads/2011/08/install.jpg" alt="" width="897" height="562" /></a><strong>Create a password database<br />
</strong>After installing the first thing you are going to want to do is create a password database.  This is where your passwords will be stored on your hard disk.</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2011/08/create.jpg"><img class="aligncenter size-full wp-image-817" title="create" src="http://www.sharms.org/blog/wp-content/uploads/2011/08/create.jpg" alt="" width="769" height="803" /></a></p>
<p><strong>Add a new entry</strong><br />
Now that you have created a password database, you can start adding entries in</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2011/08/addentry.jpg"><img class="aligncenter size-full wp-image-818" title="addentry" src="http://www.sharms.org/blog/wp-content/uploads/2011/08/addentry.jpg" alt="" width="778" height="804" /></a></p>
<p><strong>Generate a password</strong><br />
One of the best features of using a password manager like KeepassX is that for every single site you use, you can use a very long password, and a different password for each website.  Here we can hit the button labelled &#8216;gen&#8217; and create a password</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2011/08/generatepassword.jpg"><img class="aligncenter size-full wp-image-819" title="generatepassword" src="http://www.sharms.org/blog/wp-content/uploads/2011/08/generatepassword.jpg" alt="" width="768" height="806" /></a></p>
<p><strong>Right click your entry</strong><br />
Now you can right click your new entry, copy the new password and paste it into sites.  This is much more secure, as if you use the same password for every website you visit, and one of them gets hacked, you will have to change your password on the other sites, if you even get a chance before they exploit your information.  In addition, KeepassX is cross platform, working on Windows and OS X also.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2009/12/a-thousand-passwords/' rel='bookmark' title='Permanent Link: A thousand passwords'>A thousand passwords</a></li>
<li><a href='http://www.sharms.org/blog/2009/04/dropbox-on-ubuntu/' rel='bookmark' title='Permanent Link: Dropbox on Ubuntu'>Dropbox on Ubuntu</a></li>
<li><a href='http://www.sharms.org/blog/2009/03/migrated-to-a-vps/' rel='bookmark' title='Permanent Link: Migrated to a VPS'>Migrated to a VPS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2011/08/using-keepassx-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Ubuntu VS OS X</title>
		<link>http://www.sharms.org/blog/2011/07/ubuntu-vs-os-x/</link>
		<comments>http://www.sharms.org/blog/2011/07/ubuntu-vs-os-x/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 17:29:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=810</guid>
		<description><![CDATA[A few months back I wrote a post that had quite a few reactions, speculating on why open source developers run OS X. Recently I have been using the newest Macbook Pro 15&#8243;, and I thought I would update my direct experience on how Ubuntu and OS X stack up. Web Browsing On both platforms [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/11/workspaces/' rel='bookmark' title='Permanent Link: Workspaces'>Workspaces</a></li>
<li><a href='http://www.sharms.org/blog/2009/02/the-cherokee-webserver/' rel='bookmark' title='Permanent Link: The Cherokee Webserver'>The Cherokee Webserver</a></li>
<li><a href='http://www.sharms.org/blog/2010/08/terminator-color-palettes/' rel='bookmark' title='Permanent Link: Terminator color palettes'>Terminator color palettes</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A few months back I wrote a post that had quite a few reactions, speculating on <a href="http://www.sharms.org/blog/2010/12/on-why-open-source-developers-run-mac-os-x/">why open source developers run OS X</a>.</p>
<p>Recently I have been using the newest Macbook Pro 15&#8243;, and I thought I would update my direct experience on how Ubuntu and OS X stack up.</p>
<p><strong>Web Browsing</strong><br />
On both platforms Chrome, in my view, is the defacto standard for nerds and an ever increasing porportion of the general population. Having used Safari for the first month to try &#8216;the apple way&#8217;, I can say that Chrome feels faster, has better features, and was just really well thought out. Both platforms are a wash on this one.</p>
<p><strong>Flash Plugin</strong><br />
This one is also a wash, both platforms have support for flash &#8212; I actually think Ubuntu has an edge here since Flash can be installed via the package manager, instead of an entirely separate installer in OS X.</p>
<p><strong>Text Editing</strong><br />
Textmate is a very cool application, with tons of pre-defined bundles that allow for quick completion, and a great project view.  However for Java development, it seems that IDE autocompletion / debugger integration is hard to beat (Eclipse / Netbeans work on both platforms), while for Python / Ruby etc Vim was a better fit for both platforms, as an advanced user.  Definitely a great entry level editor that is an inbetween for Gedit / Vim.</p>
<p><strong>Terminals</strong><br />
I think here gnome-terminal blows away terminal.app &#8212; gnome-terminal is noticeably faster and the design was clearly by people using the terminal day in and out.  I think the Mac community feels the same way, and in general uses ITerm, or the recently released ITerm2 (not same authors as ITerm oddly enough).  ITerm2 does work well, but again it feels like the terminal lacks speed in comparison.</p>
<p><strong>Performance</strong><br />
One thing that struck me was the lack of responsiveness / speed.  This Macbook is a quad core with an ATI dedicated graphics card, but for most operations the OS feels quite sluggish.  Starting up iTunes or Safari takes much longer than you would expect for a $2000 USD piece of machinery.  I will however note that I only use Gnome 2, so Gnome 3 may suffer from a similar issue, but I am not experienced enough to write about it.</p>
<p><strong>Application Installation Method</strong><br />
I was able to install apps through the Mac App Store, in the same manner I do in Ubuntu using the Software Center.  The Mac App store has many more commercial applications, however most of them like Photoshop are just not needed for a Linux veteran as Gimp does everything needed.  I also purchased XCode 4, but was underwhelmed other than the Iphone emulator which ran awesome in comparison to the Android emulator I was previously used to.</p>
<p><strong>Email</strong><br />
I am sure a lot of people use Mail.app and like it, but I have always been a fan of the GMail interface.  I guess if we are comparing Apples to Apples, Evolution and Mail.app are both not very strong competitors (ie the rest of the world either runs on Outlook or Gmail).</p>
<p><strong>Photo Management</strong><br />
iPhoto is a strong point, it is very easy, intuitive and nice looking to manage photos.   Linux alternatives here are weak.</p>
<p><strong>Music Management</strong><br />
iTunes is a horrible, slow monster of expensive music.  One thing I miss is my Droid and the Amazon MP3 application, as that was by far a better deal, and my purchases went straight to the cloud.  iCloud is coming shortly, but Amazon is still my vendor of choice, and they already have proven to get the cloud right.</p>
<p><strong>Gaming</strong><br />
OS X and Ubuntu both have my favorite game, Heroes of Newerth.  Mac OS X has Steam, which is definitely a benefit and World of Warcraft.  Ubuntu can&#8217;t really compete in this arena, so it is something to consider.</p>
<p><strong>Conclusion</strong><br />
So, if you were like me, and curious about Mac OS X, you can see I am not overall impressed.  Maybe I am just biased towards Ubuntu, but I find overall it has favorable performance, and I can change out any pieces I don&#8217;t like.   I would recommend OS X if you wanted a generally worse experience but the ability to install Photoshop and a few more games (still nothing compared to Windows in this respect).</p>
<p>&nbsp;</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/11/workspaces/' rel='bookmark' title='Permanent Link: Workspaces'>Workspaces</a></li>
<li><a href='http://www.sharms.org/blog/2009/02/the-cherokee-webserver/' rel='bookmark' title='Permanent Link: The Cherokee Webserver'>The Cherokee Webserver</a></li>
<li><a href='http://www.sharms.org/blog/2010/08/terminator-color-palettes/' rel='bookmark' title='Permanent Link: Terminator color palettes'>Terminator color palettes</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2011/07/ubuntu-vs-os-x/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Gitorious and Fully Qualified Domain Names (FQDN)</title>
		<link>http://www.sharms.org/blog/2011/02/gitorious-and-fully-qualified-domain-names-fqdn/</link>
		<comments>http://www.sharms.org/blog/2011/02/gitorious-and-fully-qualified-domain-names-fqdn/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 15:08:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[gitorious]]></category>
		<category><![CDATA[installation]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=806</guid>
		<description><![CDATA[When you want to install your own version of gitorious, a lot of people seem to run into issues where they don&#8217;t have a real DNS name for their servers. This breaks the session code of gitorious. I just ran a &#8216;git diff&#8217; on my gitorious tree, and here are the changes I made to [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2009/02/finding-the-difference-between-two-files/' rel='bookmark' title='Permanent Link: Finding the difference between two files'>Finding the difference between two files</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/installing-groupwise-8-client-in-ubuntu-jaunty-amd64/' rel='bookmark' title='Permanent Link: Installing Groupwise 8 Client in Ubuntu Jaunty AMD64'>Installing Groupwise 8 Client in Ubuntu Jaunty AMD64</a></li>
<li><a href='http://www.sharms.org/blog/2010/07/sles-sp1-and-novell-suse-autoyast-with-intel-dell-raid-controllers/' rel='bookmark' title='Permanent Link: SLES 11 SP1 and Novell / SUSE Autoyast with Intel / Dell Raid Controllers'>SLES 11 SP1 and Novell / SUSE Autoyast with Intel / Dell Raid Controllers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you want to install your own version of gitorious, a lot of people seem to run into issues where they don&#8217;t have a real DNS name for their servers.  This breaks the session code of gitorious.</p>
<p>I just ran a &#8216;git diff&#8217; on my gitorious tree, and here are the changes I made to make it work:</p>
<pre class="brush: diff">

diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
index 7384f93..2409810 100644
--- a/config/initializers/session_store.rb
+++ b/config/initializers/session_store.rb
@@ -8,7 +8,8 @@ gitorious_yaml = YAML::load_file(File.join(Rails.root, &quot;config/gitorious.yml&quot;))[
 ActionController::Base.session = {
   :key    =&gt; &#039;_gitorious_sess&#039;,
   :secret =&gt; gitorious_yaml[&#039;cookie_secret&#039;],
-  :domain =&gt; &quot;.#{gitorious_yaml[&quot;gitorious_host&quot;]}&quot;,
+#  :domain =&gt; &quot;.#{gitorious_yaml[&quot;gitorious_host&quot;]}&quot;,
+  :domain =&gt; &quot;10.80.21.73&quot;,
   :expire_after =&gt; 3.weeks,
 }
</pre>
<p>And also:</p>
<pre class="brush: diff">
diff --git a/app/models/repository.rb b/app/models/repository.rb
index c4fd612..1df689c 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -226,7 +226,7 @@ class Repository &lt; ActiveRecord::Base
   end

   def http_clone_url
-    &quot;http://git.#{GitoriousConfig[&#039;gitorious_host&#039;]}/#{gitdir}&quot;
+    &quot;http://#{GitoriousConfig[&#039;gitorious_host&#039;]}/#{gitdir}&quot;
   end

   def http_cloning?
</pre>
<p>If you change 10.80.21.73 to whatever your ip is, all of your troubles should go away.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2009/02/finding-the-difference-between-two-files/' rel='bookmark' title='Permanent Link: Finding the difference between two files'>Finding the difference between two files</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/installing-groupwise-8-client-in-ubuntu-jaunty-amd64/' rel='bookmark' title='Permanent Link: Installing Groupwise 8 Client in Ubuntu Jaunty AMD64'>Installing Groupwise 8 Client in Ubuntu Jaunty AMD64</a></li>
<li><a href='http://www.sharms.org/blog/2010/07/sles-sp1-and-novell-suse-autoyast-with-intel-dell-raid-controllers/' rel='bookmark' title='Permanent Link: SLES 11 SP1 and Novell / SUSE Autoyast with Intel / Dell Raid Controllers'>SLES 11 SP1 and Novell / SUSE Autoyast with Intel / Dell Raid Controllers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2011/02/gitorious-and-fully-qualified-domain-names-fqdn/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automatically Backup Blogs / Websites to Amazon S3</title>
		<link>http://www.sharms.org/blog/2011/01/automatically-backup-blogs-websites-to-amazon-s3/</link>
		<comments>http://www.sharms.org/blog/2011/01/automatically-backup-blogs-websites-to-amazon-s3/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 21:00:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=797</guid>
		<description><![CDATA[I maintain several personal websites, and felt they should be backed up in case my Xen host has issues. Step 1 Create an Amazon S3 account at http://aws.amazon.com/s3/.  Once your account is created, you will need to create &#8216;credentials&#8217;, which will allow us to authenticate with S3.  You can access this by going to the [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/05/fun-with-amazon-s3-in-ubuntu-hardy/' rel='bookmark' title='Permanent Link: Fun with Amazon S3 in Ubuntu Hardy'>Fun with Amazon S3 in Ubuntu Hardy</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/interesting-blogs/' rel='bookmark' title='Permanent Link: Interesting Blogs'>Interesting Blogs</a></li>
<li><a href='http://www.sharms.org/blog/2009/04/dropbox-on-ubuntu/' rel='bookmark' title='Permanent Link: Dropbox on Ubuntu'>Dropbox on Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I maintain several personal websites, and felt they should be backed up in case my Xen host has issues.</p>
<p><strong>Step 1</strong></p>
<p>Create an Amazon S3 account at <a href="http://aws.amazon.com/s3/">http://aws.amazon.com/s3/</a>.  Once your account is created, you will need to create <strong>&#8216;credentials&#8217;</strong>, which will allow us to authenticate with S3.  You can access this by going to the <strong>&#8220;Amazon -&gt; Account -&gt; AWS Identity and Access Management&#8221;</strong> then clicking <strong>&#8216;Security Credentials&#8217;</strong> on the left, and then creating a <strong>&#8216;Access Key&#8217;</strong>.  These keys are composed of 2 parts: a public portion, called the <strong>&#8216;Access Key ID&#8217;</strong>, and a private portion (never to be shared) called the <strong>&#8216;Secret Access Key&#8217;</strong>.</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2011/01/amazon-credentials.png"><img class="aligncenter size-full wp-image-798" title="Amazon Security Credentials" src="http://www.sharms.org/blog/wp-content/uploads/2011/01/amazon-credentials.png" alt="Amazon Security Credentials" width="726" height="518" /></a></p>
<p><strong>Step 2</strong></p>
<p>We need to install a program called <strong>&#8216;s3cmd&#8217;</strong>.  This will allow us to interface with Amazon S3 via the command line.  On Ubuntu:</p>
<pre class="brush: sh">
sudo apt-get install s3cmd
</pre>
<p><strong>Step 3</strong></p>
<p>Now we need to setup <strong>s3cmd</strong> to save settings about our setup.  Make sure you have the <strong>Access Key ID</strong> and the <strong>Secret Key</strong>.  Run the following command to get started:</p>
<pre class="brush: sh">
s3cmd --configure
</pre>
<p>From here you will get an interactive prompt:  </p>
<pre>
Enter new values or accept defaults in brackets with Enter.
Refer to user manual for detailed description of all options.

Access key and Secret key are your identifiers for Amazon S3
Access Key: 231231232
Secret Key: 213123123

Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password: ubuntu
Path to GPG program [/usr/bin/gpg]: 

When using secure HTTPS protocol all communication with Amazon S3
servers is protected from 3rd party eavesdropping. This method is
slower than plain HTTP and can't be used if you're behind a proxy
Use HTTPS protocol [No]: yes

New settings:
  Access Key: 231231232
  Secret Key: 213123123
  Encryption password: ubuntu
  Path to GPG program: /usr/bin/gpg
  Use HTTPS protocol: True
  HTTP Proxy server name:
  HTTP Proxy server port: 0

Test access with supplied credentials? [Y/n]
</pre>
<p>I chose to pick &#8220;Use HTTPS protocol&#8221;, which will upload it via a secure method.  This is a good idea, although will slightly impact performance and may use slightly more traffic.  In addition, s3cmd also will encrypt the files using gpg, which means that if someone broke into your s3 account, they would still need that pass phrase to decrypt your data.</p>
<p><strong>Step 4</strong><br />
We can now test <strong>s3cmd</strong> and try to upload a file.  You will need to create a <strong>&#8216;bucket&#8217;</strong>, which is where our files for this project are stored.  You can have many buckets, so if you want to separate your projects you could create additional ones for each one.  When we make a bucket name, they are globally visible in S3, so you will want to pick something not likely to be taken:</p>
<pre class="brush: sh">
s3cmd mb s3://sharms.org-wordpress-blog
</pre>
<p>If that command runs successfully, we now have a new bucket called &#8216;sharms.org-wordpress-blog&#8217;.  If not, pick a different name and try again.  Now we can test uploading a file:</p>
<pre class="brush: sh">
s3cmd put /home/sharms/testfile.txt s3://sharms.org-wordpress-blog

# Verify its where we think it is
s3cmd ls s3://sharms.org-wordpress-blog
</pre>
<p><strong>Step 5</strong><br />
Using bash, we can automate this, and backup all of our files, daily, weekly, monthly etc.  Here is an example, which I put at <strong>&#8216;/usr/local/bin/backup_blog_to_s3.sh&#8217;</strong>:</p>
<pre class="brush: sh">
bucket=&quot;s3://sharms.org-wordpress-blog&quot;

logger -t backup_blog_to_s3.sh &quot;Backing up sharms.org blog to S3&quot;
cd /var/www
tar -cf sharms.org.tar blog
bzip2 -9 sharms.org.tar
s3cmd put sharms.org.tar.bz2 ${bucket}
rm /var/www/sharms.org.tar.bz2

logger -t backup_blog_to_s3.sh &quot;Backing up MySQL database to S3&quot;
mysqldump sharms-wordpress -u databaseuser -p databasepassword -a -r sharms-wordpress.sql
bzip2 -9 sharms-wordpress.sql
s3cmd put sharms-wordpress.sql.bz2 ${bucket}
rm sharms-wordpress.sql.bz2
</pre>
<p>You can see from the example that we backup all of the files in the &#8216;blog&#8217; directory, and export all of our data out of a MySQL database.  You can even change the file names so they have the date when they were backed up:</p>
<pre class="brush: sh">
tar -cf sharms.org-wordpress-$(date +%d%m%y) blog
</pre>
<p><strong>Running Automatically</strong><br />
If we wanted to backup the system every day, this is very easy:</p>
<pre class="brush: sh">
sudo cp /usr/local/bin/backup_blog_to_s3.sh /etc/cron.daily
sudo chmod 755 /etc/cron.daily
</pre>
<p><strong>Security Notes</strong><br />
When considering this setup, you are most vulnerable to someone obtaining access to your server, and getting your Amazon keys.  You can always revoke them from the Amazon Webservices Control Panel, but you don&#8217;t want an attacker using your S3 account for nefarious means.  Beyond the scope of this document, you could setup a user called &#8216;backups&#8217;, and make the file &#8216;~backups/.s3cmd&#8217; with the permissions &#8217;600&#8242;, to stop other users from looking at it&#8217;s contents. </p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/05/fun-with-amazon-s3-in-ubuntu-hardy/' rel='bookmark' title='Permanent Link: Fun with Amazon S3 in Ubuntu Hardy'>Fun with Amazon S3 in Ubuntu Hardy</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/interesting-blogs/' rel='bookmark' title='Permanent Link: Interesting Blogs'>Interesting Blogs</a></li>
<li><a href='http://www.sharms.org/blog/2009/04/dropbox-on-ubuntu/' rel='bookmark' title='Permanent Link: Dropbox on Ubuntu'>Dropbox on Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2011/01/automatically-backup-blogs-websites-to-amazon-s3/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Live Each Day Like It&#8217;s Your Last</title>
		<link>http://www.sharms.org/blog/2011/01/live-each-day-like-its-your-last/</link>
		<comments>http://www.sharms.org/blog/2011/01/live-each-day-like-its-your-last/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 17:26:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=795</guid>
		<description><![CDATA[&#8220;Live Each Day Like It&#8217;s Your Last&#8221; is a popular phrase thrown about, and it is hard to imagine why it ever became so popular.  Surely, if today was actually your last day, you would not procreate and want to have a child who could never have the chance to know atleast one of their [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2007/05/gutsy-musings/' rel='bookmark' title='Permanent Link: Gutsy musings'>Gutsy musings</a></li>
<li><a href='http://www.sharms.org/blog/2008/07/cool-podcast-etc/' rel='bookmark' title='Permanent Link: Cool podcast etc'>Cool podcast etc</a></li>
<li><a href='http://www.sharms.org/blog/2007/05/riding-the-train/' rel='bookmark' title='Permanent Link: Riding the train'>Riding the train</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;Live Each Day Like It&#8217;s Your Last&#8221;</em> is a popular phrase thrown about, and it is hard to imagine why it ever became so popular.  Surely, if today was actually your last day, you would not procreate and want to have a child who could never have the chance to know atleast one of their parents.  There are distinct and important differences between humans and fruit flies, longevity being one of them.  Forget saving for a house, inventing the next assembly line, or buying plane tickets for a vacation in a few weeks.</p>
<p>Then in the same breath as the above, we are told<em> &#8220;Good things come to those who wait&#8221;</em>.  How could anyone understand these mindless phrases?  On one hand, I need to live like today is it.  On the other hand, I need to wait a long time for plans to come to fruition.</p>
<p>So I propose from now on, we live life like we will live to the average expected age of our demographics, taking into account time already spent on Earth, and any known medical conditions.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2007/05/gutsy-musings/' rel='bookmark' title='Permanent Link: Gutsy musings'>Gutsy musings</a></li>
<li><a href='http://www.sharms.org/blog/2008/07/cool-podcast-etc/' rel='bookmark' title='Permanent Link: Cool podcast etc'>Cool podcast etc</a></li>
<li><a href='http://www.sharms.org/blog/2007/05/riding-the-train/' rel='bookmark' title='Permanent Link: Riding the train'>Riding the train</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2011/01/live-each-day-like-its-your-last/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Google CR-48 Laptop</title>
		<link>http://www.sharms.org/blog/2011/01/google-cr-48-laptop/</link>
		<comments>http://www.sharms.org/blog/2011/01/google-cr-48-laptop/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 18:46:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[chrome os]]></category>
		<category><![CDATA[cr48]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[laptop]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=788</guid>
		<description><![CDATA[A few weeks ago, much to my surprise, the doorbell rang and outside was a mysterious box: I have to say the box art itself is pretty nice, with the rat and the rocket. I opened it up, and it was a Google CR-48 laptop running Chrome OS: So far so good &#8212; it boots [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/09/google-chrome/' rel='bookmark' title='Permanent Link: Google Chrome'>Google Chrome</a></li>
<li><a href='http://www.sharms.org/blog/2009/04/the-cherokee-webserver-great-choice-for-vpss/' rel='bookmark' title='Permanent Link: The Cherokee Webserver: Great choice for VPS&#039;s'>The Cherokee Webserver: Great choice for VPS&#039;s</a></li>
<li><a href='http://www.sharms.org/blog/2008/12/fedora-10/' rel='bookmark' title='Permanent Link: Fedora 10'>Fedora 10</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, much to my surprise, the doorbell rang and outside was a mysterious box:</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2011/01/cr48box.jpg"><img class="aligncenter size-full wp-image-789" title="Google CR-48 laptop box" src="http://www.sharms.org/blog/wp-content/uploads/2011/01/cr48box.jpg" alt="Google CR-48 laptop box" width="700" height="467" /></a></p>
<p>I have to say the box art itself is pretty nice, with the rat and the rocket.  I opened it up, and it was a Google CR-48 laptop running Chrome OS:</p>
<p><a href="http://www.sharms.org/blog/wp-content/uploads/2011/01/chrome-os.jpg"><img class="aligncenter size-full wp-image-790" title="CR-48 running Chrome OS" src="http://www.sharms.org/blog/wp-content/uploads/2011/01/chrome-os.jpg" alt="CR-48 running Chrome OS" width="700" height="467" /></a></p>
<p>So far so good &#8212; it boots really fast, wireless and 3g both worked for me without hassle.  The design looks a lot like my brother&#8217;s older Macbook, and the touchpad being push to click is pretty good for casual browsing.</p>
<p>I like the design of some of the Apps in the web store (ie the New York Times website customized for it), and it would be interesting to see what games come out using NaCL.</p>
<p>I already used Google Docs for my office work, and Gmail as my email client, so really nothing to transition to.  Doing web development on it is a pain, might actually work out if something like Bespin was integrated into cloud deployment backends (some sort of Heroku / Bespin hybrid).</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/09/google-chrome/' rel='bookmark' title='Permanent Link: Google Chrome'>Google Chrome</a></li>
<li><a href='http://www.sharms.org/blog/2009/04/the-cherokee-webserver-great-choice-for-vpss/' rel='bookmark' title='Permanent Link: The Cherokee Webserver: Great choice for VPS&#039;s'>The Cherokee Webserver: Great choice for VPS&#039;s</a></li>
<li><a href='http://www.sharms.org/blog/2008/12/fedora-10/' rel='bookmark' title='Permanent Link: Fedora 10'>Fedora 10</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2011/01/google-cr-48-laptop/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>On Why Open Source Developers Run Mac OS X</title>
		<link>http://www.sharms.org/blog/2010/12/on-why-open-source-developers-run-mac-os-x/</link>
		<comments>http://www.sharms.org/blog/2010/12/on-why-open-source-developers-run-mac-os-x/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 15:55:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[apple.programming]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=775</guid>
		<description><![CDATA[A common trend among many of the best developers is to see them posting screenshots running OS X. Many of the best developers, some my personal &#8216;developer heroes&#8217;, have made the switch to OS X. It&#8217;s All About the Mentality I respect and admire programmers like @migueldeicaza, @mitsuhiko, mandrake, @dhh for all they have accomplished. [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/10/open-source-radeonhd-driver-122-released/' rel='bookmark' title='Permanent Link: Open Source RadeonHD driver 1.2.2 released'>Open Source RadeonHD driver 1.2.2 released</a></li>
<li><a href='http://www.sharms.org/blog/2008/11/creative-open-sources-their-driver/' rel='bookmark' title='Permanent Link: Creative open sources their driver'>Creative open sources their driver</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/boot-times-does-anyone-actually-care/' rel='bookmark' title='Permanent Link: Boot times: Does anyone actually care?'>Boot times: Does anyone actually care?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A common trend among many of the best developers is to see them posting screenshots running OS X.  Many of the best developers, some my personal &#8216;developer heroes&#8217;, have made the switch to OS X.</p>
<p><strong>It&#8217;s All About the Mentality</strong><br />
I respect and admire programmers like <a href="http://twitter.com/#!/migueldeicaza">@migueldeicaza</a>, <a href="http://twitter.com/#!/mitsuhiko">@mitsuhiko</a>, <a href="http://www.mandrake.net">mandrake</a>, <a href="http://twitter.com/#!/dhh">@dhh</a> for all they have accomplished.  One thing they all have in common, present day, is running OS X.  Mandrake cowrote Enlightenment (which is the original really cool window manager for Linux), Miguel started Gnome, and the majority of code both Mitsuhiko (wrote almost every useful Python library ever) and DHH (Ruby on Rails) write run on Linux backends to say the least.</p>
<p>What are they most known for?  Problem solving skills mixed with actually producing / releasing.  </p>
<p><strong>Linux is Open Source</strong><br />
And this, I believe, is why great developers tend to move towards OS X (yes, there are plenty of exceptions).  A critical piece of writing software is focus.  When a problem solver uses a Linux desktop, they are immediately confronted with the possibility of being able to modify every part of their system.  When a problem solver runs OS X, their options are severely limited, by design.</p>
<p>I think all of us are guilty for hunting down PPAs to get a backported browser, or running &#8216;./configure &#038;&#038; make &#038;&#038; make install&#8217; at some point.  And when you have programming skills, source code can turn into a detriment to productivity when you start modifying projects outside of what you intended to accomplish.  All of a sudden you start hacking a project for a few minutes, and wake up days later in a coding haze with all of that time lost.</p>
<p>Personally I have had experience with this while using old Linux distributions.  We have SLES 9 systems and SLES 10 systems here at work, and in the past year I have spent countless hours hacking Sprint 3G wireless drivers, USB over IP, Firefox 3 and countless others to work on these older systems.  Why?  Not because they are the primary goal, but because I could, which in turn took up time from things I actually &#8220;wanted&#8221; to do.</p>
<p><strong>Time is Valuable</strong><br />
Watching one of Miguel&#8217;s presentations, he mentions that he does not have enough years left to &#8220;worry about memory management&#8221; and that they leave that to the younger folks.  This is the crux of the argument.  For programmers, there is far too much opportunity for distraction at every avenue.  We don&#8217;t know how long we will be here for, but certainly we know that nothing we care about will get done as long as our focus is spread so thin across the spectrum of Linux.</p>
<p><strong>Summary</strong><br />
This is all just food for thought, not a judgement against any form of desktop or usage pattern.  For reference, I am still running Ubuntu on my desktop, and being wildly unproductive on the tasks I want to finish.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/10/open-source-radeonhd-driver-122-released/' rel='bookmark' title='Permanent Link: Open Source RadeonHD driver 1.2.2 released'>Open Source RadeonHD driver 1.2.2 released</a></li>
<li><a href='http://www.sharms.org/blog/2008/11/creative-open-sources-their-driver/' rel='bookmark' title='Permanent Link: Creative open sources their driver'>Creative open sources their driver</a></li>
<li><a href='http://www.sharms.org/blog/2009/06/boot-times-does-anyone-actually-care/' rel='bookmark' title='Permanent Link: Boot times: Does anyone actually care?'>Boot times: Does anyone actually care?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2010/12/on-why-open-source-developers-run-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.182 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-18 05:01:46 -->

