<?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>Heavygravity &#187; Computers</title>
	<atom:link href="http://www.heavygravity.com/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heavygravity.com</link>
	<description></description>
	<lastBuildDate>Wed, 16 Feb 2011 23:13:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Forex trading: They are not on your side</title>
		<link>http://www.heavygravity.com/2011/02/17/forex-trading-they-are-not-on-your-side/</link>
		<comments>http://www.heavygravity.com/2011/02/17/forex-trading-they-are-not-on-your-side/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 23:13:10 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/?p=139</guid>
		<description><![CDATA[Recently, I have become enamored with the idea of trading currencies. Yes, there is a lot of spam in my inbox due to that kind of thing&#8230; but the reality is that forex trading can indeed work &#8211; if you are willing to learn a little bit. That is why I need to vent now. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I have become enamored with the idea of trading currencies.  Yes, there is a lot of spam in my inbox due to that kind of thing&#8230; but the reality is that forex trading can indeed work &#8211; if you are willing to learn a little bit.</p>
<p>That is why I need to vent now.   I know that my blog is not important to the google-sphere, but I still need to proclaim: </p>
<p>Alpari sucks.</p>
<p>TL;DR: They are a broker that will take your money.  Thats pretty much it.</p>
<p>They offer demo accounts, and if you (like me) are trying out algorithms, you can pretty much forget it.  During the most profitable time, you cannot trade.  They also disconnect you and dont let you log back in during very active moments.  It is not random, it is easy to see if you look at plots of the spread they vary on a per second basis.</p>
<p>My verdict?  As a broker, questionable.  As a demo account for testing&#8230; terrible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2011/02/17/forex-trading-they-are-not-on-your-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cuband.com &#8211; If you&#8217;re into Cuban Music</title>
		<link>http://www.heavygravity.com/2010/03/03/cubandcom-if-youre-into-cuban-music/</link>
		<comments>http://www.heavygravity.com/2010/03/03/cubandcom-if-youre-into-cuban-music/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 08:21:33 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2010/03/03/cubandcom-if-youre-into-cuban-music/</guid>
		<description><![CDATA[I recently had a chance to work on a Cuban Music website &#8211; http://www.cuband.com &#8211; and hope that it ends up working out.  It has a pretty big catalog of Cuban Music in MP3 format and targets a small market &#8211; people that are interested in the classics from Cuba and the newest sound from [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a chance to work on a Cuban Music website &#8211; <a target="_blank" title="Cuband.com - Your source of Cuban Music!" href="http://www.cuband.com">http://www.cuband.com</a> &#8211; and hope that it ends up working out.  It has a pretty big catalog of Cuban Music in MP3 format and targets a small market &#8211; people that are interested in the classics from Cuba and the newest sound from a whole bunch of genres.</p>
<p>There don&#8217;t appear to be too many other sites like this, and certainly none that are as easy to use.  If <a target="_blank" title="Cuband.com - Your source of Cuban Music!" href="http://www.cuband.com">Cuban Music</a> is your thing, then check out <a target="_blank" title="Cuband.com - Your source of Cuban Music!" href="http://www.cuband.com">cuband.com</a> today!</p>
<p>(Yeah, this is a shameless plug!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2010/03/03/cubandcom-if-youre-into-cuban-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TI-Calculator Keys</title>
		<link>http://www.heavygravity.com/2009/09/28/ti-calculator-keys/</link>
		<comments>http://www.heavygravity.com/2009/09/28/ti-calculator-keys/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 08:37:14 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2009/09/28/ti-calculator-keys/</guid>
		<description><![CDATA[I&#8217;m not sure about you, but I don&#8217;t know what these are: TI-83 (Plus): n=82EF4009ED7CAC2A5EE12B5F8E8AD9A0 AB9CC9F4F3E44B7E8BF2D57A2F2BEACE 83424E1CFF0D2A5A7E2E53CB926D61F3 47DFAA4B35B205B5881CEB40B328E58F p=B709D3A0CD2FEC08EAFCCF540D8A100BB38E5E091D646ADB7B14D021096FFCD q=B7207BD184E0B5A0B89832AA68849B29EDFB03FBA2E8917B176504F08A96246CB d=4D0534BA8BB2BFA0740BFB6562E843C7 EC7A58AE351CE11D43438CA239DD9927 6CD125FEBAEE5D2696579FA3A3958FF4FC54C685EAA91723BC8888F292947BA1 e=11 TI-84 (Plus): prp77 factor: 67070508990537181066342707695603050521324524613874331879259881495826493920589 prp78 factor: 186923771200711284770368041572205320486346816476524340240220962467860568859381 n=EF5FEF0B0AB6E22731C17539658B2E91E53A59BF8E00FCC81D05758F26C1791CD35AF6101B1E35 43AC3E78FD8BB8F37FC8FE85601C502EABC9132CEAD4711CB1 p=94489014C63CC9E1E1ADB192DBBDD1F78F90A630DA9C86EFC4CBCA44E5B4D54D q=19D431AF2794229620B884E3750D622D1C74F2E4569DC15486FC8D5A3BCDFE2F5 d=2A3E1B2010F318D9BD7C7E19300980B055A0E2A9554B77E7142E23CDF7C7CA13C233A3D462FDFC 968B1F9CEAF2AC2CF305147992AD9E834192ACEBB517DB9941 e=11 TI-89: prp76 factor: 2231124525637629443181963045297394875470510167130210300957267082210173784611 prp79 factor: 3226885534240147415018248397410101286362761128614350056368675111071170873486957 (these are factors of 71995834568684773636720438651160472297127884480206535156843307841378050889714332 73011970552138960583799368215373582308591928985045059261105298431035818727) Hopefully someone out [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure about you, but I don&#8217;t know what these are:</p>
<pre>TI-83 (Plus):

n=82EF4009ED7CAC2A5EE12B5F8E8AD9A0
AB9CC9F4F3E44B7E8BF2D57A2F2BEACE
83424E1CFF0D2A5A7E2E53CB926D61F3
47DFAA4B35B205B5881CEB40B328E58F
p=B709D3A0CD2FEC08EAFCCF540D8A100BB38E5E091D646ADB7B14D021096FFCD
q=B7207BD184E0B5A0B89832AA68849B29EDFB03FBA2E8917B176504F08A96246CB
d=4D0534BA8BB2BFA0740BFB6562E843C7
EC7A58AE351CE11D43438CA239DD9927
6CD125FEBAEE5D2696579FA3A3958FF4FC54C685EAA91723BC8888F292947BA1
e=11

TI-84 (Plus):

prp77 factor: 67070508990537181066342707695603050521324524613874331879259881495826493920589
prp78 factor: 186923771200711284770368041572205320486346816476524340240220962467860568859381

n=EF5FEF0B0AB6E22731C17539658B2E91E53A59BF8E00FCC81D05758F26C1791CD35AF6101B1E35
43AC3E78FD8BB8F37FC8FE85601C502EABC9132CEAD4711CB1
p=94489014C63CC9E1E1ADB192DBBDD1F78F90A630DA9C86EFC4CBCA44E5B4D54D
q=19D431AF2794229620B884E3750D622D1C74F2E4569DC15486FC8D5A3BCDFE2F5
d=2A3E1B2010F318D9BD7C7E19300980B055A0E2A9554B77E7142E23CDF7C7CA13C233A3D462FDFC
968B1F9CEAF2AC2CF305147992AD9E834192ACEBB517DB9941
e=11</pre>
<pre>TI-89:

prp76 factor: 2231124525637629443181963045297394875470510167130210300957267082210173784611
prp79 factor: 3226885534240147415018248397410101286362761128614350056368675111071170873486957

(these are factors of 71995834568684773636720438651160472297127884480206535156843307841378050889714332
73011970552138960583799368215373582308591928985045059261105298431035818727)</pre>
<p>Hopefully someone out there would find this useful. Oh, and they might have something to do with this:<a title="Supressed TI Keys" target="_blank" href="http://wikileaks.org/wiki/Suppressed_Texas_Instruments_cryptographic_signing_keys,_28_Aug_2009"> http://wikileaks.org/wiki/Suppressed_Texas_Instruments_cryptographic_signing_keys,_28_Aug_2009</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2009/09/28/ti-calculator-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Ubuntu &#8211; Smooth as Silk</title>
		<link>http://www.heavygravity.com/2009/05/01/upgrading-ubuntu-smooth-as-silk/</link>
		<comments>http://www.heavygravity.com/2009/05/01/upgrading-ubuntu-smooth-as-silk/#comments</comments>
		<pubDate>Fri, 01 May 2009 09:29:24 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2009/05/01/upgrading-ubuntu-smooth-as-silk/</guid>
		<description><![CDATA[I&#8217;ve never upgraded a Linux distribution before. Actually, I&#8217;ve never successfully upgraded any distribution &#8211; it&#8217;s always a clean install for me. Since switching to Ubuntu about a year ago, I&#8217;ve been pleasantly surprised about how things &#8220;just work&#8221;. That is the way it should be . And thus far, I&#8217;ve had everything simply work [...]]]></description>
			<content:encoded><![CDATA[<div>
<p style="margin-bottom: 0in">I&#8217;ve never upgraded a Linux distribution before. Actually, I&#8217;ve never  <i>successfully</i> <span style="font-style: normal">upgraded any distribution &ndash; it&#8217;s always a clean install for me.</span></p>
<p style="margin-bottom: 0in"> </p>
<p style="margin-bottom: 0in"> <span style="font-style: normal">Since switching to Ubuntu about a year ago, I&#8217;ve been pleasantly surprised about how things &ldquo;just work&rdquo;. That is the way it</span>  <span style="font-style: normal"><b>should be</b></span> <span style="font-style: normal"></span><span style="font-weight: normal">. And thus far, I&#8217;ve had everything simply work (except for installing on a RAID5 array, I had to pull a couple of tricks to get that to work. On the other hand, Windows is a nightmare to install on a RAID array without a floppy drive).</span></p>
<p style="margin-bottom: 0in"> </p>
<p style="margin-bottom: 0in"> <span style="font-style: normal"></span><span style="font-weight: normal">So I thought rather carefully when the update manager said &ldquo;A new version of Ubuntu (9.04) is available&rdquo;. Clicking on that button can only lead to a broken system, right?</span> </p>
<p style="margin-bottom: 0in"> <span style="font-style: normal"></span><span style="font-weight: normal"><br />Wrong. The upgrade went perfect. No problems &ndash; none whatsoever! How did the guys at Ubuntu pull that off? Everything just simply</span>  <i><span style="font-weight: normal">works</span></i> <span style="font-style: normal"></span><span style="font-weight: normal">. No screwing around with packages that cannot be upgraded, no strange X problems, nothing. One reboot and I&#8217;ve got the latest and greatest.</span></p>
<p style="margin-bottom: 0in"> </p>
<p style="margin-bottom: 0in"> <span style="font-style: normal"></span><span style="font-weight: normal">So &ndash; if you&#8217;re like me and you aren&#8217;t sure about upgrading an existing system for fear of breaking things &ndash; take the plunge. It&#8217;s a lot easier than you think.</span> </p>
<p><br clear="left"/></div>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2009/05/01/upgrading-ubuntu-smooth-as-silk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Radio</title>
		<link>http://www.heavygravity.com/2009/01/30/remote-radio/</link>
		<comments>http://www.heavygravity.com/2009/01/30/remote-radio/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 08:41:12 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2009/01/30/remote-radio/</guid>
		<description><![CDATA[I was thinking about getting a radio receiver lately (probably the Icom PCR1500) and I stumbled onto a couple of neat sites. The first one is called &#8220;HamSphere&#8221;, and it&#8217;s an interesting program that turns your computer into a Ham Radio without any extra hardware. You could also think about it as being a kind [...]]]></description>
			<content:encoded><![CDATA[<div>
<p style="margin-bottom: 0in">I was thinking about getting a radio receiver lately (probably the Icom PCR1500) and I stumbled onto a couple of neat sites.</p>
<p style="margin-bottom: 0in"> <img border="0" height="267" name="graphics1" src="http://www.heavygravity.com/wp-content/uploads/2009/01/sbres_1233304934_0__.gif" style=";text-align:left" width="400"/>  </p>
<p style="margin-bottom: 0in">The first one is called &ldquo;HamSphere&rdquo;, and it&#8217;s an interesting program that turns your computer into a Ham Radio without any extra hardware. You could also think about it as being a kind of simulator. While it doesn&#8217;t transmit any RF (what&#8217;s the fun in that, you might ask?) I still think it&#8217;s pretty cool in that you can talk with other Hams and using all the lingo that you&#8217;re supposed to, with real shortwave propagation simulation.</p>
<p style="margin-bottom: 0in"> </p>
<p style="margin-bottom: 0in">It is a java program, meaning it will work on Windows, Linux, and Mac. You don&#8217;t need to have a Ham license to use this radio.</p>
<p style="margin-bottom: 0in"> </p>
<p style="margin-bottom: 0in">The next thing I found was also pretty neat &ndash; it&#8217;s called  <a href="http://www.globaltuners.com/">Globaltuners</a> and it allows you to not only listen, but actively change settings on other peoples&#8217; radios around the world. You can, for example, listen to air traffic in England or a radio station in Australia &ndash; all you need to know is the frequency you want (and make sure no one else is listening in at the moment). Unfortunately, there are only a small number of radio stations that you can tune yourself (13 at the moment). But the idea is pretty cool!</p>
<p><br clear="left"/></div>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2009/01/30/remote-radio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Zalman Reserator [or How I Horribly Broke my PC]</title>
		<link>http://www.heavygravity.com/2007/12/10/the-zalman-reserator-or-how-i-horribly-broke-my-pc/</link>
		<comments>http://www.heavygravity.com/2007/12/10/the-zalman-reserator-or-how-i-horribly-broke-my-pc/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 12:49:08 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2007/12/10/the-zalman-reserator-or-how-i-horribly-broke-my-pc/</guid>
		<description><![CDATA[Oh, the gods were angry at me last week. Very angry. They not only put me through the hell of completely destroying my computer (or so I thought), they also influenced me to exhibit my geek stubbornness and not replace anything, but instead break out the soldering iron and spend some frustrating hours soldering wire [...]]]></description>
			<content:encoded><![CDATA[<p>Oh, the gods were angry at me last week.  Very angry.  They not only put me through the hell of completely destroying my computer (or so I thought), they also influenced me to exhibit my geek stubbornness and <em>not replace anything</em>, but instead break out the soldering iron and spend some frustrating hours soldering wire traces together that should never be attempted by mortal man.</p>
<p>In the end, I guess it was worth it.  I mean that I stubbornly decided to fix things instead of junking my fantastic (and now old) computer.  And I have the Zalman Reserator completely to blame for the whole thing.</p>
<p>The Zalman is a water cooling device that has no fans.  Before, my computer had a total of 6 fans keeping it cool (CPU, Case, Graphics Card, and 3 in the power supply).   Turning it on was similar to the noise of jet aircraft taking off from an aircraft carrier.  Now it has just one, and it&#8217;s barely audible.  The Zalman itself is inaudible and works flawlessly, so I feel somewhat bad for placing the blame on it.  But how did this great travesty begin?</p>
<p>Due to the small yet real influence the angry gods had on me that fateful Thursday, my hand slipped as I installed the new heatsink of the Zalman onto the CPU, and suddenly a few copper traces were now exposed to the world in a way that god had not intended.  They had, in fact, been severed by the edge of my needle nose pliers, and – as much as I tried to ignore the cut traces – the computer simply wouldn&#8217;t boot despite all of my anguished bleating.  Yes, it was a sad time.</p>
<p>After a restless night of tossing and turning, dreams of soldering teeny tiny wires and conductive pens made for gnomes that could fix my sub-millimeter problems, I awoke the next day with newfound energy for fixing things, and putting my world back in order.  I mean, how hard can it be to fix some silly wire traces coming from a CPU on a PCB?  It&#8217;s got to be POSSIBLE, yes?</p>
<p>Now if I actually had some sort of measuring device to tell you how small these traces were, then I&#8217;d tell you.  But I didn&#8217;t.  My best guess is that they were 0.000001 mm wide.  Well, they seemed that small anyway.  Take a look at them – see the shiny colored copper areas? I had at this point scraped some of the coating off to inspect the damage and prepare for soldering.</p>
<div style="text-align: center"><img src="http://www.heavygravity.com/wp-content/uploads/2007/12/121007_1249_TheZalmanRe1.jpg" /></div>
<p>Notice how there are two traces next to each other?  Yes, that makes for a lot of fun – they are so close together that it&#8217;s not easy to get solder on just one trace without hitting the second one.  To get an idea of the size of these traces, look at the socket on the left – the holes are for the CPU pins.  The traces are less than half the width of the holes that the CPU pins fit into.Now if I actually had a soldering iron worth a damn, or some kind of PCB repair kit or a conductive pen with a tip the size of a mosquito&#8217;s schwanz, then I&#8217;d have been optimistic.  But all I have at home is a Harry-Homeowner-I-Solder-Once-A-Year iron to work with.  On the positive note, I can now tell you that <strong><em>it can be done</em></strong>.  Even with crappy tools.</p>
<p>So here is what I had to do.  First of all, I had to make a suitable tool to solder with – which meant taking that ugly soldering iron tip and sharpening it to a point.  Any self respecting geek will have a dremel tool (or a cheap knockoff like me) with the appropriate grinder tip to do this with.</p>
<p>While certainly not the best tool, if you&#8217;re desperate like I was, then this will do.  This is pretty easy to do.</p>
<div style="text-align: center"><img src="http://www.heavygravity.com/wp-content/uploads/2007/12/121007_1249_TheZalmanRe3.jpg" /></div>
<p>The next thing to do was to rip apart a copper stranded cable and get a thin coating of solder onto several strands.  This part is pretty easy as well – it just meant grabbing any old electric cord, chopping out a section, and then getting a coating of solder onto each of the strands.</p>
<div align="left" style="text-align: center"><img src="http://www.heavygravity.com/wp-content/uploads/2007/12/121007_1249_TheZalmanRe2.jpg" /></div>
<p>At this point, things were going pretty well.  But after this point, things got a lot hairier.</p>
<p align="left">I don&#8217;t know if anyone in the world does this kind of PCB repair for a living, but one thing is certain – they probably have the correct tools to do it with.  And they must also have a lot of patience.</p>
<p>I spent a few hours fiddling with these small wire strands and attempting to solder them to the broken traces.  And yes, I was extremely pleased when I finally got the traces repaired.  This involved touching the wires quickly with the iron while they were on top of the metal traces (to get them to initially stick) and then afterwards applying a small bead of solder to make sure that they stayed stuck in place.  This was a lot harder than it sounds.  But in the end, the wires were stuck.  I mean, how geeky is that?  Here is what my terrible soldering job looked like (there is a metal stud where the hole was in the previous picture).</p>
<div style="text-align: center"><img src="http://www.heavygravity.com/wp-content/uploads/2007/12/121007_1249_TheZalmanRe4.jpg" /></div>
<p>Ugly, but functional (or so I thought).  After getting finally getting a post, I quickly assembling things in my ignorant optimism – with it only to refuse post at all after the assembly was complete.</p>
<p>After another deconstruction, lots of coffee, re-heating the solder contacts, conductivity tests- it looked like things were actually going to work.</p>
<p>And here I am writing this blog entry on the one and the same, with those very horrifying looking solders (but with the naked eye you can&#8217;t really see how bad they look).  And yes, I didn&#8217;t have any microscope or special magnifying tool to help with this.</p>
<p>So what&#8217;s the point?   Perhaps I can at least encourage someone out there that has jammed a screwdriver into their motherboard to try to fix it, even if you only have primitive tools – there is at least one other person out there that has successfully done it <span style="font-family: Wingdings"> <img src='http://www.heavygravity.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p>
<p>Of course, now that I&#8217;m concerned that the solder joints might &#8220;go bad&#8221; in the future, I guess it&#8217;s time to start looking for an upgrade.  Now that I have a good reason, that is, I&#8217;m looking forward to it!</p>
<p>BTW, the Reserator works great, but one missing point in the instructions led to me sticking a tool in the computer in the first place, which wouldn&#8217;t have happened otherwise.  There is a mounting plate on the bottom of the motherboard directly below the CPU which has to be swapped when installing on a socket 939 board (in my case, with an ASUS board, it was glued on, so it took some careful prying to remove it).  However, if you follow the picture instructions that come with the Reserator, you&#8217;ll install it upside down like I did, and then the nuts will pull through when you attempt to tighten the metal pegs that hold the heatsink bracket.  And if you&#8217;re as unlucky as me, you might even cut some traces along the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2007/12/10/the-zalman-reserator-or-how-i-horribly-broke-my-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypt Files and Directories Easily</title>
		<link>http://www.heavygravity.com/2007/11/15/encrypt-files-and-directories-easily/</link>
		<comments>http://www.heavygravity.com/2007/11/15/encrypt-files-and-directories-easily/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 15:00:26 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2007/11/15/encrypt-files-and-directories-easily/</guid>
		<description><![CDATA[I was recently looking for an easy way to encrypt individual files and directories (recursively), and I ran across the linux command mcrypt. This nifty little utility does just what I want, but doesn&#8217;t do anything fancy – it just does encryption on a single file or standard input. With a wee bitty script, however, [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently looking for an easy way to encrypt individual files and directories (recursively), and I ran across the linux command <strong>mcrypt</strong>.  This nifty little utility does just what I want, but doesn&#8217;t do anything fancy – it just does encryption on a single file or standard input.
</p>
<p>With a wee bitty script, however, you can encrypt anything you like quite easily.  You have to have <strong>mcrypt</strong> installed (and also <strong>tar</strong> &amp; <strong>bzip2</strong>, but you&#8217;ve likely got that already).  Check this out:
</p>
<p><span style="font-family:Courier New">#!/bin/bash<br />IFS=$&#8217;\n&#8217;<br />if [[ -z $3 ]]<br />then<br />   echo &#8220;Use: encrypt [file/directory] [password] [outputname]&#8220;<br />   exit<br />fi<br />echo &#8220;Encrypting $1 with password $2 into file $3&#8243;<br />tar -c $1 | mcrypt -p -q -k $2 &gt; $3<br />echo &#8220;Done with encryption.&#8221;<br />
</span></p>
<p>Save it as &#8220;encrypt.sh&#8221; or whatever other name floats your boat, give it execute permissions, and you&#8217;re all set.  It will tar, compress, and encrypt your file(s) and directories into whatever output file you specify.  Just make sure you don&#8217;t forget the password you use to encrypt the file with: there isn&#8217;t any easy way to find out what it was if you lose it.
</p>
<p>In order to decrypt your data, use this little script:
</p>
<p><span style="font-family:Courier New">#!/bin/bash<br />IFS=$&#8217;\n&#8217;<br />if [[ -z $2 ]]<br />then<br />   echo &#8220;Use: decrypt [file/directory] [password]&#8220;<br />   exit<br />fi<br />echo &#8220;Decrypting $1 with password $2&#8243;<br />cat $1 | mdecrypt -q -p -k $2 | tar –x<br />echo &#8220;Done with decryption.&#8221;<br />
</span></p>
<p>Save it as &#8220;decrypt.sh&#8221; and give it execute permissions, and now you can easily decrypt your data as well.  It can&#8217;t really get much easier than that!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2007/11/15/encrypt-files-and-directories-easily/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Import Thunderbird Mail into Outlook</title>
		<link>http://www.heavygravity.com/2007/11/14/how-to-import-thunderbird-mail-into-outlook/</link>
		<comments>http://www.heavygravity.com/2007/11/14/how-to-import-thunderbird-mail-into-outlook/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 10:50:36 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2007/11/14/how-to-import-thunderbird-mail-into-outlook/</guid>
		<description><![CDATA[There are lots of things out there on the net related to getting your mail out of Outlook and into Thunderbird, but not really anything that deals with the reverse. I&#8217;ve been using Thunderbird for a while, and as much as I like it, I really want to give the new Outlook a try. Unfortunately, [...]]]></description>
			<content:encoded><![CDATA[<p>There are lots of things out there on the net related to getting your mail out of Outlook and into Thunderbird, but not really anything that deals with the reverse.  I&#8217;ve been using Thunderbird for a while, and as much as I like it, I really want to give the new Outlook a try.</p>
<p>Unfortunately, Outlook has pretty lame importing features, so you have to jump through hoops to get your mail into Outlook from Thunderbird.  This unusual method should work for importing any <strong>mbox formatted mail</strong> (Thunderbird, for example) into Outlook.  I tried it with Outlook 2007; it should work fine with all older versions as well.</p>
<p>You&#8217;ll need to have <strong>Outlook Express</strong> installed on your computer (if you have XP or 2000 installed it should already be there) and you will also need to install <a href="http://www.eudora.com/">Eudora</a> from <a href="http://www.eudora.com/">http://www.eudora.com/</a> (you can uninstall it later when you are done).</p>
<p>The whole process is painless, but it feels really unecessary to have to go through so many steps to import  your email into Outlook.  The basic problem is that Outlook doesn&#8217;t have the capability of importing mbox formatted email or Eudora email either.  Considering that the mbox format has been around for 11 years or so and the commercial version of Eudora for 16 years, I wonder what the holdup is.</p>
<p>Anyway, here is what you need to do:</p>
<ol>
<li>Install Eudora.</li>
<li>Import your mbox file into Eudora.  To do this, you need to copy your mbox file to the default location of the Eudora mailbox file.  After you have done this, Eudora will open your mbox file and index it.</li>
<li>Import your Eudora mailbox into Outlook Express (yuk!)</li>
<li>Import your Outlook Express mail into Outlook.</li>
</ol>
<p>So why can&#8217;t Outlook import mail as well as Outlook Express does (meaning you&#8217;d get to skip a step here)?  Who knows.  Someone somewhere at MS might know why Outlook seems has such lame importing features.</p>
<p>Another method that I&#8217;ve used is the following (if you use Linux):</p>
<ol>
<li>Import your Thunderbird mail into KMail (the KDE mail program).</li>
<li>Select the mail messages you want to export.  You can use shift-click to select a whole group of messages at a time, but you&#8217;re likely going to have to do this for messages inside of each folder separately.</li>
<li>Right click and then click &#8220;Save&#8221;.  It will save the selected emails into a single mbox file.</li>
<li>Install <a target="_blank" title="IMAPSize" href="http://www.broobles.com/imapsize/download.php">IMAPSize</a>.  This is a free Windows program.  You will have to now move your mbox files to your Windows computer.</li>
<li>With IMAPSize, use the tool &#8220;mbox2eml&#8221; under the tools menu on your mbox files.  All individual emails will now be extracted from the mbox files into separate eml files.</li>
<li>Now import your mail into Outlook Express by dragging the emails from Windows Explorer directly into the Outlook Express window.</li>
<li>Finally, import the mail from Outlook Express into Outlook.</li>
</ol>
<p>Anyway, if you <em>really really </em>want to get your mail out of Thunderbird into Outlook, this is probably how you have to do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2007/11/14/how-to-import-thunderbird-mail-into-outlook/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>FSCK Fun &#8211; Fix a Corrupt Superblock (unsupported inode size problem)</title>
		<link>http://www.heavygravity.com/2007/10/25/fsck-fun/</link>
		<comments>http://www.heavygravity.com/2007/10/25/fsck-fun/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 07:14:21 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2007/10/25/fsck-fun/</guid>
		<description><![CDATA[I recently had an infrequently used hard drive fail to mount, and upon inspection I found that it was no longer recognizable and an error was being produced at the console: mount: wrong fs type, bad option, bad superblock on /dev/hdc1, missing codepage or other error In some cases useful info is found in syslog [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had an infrequently used hard drive fail to mount, and upon inspection I found that it was no longer recognizable and an error was being produced at the console:</p>
<p><strong>mount: wrong fs type, bad option, bad superblock on /dev/hdc1,<br />
missing codepage or other error<br />
In some cases useful info is found in syslog &#8211; try<br />
dmesg | tail  or so</strong></p>
<p>And doing a <strong>dmesg</strong> gives the following output:</p>
<p><strong>EXT3-fs: unsupported inode size: 0</strong></p>
<p>So what to do, what to do?  What does this mean?</p>
<p>What is happening is that the the <strong>superblock</strong>  is corrupted.  Fortunately there is a backup of the superblock elsewhere, and the location of it depends on the block size used on the partition.  To replace the main superblock with a backup (alternative) superblock, use this command:</p>
<p><strong>fsck -b 32768 /dev/sdh1</strong></p>
<p>Of course, the number after the &#8220;-b&#8221; switch should be one of these values, depending on block size used on your file system:</p>
<ul>
<li>1k blocks = 8193</li>
<li>2k blocks = 16384</li>
<li>4k blocks = 32768</li>
</ul>
<p>The location of your partition (&#8216;/dev/sdh1&#8242; in my case) must be changed according to your actual partition location as well.</p>
<p>So how do you tell what size blocks your partition uses?  Well, I have read a suggestion of running <strong>fsck</strong> with the &#8216;-n&#8217; switch on your partition to get that information; that didn&#8217;t work at all for me.  In fact, that would crash with the output of</p>
<p><strong>fsck.ext3[5618] trap divide error rip:2aaefe7b7b57 rsp:7fffac521f50 error:0</strong></p>
<p>So instead, I just made a guess that my drive used 4k blocks (which it does), and fsck worked like a charm.  I can now mount the drive and get the data off that I thought was gone forever. (Note: you might want to make a backup copy using <strong>dd</strong> or something similar before messing with your partitions!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2007/10/25/fsck-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easily Restore a Corrupt NTFS Boot Sector</title>
		<link>http://www.heavygravity.com/2007/01/24/easily-restore-a-corrupt-ntfs-boot-sector/</link>
		<comments>http://www.heavygravity.com/2007/01/24/easily-restore-a-corrupt-ntfs-boot-sector/#comments</comments>
		<pubDate>Wed, 24 Jan 2007 08:46:28 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.heavygravity.com/2007/01/24/easily-restore-a-corrupt-ntfs-boot-sector/</guid>
		<description><![CDATA[A friend of mine brought a NTFS (Windows XP) hard drive that had been &#8220;erased&#8221; by a virus of some kind. I said I&#8217;d try to recover the lost data, which was unreadable to Windows. After wasting some time undeleting a bunch of garbage on some other unimportant partitions, I realized that the main NTFS [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine brought a NTFS (Windows XP) hard drive that had been &#8220;erased&#8221; by a virus of some kind.  I said I&#8217;d try to recover the lost data, which was unreadable to Windows.</p>
<p>After wasting some time undeleting a bunch of garbage on some other unimportant partitions, I realized that the main NTFS partition had <strong>not</strong> been automatically mounted for me &#8211; meaning there might be a problem with the partition itself.  After manually attempting to mount the partition, I got a message that the boot sector was <strong>corrupt</strong>.  So what to do?</p>
<p>NTFS partitions have a backup of the boot sector located on the last sector of the NTFS partition.  There are probably various programs out there that one can pay for to restore this backup copy to its rightful place.  There might even be a &#8220;Microsoft way&#8221; of doing things, which I can only guess requires you to agree to the terms of some EULA and give away any rights you have to your great collection of polka MP3s.  Instead, all you need to do is this one line (as root):</p>
<p><strong>mount -t ntfs /dev/sdg1 /media/tmp -o errors=recover</strong></p>
<p>where you need to replace &#8220;/dev/sdg1&#8243; with your NTFS partition location (I connected this drive with an external USB carrier) and &#8220;/media/tmp&#8221; with the location you&#8217;d like to mount the fixed partition.  That&#8217;s all!  Once you&#8217;ve mounted it, it&#8217;s fixed automatically and might even be bootable again (if this is the only problem you have).</p>
<p>This will even work if you accidentally begin to copy data over the beginning of your NTFS partition, since the copy of the boot sector is at the end of the partition.  <strong>Note: </strong>This only works with kernel versions 2.6 and newer.  Can&#8217;t get a much easier fix than that!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heavygravity.com/2007/01/24/easily-restore-a-corrupt-ntfs-boot-sector/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

