<?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>novolocus.com &#187; 2005 &#187; December</title>
	<atom:link href="http://www.novolocus.com/2005/12/feed" rel="self" type="application/rss+xml" />
	<link>http://www.novolocus.com</link>
	<description>Whatever Andy Burns is working on...</description>
	<pubDate>Mon, 05 Jan 2009 16:14:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Arrows in HTML</title>
		<link>http://www.novolocus.com/2005/12/15/arrows-in-html/</link>
		<comments>http://www.novolocus.com/2005/12/15/arrows-in-html/#comments</comments>
		<pubDate>Thu, 15 Dec 2005 13:12:06 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[HTML &amp; Web]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=211</guid>
		<description><![CDATA[I hadn&#8217;t realised that there were so many HTML character codes. Very useful, as I was looking for some arrows&#8230; ↑ ↓  ⇑ ⇓
]]></description>
			<content:encoded><![CDATA[<p>I hadn&#8217;t realised that there were <a href="http://www.tntluoma.com/sidebars/codes/">so many HTML character codes</a>. Very useful, as I was looking for some arrows&#8230; ↑ ↓  ⇑ ⇓</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/12/15/arrows-in-html/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Headlines in any font&#8230;</title>
		<link>http://www.novolocus.com/2005/12/14/headlines-in-any-font/</link>
		<comments>http://www.novolocus.com/2005/12/14/headlines-in-any-font/#comments</comments>
		<pubDate>Wed, 14 Dec 2005 16:12:14 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Graphics, Design and UI]]></category>

		<category><![CDATA[HTML &amp; Web]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=212</guid>
		<description><![CDATA[Do with without CSS for those headlines with funny fonts - use sIFR to replace your text with a Flash image of the text. Neat, although you&#8217;d need to be a bit of a typography nerd to panic over it that much&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Do with without CSS for those headlines with funny fonts - use <a href="http://www.mikeindustries.com/blog/archive/2004/08/sifr">sIFR</a> to replace your text with a Flash image of the text. Neat, although you&#8217;d need to be a bit of a typography nerd to panic over it that much&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/12/14/headlines-in-any-font/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Impressed with Rails - again</title>
		<link>http://www.novolocus.com/2005/12/13/impressed-with-rails-again/</link>
		<comments>http://www.novolocus.com/2005/12/13/impressed-with-rails-again/#comments</comments>
		<pubDate>Tue, 13 Dec 2005 23:12:13 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Ruby &amp; Rails]]></category>

		<guid isPermaLink="false">http://www.novolocus.com/?p=213</guid>
		<description><![CDATA[So, I had need of a little &#8216;Ajax&#8217;. I wanted to provide a brief preview of some content, but without all the nastiness of page refreshes - an ideal candidate for XMLHTTPRequest. So I wrote my own. That was a mistake.
I&#8217;m comfortable with Javascript - I think I&#8217;m fairly accomplished with it - so I [...]]]></description>
			<content:encoded><![CDATA[<p>So, I had need of a little &#8216;Ajax&#8217;. I wanted to provide a brief preview of some content, but without all the nastiness of page refreshes - an ideal candidate for XMLHTTPRequest. So I wrote my own. That was a mistake.</p>
<p>I&#8217;m comfortable with Javascript - I think I&#8217;m fairly accomplished with it - so I got it done, and it worked. It was only then that I thought &#8216;I think Rails does Ajax too&#8217;. Does it ever! Ten minutes, and I had a Rails Ajax version working (a lot less than my own time, even with my boiler-plate code) and, and this is the best bit, much more readable code! That&#8217;s what I call a win. <a href="http://rails.rubyonrails.com/classes/ActionView/Helpers/JavaScriptHelper.html#M000433">link_to_remote</a> was the useful function in question, and my call is:<br />
<code>link_to_remote( 	"Show",<br />
     :url =&gt; { :action =&gt; "show_small", :id =&gt; game.id },<br />
     :update =&gt; "js_board",<br />
     :before =&gt; "document.getElementById('js_board').style.left = get_x(this);<br />
          document.getElementById('js_board').style.top = get_y(this)",<br />
     :complete =&gt; "document.getElementById('js_board').style.visibility = 'visible'" )</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/12/13/impressed-with-rails-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Progress on Chinese Chess</title>
		<link>http://www.novolocus.com/2005/12/10/progress-on-chinese-chess/</link>
		<comments>http://www.novolocus.com/2005/12/10/progress-on-chinese-chess/#comments</comments>
		<pubDate>Sat, 10 Dec 2005 22:12:03 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Ruby &amp; Rails]]></category>

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

		<guid isPermaLink="false">http://www.novolocus.com/?p=214</guid>
		<description><![CDATA[Progress - I can make moves. Okay, so the timebank isn&#8217;t working correctly, my board seems to have some problem that means when black moves it creates errors on the WebBrick server, and you can&#8217;t take a piece that is causing check, for some reason, but I can sort that. It&#8217;s good progress though!
]]></description>
			<content:encoded><![CDATA[<p>Progress - I can make moves. Okay, so the timebank isn&#8217;t working correctly, my board seems to have some problem that means when black moves it creates errors on the WebBrick server, and you can&#8217;t take a piece that is causing check, for some reason, but I can sort that. It&#8217;s good progress though!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/12/10/progress-on-chinese-chess/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Progess on Ruby Chinese Chess site</title>
		<link>http://www.novolocus.com/2005/12/06/progess-on-ruby-chinese-chess-site/</link>
		<comments>http://www.novolocus.com/2005/12/06/progess-on-ruby-chinese-chess-site/#comments</comments>
		<pubDate>Tue, 06 Dec 2005 12:12:56 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
		
		<category><![CDATA[Ruby &amp; Rails]]></category>

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

		<guid isPermaLink="false">http://www.novolocus.com/?p=215</guid>
		<description><![CDATA[So, I&#8217;ve been a bit busy with things, so I don&#8217;t have any of my usual interesting links to post. I&#8217;ve been getting stuff done with the Rails Xiangqi site that I&#8217;m building (Chinese chess to the rest of us). Nothing radical, just plugging away.
My biggest complaint with Rails so far is a lack of [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been a bit busy with things, so I don&#8217;t have any of my usual interesting links to post. I&#8217;ve been getting stuff done with the Rails Xiangqi site that I&#8217;m building (Chinese chess to the rest of us). Nothing radical, just plugging away.</p>
<p>My biggest complaint with Rails so far is a lack of books and documentation. I mean, the API docs are pretty good, but I&#8217;d like to see more example, more tutorials, and a structured thing like a book would be wonderful.</p>
<p>So, what have I learnt? Well, I&#8217;ve used <em>routes.rb</em> to set up the default page for the site. You can also ditch that index.html file from public in your application too. I think I&#8217;ve figured out how change passwords in the security thing, which is a bit involved, so sometime I&#8217;ll post the code.</p>
<p>Partials - annoyingly - don&#8217;t have a &#8216;general&#8217; folder. You can create one, but you have to specify it each time you call a partial. That sucks a bit.</p>
<p>I built a lot of the user admin stuff - login, signup, etc.. It was made very easy by the Login Generator. Updating users and stuff - well, that was only a slight change to the normal scaffold. The big change was updating the password - but even that wasn&#8217;t too bad.</p>
<p>All in all, still impressed by how much you can get done in a short time with Rails.</p>
<p>One thing I&#8217;d like to figure out is how to do a persistent Login cookie for Rails. I don&#8217;t mind having my session deleted, but having authenticated that user, I&#8217;d like to not have to do it again the next time they visit the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.novolocus.com/2005/12/06/progess-on-ruby-chinese-chess-site/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
