<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>FUblog</title>
			<link>http://developer.fusium.com/fublog/</link>
			<description>Fusium Blog </description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 18:23:19 -0400</pubDate>
			<lastBuildDate>Tue, 29 May 2007 00:00:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>info@Fusium.com</managingEditor>
			<webMaster>info@Fusium.com</webMaster>
			
			
			
			
			
			<item>
				<title>Moving On</title>
				<link>http://developer.fusium.com/fublog//2007/5/29/Moving-On</link>
				<description>
				
				As you can see, there&apos;s not much activity here anymore.

You can find more of Nat&apos;s wisdom at &lt;a href=&quot;http://www.webapper.net/&quot;&gt;webapper&lt;/a&gt;. 

Erik is now blogging at &lt;a href=&quot;http://www.psykel.com/blog/&quot;&gt;psykel&lt;/a&gt;. 

Happy Trails,
grumps
				
				</description>
				
				<category>Server</category>
				
				<category>General</category>
				
				<category>CSS</category>
				
				<category>Java</category>
				
				<category>ColdFusion</category>
				
				<category>FUsebox</category>
				
				<category>Minaret</category>
				
				<category>Hardware</category>
				
				<category>Database</category>
				
				<category>CommonSnot</category>
				
				<pubDate>Tue, 29 May 2007 00:00:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog//2007/5/29/Moving-On</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Selenium Uses?</title>
				<link>http://developer.fusium.com/fublog//2006/6/25/Selenium-Uses</link>
				<description>
				
				Has anyone used &lt;a href=&quot;http://www.openqa.org/selenium-ide/&quot;&gt;Selenium IDE&lt;/a&gt;? I&apos;m anxious to hear from someone who has used it in practice. Of course it looks cool, but, like LiveHTTPHeaders, it would remain an unused Firefox plugin until that one day when I couldn&apos;t live without it. (Of course now I use LiveHTTPHeaders about once a week.)
				
				</description>
				
				<category>General</category>
				
				<pubDate>Sun, 25 Jun 2006 16:31:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog//2006/6/25/Selenium-Uses</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>FileZilla aliases</title>
				<link>http://developer.fusium.com/fublog//2006/6/14/FileZilla-aliases</link>
				<description>
				
				Grumpy, Fusium&apos;s Senior FileZilla Administrator (in addition to Junior Arctic Silver Engineer) found out (the hard way) how to add aliases to FileZilla. See, the little helper text on the Alias dialog box is very cryptic. Here&apos;s how you do it.

Go to User management, then pick the user, then shared folders.

Then enter the path to the target of the alias in the left column (via the folder browser popup), then dbl-click the white area to the right of it (under the Alias column), then type in the full path to an imaginary folder based on the ftp user&apos;s home directory. So if the user&apos;s home directory is c:\ftproot\user and you want them to be able to cd to c:\somedir, you enter c:\ftproot\user\somedir as the alias. But don&apos;t actually make that folder on the file system.

Goofy, but now it&apos;s documented for the next time we need to add an alias.
				
				</description>
				
				<category>Server</category>
				
				<category>General</category>
				
				<pubDate>Wed, 14 Jun 2006 15:39:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog//2006/6/14/FileZilla-aliases</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Keep it scalable, kids</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=60112D48-E181-5AD2-0C090CD206032902</link>
				<description>
				
				We had a lot of trouble today with some really bad code that looked to be written about 10 years ago.

It was simply horrible.  Nested loops, tons of CFIFs, you name it.  Opening and editing this one CF file felt kinda like fixing a leaky pipe in my crawlspace.  Dusty air, spiders all over the place, dark, no room to move...yuck.

Anyway this one page suddenly became very popular, and was definately NOT scalable.  I rewrote it so the server would stop crashing (!) and it is now seriously about 100 times faster than before.

If, by chance, you are a person looking for web development services, be sure to get someone who knows what they&apos;re doing.  

If, by chance, you are a developer, make your code scalable.  Most of you know this, but I&apos;ll say it anyway -- Just because your code runs well on your dev box, it doesn&apos;t mean it will perform the same way when it&apos;s hit by 50 concurrent users.  And if you have to write nasty slow code, at least cache it.

Thanks, I&apos;m going to bed now.
				
				</description>
				
				<category>General</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Mon, 22 May 2006 23:55:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=60112D48-E181-5AD2-0C090CD206032902</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>SES can cause trouble if you&apos;re not careful</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=09BD6C62-9535-39A9-AF1FC6B2DC0010FE</link>
				<description>
				
				So I recently deployed some SES URL code to a big site we did.  One thing I forgot to do was adjust a layout file that is used by sort of sister site - same content, different layouts.

