<?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>Times New Rohan &#187; Coldfusion</title>
	<atom:link href="http://robrohan.com/category/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://robrohan.com</link>
	<description>任意的技术</description>
	<pubDate>Sat, 03 Jan 2009 05:26:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Minimise Web Page Latency with Doom Tiles</title>
		<link>http://robrohan.com/2009/01/02/minimise-web-page-latency-with-doom-tiles/</link>
		<comments>http://robrohan.com/2009/01/02/minimise-web-page-latency-with-doom-tiles/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 04:27:12 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://robrohan.com/?p=933</guid>
		<description><![CDATA[There might be a industry standard name for this process, but I call it using Doom Tiles.  If you ever hacked around on the original video game Doom (or even Quake), you&#8217;ll get  the reference I think.
What is boils down to is loading one large graphic for all the icons on your site. [...]]]></description>
			<content:encoded><![CDATA[<p>There might be a industry standard name for this process, but I call it using <i>Doom Tiles</i>.  If you ever hacked around on the original video game Doom (or even Quake), you&#8217;ll get  the reference I think.</p>
<p>What is boils down to is loading one large graphic for all the icons on your site.  Or at least, grouping sets of icons onto a large graphic, and loading the whole set at one time.</p>
<p>The reason this technique is useful is because opening and closing an HTTP connection from a client to a server can be a very timely process.  If you run ySlow or Safari&#8217;s Network Timeline, you&#8217;ll find that a lot of HTTP connections can really hurt your site&#8217;s performance.  It gets an order of magnitude worse when you are building an iPhone web app, or an app that goes over a cell network.</p>
<p>Here is a step by step on how I use this a technique (and like I said other people have probably done the same thing but call it something else).</p>
<p>First, it makes things a lot easier if you define icon / asset sizes up front and stick to it.  In this example I am choosing 50&#215;50 for simplicity.</p>
<p>Fire up your favourite image editing software, and create a 50&#215;50 gird using the Grid or Guide tools. I use <a href="http://www.pixelmator.com/">Pixelmator</a> (it&#8217;s powerful and it&#8217;s inexpensive).</p>
<div class="movie">
<img src="http://robrohan.com/wp-content/uploads/2009/01/gridsetup.jpg" height="331" width="450" border="1" hspace="4" vspace="4" alt="Gridsetup" />
</div>
<p>Then go nuts on it with your über graphic designing ability:</p>
<div class="movie">
<img src="http://robrohan.com/wp-content/uploads/2009/01/imagegrid.jpg" height="331" width="450" border="1" hspace="4" vspace="4" alt="Imagegrid" />
</div>
<p>(Don&#8217;t be upset if your art doesn&#8217;t look as good as mine.  I am a professional.)</p>
<p>Once you have your <i>Doom Tile</i>, you can use it in your html by using the <i>background-position</i> CSS attribute.  You can use <i>background-position</i> to choose which part of the image you want to display.  Remember that your values are going to be negative because 0,0 is the top left of the graphic and you&#8217;ll need to move the graphic left to change the tile you want to show - &#8220;pull it left&#8221; for lack of a better term.</p>
<p>For example, if we wanted to show the second tile on the first row we would need to shift the graphic to the left by subtracting 50 from the X axis. Something like this:</p>
<pre>
   ...
     img.example {
			height: 50px;
			width: 50px;
			padding: 0px;
			background: url(DoomTile.png) no-repeat;
		}

     img.example-2 {
			background-position:  -50px 0px;
		}
   ...
   &lt;div&gt;
		&lt;a href=""&gt;&lt;img src="" class="example example-2" alt="" /&gt;&lt;/a&gt;
	&lt;/div&gt;
</pre>
<p>This defines the image&#8217;s view port to be 50px by 50px, sets the background to our Doom Tile, and then moves the background image offset to -50px on the X axis.  This moves the second tile into the image&#8217;s 50&#215;50 view port.  Likewise, if you wanted to move to the second row you would subtract 50 from the Y axis.</p>
<p>You can download a working <a href="http://robrohan.com/examples/DoomTileFiles.zip">example of this here</a> (only tested in Safari, but should be fine in any modern browser). This is what the example looks like when run:</p>
<div class="movie">
<img src="http://robrohan.com/wp-content/uploads/2009/01/inuse.jpg" height="331" width="450" border="1" hspace="4" vspace="4" alt="Inuse" />
</div>
<p>You can also use this for image hovers or for simple animation (which is how it was used in Doom).  The example also has a simple demo of animation using the second row of tiles.</p>
<p>Even though this is a simple example, you can see by Safari&#8217;s Network Timeline why this is a helpful technique.  The example site only makes two connections (not including the XHTML logo), but displays 5 graphics and an animation.</p>
<div class="movie">
<img src="http://robrohan.com/wp-content/uploads/2009/01/whygood.jpg" height="343" width="450" border="1" hspace="4" vspace="4" alt="Whygood" />
</div>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2009/01/02/minimise-web-page-latency-with-doom-tiles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>urlEncodedFormat - Case Matters</title>
		<link>http://robrohan.com/2008/12/17/urlencodedformat-case-matters/</link>
		<comments>http://robrohan.com/2008/12/17/urlencodedformat-case-matters/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 11:30:04 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

		<guid isPermaLink="false">http://robrohan.com/?p=915</guid>
		<description><![CDATA[I&#8217;ve never been one for case insensitivity.  I am of the opinion that &#8220;J&#8221; is not the same as &#8220;j&#8221;, just as &#8220;é&#8221; is not the same a &#8220;e&#8221;.  Plus, it&#8217;s just so insensitive - tHinK Of thE pOoR lEtteRs.
As I am sure you are aware Coldfusion&#8217;s variables are more or less case [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve never been one for case insensitivity.  I am of the opinion that &#8220;J&#8221; is not the same as &#8220;j&#8221;, just as &#8220;é&#8221; is not the same a &#8220;e&#8221;.  Plus, it&#8217;s just so insensitive - tHinK Of thE pOoR lEtteRs.</p>
<p>As I am sure you are aware Coldfusion&#8217;s variables are more or less case insensitive.  It makes somethings easier for some people, but those times when you need to get the variables out of the system and into another system, it can sometimes create a headache (or if you use Linux or Mac with insensitivity off).</p>
<p>I am working on a thing that does some stuff with another system, and it passes information on the URL.  Part of the hand shake process is a passing of a hash of some variables.  The variables go through a bit of a process before it gets to the point where it does it&#8217;s hash.</p>
<p>For some reason, the function urlEncodedFormat would output the variables into all lower case.  I tried to write up a simple example to demo the problem, but all my simple attempts to recreate it do not recreate the problem.</p>
<p>However, running it through the whole process does indeed cause values like &#8220;Jane Doe&#8221; to come out as &#8220;jane+doe&#8221;.  This causes the Coldfusion&#8217;s side of things to be different due to the lower case letters.</p>
<p>If you run across this - if you hit the magical combination to get this to happen - you can get around it by falling back on Java&#8217;s Encode object.</p>
<p>Goes something like this:</p>
<pre>
&lt;cfset var urlEncoder = createObject("java", "java.net.URLEncoder") /&gt;
...
&lt;cfset buffer = buffer &#038; "&#038;username=" &#038; urlEncoder.encode(username.toString(), "UTF-8") /&gt;
</pre>
<p>and if you have, say, a time value:</p>
<pre>
...
&lt;cfset returntime = javaCast("double", (time.getTime() / 1000)) /&gt;
&lt;cfset buffer = buffer &#038; "&#038;time=" &#038; urlEncoder.encode(returntime&#038;"", "UTF-8") /&gt;
...
</pre>
<p>What I am working on is not open source, so I can&#8217;t give the full example, and I realise this is pretty vague, but if you run into this problem, hopefully this tip will get you going.</p>
<p>The other interesting bit on this project was having to load up bouncy castle libraries and rolling my own encryption functions because <a href="http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_01.html">this page</a> isn&#8217;t very truthful :-/.  But that&#8217;s for another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/12/17/urlencodedformat-case-matters/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CFTextmate 3.0 Beta Released</title>
		<link>http://robrohan.com/2008/11/29/cftextmate-30-beta-released/</link>
		<comments>http://robrohan.com/2008/11/29/cftextmate-30-beta-released/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 08:39:42 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

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

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

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

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

		<guid isPermaLink="false">http://robrohan.com/?p=908</guid>
		<description><![CDATA[Bill Duenskie has let me borrow the reigns on the CFTextmate project.  CFTextmate is a Coldfusion bundle for the incredibly cool Textmate editor on Mac (E-TextEditor on windows).  Since I have more or less abandoned Eclipse, I&#8217;ve started doing all my development in Textmate (aside from Afae, I still toy with Afae - [...]]]></description>
			<content:encoded><![CDATA[<p>Bill Duenskie has let me borrow the reigns on the CFTextmate project.  CFTextmate is a Coldfusion bundle for the incredibly cool <a href="http://macromates.com/">Textmate</a> editor on Mac (<a href="http://www.e-texteditor.com/">E-TextEditor on windows</a>).  Since I have more or less abandoned Eclipse, I&#8217;ve started doing all my development in Textmate (aside from Afae, I still toy with Afae - oh and Xcode for iPhone app stuff).</p>
<p>The latest stable version of CFTextmate is 2.0.  2.0 was released before I started working on the project, so I am marking my stuff as 3.0 Beta.  I still have a lot of things I want to add, but I&#8217;ve got most of my day to day needs taken care of in 3.0.</p>
<p>I was toying with some other names for the release, but I&#8217;ll just keep those to myself.</p>
<p>The major changes in 3.0, I think, are the inclusion of other CF engines and versions (<a href="http://www.railo-technologies.com/en/index.cfm">Railo</a> (which is awesome), BlueDragon, CF5, etc).  Also thing like cffunction folding, function names in the symbol list, and cfscript colouring.</p>
<p>Here is a movie to show it off a bit.</p>
<div class="movie">
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/KcP_juB-o14&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/KcP_juB-o14&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
</div>
<p>You can download the plugin(s) on <a href="http://www.cftextmate.com/">cftextmate.com</a>.  If you are into source code, you can get the code on <a href="http://github.com/robrohan/coldfusion.tmbundle/tree/master">github</a>, or if you want to possibly have some input on the direction of CFTextmate you can join the <a href="http://groups.google.com/group/cftextmate">mailing list</a>.</p>
<p>(Thanks to <a href="http://blog.daemon.com.au/">Geoff</a> from <a href="http://www.daemon.com.au/">Daemon</a> (where I work) for egging me on)</p>
<p>Oh, and go to <a href="http://www.webdu.com.au/">WebDU</a> for a special treat :)</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/11/29/cftextmate-30-beta-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FarCry Textmate Bundle</title>
		<link>http://robrohan.com/2008/11/22/farcry-textmate-bundle/</link>
		<comments>http://robrohan.com/2008/11/22/farcry-textmate-bundle/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 09:30:35 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

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

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

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

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

		<guid isPermaLink="false">http://robrohan.com/?p=896</guid>
		<description><![CDATA[I&#8217;ve been using Textmate a lot more for my coding endeavours as of late (starting about 3 days ago to be precise), and I&#8217;ve been missing the code completion for tags and functions in FarCry.  
To scratch my itch, I threw together a little process to create Textmate Bundles from CFEclipse dictionaries, and generated [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://macromates.com/">Textmate</a> a lot more for my coding endeavours as of late (starting about 3 days ago to be precise), and I&#8217;ve been missing the code completion for tags and functions in FarCry.  </p>
<p>To scratch my itch, I threw together a little process to create Textmate Bundles from <a href="http://docs.farcrycms.org/display/FCCORE/Auto-Documentation">CFEclipse dictionaries</a>, and generated one for <a href="http://www.farcrycore.org/">FarCry 5.1</a>.</p>
<p>It works pretty well.  Here is a movie of the FarCry Textmate bundle in action.</p>
<div class="movie">
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/z1cJi_1RGhw&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/z1cJi_1RGhw&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
<a href="http://au.youtube.com/watch?v=z1cJi_1RGhw">View</a>
</div>
<p>The thing about the generator is it can be used to move any CFEclipse dictionary to Textmate.  I was going to do one for the base of Coldfusion 8, but, luckly, there is already a generic <a href="http://www.cftextmate.com/">Coldfusion textmate plugin</a> - and only noobs reinvent the wheel or just overlook the hard work of others eh?  </p>
<p>However, if you need snippets for one of the older Coldfusion engines or for Railo or BlueDragon you can pretty easily tweak the code and move it to Textmate.</p>
<p>To download the FarCry Textmate plugin (which is beta) <a href="http://s3.amazonaws.com/software.robrohan.com/FarCryTMBundle/FarCry-Beta.tmbundle.zip">click-a here</a>.  </p>
<p>If you want to play with the code, or move your own cfe dictionary to textmate you can get the source code on <a href="http://github.com/robrohan/farcry-tmbundle/tree/master">github</a>.</p>
<p>Textmate is Mac OS X only, but the <a href="http://www.e-texteditor.com/">E-editor</a> is a Windows clone and it reads Textmate bundles out-of-the-box.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/11/22/farcry-textmate-bundle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bringing Up an EC2 Instance (Movie)</title>
		<link>http://robrohan.com/2008/11/11/bringing-up-an-ec2-instance-movie/</link>
		<comments>http://robrohan.com/2008/11/11/bringing-up-an-ec2-instance-movie/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 20:30:30 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

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

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

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

		<guid isPermaLink="false">http://robrohan.com/?p=888</guid>
		<description><![CDATA[I use Amazon&#8217;s S3 quite a bit and I really like it.  I&#8217;ve also been very curious about using Amazon&#8217;s EC2 - their cloud computing product.
If you&#8217;ve never heard of it, what EC2 allows you to do is bring up images of computers into a big network of processing power and bandwidth.  It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I use Amazon&#8217;s S3 quite a bit and I really like it.  I&#8217;ve also been very curious about using Amazon&#8217;s EC2 - their cloud computing product.</p>
<p>If you&#8217;ve never heard of it, what EC2 allows you to do is bring up images of computers into a big network of processing power and bandwidth.  It&#8217;s like you have a whole box under your control, but &#8230; there is no box.  It&#8217;s like VMWare for servers.  The billing for these instances is by the <del datetime="2008-11-12T01:23:55+00:00">minute</del> <ins datetime="2008-11-12T01:23:55+00:00">hour</ins> - around $0.10 for Linux and $0.12 for windows - so you can bring up test boxes only when you want them, or throw a bit of extra power at a problem.</p>
<p>Anyway, it all sounds fun, but where does one start?  I decided to sit down last weekend and start figuring it out.  My ultimate goal with this, by the way, is to bring up an EC2 instance, put <a href="http://www.railo-technologies.com/en/index.cfm">Railo 3</a> on it, install <a href="http://www.farcrycore.org/">FarCry</a>, and then move my blog over to FarCry. </p>
<p>Here are a few movies about what I&#8217;ve found so far.  These are just on how to bring up an EC2 instance, and I&#8217;ll be making some more as I progress.</p>
<div class="movie">
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/365EckhuQhA&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/365EckhuQhA&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
<a href="http://au.youtube.com/watch?v=365EckhuQhA">Part 1</a>
</div>
<p>(Since youtube wont let me upload a 12 minute video&#8230;)</p>
<div class="movie">
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/xU-xMADoiUA&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/xU-xMADoiUA&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
<a href="http://au.youtube.com/watch?v=xU-xMADoiUA">Part 2</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/11/11/bringing-up-an-ec2-instance-movie/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Can&#8217;t load null</title>
		<link>http://robrohan.com/2008/10/25/cant-load-null/</link>
		<comments>http://robrohan.com/2008/10/25/cant-load-null/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 22:00:57 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

		<guid isPermaLink="false">http://robrohan.com/?p=871</guid>
		<description><![CDATA[And I mean who could eh?
I ran into this Coldfusion error a few days ago, and it seems to be one of those hard to track down hiccups. 
If you are unlucky enough to run into this error, it seems to have something to do with variable scope.  
Here are a few helpful posts [...]]]></description>
			<content:encoded><![CDATA[<p>And I mean who could eh?</p>
<p>I ran into this Coldfusion error a few days ago, and it seems to be one of those hard to track down hiccups. </p>
<p>If you are unlucky enough to run into this error, it seems to have something to do with variable scope.  </p>
<p>Here are a few helpful posts on the matter. This one: <a href="http://www.cfcdeveloper.com/index.cfm/2007/11/25/Cant-load-a-null">similarly named cffunction arguments</a>, and this one: <a href="http://www.harrisfamily.net.nz/devblog/index.cfm/2008/4/11/ColdFusion-Error-cant-load-a-null">cfargument with the same name and default value</a>.  Alas neither of those were what I ran into so I&#8217;ll be throwing my hat into the &#8220;Can&#8217;t load null&#8221; ring.</p>
<p>This is so edge case you&#8217;ll probably never hit it, but what happened was: 1) I had a coding error and 2) I was using CF8, but the live server was CF7 (unbeknownst to me).</p>
<p>It seems if you do this in a cfc:</p>
<pre>
...
   &lt;cftry&gt;
   ...
   &lt;cfcatch type="any"&gt;
       &lt;cfset var error="blarg!" /&gt;
   &lt;/cfcatch&gt;
   &lt;/cftry&gt;
...
</pre>
<p>Things appear to work fine in CF8 (I assume if it ever hit that catch it would error though).</p>
<p>In CF7, or at least in my case, it blewed up with the &#8220;Can&#8217;t load null&#8221; error - which doesn&#8217;t give much more information than that.</p>
<p>It was really lame having the two different environments trying to figure out what happened.  I I just fell back to the good old cfabort, cfdump, &#8220;let&#8217;s comment this out&#8221; debugging methodology (CFACFDLCTODM for short) and I eventually found the problem.  </p>
<p>If you hit this, and it&#8217;s not one of those three thing, go with CFACFDLCTODM.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/10/25/cant-load-null/feed/</wfw:commentRss>
		</item>
		<item>
		<title>First Month in Oz</title>
		<link>http://robrohan.com/2008/10/16/first-month-in-oz/</link>
		<comments>http://robrohan.com/2008/10/16/first-month-in-oz/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 21:35:11 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Chinese]]></category>

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

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

		<guid isPermaLink="false">http://robrohan.com/?p=868</guid>
		<description><![CDATA[(This post is mostly for my family and friends.  There isn&#8217;t a whole lot of technology stuff in this post)
I think we are finally all setup!  I am writing this on my own computer using our own Internet connection from our new flat in Australia.  There is still some residual items from [...]]]></description>
			<content:encoded><![CDATA[<p>(This post is mostly for my family and friends.  There isn&#8217;t a whole lot of technology stuff in this post)</p>
<p>I think we are finally all setup!  I am writing this on my own computer using our own Internet connection from our new flat in Australia.  There is still some residual items from the states we have to get solved (like AT&#038;T refusing to believe that I don&#8217;t live in the US, and a few more boxes of stuff to ship), but we are settling in now.</p>
<p>There are so many things to write about I am not sure where to begin - so I&#8217;ll just go all random.</p>
<p>Coke isn&#8217;t made with corn syrup, and it is actually drinkable.  The food here is amazing, and I don&#8217;t just mean the food you get at restaurants (which is, in general, great), I mean normal grocery store food. I have seen way, way less xanthin gum, red dye number 8 and all those crazy chemicals that get pumped into US food - no bovine growth hormone. Did you know cheddar cheese is not orange?  The food here is simply fantastic, we feel way less poisoned.</p>
<p>The tea is fantastic, and cheap.  K can&#8217;t find stick deodorant. The movies theaters here are very, very nice, but the price of a movie is out of control - $15AUS *per person*. A night at the movies can easily be $100AUS.  Thank goodness Hollywood doesn&#8217;t make very good movies anymore :).</p>
<p>Everyone we&#8217;ve meet so far has been really cool.  I know there are bound to be jerky people here, but we haven&#8217;t run into one yet.  I find that astounding.  I think what I mean by that is Aussies seem far less greedy - or maybe self absorbed - they joke, and take jokes, and seem to take life in strides.  They get things done, but not with the same level of undo, unwarranted, pervasive stress that I am used to from the US.</p>
<p>Now, of course, we&#8217;ve only been here a month so I am sure some of that is the newness of it all, but there is definitely a shocking difference.</p>
<p>Getting moved here was fairly uneventful.  Kristin and I read a few books on how it all works, and I think that helped a lot.  Kristin has done a lot of the work getting us setup whereas I started working the day after we got here.  She has done an amazing job getting us &#8220;back online&#8221; so to speak.  Getting us a flat, getting all the utilities on, and getting our stuff out of customs.</p>
<p>The only problems we&#8217;ve had were securing a flat (getting the down payment for the flat (which was quite expensive)), getting our Oz iPhones (we have no Aus credit history), and getting our stuff though customs.</p>
<p>We got lucky finding a flat, but getting the cash for the down payment from the US was a bit of an ordeal.  If you ever are in a similar situation, western union main branches in the US, and the post office in Oz are your friends.  Don&#8217;t go to the little side branch western unions - they have a rather low limit of cash they will send / pay out. (thanks Dad)</p>
<p>Oz customs is very strict.  They even have a TV show all about customs.  It&#8217;s kind of like the US show &#8220;cops&#8221;, but shows custom officers going though the mail and people stuff at the airport.  It&#8217;s a hilarious show.</p>
<p>If you ever move to Oz and you ship a box that is valued over $1000 they&#8217;ll automatically think you are some sort of business. They will send you a huge packet of forms to fill out.  Kristin diligently tried to fill out this 50 page document, but it turns out if it&#8217;s just your personal effects (and you can prove it somehow), you can write a letter to get your items.</p>
<p>There is no unlimited internet plans here - for anything. It&#8217;s odd at first, but then it sunk in that the internet is just another utility. While unlimited electricity, phone calls, or natural gas would be nice - it&#8217;s probably not going to happen. Why should an internet connection be any different?  </p>
<p>I found a nice Chinese class to keep my studies going.  The company is called <a href="http://www.redcrane.com.au/">Red Crane</a> if you are interested.  They are quite good, and the classes are fun. 周老师 and 王老师 speak excellent Mandarin, and are good teachers.  Now that I have my computer, I can skype with <a href="http://chinesefirststep.com">潘老师</a> too ^_^ (though the metered internet makes skype a bit more complicated).</p>
<p>Kristin has secured a sewing machine and will be <a href="http://somethingsweetandsassy.com">sassying it up</a> soon.</p>
<p>The company we are working for, <a href="http://daemon.com.au">Daemon</a> (pronounced dee-mon), is great.  We love our jobs, and are digging into them.  (Since this is for friends / family) we do lots of internet mumbo jumbo, but our main open source product is called <a href="http://farcrycore.org">FarCry</a> - lots more on that later.</p>
<p>There is so much more to talk about, but I have to get going to work now.  I have a lot of FarCry type work to do, plus a lot of my open source stuff has been ignored during the move - so much to do&#8230;</p>
<p>Oh, one last thing - I now get up at 6:00 am every morning without trouble.  I just wake up and my day starts. (If you know me, you know how absolutely crazy that is).</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/10/16/first-month-in-oz/feed/</wfw:commentRss>
		</item>
		<item>
		<title>cfml in gedit</title>
		<link>http://robrohan.com/2008/09/30/cfml-in-gedit/</link>
		<comments>http://robrohan.com/2008/09/30/cfml-in-gedit/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 06:09:44 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

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

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

		<guid isPermaLink="false">http://robrohan.com/?p=862</guid>
		<description><![CDATA[Australia is awesome, Daemon is awesome, and working on FarCry is pretty darn cool as well.  FarCry is probably one of the most under reported CMSs I&#8217;ve ever seen.  I can&#8217;t believe drupal and wordpress get so much play compared to FarCry and FarCry does so much more, and in a much more [...]]]></description>
			<content:encoded><![CDATA[<p>Australia is awesome, <a href="http://daemon.com.au">Daemon</a> is awesome, and working on <a href="http://farcrycms.org">FarCry</a> is pretty darn cool as well.  FarCry is probably one of the most under reported CMSs I&#8217;ve ever seen.  I can&#8217;t believe drupal and wordpress get so much play compared to FarCry and FarCry does so much more, and in a much more elegant way&#8230; anyway, I am getting off topic, and I&#8217;ll be writing a more in depth post about our move here and what not a bit later.</p>
<p>While getting to know my way around the new stuffs here at work, I hit a snag.  I needed to edit a Coldfusion file using something other than CFEclipse - I use CFEclipse for 99% of the Coldfusion work I am doing, but every now and again it&#8217;s just easier to open a simple editor for a quick edit.</p>
<p>To my amazement gedit wouldn&#8217;t color code CFML files.  Worse yet, the built in file browsing wouldn&#8217;t even show that CFML file existed because the stock Ubuntu install doesn&#8217;t have mime types for CFML files.</p>
<p>I did a quick bit of digging around, and couldn&#8217;t find a pre-made solution so I just slapped this one together.  It seems to work fairly well.  The syntax is from XML so it&#8217;s not fantastic, but it lets gedit open and list CFML files - it&#8217;s a start.</p>
<p>Here is a shot of it working.</p>
<div class="movie">
<a href="http://robrohan.com/wp-content/uploads/2008/09/cfml_gedit.png"><img src="http://robrohan.com/wp-content/uploads/2008/09/cfml_gedit-300x201.png" alt="" title="cfml_gedit" width="300" height="201" class="alignnone size-medium wp-image-863" /></a>
</div>
<p>You can download the files <a href="http://robrohan.com/examples/gedit-cfml.tar.gz">here</a>.  If you are using Ubuntu, it should simply be a matter of chmod u+x the install.sh file and then run it (use at your own risk and all that).</p>
<p>Perhaps when I get a bit of free time I&#8217;ll XSLT the CFEclipse dictionaries into the gedit syntax to get it looking a bit prettier, but for now it&#8217;s gotten me past my stuckness.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/09/30/cfml-in-gedit/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
