<?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/"
	>

<channel>
	<title>Legends</title>
	<atom:link href="http://www.blog.cpufreak91.net/legends/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.blog.cpufreak91.net/legends</link>
	<description>Tales of programming and hacking</description>
	<pubDate>Tue, 11 Nov 2008 15:30:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cryptarithm</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=87</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=87#comments</comments>
		<pubDate>Tue, 11 Nov 2008 04:19:51 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Project Difficulty: Hard]]></category>

		<category><![CDATA[Python]]></category>

		<category><![CDATA[Time Spent: More than 2 hours]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=87</guid>
		<description><![CDATA[Here&#8217;s my first attempt at brute-forcing a cryptarithm puzzle with no previous knowledge on how to solve them in Python.
The puzzle is: HACKER + HACKER + HACKER = ENERGY
The solutions are:
124536 + 124536 + 124536 = 373608
205463 + 205463 + 205463 = 616389
And here&#8217;s the code :).
# "Hacker"
# "Hacker"
# "Hacker"
#+________
# "Energy"
min = 100000 #Can't be [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s my first attempt at brute-forcing a cryptarithm puzzle with no previous knowledge on how to solve them in Python.</p>
<p>The puzzle is: HACKER + HACKER + HACKER = ENERGY</p>
<p>The solutions are:<br />
124536 + 124536 + 124536 = 373608<br />
205463 + 205463 + 205463 = 616389</p>
<p>And here&#8217;s the code :).</p>
<p><code># "Hacker"<br />
# "Hacker"<br />
# "Hacker"<br />
#+________<br />
# "Energy"</p>
<p>min = 100000 #Can't be less than 300,000 because 1/3 of it would be less than 100,000 which is less than the num of letters in hacker or energy</p>
<p>max = 333333<br />
tries = 0<br />
solutions = 0<br />
listOfNumbers = []</p>
<p>for number in range(min, max):<br />
  listOfNumbers.append(number)</p>
<p>for number in listOfNumbers:<br />
  duplicate = False<br />
  sumString = list(str(number*3))<br />
  individualString = list(str(number))</p>
<p>  for letter in individualString:<br />
    if individualString.count(letter) > 1:<br />
      duplicate = True</p>
<p>  duplicate2 = False<br />
  duplicate3 = False<br />
  duplicate4 = False</p>
<p>  sumString2 = [sumString[1], sumString[3], sumString[4], sumString[5]]<br />
  individualString2 = [individualString[0], individualString[1], individualString[2], individualString[3] ]<br />
  for letter in sumString2:<br />
    if sumString2.count(letter) > 1:<br />
      duplicate2 = True<br />
  for letter in sumString:<br />
    if sumString.count(letter) > 2:<br />
      duplicate4 = True</p>
<p>  if duplicate == False:<br />
    if duplicate2 == False:<br />
      if duplicate4 == False:<br />
        if (sumString[0] == individualString[4]):<br />
          if (sumString[2] == individualString[4]):<br />
            if (sumString[3] == individualString[5]):<br />
                for digit in individualString2:<br />
                  if digit == sumString2[0]:<br />
                    duplicate3 = True<br />
                  elif digit == sumString2[1]:<br />
                    duplicate3 = True<br />
                  elif digit == sumString2[2]:<br />
                    duplicate3 = True<br />
                  elif digit == sumString2[3]:<br />
                    duplicate3 = True</p>
<p>                if duplicate3 == False:<br />
                  print number, &#8220;+&#8221;, number, &#8220;+&#8221;, number, &#8220;=&#8221;, number*3<br />
                  solutions += 1</p>
<p>  tries += 1</p>
<p>print &#8220;Took&#8221;, tries, &#8220;tries to generate&#8221;, solutions, &#8220;solutions.&#8221;</code></p>
<p>I first started out by generating and brute-forcing an array of numbers between 100,000 and 333,333. I looked for duplicate digits inside the numbers and sorted through them several times but making sure that the 5th digit of the summed numbers was the same as the 1st and 3rd of the sum of the numbers and that the 6th digit of the summed numbers was the same as the 4th digit of the sum of the numbers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=87</wfw:commentRss>
		</item>
		<item>
		<title>Free Music &#8212; And how to get it (legally!)</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=86</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=86#comments</comments>
		<pubDate>Thu, 04 Sep 2008 18:53:54 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Web Stuff]]></category>

		<category><![CDATA[aac]]></category>

		<category><![CDATA[amazon]]></category>

		<category><![CDATA[emusic]]></category>

		<category><![CDATA[fairplay]]></category>

		<category><![CDATA[free]]></category>

		<category><![CDATA[free music]]></category>

		<category><![CDATA[insound]]></category>

		<category><![CDATA[itunes]]></category>

		<category><![CDATA[magnatune]]></category>

		<category><![CDATA[mp3]]></category>

		<category><![CDATA[music]]></category>

		<category><![CDATA[napster]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=86</guid>
		<description><![CDATA[You don&#8217;t have to go to bittorrent to find good free music. If you&#8217;re not looking for the latest greatest biggest artist hits, you can find some nifty free stuff in plenty of places!
iTunes: iTunes has a Free Single of The Week you can download. It has/usually has their FairPlay DRM
Magnatune.com: Actually, you can download [...]]]></description>
			<content:encoded><![CDATA[<p>You don&#8217;t have to go to bittorrent to find good free music. If you&#8217;re not looking for the latest greatest biggest artist hits, you can find some nifty free stuff in plenty of places!</p>
<p><a href="http://www.apple.com/itunes/store/music.html">iTunes</a>: iTunes has a Free Single of The Week you can download. It has/usually has their FairPlay DRM</p>
<p><a href="http://magnatune.com">Magnatune.com</a>: Actually, you can download the MP3s from Magnatune and not pay a cent, the only catch is that a voice will come on at the end of the track and say the track number, artist name, album name and &#8220;Magnatune.com&#8221;. They also have a Free Song of the Day which they&#8217;ll send to you when you give them your email. No DRM!</p>
<p><a href="http://emusic.com">eMusic.com</a>: You can get 25 free songs if you use your credit card and apply for their 7-day free trial. You can cancel at anytime, but you still need a credit card, and you need to remember to cancel&#8211;otherwise you&#8217;ll get billed. No DRM!<br />
<a href="http://amazon.com/mp3"><br />
</a><span class="qpHeadline"><a href="http://amazon.com/mp3">Amazon</a>: </span>If you subscribe to thei<span style="text-decoration: underline;"></span><a href="http://www.amazon.com/gp/redirect.html/ref=amb_link_6867732_2?location=http://www.amazon.com/gp/gss/subscribe/841000&amp;token=3A0F170E7CEFE27BDC730D3D7344512BC1296B83&amp;pf_rd_m=ATVPDKIKX0DER&amp;pf_rd_s=hero-quick-promo&amp;pf_rd_r=14YS9EGX8KFCBWMYKS42&amp;pf_rd_t=201&amp;pf_rd_p=397240201&amp;pf_rd_i=B001CDL2BK"></a>r weekly newsletter you can get a couple free downloads, and special deals. No DRM!</p>
<p><a href="http://napster.com">Napster</a>: Another, gimme your creditcard have a few songs for free, cancel whenever. No DRM!</p>
<p><a href="http://www.insound.com/mp3/mp3s.php">Insound</a>: These guys will give you a free song in MP3 and there&#8217;s quite a few choices. No DRM!</p>
<p>There&#8217;s plenty <a href="http://en.wikipedia.org/wiki/Category:Online_music_stores">more online music stores</a> to chose from, and if you dig around on a few, you&#8217;ll probably find some free music. (Google is your friend).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=86</wfw:commentRss>
		</item>
		<item>
		<title>Migrating an SVN repository from your site to SourceForge&#8217;s</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=77</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=77#comments</comments>
		<pubDate>Wed, 13 Aug 2008 14:49:33 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Project Difficulty: Easy]]></category>

		<category><![CDATA[Time Spent: Less than 1 hour]]></category>

		<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=77</guid>
		<description><![CDATA[Since Roger Robot is now a SourceForge-hosted project I wanted to migrate the SVN repository from my webhost to SourceForge&#8217;s svn server. I found some instructions, ssh&#8217;ed into my webhost and ran these commands:
svnadmin hotcopy
 
svnadmin dump path to svn repository itself, not the checked out version> -r 0:HEAD > .dump
bzip2 .dump
Then I fired up [...]]]></description>
			<content:encoded><![CDATA[<p>Since <a href="http://sourceforge.net/projects/roger-robot">Roger Robot</a> is now a SourceForge-hosted project I wanted to migrate the SVN repository from my webhost to SourceForge&#8217;s svn server. I found some i<a href="http://www.yolinux.com/TUTORIALS/SubversionRepositoryDataTransfer.html">nstructions,</a> ssh&#8217;ed into my webhost and ran these commands:<br />
<code>svnadmin hotcopy
<path to svn repository itself, not the checked out version> <copy-name><br />
svnadmin dump path to svn repository itself, not the checked out version> -r 0:HEAD > <repository-name>.dump<br />
bzip2 <repository-name>.dump</code></p>
<p>Then I fired up the sftp client, logged into shell.sf.net and transferred the dump file to Roger Robot&#8217;s SF.net group folder. The process took ages, but once it was done, I went into the Admin panel for the Roger Robot project, selected SVN, clicked on the obscure &#8220;Migrate&#8221; link, typed the name of the dump.bz2 file and the name I wanted the new repository to have (the repository on my server is name pyweek6, I wanted the sf.net one to be roger-robot).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=77</wfw:commentRss>
		</item>
		<item>
		<title>Fixing Wordpress &#8220;You do not have sufficient permissions to access this page.&#8221;</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=78</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=78#comments</comments>
		<pubDate>Wed, 13 Aug 2008 14:48:17 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Project Difficulty: Medium]]></category>

		<category><![CDATA[Time Spent: Less than 1 hour]]></category>

		<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=78</guid>
		<description><![CDATA[I kept getting this error after I upgraded from WP 2.3 to WP 2.5 and restored its database.
I found the solution off of some guy&#8217;s blog. Works well! 
Basically you have to know if you changed the prefix of your table names in WordPress after the migration.
From the blog:

In my old database, I used ‘wp_’ [...]]]></description>
			<content:encoded><![CDATA[<p>I kept getting this error after I upgraded from WP 2.3 to WP 2.5 and restored its database.</p>
<p>I found the solution off of some guy&#8217;s blog. Works well! </p>
<p>Basically you have to know if you changed the prefix of your table names in WordPress after the migration.</p>
<p>From the blog:</p>
<blockquote><p>
In my old database, I used ‘wp_’ as my prefix. As I migrated, I decide to use ‘wp3_’ instead of ‘wp_’. Unfortunately, the meta_key values are tied down to:</p>
<p>wp_user_level<br />
wp_capabilities<br />
wp_autosave_draft_ids<br />
I need to update it to</p>
<p>wp3_user_level<br />
wp3_capabilities<br />
wp3_autosave_draft_ids<br />
I wrote an SQL statement to share, just replace ‘prefix_’ with your new WordPress prefix. The following statements go to ‘meta_key’ and does a string replace from ‘wp_’ to ‘prefix_’.</p>
<p>UPDATE `prefix_usermeta` SET `meta_key` = REPLACE( `meta_key` , &#8216;wp_&#8217;, &#8216;prefix_&#8217; );</p>
<p>(Make sure you do backups first! Note that the quotes used for string and field name are different.)</p>
<p>In the options table, there is ‘wp_user_roles’, make sure you get that changed into ‘prefix_user_roles’.</p>
<p>UPDATE `prefix_options` SET `option_name` = &#8216;prefix_user_roles&#8217; WHERE `option_name` =&#8217;wp_user_roles&#8217; AND `blog_id` =0;</p>
<p>(Make sure you do backups first! Note that the quotes used for string and field name are different.)</p>
<p>With everything set, I tried logging in again and it worked. A happy WordPress user once again. I am using WordPress 2.2.2 before the migration and I did not upgrade WordPress during the migration. Hope it helps. (Applies to WordPress 2.3.3 also.)</p></blockquote>
<p>This works for 2.5 too <img src='http://www.blog.cpufreak91.net/legends/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=78</wfw:commentRss>
		</item>
		<item>
		<title>Day 7 Of CDN &#8216;08 Speedgame</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=85</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=85#comments</comments>
		<pubDate>Thu, 07 Aug 2008 16:34:04 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Game Competitions]]></category>

		<category><![CDATA[Games]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Project Difficulty: Easy]]></category>

		<category><![CDATA[Time Spent: More than 2 hours]]></category>

		<category><![CDATA[art]]></category>

		<category><![CDATA[day 7]]></category>

		<category><![CDATA[inspiration]]></category>

		<category><![CDATA[placeholder art]]></category>

		<category><![CDATA[speedgame]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=85</guid>
		<description><![CDATA[Today I learned a new thing about game making. Artists need inspiration! Lots of it at times. During the start of this speedgame, Jeff and I had talked about doing this together. We weren&#8217;t too sure he&#8217;d get a chance to do the art, so I went all over the web looking for placeholder art. [...]]]></description>
			<content:encoded><![CDATA[<p>Today I learned a new thing about game making. Artists need inspiration! Lots of it at times. During the start of this speedgame, Jeff and I had talked about doing this together. We weren&#8217;t too sure he&#8217;d get a chance to do the art, so I went all over the web looking for placeholder art. </p>
<p>When I showed Jeff a demo I got a different response than I expected. Other than traces of artistic repulsion, seeing an ugly world inspired him to make it better. He got no inspiration from seeing my ideas written down, but immediately grasped the feeling that I was creating with the game world when he got to see the demo with placeholder art.</p>
<p>I&#8217;ve learned a valuable lesson, don&#8217;t <span style="font-style: italic;">ever</span> wait for any art whatsoever. Just find some placeholder art to throw in the game. Your artist will most likely be very inspired.</p>
<p>On a side note, I haven&#8217;t gotten anywhere with new gameplay. I have, however, created a better looking world. <img src='http://www.blog.cpufreak91.net/legends/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=85</wfw:commentRss>
		</item>
		<item>
		<title>Day 1 Of CDN Speedgame &#8216;08</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=83</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=83#comments</comments>
		<pubDate>Sun, 03 Aug 2008 05:41:49 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Game Competitions]]></category>

		<category><![CDATA[Games]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Project Difficulty: Medium]]></category>

		<category><![CDATA[Time Spent: More than 2 hours]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=83</guid>
		<description><![CDATA[After spending most of the morning getting nowhere (except finding semi-cool art on the &#8216;net) I have finally got the basics of a game down.
Much of my morning was spent either designing the level or trying to be able to pick up objects. I finally got the object picking-up stuff almost completed, but there&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>After spending most of the morning getting nowhere (except finding semi-cool art on the &#8216;net) I have finally got the basics of a game down.</p>
<p>Much of my morning was spent either designing the level or trying to be able to pick up objects. I finally got the object picking-up stuff almost completed, but there&#8217;s a lot more level designing and building to be done.</p>
<p>However, I have completed the basic instructions, and pretty much every object in the game can be picked up (however everything turns into a crate when you drop it. Need to fix that). The first basic puzzle has almost been completed. You pick up a crate, put it on the scale, and then jump on the scale and get to the next floor. The only thing missing is having the scale weigh the objects to see if they&#8217;re the same.</p>
<p>The game looks pretty good, even if there&#8217;s some noticeable visible glitches from my hacked walls, floors, and ceilings. My own in-house code to borrowed code ratio is way out of balance, but I should be able to fix that soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=83</wfw:commentRss>
		</item>
		<item>
		<title>The Same Experience</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=82</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=82#comments</comments>
		<pubDate>Tue, 29 Jul 2008 17:53:29 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[(K)Ubuntu]]></category>

		<category><![CDATA[Macintosh]]></category>

		<category><![CDATA[Project Difficulty: Medium]]></category>

		<category><![CDATA[Web Stuff]]></category>

		<category><![CDATA[amarok]]></category>

		<category><![CDATA[flock]]></category>

		<category><![CDATA[it just works]]></category>

		<category><![CDATA[kde]]></category>

		<category><![CDATA[killer app]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[os x]]></category>

		<category><![CDATA[think different]]></category>

		<category><![CDATA[unity]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=82</guid>
		<description><![CDATA[Recently I&#8217;ve been working on narrowing the gap between Mac OS X and Kubuntu. Since Mac OS X isn&#8217;t too configurable, I&#8217;ve modified Kubuntu to look more like its cousin. Visually I&#8217;ve achieved narrowed the gap with Avant Window Navigator (for the dock), KDE4 for visual effects and &#8220;Expose&#8221;, but there was still something missing.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been working on narrowing the gap between Mac OS X and Kubuntu. Since Mac OS X isn&#8217;t too configurable, I&#8217;ve modified Kubuntu to look more like its cousin. Visually I&#8217;ve achieved narrowed the gap with Avant Window Navigator (for the dock), KDE4 for visual effects and &#8220;Expose&#8221;, but there was still something missing.&nbsp; I wasn&#8217;t getting the same experience on both operating systems.</p>
<p>This all changed when I met <a href="http://flock.com">Flock</a>. Flock is a modification of Mozilla Firefox that is more social oriented. Flock provides a Twitter client, Facebook client, RSS reader, integrates nicely with Webmail, and even displays your Del.icio.us bookmarks when you type URLs into the navigation bar.</p>
<p>Normally I&#8217;d turn down a Gecko-based rendering engine&#8217;d browser because I like KHTML/WebKit better. However, I&#8217;ll get rid of my fanboy tendencies when I meet something truly useful. Flock is my Killer Cross-Platform App. Sure, I could wait until Konqueror 4 comes out for Mac, but Flock is more useful.</p>
<p>There was a quirks I had to iron out thoguh. I downloaded the Flock 2 beta, and tried to get flash to work on it in Linux. Didn&#8217;t work. After much hair pulling and combing the web, I realized Kubuntu was providing the npwrapper implementation of the 32-bit flash library to work with my 64-bit browsers. Because I had the 32-bit version of Flock (I need to find me the 64-bit version) it was choking on the &#8220;64-bit&#8221; Flash libraries. I went to Adobe&#8217;s site, downloaded Flash 9 for Linux, extracted the library, and copied it to ~/.flock/plugins.</p>
<p>Now I have the same experience on both OSes. There are a few killer apps, like <a href="http://unity3d.com">Unity</a> on OS X, and KDE Linux experience itself (yes, that&#8217;s my killer &#8220;app&#8221;) on Kubuntu that I can never get to work on the other OS, but that&#8217;s nothing but a quibble. When I want to watch a video, I fire up VLC, on either OS. When I want to chat with someone I fire up, Konversation (on Kubuntu) or Colloquy (on OS X) which function and look fairly similarly. Music is a bit rough, Amarok on Kubuntu and iTunes on OS X, but once I stop being lazy and download the Mac builds (they&#8217;re only in torrent form right now <img src='http://www.blog.cpufreak91.net/legends/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ), my music experience will be the same also.</p>
<p>Why this need for a similar experience? Why make a Grany Smith Apple look like a Red Delicious? Humans (well, maybe just me) like things that are familiar to them. Sure I&#8217;ve been using KDE for almost two years now, and OS X for over one year, but the drastic change of environment when I rebooted irriated me somewhat. Now when I want to use my computer I just use it. I no longer debate which OS to boot into based on my aesthetical mood. It Just Works (TM), and i don&#8217;t have to Think Different (TM) ;).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=82</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress Restore</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=81</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=81#comments</comments>
		<pubDate>Fri, 13 Jun 2008 18:46:59 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Opinions]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=81</guid>
		<description><![CDATA[The other day I was moving a WordPress blog off of my computer and onto DreamHost. I upgraded the database and everthing was peachy&#8211;until I found out that I didn&#8217;t change the blog URL. I could got to the DreamHost url and it would redirect me right back to 127.0.0.1 when I tried to log [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was moving a WordPress blog off of my computer and onto DreamHost. I upgraded the database and everthing was peachy&#8211;until I found out that I didn&#8217;t change the blog URL. I could got to the DreamHost url and it would redirect me right back to 127.0.0.1 when I tried to log in. Lovely. So I went into PHPMyAdmin and found the blog urls (I think it was in the wp_options table) and changed them to point to the proper place. Thank you PHPMyAdmin for a simple, efficient way to change MySQL table entries!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=81</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m All Web 2.0 Now</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=80</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=80#comments</comments>
		<pubDate>Thu, 05 Jun 2008 01:25:39 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Opinions]]></category>

		<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=80</guid>
		<description><![CDATA[I&#8217;m typing this from Adium, a Mac instant messenger client. If wishes were horses, we&#8217;d not only be eating steak, but we&#8217;d be able to control anything from our instant messenger client.
I&#8217;ve recently discovered IMified, a service where you add IMified&#8217;s bot to your buddy list (AIM: IMified, GTalk and MSN: imified@imified.com). It is a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m typing this from Adium, a Mac instant messenger client. If wishes were horses, we&#8217;d not only be eating steak, but we&#8217;d be able to control anything from our instant messenger client.</p>
<p>I&#8217;ve recently discovered <a href="http://imified.com">IMified</a>, a service where you add IMified&#8217;s bot to your buddy list (AIM: IMified, GTalk and MSN: imified@imified.com). It is a productivity tool that offers instant access to a growing number of web applications over your instant messaging client. Imified simply helps you get things done faster. I edited my account after adding the bot to my buddy list and found 3 amazing &#8220;widgets&#8221;:<br />
Twitter Updater and Notifier (I haven&#8217;t gotten a new Tweet from anyone to test the Notifier)<br />
Remember The Milk (Add and view your Remember The Milk TODO list. Doesn&#8217;t seem to notify you of overdue stuff though.)<br />
And finally, the widget I&#8217;m using now: WordPress (Need an explanation?).</p>
<p>I&#8217;m a console/terminal person. I like typing commands. Thus, I wish to control everything that sends and receives plaintext with my IM client. Here&#8217;s what IMified needs to be nearly perfect:<br />
An IMAP client: Send and receive emails from an IMAP account. &#8220;Import&#8221; your contact list.<br />
PhpBB posting (and/or other Forum software): Read and post topics. Manage your PMs<br />
WordPress: Yes, there already is one, but I need to be able to select categories, and edit and delete posts.</p>
<p>That&#8217;s about all I can think of right now. I&#8217;ll edit this post in a web browser (grr :P) when I think of more.</p>
<p>Web Browser Edit:<br />
Now about the Web 2.0 part of the title of this post. When I signed up to Facebook, I loved the status blurb you can write about yourself. But I didn&#8217;t want to have to log in, click a link and edit my status (I dual-boot and thus reboot frequently) so when I discovered <a href="http://twitter.com">Twitter</a>, I found the perfect status/mini-blog updater. I searched Facebook for a Twitter App and found one that updates my Facebook status from <a href="http://twitter.com/CPUFreak91">my latest Twitter post</a>. Shortly after, I discovered IMified. I added the Twitter widget, and discovered I had an status update system that works like this:<br />
MSN &#8211;> IMified &#8211;> Twitter &#8211;> Facebook. One API after another. That&#8217;s the only thing about Web 2.0 I&#8217;ve ever been excited about.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=80</wfw:commentRss>
		</item>
		<item>
		<title>tesseract Optical Character Recognition and GIMP</title>
		<link>http://www.blog.cpufreak91.net/legends/?p=76</link>
		<comments>http://www.blog.cpufreak91.net/legends/?p=76#comments</comments>
		<pubDate>Wed, 09 Apr 2008 18:45:14 +0000</pubDate>
		<dc:creator>CPUFreak91</dc:creator>
		
		<category><![CDATA[Project Difficulty: Easy]]></category>

		<category><![CDATA[Time Spent: Less than 30 minutes]]></category>

		<guid isPermaLink="false">http://www.blog.cpufreak91.net/legends/?p=76</guid>
		<description><![CDATA[I discovered tesseract when looking for an alternative Optical Character Recognition program to use in SANE. Unfortunately tesseract can&#8217;t be used by SANE unless there&#8217;s the possibility of setting a bunch of different .TIFF save settings. I decided to try my luck at images off the &#8216;net that had text in them. I took some [...]]]></description>
			<content:encoded><![CDATA[<p>I discovered <a href="http://code.google.com/p/tesseract-ocr/">tesseract</a> when looking for an alternative Optical Character Recognition program to use in SANE. Unfortunately tesseract can&#8217;t be used by SANE unless there&#8217;s the possibility of setting a bunch of different .TIFF save settings. I decided to try my luck at images off the &#8216;net that had text in them. I took some screenshots of a few images with clean-ish white backgrounds, saved them as uncompressed TIFF and ran tesseract on them&#8230; nothing. So I searched the net. A <a href="http://www.linuxjournal.com/article/9676">Linux Journal article</a> showed me all the steps one has to take to get a TIFF image to work in tesseract.</p>
<p>First, you must go to Tools→Color Tools→Threshold and change the image&#8217;s threshold until it looks as clear as you can make it.<br />
Second, convert the image to Indexed mode with Image→Mode→Indexed and select the black and white (1-bit) palette.<br />
Third, Remove the Alpha Channel by going to Layer→Transparency→Remove Alpha Channel<br />
Fourth, save the image as .TIFF without any compression.</p>
<p>Then you can run tesseract on the .tiff image and, if the image isn&#8217;t too cluttered, you&#8217;ll see a 90%+ accuracy in the converted image!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.cpufreak91.net/legends/?feed=rss2&amp;p=76</wfw:commentRss>
		</item>
	</channel>
</rss>