Anyway, I did not add the BASE HREF tag to this layout file.  The layout file uses about 50 images or so, all called via a virtual directory.  

&lt;div class=&quot;code&quot;&gt;&lt;FONT COLOR=NAVY&gt;&lt;FONT COLOR=PURPLE&gt;&amp;lt;img src=&lt;FONT COLOR=BLUE&gt;&quot;myDir/whatever.gif&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/div&gt;

Since I forgot to add a BASE HREF, each image call was preceded with the entire SES url:

&lt;div class=&quot;code&quot;&gt;&lt;FONT COLOR=NAVY&gt;&lt;FONT COLOR=PURPLE&gt;&amp;lt;img src=&lt;FONT COLOR=BLUE&gt;&quot;&lt;A TARGET=&quot;_blank&quot; HREF=&quot;http://www.example.com/one/two/three/myDir/whatever.gif&quot;&gt;http://www.example.com/one/two/three/myDir/whatever.gif&lt;/A&gt;&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/div&gt;

So each image request actually called a page of the site!  Worse yet, the code took MYDIR as a url parameter, which caused the code to throw an error (an unexpected value).

So each page request was throwing about 50 or so errors, each of which resulted in a robust error report sent to my inbox.  I&apos;m still getting email messages 30 minutes later.  Ugh.
				
				</description>
				
				<category>General</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Fri, 17 Mar 2006 11:36:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=09BD6C62-9535-39A9-AF1FC6B2DC0010FE</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>SES lives on</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=095FF786-059E-B566-621280162E01617F</link>
				<description>
				
				I&apos;ve done a lot of work with SES, (Search Engine Safe) URLS in the past.  I new project has recently required I use them again.  

This client knows a lot about Google placement so it&apos;s quite interesting.  We&apos;ll see how they work.

Changes will probably be made to the &lt;a href=&quot;http://www.redvipersystems.com&quot;&gt;red viper systems&lt;/a&gt; and &lt;a href=&quot;http://www.greenvipersystems.com&quot;&gt;green viper systems&lt;/a&gt; websites based on the lessons learned here.

See &lt;a href=&quot;http://www.fusium.com/go/ses&quot;  target=&quot;_blank&quot;&gt;here&lt;/a&gt; for our sesConverter stuff, or &lt;a href=&quot;http://developer.fusium.com/tools/sesDemo/&quot; target=&quot;_blank&quot;&gt; see it in action&lt;/a&gt;.
				
				</description>
				
				<category>General</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Fri, 17 Mar 2006 10:00:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=095FF786-059E-B566-621280162E01617F</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>base href breaks javascript form submit</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=095DBBF9-F83F-222F-15FB46926245C2AB</link>
				<description>
				
				I placed a BASE HREF tag in my application the other day.  To my dismay, it somehow screwed up all of my links that submit a form.  For example:

&lt;div class=&quot;code&quot;&gt;&lt;FONT COLOR=GREEN&gt;&amp;lt;a href=&lt;FONT COLOR=BLUE&gt;&quot;#&quot;&lt;/FONT&gt; onclick=&lt;FONT COLOR=BLUE&gt;&quot;document.theForm.submit();&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;/div&gt;

I still am not sure what the issue is.  I worked around it fairly easily so I guess I&apos;ll put off investigation for when I have the time.

But it&apos;s a very irritating little problem that took a while to diagnose.
				
				</description>
				
				<category>General</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Fri, 17 Mar 2006 09:56:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=095DBBF9-F83F-222F-15FB46926245C2AB</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Steal all the links on a page with JavaScript</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=FB38EBEB-FFF3-4EFC-542740F1DD6DB7DD</link>
				<description>
				
				Today I had a bitchy requirement from a client. He had a particular form on which he kept forgetting to click the save button to submit the form. He would make some changes, scroll around a bit then click off the form - maybe to another tab, maybe another nav link on the site - and lose his form changes.

The most straightforward solution would be to modify all the links on the page to set a hidden &quot;nexturl&quot; value on the form, then submit() the form instead of going to their designated URLs. But there were 27 links on the page, some in nav headers, many on includes, nested layouts, etc. Not gonna happen. I&apos;m not putting code like this in every link on the whole site.

