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

<channel>
	<title>Limi's Sphere of Influence</title>
	<atom:link href="http://blogs.gerbilsofwar.com/limi/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gerbilsofwar.com/limi</link>
	<description>dabbling, frivolling, idling, loafing, loitering, playing and procrastinating</description>
	<pubDate>Mon, 01 Sep 2008 22:15:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Google goes to the next level with Chrome</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/09/01/google-goes-to-the-next-level-with-chrome/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/09/01/google-goes-to-the-next-level-with-chrome/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 22:15:33 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Google]]></category>

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

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

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

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

		<category><![CDATA[google chrome]]></category>

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

		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=110</guid>
		<description><![CDATA[As announced on the official Google Blog, tomorrow will see the initial release of Google Chrome. This is Google&#8217;s next step forward on the web. Instead of just creating what you interact with in their web applications, you will now end up using Google&#8217;s own web browser to access them instead.

But why would you switch [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">As <a href="http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html');" target="_blank">announced</a> on the official Google Blog, tomorrow will see the initial release of <a href="http://en.wikipedia.org/wiki/Google_Chrome" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Google_Chrome');" target="_blank">Google Chrome</a>. This is Google&#8217;s next step forward on the web. Instead of just creating what you interact with in their web applications, you will now end up using Google&#8217;s own web browser to access them instead.</p>
<p style="text-align: center;"><img class="alignnone" title="Google Chrome" src="http://upload.wikimedia.org/wikipedia/en/7/74/Google_Chrome_Logo.jpg" alt="" width="261" height="300" /></p>
<p style="text-align: left;">But why would you switch to Chrome when we already have great browsers like Firefox and Safari? Here&#8217;s what Google have to say feature set wise, lets go through them shall we&#8230;</p>
<blockquote style="text-align: left;"><p>The browser has an address bar with auto-completion features called &#8220;omnibox.&#8221;</p></blockquote>
<p style="text-align: left;">Well, hopefully this will be much like Firefox&#8217;s 3 &#8220;awesome bar&#8221;, which provides users with a lot more interaction with their search history and their most used web-sites. Especially with the new bookmarking support.</p>
<blockquote style="text-align: left;"><p>The browser includes an open-source JavaScript <span class="mw-redirect">Virtual Machine</span> implementation called V8.</p></blockquote>
<p style="text-align: left;">Ahh, a new JavaScript engine, hopefully this one has vast improvements in speed, as currently that seems to be the on-going problems with most browsers. We can only but hope!</p>
<blockquote style="text-align: left;"><p>Chrome has a privacy mode, disabling all logging for a certain window.</p></blockquote>
<p style="text-align: left;">It seems everyone has finally reaslised that porn is a big deal on the internet, and that it&#8217;s big money, so why not help out the porn sites keep everyone viewing them without being caught? (You could of course use this mode for things like buying presents for people and you don&#8217;t want them finding out, but honestly, what do you think its going to get used for most?)</p>
<blockquote style="text-align: left;"><p>Web applications can be launched in their own browser window without an address bar and toolbar.</p></blockquote>
<p style="text-align: left;">This is going to be used quite obviously for Google&#8217;s own applications like Google Mail, Documents, Calendar etc, and should be quite useful and be a space saver. Again, its a step from taking the web and putting it on your desktop, rather than it being within your browser.</p>
<blockquote style="text-align: left;"><p>Chrome includes an automatically updated blacklist for malicious sites.</p></blockquote>
<p style="text-align: left;">Ahh the security, hopefully with an actively updated blacklist this could help improve browsers for the overall community, especially for those users without high technical know how. Although, if this isn&#8217;t by-passable, and false positives go through which has been seen in Google&#8217;s search results. It may annoy some people who class themselves as clever enough to know what they are doing, but does Google know better?</p>
<blockquote style="text-align: left;"><p>Supports third-party plug-ins.</p></blockquote>
<p style="text-align: left;">I think if a new browser didn&#8217;t support these, it might as well just stop developement all together. Let&#8217;s hope that it&#8217;s as easy as Firefox for extension development and that its powerful enough to be useful. If we don&#8217;t get things like Firebug (not just the JS in-page version) then it might shoot itself in the foot. Let&#8217;s hope not!</p>
<blockquote style="text-align: left;"><p>Uses the WebKit Rendering Engine.</p></blockquote>
<p style="text-align: left;">This is the same rendering engine that Safari uses, and its been proven over time that it&#8217;s very good and very compatiable across operating systems. Let&#8217;s hope they don&#8217;t mess with it too much. This also means that if your site already works in Safari, it&#8217;ll work in Google Chrome. Which is always a bonus when there&#8217;s already quite a few browsers out there right now.</p>
<p style="text-align: left;">As much as I love Firefox for development right now, im slowly beginning to shift over to Safari as I like the way it renders pages and makes them look more soft than usual. However, there are some things about both of these browsers which I don&#8217;t partiuclarly like, so here&#8217;s hoping that Google Chrome gets rid of those for me, and that Chrome can be my new browser for everything, rather than for one specific task.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/09/01/google-goes-to-the-next-level-with-chrome/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change Today screen&#8217;s font colour</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/08/20/how-to-change-a-pocketpcs-today-screens-font-colour/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/08/20/how-to-change-a-pocketpcs-today-screens-font-colour/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 16:11:14 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Mobile Technology]]></category>

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

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

		<category><![CDATA[today screen]]></category>

		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=99</guid>
		<description><![CDATA[I recently changed the background image for the Today screen on my XDA Orbit, however when you set an image to background it washes it out with a grey layer so that text is still readable. However, if you used a very light image to begin with, the standard white text of the Today screen [...]]]></description>
			<content:encoded><![CDATA[<p>I recently changed the background image for the Today screen on my XDA Orbit, however when you set an image to background it washes it out with a grey layer so that text is still readable. However, if you used a very light image to begin with, the standard white text of the Today screen becomes almost unreadable.</p>
<p>In true Microsoft style, there&#8217;s no way to change this easily through the Settings pane, or through the Theme settings pane either. So how do you do it?</p>
<ol>
<li>Download <a href="http://www.breaksoft.com/Blog/Utilities/2005/1/Mobile_Registry_Editor.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.breaksoft.com/Blog/Utilities/2005/1/Mobile_Registry_Editor.aspx');" target="_blank">Mobile Registry Editor</a></li>
<li>Make sure your phone is connected over ActiveSync</li>
<li>Load Mobile Registry Editor</li>
<li>Goto <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Color\</code></li>
</ol>
<p>If you see a binary key named <code>4</code> simply edit that and if you want the colour black, put in <code>00 00 00 00</code> then save it.</p>
<p>If you don&#8217;t see a binary key named <code>4</code> then you&#8217;ll need to create it. Do this by right clicking and going to New -&gt; Binary Value&#8230;</p>
<blockquote><p>Value Name: <code>4</code><br />
Value Data: <code>00 00 00 00</code></p></blockquote>
<p>If you had to create the key then the colour change should be immediate, if you were editing it you probably need to restart the phone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/08/20/how-to-change-a-pocketpcs-today-screens-font-colour/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Running Firefox 2 &#038; 3 Side-by-Side</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/08/19/running-firefox-2-and-3-side-by-side/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/08/19/running-firefox-2-and-3-side-by-side/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 16:45:44 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Internet]]></category>

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

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

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

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

		<category><![CDATA[side-by-side]]></category>

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=92</guid>
		<description><![CDATA[After finally giving in I decided to work out how to get Firefox 2.0.0.11 and 3.0.1 running side by side. It turned out to be much easier than I thought, so I thought I&#8217;d share this with the world (although its probably posted on about 5million other blogs), either way&#8230;

Download Firefox 2.0.0.11 from OldVersion
Change the [...]]]></description>
			<content:encoded><![CDATA[<p>After finally giving in I decided to work out how to get Firefox 2.0.0.11 and 3.0.1 running side by side. It turned out to be much easier than I thought, so I thought I&#8217;d share this with the world (although its probably posted on about 5million other blogs), either way&#8230;</p>
<ul>
<li>Download Firefox 2.0.0.11 from <a href="http://www.oldversion.com/program.php?n=firefox" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.oldversion.com/program.php?n=firefox');" target="_blank">OldVersion</a></li>
<li>Change the installation directory to something other than the default</li>
</ul>
<p>That&#8217;s the easy part, now for the more complex bit&#8230;</p>
<ul>
<li>Make sure all your Firefox windows are closed (yes, this one too)</li>
<li>Start -&gt; Run -&gt; &#8220;<code>firefox -ProfileManager</code>&#8220;</li>
<li>Press &#8220;Create Profile&#8221; and call the new profile &#8220;<code>ff2</code>&#8220;</li>
<li>Once it&#8217;s created the profile press &#8220;Exit&#8221;</li>
</ul>
<p>Now navigate to the folder you just installed Firefox 2 into, and create a shortcut to the <code>firefox.exe</code></p>
<blockquote><p><code>firefox.exe -P ff2 -no-remote</code></p></blockquote>
<p>Put that wherever you please and then you can load Firefox 2 and 3 at the same time! <img src='http://blogs.gerbilsofwar.com/limi/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/08/19/running-firefox-2-and-3-side-by-side/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu Hardy Heron + Rails Gem Update = Barf</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/08/18/ubuntu-hardy-heron-rails-gem-update-barf/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/08/18/ubuntu-hardy-heron-rails-gem-update-barf/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 20:17:55 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Rails]]></category>

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

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

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=80</guid>
		<description><![CDATA[So yes, I recently got myself a new home server off of eBuyer, and I decided to install Ubuntu on it. After installing various other packages without issue the first to cause problems was Rails (it always would be wouldnt it). Either way, when you try to run&#8230;
sudo gem update --system
It goes&#8230;
/usr/bin/gem:23: uninitialized constant Gem::GemRunner [...]]]></description>
			<content:encoded><![CDATA[<p>So yes, I recently got myself a new home server off of eBuyer, and I decided to install Ubuntu on it. After installing various other packages without issue the first to cause problems was Rails (it always would be wouldnt it). Either way, when you try to run&#8230;</p>
<blockquote><p><code>sudo gem update --system</code></p></blockquote>
<p>It goes&#8230;</p>
<blockquote><p><code>/usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)</code></p></blockquote>
<p>Which is really useful and does exactly what you want it to.. not. The fix is to go edit the gem file&#8230;</p>
<blockquote><p><code>/usr/bin/gem</code></p></blockquote>
<p>In there, hunt for the line&#8230;</p>
<blockquote><p><code>require 'rubygems'</code></p></blockquote>
<p>&#8230;and just after, put this&#8230;</p>
<blockquote><p><code>require 'rubygems/gem_runner'</code></p></blockquote>
<p>Problem solved!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/08/18/ubuntu-hardy-heron-rails-gem-update-barf/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finding Paths through the World&#8217;s Photos</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/08/15/finding-paths-through-the-worlds-photos/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/08/15/finding-paths-through-the-worlds-photos/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 12:04:21 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Flickr]]></category>

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

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

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

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

		<category><![CDATA[photo tourism]]></category>

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

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=76</guid>
		<description><![CDATA[This video is shows off what Microsoft&#8217;s Research team have been doing since they initially did work on an idea called Photo Tourism. This is where you take lots of photo&#8217;s of a location and using those to generate a 3D area which the user can move the camera about in. This is the next [...]]]></description>
			<content:encoded><![CDATA[<p>This video is shows off what Microsoft&#8217;s Research team have been doing since they initially did work on an idea called Photo Tourism. This is where you take lots of photo&#8217;s of a location and using those to generate a 3D area which the user can move the camera about in. This is the next step up from that with many improvements, and quite frankly, is a fantastic bit of software engineering.</p>
<p><!-- Smart Youtube --><span class="youtube"><object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/gLLzV5qeKyk&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;autoplay="><param name="movie" value="http://www.youtube.com/v/gLLzV5qeKyk&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;autoplay="></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="transparent" /></object></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/08/15/finding-paths-through-the-worlds-photos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Replacing TortoiseSVN&#8217;s XPStyle Icons in 1.5.x</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/08/05/replacing-the-new-tortoisesvn-icons-with-the-old-ones/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/08/05/replacing-the-new-tortoisesvn-icons-with-the-old-ones/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 18:08:00 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Programming]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=61</guid>
		<description><![CDATA[So, this morning I finally entertained Tortoise&#8217;s incessant whining to update to its latest version (1.5.2) and I took the plunge. The one thing that annoys me the most about the upgrade process is the fact I have to restart the machine in order for the installation to finish, this I find is so archaic and out [...]]]></description>
			<content:encoded><![CDATA[<p>So, this morning I finally entertained Tortoise&#8217;s incessant whining to update to its latest version (1.5.2) and I took the plunge. The one thing that annoys me the most about the upgrade process is the fact I have to restart the machine in order for the installation to finish, this I find is so archaic and out of date compared to 99% of all other software installation. (Obviously I&#8217;m not stupid enough to realise that there&#8217;s quite a bit of interaction on the OS level with Tortoise, but still, it&#8217;s one annoyance I would rather do without)</p>
<p>Once I&#8217;m restarted and on the go again, I go to browse one of my SVN directories and I&#8217;m greeted with some disgusting icons. They&#8217;ve gone and replaced the XPStyle icon set with some&#8230; quite frankly, god awful ones. They blur horribly at 16&#215;16 size and just don&#8217;t look nice at all in my opinion, so it was then finding out how to change the icons.</p>
<ol>
<li>Right click on the desktop and in &#8220;TortoiseSVN&#8221; click &#8220;Settings&#8221;</li>
<li>Select &#8220;Icon Set&#8221; from the left tree menu</li>
<li>Then using the drop down to change to which icon set suits you.</li>
<li>Restart the machine (*sigh*)</li>
</ol>
<div>After I had looked through the other sets I went for &#8220;Straight&#8221;, however after a days work with this, I just wanted the original icons back. Thankfully I had an old installation of TortoiseSVN on another machine so it was just a case of moving &amp; renaming the icons from one place to another.</div>
<div>To get the old icons from 1.4.x into 1.5.x simply download the following file, and extract the folder into&#8230;</div>
<blockquote>
<div>%commonprogramfiles%\TortoiseOverlays\icons</div>
</blockquote>
<div>You can just put that into the Run box and it should load up the correct directory. Simple extract the zip file into here and then use the step-by-step above to change your icon set to the new one named &#8220;LegacyStyle&#8221;.</div>
<div><a href="http://blogs.gerbilsofwar.com/limi/wp-content/uploads/2008/08/legacystyle.zip" onclick="javascript:pageTracker._trackPageview('/downloadsblogs./limi/wp-content/uploads/2008/08/legacystyle.zip');">Download LegacyStyle</a> (40kb)</div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/08/05/replacing-the-new-tortoisesvn-icons-with-the-old-ones/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to optimize Tortoise&#8217;s SVN Cache</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/08/05/how-to-optimize-tortoises-svn-cache/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/08/05/how-to-optimize-tortoises-svn-cache/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 16:35:53 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Programming]]></category>

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

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

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=55</guid>
		<description><![CDATA[If you&#8217;re a programmer of some description and you use SVN and develop on Windows then chances are you&#8217;ll either be using SVN with TortoiseSVN, or you&#8217;ll be like one of those trendy kids using GIT. However, those cool kids don&#8217;t yet have something like TortoiseGIT. But I&#8217;m sure that once it comes out that these optimizations will still [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a programmer of some description and you use SVN and develop on Windows then chances are you&#8217;ll either be using SVN with <a href="http://tortoisesvn.tigris.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://tortoisesvn.tigris.org/');" target="_blank">TortoiseSVN</a>, or you&#8217;ll be like one of those trendy kids using GIT. However, those cool kids don&#8217;t yet have something like TortoiseGIT. But I&#8217;m sure that once it comes out that these optimizations will still apply.</p>
<p>The part of TortoiseSVN that really slows down PC&#8217;s is the &#8220;TSVNCache.exe&#8221; file. This basically allows for drawing of the icons on-top of files and folders to indicate their SVN status. However, doing this requires a lot of monitoring of literally all your files and folders. So whats the most obvious thing to do? Restrict what Tortoise monitors as it goes about its work. We do that as follows&#8230;</p>
<ol>
<li>Right click on your desktop and select &#8220;Settings&#8221; from the Tortoise context menu.</li>
<li>In the tree view on the left select &#8220;Icon Overlays&#8221;</li>
<li>In the &#8220;Exclude Paths&#8221; box put in <strong>C:\*</strong>, this will exclude the entire drive from being monitored. You&#8217;ll want to put in the drive names of all your fixed drives to stop those being monitored as well.</li>
<li>In the &#8220;Includes Paths&#8221; box put in the root of your development directories, I only use one, however you may use many scattered across your drive. I simply put in <strong>C:\SVN\*</strong></li>
<li>Press &#8220;ok&#8221; to apply these changes.</li>
<li>Either reboot your machine, or, if your like me, open up task manager and kill &#8220;TSVNCache.exe&#8221; and load up a folder associated with SVN and it should re-start itself.</li>
</ol>
<p>Other improvements can be made by setting Tortoise to only show the icon overlays when you are browsing directories with explorer. By default whenever you have an open/save dialog it will load in and show you those. These can be disabled by the following&#8230;</p>
<ol>
<li>Right click on your desktop and select &#8220;Settings&#8221; from the Tortoise context menu.</li>
<li>In the tree view on the left select &#8220;Icon Overlays&#8221;</li>
<li>Check the box for &#8220;Show overlays and context menu only in explorer&#8221;</li>
<li>Press &#8220;ok&#8221; to apply these changes.</li>
<li>Either reboot your machine, or, if your like me, open up task manager and kill &#8220;TSVNCache.exe&#8221; and load up a folder associated with SVN and it should re-start itself.</li>
</ol>
<div>Depending on how much you want to speed up Tortoise you can also disable the icons for files, but keep them on for folders. Done the same as above but just change the &#8220;Status cache&#8221; to &#8220;None&#8221;.</div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/08/05/how-to-optimize-tortoises-svn-cache/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby on Rails gallery with RMagick + RJuby issues</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/08/01/ruby-on-rails-gallery-with-rmagick-and-jruby-issues/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/08/01/ruby-on-rails-gallery-with-rmagick-and-jruby-issues/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 13:00:09 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Flickr]]></category>

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

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

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

		<category><![CDATA[file uploading]]></category>

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

		<category><![CDATA[image uploading]]></category>

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=45</guid>
		<description><![CDATA[For those who know me (hi people on facebook) you might know that over the past few weeks I have been slowly making a gallery in Rails for my personal photos. This started off the back end of being annoyed at Flickr&#8217;s free account only allowing you to create 3 sets (or albums) before you [...]]]></description>
			<content:encoded><![CDATA[<p>For those who know me (hi people on facebook) you might know that over the past few weeks I have been slowly making a gallery in Rails for my personal photos. This started off the back end of being annoyed at Flickr&#8217;s free account only allowing you to create 3 sets (or albums) before you had to pay for more. This annoyed me as I do like the Flickr layout, but I&#8217;m not really prepared to pay for it just yet.</p>
<p>So instead, I decided to make my own Flickr clone, and this has been aptly named Snapr!</p>
<p style="text-align: center;"><img class="size-full wp-image-49 aligncenter" title="snapr_logo" src="http://blogs.gerbilsofwar.com/limi/wp-content/uploads/2008/08/snapr_logo.png" alt="" width="98" height="31" /></p>
<p>I started off by looking through their design, seeing how they spaced and laid things out, but one thing in particular that interested me was how pictures seemingly look better on Flickr. Now of course, its not just because of its design that compliments images and that&#8217;s enough to make them appear to be better. But as stupid as it sounds, pictures on Flickr <strong>do</strong> look better, it took some research and testing to finally work out how they do it, but here it is.</p>
<p>After digging through the code in the <a href="http://code.flickr.com/svn/trunk/uploadr/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://code.flickr.com/svn/trunk/uploadr/');" target="_blank">Mac Flickr Uploader</a>, which is quite handily open source, it was just a case of attempting to follow the code through to work out what they did. They use GraphicsMagick for image manipulation and this is the code that makes images look great&#8230;</p>
<blockquote>
<pre>// Find the sharpen sigma as the website does
double sigma;
if (base &lt;= 800) { sigma = 1.9; }
else if (base &lt;= 1600) { sigma = 2.85; }
else { sigma = 3.8; }</pre>
<pre>// Create the actual thumbnail
img.scale(dim.str());
img.sharpen(1, sigma);
img.compressType(Magick::NoCompression);
img.write(*thumb_s);</pre>
</blockquote>
<p>This is the last part of the generation of thumbnails, and as you can see, it scales down the image, then sharpens it by this magical sigma amount. To replicate this I had to actually play around (for quite a while) with that sigma figure so that I could make a like for like replication of their images. Obviously they don&#8217;t compress the thumbs, as if you do, they look horrible.</p>
<p>Now initially, this was easily to replicate in Rails with RMagick, however when I switched over to JRuby there isn&#8217;t a RMagick gem, which is more than a slight annoyance. After some help from a friend I had my own implementation of pure Java for image manipulation, and this worked fine. However I had been using the <a href="http://github.com/technoweenie/attachment_fu/wikis/home" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://github.com/technoweenie/attachment_fu/wikis/home');" target="_blank">attachment_fu</a> plugin to make uploading and resizing of images a breeze. (Read: if you aren&#8217;t using attachment_fu, use it!). So the next step, how to get this new Java code to work with attachment_fu. 2 evenings worth of playing and testing later (and my complete lack of any real Java knowledge) I admitted defeat. So, at this point I have a fully working gallery, minus image uploading and processing, which as far as galleries go, meant it pretty much useless. What was I to do next?</p>
<p>Some Googling later and <a href="http://blog.nicksieger.com/articles/2008/03/27/imagevoodoo-0-1-released" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://blog.nicksieger.com/articles/2008/03/27/imagevoodoo-0-1-released');" target="_blank">ImageVoodoo</a> was my knight in shining armor! ImageVoodoo is a JRuby gem which has like for like API methods for <a href="http://seattlerb.rubyforge.org/ImageScience.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://seattlerb.rubyforge.org/ImageScience.html');" target="_blank">ImageScience</a> (an image processor supported by attachment_fu). Everything looked like the gallery could finally begin working again. However the next stumbling block was going to appear, ImageVoodoo doesn&#8217;t support image sharpening. I was wondering at this point just how much more annoying this could get; this project was only meant to be something quick to get me back into writing Ruby again, but was quickly turning into a complete headache. After some more eventual playing I again had to admit defeat, not so much through not wanting this to work or lack of knowledge, but the want of a working gallery was greater at this point.</p>
<p>Where am I at now then? Well, the gallery is operational, but image sharpening &amp; image compression are out at the moment. So thumbnails look like a 4 year old has been let loose with Photoshop and somehow managed to find the resize controls but on doing so, decided to lower the quality to about 10. Meaning that my lovely photos don&#8217;t look as good as they could at this moment. However with attachment_fu storing the original image all is not lost just yet, as when I finally figure it out I can simply regenerate the thumbnails.. (well, I hope I can, haven&#8217;t actually looked into how to do that yet).</p>
<p><a href="http://blogs.gerbilsofwar.com/limi/wp-content/uploads/2008/08/snapr_thumb.png" ><img class="aligncenter size-full wp-image-47" title="Snapr" src="http://blogs.gerbilsofwar.com/limi/wp-content/uploads/2008/08/snapr_thumb.png" alt="" width="409" height="332" /></a></p>
<p>It baffles me however that RMagick, which is quite frankly a huge part of Ruby image manipulation, doesn&#8217;t have a JRuby gem. Admittedly there is RMagick4J, but it&#8217;s lacking the same problems as ImageVoodoo, no sharpening support or image compression controls. If only RMagick worked on JRuby without having to think about it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/08/01/ruby-on-rails-gallery-with-rmagick-and-jruby-issues/feed/</wfw:commentRss>
		</item>
		<item>
		<title>2 Firebug extensions I can&#8217;t work without</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/07/22/2-firebug-extensions-i-cant-work-without/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/07/22/2-firebug-extensions-i-cant-work-without/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 15:43:34 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Internet]]></category>

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

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

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

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

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

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

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

		<category><![CDATA[web development]]></category>

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

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

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=35</guid>
		<description><![CDATA[If you&#8217;ve ever worked with Firebug you&#8217;ll know its possibly the best tool out there for aiding in web development within Firefox; thankfully there are some really handy extensions for it to make it even more indispensable!
Firecookie

Allows the same controls that you get with HTML to apply to cookies, so far I had been using [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever worked with <a title="Firebug" href="http://getfirebug.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://getfirebug.com/');" target="_blank">Firebug</a> you&#8217;ll know its possibly <em>the</em> best tool out there for aiding in web development within Firefox; thankfully there are some really handy extensions for it to make it even more indispensable!</p>
<p><a title="Firecookie" href="https://addons.mozilla.org/en-US/firefox/addon/6683" onclick="javascript:pageTracker._trackPageview('/outbound/article/https://addons.mozilla.org/en-US/firefox/addon/6683');" target="_blank">Firecookie</a></p>
<p><img class="aligncenter" src="https://addons.mozilla.org/en-US/firefox/images/preview/6683/2" alt="" width="415" height="118" /></p>
<p>Allows the same controls that you get with HTML to apply to cookies, so far I had been using the Web Developer toolbar to view/change cookies, however this allows for much easier editing. It also has a feature to show you when cookies are changed, which is great for debugging.</p>
<p><a title="YSlow" href="https://addons.mozilla.org/en-US/firefox/addon/5369" onclick="javascript:pageTracker._trackPageview('/outbound/article/https://addons.mozilla.org/en-US/firefox/addon/5369');" target="_blank">YSlow</a></p>
<div class="mceTemp mceIEcenter">
<dl class="wp-caption aligncenter" style="width: 417px;">
<dt class="wp-caption-dt"><img src="https://addons.mozilla.org//en-US/firefox/images/preview/5369/1" alt="YSlow" width="407" height="228" /></dt>
</dl>
</div>
<p>This is useful to work out either why your site is running slow, or for you to make improvements to make it faster. It has various rule sets which can be found <a title="YSlow Rules" href="http://developer.yahoo.com/performance/index.html#rules" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://developer.yahoo.com/performance/index.html#rules');" target="_blank">here</a> which define what exceptions it allows.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/07/22/2-firebug-extensions-i-cant-work-without/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone 3G delusion.. the apple has gone rotten</title>
		<link>http://blogs.gerbilsofwar.com/limi/2008/06/27/iphone-3g-delusion-the-apple-has-gone-rotten/</link>
		<comments>http://blogs.gerbilsofwar.com/limi/2008/06/27/iphone-3g-delusion-the-apple-has-gone-rotten/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 15:41:30 +0000</pubDate>
		<dc:creator>Limi</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Mobile Technology]]></category>

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

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

		<guid isPermaLink="false">http://blogs.gerbilsofwar.com/limi/?p=33</guid>
		<description><![CDATA[Well, I think I have decided against getting the new iPhone as a replacement for my trusty XDA Orbit. The reason why I was going to get one was so that I lost no functionality between my current phone and the new one, that included GPS functionality. I was very happy to hear on launch [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I think I have decided against getting the new iPhone as a replacement for my trusty XDA Orbit. The reason why I was going to get one was so that I lost no functionality between my current phone and the new one, that included GPS functionality. I was very happy to hear on launch that the 3G version was going to include A-GPS technology, that was the last thing on the check-list I had against getting an iPhone.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://images.jupiterimages.com/common/detail/83/62/23366283.jpg" alt="" width="250" height="70" /></p>
<p>So after a few weeks of looking forward to the 11th of July today I have decided against getting one, but why? The GPS, by Apple terms and conditions, cannot be used for navigation&#8230;</p>
<blockquote><p>Applications [that use location-based APIs] may not be designed or marketed for real time route guidance; automatic or autonomous control of vehicles, aircraft, or other mechanical devices; dispatch or fleet management; or emergency or life-saving purposes.</p></blockquote>
<p>Fantastic, so just what is the GPS used for then?</p>
<ul>
<li>Photo Geo-tagging</li>
<li>Location finding</li>
</ul>
<p>So.. Apple make possibly one of the most sought after phones this year, yet put a stupid restriction on the GPS side of it. I expect GPS was a real deal breaker for lots of people, but will those users ever be told about the restrictions? I wonder what will happen if I go ask the people in the o2 shop about it, I wonder if they&#8217;ll try to sell it to me neglecting to tell me that fact.</p>
<p>Guess I&#8217;ll be waiting a month or two after release for the jail breakers to take it apart, and allow the functionality that Apple have restricted&#8230;</p>
<ul>
<li>No VoIP Apps on EDGE</li>
<li>Only Apple Approved Code</li>
<li>No Background Processes</li>
<li>Applications are sand-boxed</li>
<li>Only Official APIs</li>
<li>3rd party applications without $99 charge</li>
</ul>
<p>Congratulations Apple, you&#8217;ve not only shot yourselves in the foot again, but also given the jail breakers more reason to carry on their work.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gerbilsofwar.com/limi/2008/06/27/iphone-3g-delusion-the-apple-has-gone-rotten/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
