<?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>A Dash Of Web and Mobile Development &#187; linux</title>
	<atom:link href="http://blog.iangclifton.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.iangclifton.com</link>
	<description>Discussing trends and technologies in web and mobile development</description>
	<lastBuildDate>Wed, 28 Jul 2010 17:06:25 +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>Nexus One Debugging In Ubuntu Linux</title>
		<link>http://blog.iangclifton.com/2010/04/08/nexus-one-debugging-in-ubuntu-linux/</link>
		<comments>http://blog.iangclifton.com/2010/04/08/nexus-one-debugging-in-ubuntu-linux/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 04:01:14 +0000</pubDate>
		<dc:creator>Ian G. Clifton</dc:creator>
				<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[g1]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[n1]]></category>
		<category><![CDATA[nexus one]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.iangclifton.com/?p=179</guid>
		<description><![CDATA[This is mostly just a note to myself, but I figured some other people might find it useful.  When I connected my Nexus One, it was showing up as &#8220;????????????	no permissions&#8221; when I ran adb devices.  I added the typical udev rule and had no luck.  Running lsusb revealed the the vendor [...]]]></description>
			<content:encoded><![CDATA[<p>This is mostly just a note to myself, but I figured some other people might find it useful.  When I connected my Nexus One, it was showing up as &#8220;????????????	no permissions&#8221; when I ran <code>adb devices</code>.  I added the typical udev rule and had no luck.  Running <code>lsusb</code> revealed the the vendor ID is different from the HTC G1.  So, to enable debugging this device and the G1 in Ubuntu (and other flavors of Linux), create/edit <code>/etc/udev/rules.d/51-android.rules</code> and put the following in it:</p>
<p><code>SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"<br />
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"</code></p>
<p>You may need to run <code>sudo reload udev</code> and/or disconnect and reconnect the N1.  Check <code>adb devices</code> again and hopefully you&#8217;ll see &#8220;HT9CSP123456	device&#8221; or similar.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.iangclifton.com/2010/04/08/nexus-one-debugging-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Computer I Built</title>
		<link>http://blog.iangclifton.com/2010/03/27/the-computer-i-built/</link>
		<comments>http://blog.iangclifton.com/2010/03/27/the-computer-i-built/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 22:14:04 +0000</pubDate>
		<dc:creator>Ian G. Clifton</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[imac]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://blog.iangclifton.com/?p=162</guid>
		<description><![CDATA[
A few weeks ago, I build a new computer.  I hadn&#8217;t built a computer for myself since 2004 when I built the one I have replaced with this new one.  In that time, I have upgraded the RAM, added another hard drive, and changed from the original 17&#8243; LCD screen to two 19&#8243; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2010/03/new-computer.jpg"><img src="http://blog.iangclifton.com/wp-content/uploads/2010/03/new-computer-400x266.jpg" alt="" title="New Computer... yeah I need a new desk" width="400" height="266" class="alignleft size-medium wp-image-167" /></a></p>
<p>A few weeks ago, I build a new computer.  I hadn&#8217;t built a computer for myself since 2004 when I built the one I have replaced with this new one.  In that time, I have upgraded the RAM, added another hard drive, and changed from the original 17&#8243; LCD screen to two 19&#8243; screens.  Other than that, it remained the same for all these years and served me well as an Ubuntu box.  Unfortunately, the need for increased processing power always develops.<span id="more-162"></span></p>
<p>When I purchased a <a href="http://blog.gordaen.com/2009/10/25/canon-eos-7d-review/">Canon 7D</a> in fall of last year, I quickly realized how limited my desktop was in terms of processing power (and the 2.5GB of RAM was a bit underwhelming).  My laptop was better in many respects (Core 2 Duo, 4GB of RAM, 1GB video card, etc.), but it didn&#8217;t have the screen real estate.  Of course I could hook up an external monitor, but that just wasn&#8217;t cutting it for me and I started to heavily consider a new computer.</p>
<p>Despite its allure, I eventually <a href="/2009/11/19/why-i-am-not-getting-a-27-imac-yet/">decided not to buy a 27&#8243; iMac</a>, largely due to glare issues.  That machine had seemed pretty impressive, especially to someone who hadn&#8217;t paid a great deal of attention to hardware in recent years.  Apple offered no matte option, so I looked at various matte films and other solutions only to decide I wasn&#8217;t willing to give them a try.  Eventually, I opted to build my own computer.</p>
<p><img src="http://blog.iangclifton.com/wp-content/uploads/2010/03/new-computer-parts-400x266.jpg" alt="" title="New Computer Parts" width="400" height="266" class="alignright size-medium wp-image-168" />I couldn&#8217;t help but be continually surprised at what I could build for far less than an <a href="http://www.apple.com/imac/">iMac</a>.  I eventually went with a system that is designed for good performance now and expandability in the future.  Though it&#8217;s not possible to fairly compare a built (all-in-one) computer with an Apple product, I couldn&#8217;t help but find myself noting the differences.</p>
<table style="width: 100%" border="1" cellspacing="0">
<tr>
<th></th>
<th>Built</th>
<th>Decent iMac</th>
<th>Better iMac</th>
</tr>
<tr>
<th>Processor</th>
<td>Intel i7-920 ($288.99)</td>
<td>Intel i5-750</td>
<td>Intel i7-860 (+$200)</td>
</tr>
<tr>
<th>RAM</th>
<td>12GB 1600 Corsair ($339.99)</td>
<td>8GB 1066 (+$200)</td>
<td>16GB 1066 (+$1400)</td>
</tr>
<tr>
<th>Hard Drive</th>
<td>1.5TB ($109.99)</td>
<td>1TB</td>
<td>2TB (+$250)</td>
</tr>
<tr>
<th>Video Card</th>
<td>GeForce GT 240 1GB 128-bit DDR3 ($89.99)</td>
<td colspan="2">Radeon HD 4850 512MB 256-bit DDR3</td>
</tr>
<tr>
<th>Monitor(s)</th>
<td>LG W2343T-PF 23&#8243; HD x2 ($359)</td>
<td colspan="2">27&#8243; 2560&#215;1440</td>
</tr>
</table>
<p>The lower-end comparable iMac is $2199 before Washington State sales tax (Apple estimates $2,407.91 after); the higher end is $3849 before taxes.  The total cost for my system, including tax and shipping and the Windows 7 disc (though I use Linux 99% of the time, there are those occasional times when I have to deal with Windows for something like Cisco TFTP), was $1750.74.</p>
<p>Some benefits to the iMac: bigger screen; OS X Snow Leopard; video card (I believe this is better than the 240 but with a higher power consumption; politely show me otherwise if that&#8217;s not the case); built-in SD card slot, webcam, Bluetooth, and WiFi; all-in-one enclosure.</p>
<p>Some benefits to the built system: more screen real estate; matte screens; more/faster RAM; LGA 1366 chipset; two USB 3.0 ports; two 6GB/s SATA ports; two eSATA ports; BluRay drive; significant expandability.</p>
<p>The biggest and most prominent difference is the two 23&#8243; monitors vs. one 27&#8243; monitor.  Personally, I like the two 23&#8243; monitors, but I could have gone with a <a href="http://accessories.us.dell.com/sna/products/Displays/productdetail.aspx?c=us&#038;l=en&#038;s=dhs&#038;cs=19&#038;sku=224-8284">Dell U2711 27&#8243; monitor</a> instead.  It would have increased the cost to $2490.74.  Dell also has an excellent replacement policy (a single dead pixel and you get a new one!), so that would have been a good option if the larger screen were important.  (BTW, anyone know what Apple&#8217;s dead pixel policy is on the 27&#8243; iMac?)</p>
<p>The other big difference is the all-in-one approach.  Honestly I think Apple does this for three reasons: it&#8217;s aesthetically pleasing, it&#8217;s extremely easy for even a computer-illiterate person to set up, and it&#8217;s not expandable.  That means Apple&#8217;s only line of products that is really expandable is the Mac Pro series which is basically 2-3x the cost.  If needed, I can throw 24GB of RAM in my computer, swap out the processor with better LGA 1366-based chips, add multiple hard drives or optical drives, add video cards.  I even put a Corsair 650W power supply into my system just in case.  Sure, you can buy 16GB of RAM for the iMac for ~$750 (or pay twice as much to have Apple do it for you), but you can&#8217;t do much about the other issues like single hard drive, single video card, etc.  Further, if your screen goes out, your computer is useless.  A non-all-in-one (is there a word for that?) can just have the bad monitor swapped out.</p>
<p>Here are the parts I bought:</p>
<ul>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813128423">GIGABYTE GA-X58A-UD3R LGA 1366 Intel X58 SATA 6Gb/s USB 3.0 ATX Intel Motherboard</a> $209.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819115202">Intel Core i7-920 Bloomfield 2.66GHz LGA 1366 130W Quad-Core Processor</a> $288.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820145235">CORSAIR XMS3 12GB (6 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800)</a> $339.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814121353">ASUS ENGT240/DI/1GD3/A GeForce GT 240 1GB 128-bit DDR3</a> $89.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822136513">Western Digital Caviar Green WD15EARS 1.5TB SATA 3.0Gb/s 3.5&#8243; Internal Hard Drive</a> $109.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16827106300">LITE-ON Black BD-COMBO SATA Model ihes108-29 &#8211; OEM</a> $99.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16832116754">Microsoft Windows 7 Home Premium 64-bit 1-Pack for System Builders &#8211; OEM</a> $104.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817139005">CORSAIR CMPSU-650TX 650W Power Supply</a> $99.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811119161">COOLER MASTER ELITE 335 RC-335-KKN1-GP Black SECC Steel ATX Mid Tower Computer Case</a> $49.99</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16824005129">LG W2343T-PF Black 23&#8243; 5ms Widescreen Full HD 1080p LCD Monitor</a> x2 $359.90</li>
</ul>
<p>It even came with a voucher that I used to get Resident Evil 5 for free.  For some people, the iMac might be the right decision, but I&#8217;m absolutely pleased with my decision to build my own computer.  I hope it continues to be useful for 5.5 years like my last one.</p>
<p>(Note: If you added up the prices listed for my system, you probably see that the numbers are slightly off.  The motherboard and processor combo gave a $20 discount.  Shipping was $3.45 for 3-day delivery.  I also bought a DVI adapter that I included in the price, but I didn&#8217;t end up using it and some fresh Arctic Silver 5).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.iangclifton.com/2010/03/27/the-computer-i-built/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vim &#8220;No Identifier Under Cursor&#8221; Arrow Keys Problem</title>
		<link>http://blog.iangclifton.com/2009/07/21/vim-no-identifier-under-cursor-arrow-keys-problem/</link>
		<comments>http://blog.iangclifton.com/2009/07/21/vim-no-identifier-under-cursor-arrow-keys-problem/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 05:15:59 +0000</pubDate>
		<dc:creator>Ian G. Clifton</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.iangclifton.com/?p=3</guid>
		<description><![CDATA[Recently, I started to have problems with Vim on my machine at work (a 24&#8243; iMac), running OS X 10.5.7 and SSH&#8217;ing into a CentOS Linux server.  The arrow keys did not have the correct functionality.  Instead they would give errors such as &#8220;no identifier under cursor&#8221; and the session would freeze momentarily.  I noticed [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I started to have problems with Vim on my machine at work (a 24&#8243; iMac), running OS X 10.5.7 and SSH&#8217;ing into a CentOS Linux server.  The arrow keys did not have the correct functionality.  Instead they would give errors such as &#8220;no identifier under cursor&#8221; and the session would freeze momentarily.  I noticed this in insert mode, the only mode I use arrow keys in, but I did a little testing and found that it occurred in all modes.  I wondered if the wrong key code was being sent, so I started doing some searching.<span id="more-3"></span></p>
<p>My search queries were coming up with nothing helpful.  The string &#8220;no identifier under cursor&#8221; was uncommon and many results were related to translations.  Including &#8220;Mac keyboard&#8221; or &#8220;Apple keyboard&#8221; didn&#8217;t help nor did the model number (A1243).  Eventually, I had the random thought to check the settings in the terminal application.</p>
<p>Under Terminal -&gt; Preferences, there is a Settings tab.  Within that section, there&#8217;s a Keyboard tab, which didn&#8217;t seem to have the arrow keys listed, but there is also an Advanced tab.  One of the options is &#8220;Declare terminal as:&#8221; and was set to <em>xterm-color</em>.  I changed it to <em>ansi</em> and restarted the terminal app.  Now my arrow keys actually work how they should in Vim.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.iangclifton.com/2009/07/21/vim-no-identifier-under-cursor-arrow-keys-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