&lt;div class=&quot;code&quot;&gt;&lt;FONT COLOR=GREEN&gt;&amp;lt;a href=&lt;FONT COLOR=BLUE&gt;&quot;&lt;FONT COLOR=MAROON&gt;&amp;lt;cfif attributes.fuseaction is &quot;&lt;/FONT&gt;admin.bigform&lt;FONT COLOR=BLUE&gt;&quot;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;javascript:setvalue(&quot;&lt;/FONT&gt;index.cfm?fa=main.foo&lt;FONT COLOR=BLUE&gt;&quot;);theform.submit()&lt;FONT COLOR=MAROON&gt;&lt;br&gt;&amp;lt;cfelse&amp;gt;&lt;/FONT&gt;index.cfm?fa=main.foo&lt;FONT COLOR=MAROON&gt;&amp;lt;/cfif&amp;gt;&lt;/FONT&gt;&quot;&lt;/FONT&gt;&amp;gt;Main&lt;FONT COLOR=GREEN&gt;&amp;lt;/a&amp;gt;&lt;/FONT&gt;&lt;/div&gt;

The answer lies in the document.links JavaScript array. I was able to rewrite every link using the following code:

&lt;div class=&quot;code&quot;&gt;&lt;FONT COLOR=NAVY&gt;&lt;FONT COLOR=MAROON&gt;&amp;lt;script  language=&lt;FONT COLOR=BLUE&gt;&quot;javascript&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;for(i=0;i&lt;FONT COLOR=NAVY&gt;&amp;lt;document.links.length;i++){&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.links[i].href = &lt;FONT COLOR=BLUE&gt;&quot;javascript:document.requestform.nexturl.value=&apos;&quot;&lt;/FONT&gt; + &lt;br&gt;document.links[i].href + &lt;FONT COLOR=BLUE&gt;&quot;&apos;;document.requestform.submit();&quot;&lt;/FONT&gt;;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;
&lt;FONT COLOR=MAROON&gt;&amp;lt;/script&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/div&gt;

Good luck!
				
				</description>
				
				<category>General</category>
				
				<pubDate>Tue, 14 Mar 2006 15:59:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=FB38EBEB-FFF3-4EFC-542740F1DD6DB7DD</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>&amp;lt;TBODY&amp;gt; is handy</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DDAD7CC8-E933-3CAE-6225549DDD9F44AB</link>
				<description>
				
				TBODY?  I never used it before.  I thought it was just something Dreamweaver put in HTML for some reason.

But the other day, TBODY came in handy.  I used it to make a quick and dirty blowout user interface like this:

&lt;script language=&quot;Javascript&quot;&gt;
function toggle(theID) {
foo = document.getElementById(theID);
if (foo.style.display == &apos;none&apos;) foo.style.display = &apos;&apos;;
else foo.style.display = &apos;none&apos;;
return;
}
&lt;/script&gt;

&lt;table&gt;
&lt;tr&gt;
&lt;Td&gt;
&lt;A href=&quot;javascript:toggle(&apos;thing1&apos;)&quot;&gt;[+]&lt;/A&gt;
Thing 1
&lt;/td&gt;
&lt;/tr&gt;
&lt;tbody style=&quot;display:none;&quot; id=&quot;thing1&quot;&gt;
&lt;tr&gt;&lt;td&gt;Sub Thing 1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Sub Thing 2&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


The code is very simple - and I got to finally use TBODY:
				 [More]
				</description>
				
				<category>General</category>
				
				<category>CSS</category>
				
				<pubDate>Wed, 08 Mar 2006 22:12:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DDAD7CC8-E933-3CAE-6225549DDD9F44AB</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>RegEx Backreferences</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DC472FEF-C945-82A2-F5A8E0915AFA7B81</link>
				<description>
				
				Backreferences are cool, but I&apos;ve never needed to use them before.  

I just ran into something where they were quite handy.

I had to manipulate a string like the following:
&lt;div class=&quot;code&quot;&gt;TNF S/S VENT POLY SHIRT W&lt;/div&gt;

The end goal was to see if the string had either a S/S or L/S in it, along with SHIRT.  If both substrings were found, remove SHIRT and move the S/S or L/S to the end of the string.

It&apos;s not hard, but a one liner kind of is.  Backreferences really helped out here.
				 [More]
				</description>
				
				<category>General</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Wed, 08 Mar 2006 15:47:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DC472FEF-C945-82A2-F5A8E0915AFA7B81</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Better Radio Buttons</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=34CA1C89-99A7-6262-45D758BCCF14F48F</link>
				<description>
				
				A simple trick to make clicking on the text of a radio button select it.  If you don&apos;t already know it, you should!  Here, try it out:

&lt;label for=&quot;FU1&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;myButton&quot; value=&quot;myValue&quot; id=&quot;FU1&quot;&gt;FUblog 1&lt;/label&gt;
&lt;label for=&quot;FU2&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;myButton&quot; value=&quot;myValue&quot; id=&quot;FU2&quot;&gt;FUblog 2&lt;/label&gt;

&lt;div class=&quot;code&quot;&gt;&lt;FONT COLOR=NAVY&gt;&lt;FONT COLOR=FF8000&gt;&amp;lt;label for=&lt;FONT COLOR=BLUE&gt;&quot;FU1&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT COLOR=NAVY&gt;&lt;FONT COLOR=FF8000&gt;&amp;lt;input type=&lt;FONT COLOR=BLUE&gt;&quot;radio&quot;&lt;/FONT&gt; name=&lt;FONT COLOR=BLUE&gt;&quot;myButton&quot;&lt;/FONT&gt; value=&lt;FONT COLOR=BLUE&gt;&quot;myValue&quot;&lt;/FONT&gt; id=&lt;FONT COLOR=BLUE&gt;&quot;FU1&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;FUblog 1&lt;FONT COLOR=NAVY&gt;&lt;FONT COLOR=FF8000&gt;&amp;lt;/label&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/div&gt;
				
				</description>
				
				<category>General</category>
				
				<pubDate>Fri, 16 Dec 2005 10:11:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=34CA1C89-99A7-6262-45D758BCCF14F48F</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>pop-up window losing cookie session</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=048A9785-FEC5-320E-BE3125C30DDC7ABC</link>
				<description>
				
				&lt;a href=&quot;http://support.microsoft.com/?kbid=315713&quot;&gt;This is a sweet IE bug.&lt;/a&gt;

&lt;div class=&quot;code&quot;&gt;SYMPTOMS&lt;br&gt;
When a session cookie is required to use a HyperText Markup Language (HTML) page, the session cookie may be lost if a child window is opened with the Window.Open scripting function and then closed by the user.&lt;br&gt;
&lt;br&gt;
CAUSE&lt;br&gt;
This problem occurs because the session count is not properly maintained for the FILE:// URL usage.&lt;/div&gt;

So don&apos;t open pop-up windows using the file:// url path. This is especially common in intranet applications. Or better yet, force Firefox for those apps like we do :)
				
				</description>
				
				<category>General</category>
				
				<pubDate>Wed, 07 Dec 2005 01:23:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=048A9785-FEC5-320E-BE3125C30DDC7ABC</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>High Pitched Noises</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DFC56FA3-9D69-8EEE-264A0FC1B61BBE82</link>
				<description>
				
				Nat perhaps thinks I am crazy, but I absolutely can not handle the faint high pitched noises that others seemingly can not hear at all.

This evening, I unexpectantly stumbled upon some most refreshing 
&lt;a href=&quot;http://news.com.com/2100-11395_3-5974937.html?tag=nefd.top&quot;&gt;vindication&lt;/a&gt;.
				
				</description>
				
				<category>General</category>
				
				<pubDate>Tue, 29 Nov 2005 22:01:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DFC56FA3-9D69-8EEE-264A0FC1B61BBE82</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>nature is beautiful</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DD629F1B-F9BF-349F-84164C044444F12E</link>
				<description>
				
				&quot;But I look at it as a scientific laboratory in nature, and I think nature is beautiful. The idea of being propped up against a tree to decompose sounds a whole lot better than being locked in a box and preserved under the ground.&quot;

Engineer Roy Crawford on why he wants his dead body donated to the &quot;Body Farm&quot;: &lt;a href=&quot;http://www.wired.com/news/medtech/0,1286,69705,00.html?tw=rss.TOP&quot;&gt;http://www.wired.com/news/medtech/0,1286,69705,00.html?tw=rss.TOP&lt;/a&gt;
				
				</description>
				
				<category>General</category>
				
				<pubDate>Tue, 29 Nov 2005 10:55:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=DD629F1B-F9BF-349F-84164C044444F12E</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Task Manager Sweetness</title>
				<link>http://developer.fusium.com/fublog/?mode=entry&amp;entry=30E0D81F-FBAD-2970-B601ADEDAA9F6634</link>
				<description>
				
				Ever have a computer pegged on memory usage, but unable to really tell what was eating all that memory up?  

In Task Manager, click View --&gt; Select Columns.  Did you know that was there?  I didn&apos;t.  Here&apos;s the columns I use, and they are quite helpful:
				 [More]
				</description>
				
				<category>General</category>
				
				<pubDate>Tue, 19 Jul 2005 13:51:00 -0400</pubDate>
				<guid>http://developer.fusium.com/fublog/?mode=entry&amp;entry=30E0D81F-FBAD-2970-B601ADEDAA9F6634</guid>
				
			</item>
			
		 	
			</channel></rss>
	

