<?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>Random Ramblings &#187; Lord of the Rings Online</title>
	<atom:link href="http://www.codedivision.com/modules/wordpress/category/game-specific/lotro/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedivision.com/modules/wordpress</link>
	<description></description>
	<lastBuildDate>Tue, 29 Mar 2011 10:47:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The joys of hosted deployment</title>
		<link>http://www.codedivision.com/modules/wordpress/2009/01/09/the-joys-of-hosted-deployment/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2009/01/09/the-joys-of-hosted-deployment/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 13:23:36 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[Lord of the Rings Online]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/?p=41</guid>
		<description><![CDATA[Since I don&#8217;t have my own server somewhere, I have been running stuff on Dreamhost for a while now. Most notably my LotRO site is hosted there. In fact one of the major reasons to implement it in Rails was that Dreamhost supports that and PHP, and I had gotten really tired of making stuff [...]]]></description>
			<content:encoded><![CDATA[<p>Since I don&#8217;t have my own server somewhere, I have been running stuff on Dreamhost for a while now. Most notably my <a href="http://lotro.houseofkenja.com/">LotRO site</a> is hosted there. In fact one of the major reasons to implement it in Rails was that Dreamhost supports that and PHP, and I had gotten really tired of making stuff in PHP.</p>
<p>But using a host like Dreamhost has some other nice little bonuses. Like for instance today I discovered that they had upgraded Rails and removed the old version I was using. Now that shouldn&#8217;t have come as a surprise, as they posted they would a while ago. But having been working on a couple of new features, whenever I could be bothered to look at it. I was putting off just deplying a compatibility fix. Of course I had never gotten the features done and now the upgrade finally hit, resulting in my site no longer working.</p>
<p>So as a result had to do an emergency release. Lucky I had already gotten most of the site working on Rails 2.1.1 so it wasn&#8217;t a big deal. But they also released Rails 2.2.2 so now I have to get that working before they remove 2.1.1 as well&#8230;. *sigh*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2009/01/09/the-joys-of-hosted-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated available neighborhoods</title>
		<link>http://www.codedivision.com/modules/wordpress/2008/06/26/updated-available-neighborhoods/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2008/06/26/updated-available-neighborhoods/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 23:03:11 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[Lord of the Rings Online]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2008/06/26/updated-available-neighborhoods/</guid>
		<description><![CDATA[I just noticed that a new kinship just wrote their kinship hall in the text, and that the neighborhood wasn&#8217;t listed. So I took a round and found a bunch that had been added since I initially did the list. So the following has been added: Bree-land Homesteads Bainburg Bedbourne Blackwell Bronburg Burrstow Flinthurst Flitton [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed that a new kinship just wrote their kinship hall in the text, and that the neighborhood wasn&#8217;t listed. So I took a round and found a bunch that had been added since I initially did the list. So the following has been added:</p>
<p><strong>Bree-land Homesteads</strong><br />
Bainburg<br />
Bedbourne<br />
Blackwell<br />
Bronburg<br />
Burrstow<br />
Flinthurst<br />
Flitton<br />
Grimstable<br />
Hamlin<br />
Hirfold<br />
Knockhouse<br />
Melcot<br />
Westcomb</p>
<p><strong>Falathlorn Homesteads</strong><br />
Amon Thanc<br />
Celethmar<br />
Dol Luith<br />
Ecthelhad<br />
Imlad Lind<br />
Thorellant</p>
<p><strong>Shire Homesteads</strong><br />
Berrybridge<br />
Cropfurrows<br />
Mousehill</p>
<p>And I also fixed Maremead as it should be Haremead<br />
<strong>Thorin&#8217;s Halls Homesteads</strong><br />
Aisgarth<br />
DÃ³lgrof<br />
GeirskÃ¡li<br />
Kvisgren<br />
Lindgarth<br />
Mestrof</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2008/06/26/updated-available-neighborhoods/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Housing Directory map &#8211; fixed</title>
		<link>http://www.codedivision.com/modules/wordpress/2008/05/22/housing-directory-map-fixed/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2008/05/22/housing-directory-map-fixed/#comments</comments>
		<pubDate>Thu, 22 May 2008 08:16:11 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[Lord of the Rings Online]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2008/05/22/housing-directory-map-fixed/</guid>
		<description><![CDATA[Turns out that Turbine simply changed the JavaScript they used to convert coordinates and figure out what tiles to show when. Lucky I just copied that file without modification. So I just had to replace it and it worked again. Now settle down Turbine! It&#8217;s very annoying when you change something without us, who leeches [...]]]></description>
			<content:encoded><![CDATA[<p>Turns out that Turbine simply changed the JavaScript they used to convert coordinates and figure out what tiles to show when. Lucky I just copied that file without modification. So I just had to replace it and it worked again.</p>
<p>Now settle down Turbine! It&#8217;s very annoying when you change something without us, who leeches of your functionality, isn&#8217;t informed of it. <img src='http://www.codedivision.com/modules/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
   <!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">Tags: <a href="http://technorati.com/tag/LotRO" rel="tag">LotRO</a>, <a href="http://technorati.com/tag/Laurelin" rel="tag">Laurelin</a>, <a href="http://technorati.com/tag/%20Google%20Maps" rel="tag"> Google Maps</a>, <a href="http://technorati.com/tag/%20Turbine" rel="tag"> Turbine</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2008/05/22/housing-directory-map-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Housing Directory map is messed up</title>
		<link>http://www.codedivision.com/modules/wordpress/2008/05/19/housing-directory-map-is-messed-up-2/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2008/05/19/housing-directory-map-is-messed-up-2/#comments</comments>
		<pubDate>Mon, 19 May 2008 11:52:56 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[Lord of the Rings Online]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2008/05/19/housing-directory-map-is-messed-up-2/</guid>
		<description><![CDATA[Just a small note to state that I noticed that the Hosing Directory map seems to have gone haywire. Looks like Turbine moved their map co-ordinates a bit. I&#8217;ll look into bringing my house locations into sync with it soon(tm). Tags: LotRO]]></description>
			<content:encoded><![CDATA[<p>Just a small note to state that I noticed that the <a href="http://lotro.houseofkenja.com/housing_directory">Hosing Directory map</a> seems to have gone haywire. Looks like Turbine moved their map co-ordinates a bit. I&#8217;ll look into bringing my house locations into sync with it soon(tm).<br />
   <!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">Tags: <a href="http://technorati.com/tag/LotRO" rel="tag">LotRO</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2008/05/19/housing-directory-map-is-messed-up-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping up with the train &#8211; Lots of work for little features</title>
		<link>http://www.codedivision.com/modules/wordpress/2008/01/22/keeping-up-with-the-train-lots-of-work-for-little-features/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2008/01/22/keeping-up-with-the-train-lots-of-work-for-little-features/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 23:20:36 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[Lord of the Rings Online]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2008/01/22/keeping-up-with-the-train-lots-of-work-for-little-features/</guid>
		<description><![CDATA[Ruby on Rails 2 has been out for a good month or two by now. And my hosting provider, Dreamhost, added the gems to support 2.0.2 just after New Years Eve, So obviously I had to upgrade the Laurelin Community Site. I had been on it already before christmas. But motivation was lacking and it [...]]]></description>
			<content:encoded><![CDATA[<p>Ruby on Rails 2 has been out for a good month or two by now. And my hosting provider, Dreamhost, added the gems to support 2.0.2 just after New Years Eve, So obviously I had to upgrade the Laurelin Community Site.</p>
<p>I had been on it already before christmas. But motivation was lacking and it turned out it required some modifications to get going. Specifically the wise guys of Rails Core decided nobody was using pagination so it had to go. Or possibly they decided they where unable to improve it and hoped the community would fill the gap with something better? So the old pagination stuff was kicked out of Rails 2 and replaced with an optional (and likely very unsupported) plugin while telling everyone to use something else.</p>
<p>So I turned to will_pagination as it seemed like it was the most recommended one of the young Rails 2 scene. It appears to work well but I had to redo my pagination control. So far I have just hacked something ugly together&#8230; seems to work with the ugly site anyway.</p>
<p>The biggest hurdle then was that my auth_generator-based user-login system seems to have been unsupported for ages. And it had several issues with Rails 2. And that my use of pagination with the  acts_as_taggable_on_steroids plugin had to be changed. Both was fairly simply. The latter would have been tricky if I hadn&#8217;t found a <a href="http://blog.wolfman.com/articles/2007/07/30/paginating-acts_as_taggable-with-will_paginate">trick in a comment on on a blog</a>. The actual proposed fix in the main blog entry being way too much work for me to bother with <img src='http://www.codedivision.com/modules/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>On the up-side it seems that Rails 2 run a bit faster than Rails 1 did. Maybe it&#8217;s just placebo tho. I guess I&#8217;ll have to see about that.</p>
<p>Then I fixed a slight bug on the site (if someone used &#8216; in a name that was to show up in the Housing Directory. It would no longer show markers on the map when page loaded). And added Kinship profile links that use the kinship name instead of their id. And off to release it went. So it is now live on Rails 2.</p>
<p>Post release I did get one major annoyance. Mainly that if I use the same cookie name as the Rails 1 site I&#8217;d have people throwing exceptions when they first returned to the site. Changing the cookie name should have fixed that. I hope <img src='http://www.codedivision.com/modules/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2008/01/22/keeping-up-with-the-train-lots-of-work-for-little-features/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Now with maps and houses</title>
		<link>http://www.codedivision.com/modules/wordpress/2007/12/06/now-with-maps-and-houses/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2007/12/06/now-with-maps-and-houses/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 13:42:43 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[Lord of the Rings Online]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2007/12/06/now-with-maps-and-houses/</guid>
		<description><![CDATA[Well it&#8217;s been a while since I wrote anything here. My last post was about the initial release of the Unofficial Laurelin Community site. And look at how far it has come now. Okay, so it is still ugly. But functionality-wise it has moved a far distance from back in July when it was just [...]]]></description>
			<content:encoded><![CDATA[<p>Well it&#8217;s been a while since I wrote anything here. My last post was about the initial release of the <a href="http://lotro.houseofkenja.com/">Unofficial Laurelin Community site</a>. And look at how far it has come now.</p>
<p>Okay, so it is still ugly. But functionality-wise it has moved a far distance from back in July when it was just a kinship listing. In between I have added, first, an Events Calendar and now also a Housing Directory.</p>
<p>The events calendar seems to have gone by pretty much unnoticed however. I personally add events I find to it. But nobody else seem to do and I doubt anyone really checks it very often either. A shame really, as it allows people to subscribe to upcoming events either via RSS or iCalendar format. It would make keeping up with the social life on Laurelin easier for most I&#8217;d wager.</p>
<p>Also I am a bit proud of the &#8216;<a href="http://lotro.houseofkenja.com/events/nextevents">Upcoming Events</a>&#8216; page that show a list of events and a live countdown until event start. Making timezone calculation a thing of the past&#8230; if people actually looked at it <img src='http://www.codedivision.com/modules/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Also it is really missing the official events held. But the official events staff only post vague clues before the events. No time or place information is given.</p>
<p>Last night I then released the latest sprout of functionality, the <a href="http://lotro.houseofkenja.com/housing_directory">Housing Directory</a>. Basically anyone can now register what house they live in on the server. The idea is to make it easy to see who you live next to. Or to find where to go to visit someone, but actual searching didn&#8217;t make it in the initial release.</p>
<p>The actual map used is a bit of a throw back to some of my previous projects. It turned out Turbine (the people making the game) already had a Google Maps-based map on their official WIKI: <a href="http://lorebook.lotro.com">LoreBook</a>. So having worked with the API previously I simply use their map tiles and integrated it into my own site (while mentioning where I got it &#8211; of course). Then it was just a matter of mapping all the 120 housing locations and writing the backend and frontend code for it to show them.</p>
<p>It was all rushed a bit tho. And it shows. I only tested it in IE on Windows after deployment and then discovered that my dynamically updated drop down selectors seems to be broken there&#8230; DAMN! And default security settings block the <a href="http://hab.la">externally-hosted chat window</a>&#8230; Double-DAMN!</p>
<p>I guess I still have some work to do tonight then&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2007/12/06/now-with-maps-and-houses/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The rise of a new site</title>
		<link>http://www.codedivision.com/modules/wordpress/2007/07/02/the-rise-of-a-new-site/</link>
		<comments>http://www.codedivision.com/modules/wordpress/2007/07/02/the-rise-of-a-new-site/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 14:57:10 +0000</pubDate>
		<dc:creator>Tiran Kenja</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Lord of the Rings Online]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.codedivision.com/modules/wordpress/2007/07/02/the-rise-of-a-new-site/</guid>
		<description><![CDATA[Since my time in Vanguard was very short I never really got around to play much with Ruby on Rails. I suppose I could continue to work on that project just for the hell of it. But I know myself well enough to know that for spare time projects I work better if I have [...]]]></description>
			<content:encoded><![CDATA[<p>Since my time in Vanguard was very short I never really got around to play much with Ruby on Rails. I suppose I could continue to work on that project just for the hell of it. But I know myself well enough to know that for spare time projects I work better if I have a personal use for the project. So here comes a new one.</p>
<p>I replaced Vanguard with Lord of the Rings Online and it turns out the community tools are not all that developed. In fact there is a forum for each server and that&#8217;s pretty much it. So it&#8217;s up to the inhabitants of the servers to figure out how to organize their community and how they want to communicate with each other.</p>
<p>So far we have had forum stickies of kinships and events that one person took the responsibility of updating. This has rarely worked well because we all just want to play the game really. Spending a lot of time on manually updating lists becomes boring after a while. And even the most dedicated people still have other things to do in their spare time anyway.</p>
<p>So I figured it was a good project to work on in Rails. And now it is sort of live here: lotro.houseofkenja.com.</p>
<p>I made some improvements from my previous flirt with Rails. I now have both a development and a production database. And I use the database migration tools in Rails to make update my production database with the latest developments. The latter still takes some effort to get right tho. Since it is much easier to build databases directly in the development database than writing migration files. So I have to hash out the migration files after developing the code&#8230; Not too smart as they then don&#8217;t get tested much before I release the code to production. But maybe I just haven&#8217;t found tools yet to make this easer.</p>
<p>One issue with Rails that came up today is really mind-boggling tho. Having coded Java for years I am so used to not having to work much with character encodings. Everything Java does is in Unicode so you just need to handle the places where things come in and out of it. And mostly it is easy to take care of.</p>
<p>Turns out Rails is not quite ready for the Global Village idea. On an app where everything runs in UTF-8 I still had to apply some hacks to actually get the text displayed correctly. Turns out Rails (or Ruby?) has no support for encodings so it messed up UTF-8 names coming out of my database even tho the web pages are also encoded in UTF-8. Annoying but it seems the hacks work. So one can live with it.</p>
<p>Apart from that I have no real new things to say about Rails. I am getting a feeling that even tho the framework gets a lot of hype it seems there is not that much community around it. Specifically I am finding a lot of stale &#8216;documentation&#8217; on their WIKI and I find it hard to Google myself to straight answers. And a lot of the community solutions to common issues seems half-baked and either dead or crawling very slowly. I suppose I have been pampered in the Java world where a lot of companies are sponsoring projects and people have had a lot longer to come up with good solutions.</p>
<p>Well. More from the battle-front as this project develops.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedivision.com/modules/wordpress/2007/07/02/the-rise-of-a-new-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

