<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>PsyBlog</title>
			<link>http://www.psykel.com/blog/index.cfm</link>
			<description>psyBlog - random ramblings of a web developer</description>
			<language>en-us</language>
			<pubDate>Mon, 08 Jun 2026 21:54:32-0700</pubDate>
			<lastBuildDate>Tue, 07 Aug 2007 13:54:00-0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>erikv@psykel.com</managingEditor>
			<webMaster>erikv@psykel.com</webMaster>
			
			
			
			
			
			<item>
				<title>Chrome CSS Drop Down Menu Offsets with Centered Pages</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/8/7/Chrome-CSS-Drop-Down-Menu-Offsets-with-Centered-Pages</link>
				<description>
				
				
				I decided to try Chrome CSS Menu on a project I&apos;m working on.  While I&apos;d love a pure CSS solution, I don&apos;t have time to roll my own, and everything I saw relies on fixed width parent elements.  The Chrome menu is very easy to drop into your existing ...
				
				
				</description>
						
				
				<category>web</category>				
				
				<pubDate>Tue, 07 Aug 2007 13:54:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/8/7/Chrome-CSS-Drop-Down-Menu-Offsets-with-Centered-Pages</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>fckeditor and AJAX</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/8/2/fckeditor-and-AJAX</link>
				<description>
				
				
				fckeditor is cool, and so is AJAX.  I&apos;ve never used them together until today, and it&apos;s quite simple.  

One gotcha that was killing me - if/when you use Javascript to send the contents of the fckeditor window, keep these few things in mind (for us...
				
				
				</description>
						
				
				<category>web</category>				
				
				<pubDate>Thu, 02 Aug 2007 00:22:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/8/2/fckeditor-and-AJAX</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Nested CASE in SQL</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/7/11/Nested-CASE-in-SQL</link>
				<description>
				
				
				There&apos;s nothing especially difficult about nesting CASE statements in SQL, but I guess it could be confusing sometimes.

Here&apos;s an example:


case [group]
	when &apos;C&apos; then
		case control
			when 1 then 
					case phase
						when 1 then &apos;Init...
				
				
				</description>
						
				
				<category>Database</category>				
				
				<pubDate>Wed, 11 Jul 2007 12:17:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/7/11/Nested-CASE-in-SQL</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Editing single files with cfEclipse</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/6/20/Editing-single-files-with-cfEclipse</link>
				<description>
				
				
				One thing that kind of bugged me with Eclipse is that I thought I could only edit code contained in a project.

What if you want to edit some standalone file somewhere?  I thought I was out of luck.  Then I stumbled upon the File Explorer tab (wind...
				
				
				</description>
						
				
				<category>web</category>				
				
				<pubDate>Wed, 20 Jun 2007 08:16:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/6/20/Editing-single-files-with-cfEclipse</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>SQL Server triggers not firing with replication</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/6/11/SQL-Server-triggers-not-firing-with-replication</link>
				<description>
				
				
				Ran into a problem today.  Two SQL DBs, using transactional replication.  I had some triggers created on the subscriber end that worked off insert, delete, and update operations.  

The triggers worked great when inserting/updating/deleting data lo...
				
				
				</description>
						
				
				<category>Database</category>				
				
				<pubDate>Mon, 11 Jun 2007 22:29:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/6/11/SQL-Server-triggers-not-firing-with-replication</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Apache Monitor on Vista</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/5/23/Apache-Monitor-on-Vista</link>
				<description>
				
				
				This should be my last Apache/Vista x64 post.

From what I&apos;ve seen, Apache Monitor won&apos;t run correctly out of the box.  You&apos;ll get some lame error code like &quot;the program completed successfully&quot; or something like that.

What you need to do is go t...
				
				
				</description>
						
				
				<category>Server</category>				
				
				<pubDate>Wed, 23 May 2007 08:46:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/5/23/Apache-Monitor-on-Vista</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Coldfusion / Apache 2.2 on Vista x64</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/5/22/Apache-22-on-Vista-x64</link>
				<description>
				
				
				More headaches from installing Apache 2.2 on Vista x64 today.  

The Apache connector is bad.  First, see Adobe&apos;s fairly pathetic technote here.

Install the new wsconfig.jar as they describe.  If the remainder of the technote works for you, I ha...
				
				
				</description>
						
				
				<category>Server</category>				
				
				<pubDate>Tue, 22 May 2007 12:49:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/5/22/Apache-22-on-Vista-x64</guid>
				
				<enclosure url="http://www.psykel.com/blog/enclosures/fix.zip" length="336" type="application/zip"/>
				
			</item>
			
		 	
			
			
			<item>
				<title>Installing Apache 2.2 on Vista</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/5/22/Installing-Apache-22-on-Vista</link>
				<description>
				
				
				I ran into a couple problems today installing Apache HTTP Server v2.2 on Vista x64.  Here&apos;s the problems, and the workarounds:


Install
You can&apos;t simply click on the Apache install msi and have everything work as it should.  You&apos;ll get permissio...
				
				
				</description>
						
				
				<category>Server</category>				
				
				<pubDate>Tue, 22 May 2007 00:04:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/5/22/Installing-Apache-22-on-Vista</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Removing trailing zeros from decimal numbers in SQL</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/5/10/Removing-trailing-zeros-from-decimal-numbers-in-SQL</link>
				<description>
				
				
				Say you&apos;ve got a numeric field (SQL Server DB) which returns numbers to three decimal places, e.g. 1.000, 2.125, 3.250, etc.

How do you return those numbers minus the trailing zeros?  I can&apos;t believe this is so difficult.  Surely there&apos;s an easy w...
				
				
				</description>
						
				
				<category>Database</category>				
				
				<pubDate>Thu, 10 May 2007 15:33:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/5/10/Removing-trailing-zeros-from-decimal-numbers-in-SQL</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Quickly Shrink a SQL Server Transaction log</title>
				<link>http://www.psykel.com/blog/index.cfm/2007/5/9/Quickly-Shrink-a-SQL-Server-Transaction-log</link>
				<description>
				
				
				Okay, say you encounter a SQL Server Database that&apos;s got a HUGE transaction log, and you need to shrink it quickly.  MS has several KB articles such as this one.

But if you really want to shrink the log file fast, and you don&apos;t need to keep the tr...
				
				
				</description>
						
				
				<category>Database</category>				
				
				<pubDate>Wed, 09 May 2007 13:23:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2007/5/9/Quickly-Shrink-a-SQL-Server-Transaction-log</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>appending an ntext field</title>
				<link>http://www.psykel.com/blog/index.cfm/2006/7/13/appending-an-ntext-field</link>
				<description>
				
				
				Say you want to do something like this:

update table set ntextThing = ntextThing + &apos;!&apos; where id = 1

That&apos;s not going to work.  This does, though:


DECLARE @ptrval binary(16)
SELECT @ptrval = TEXTPTR(ntextThing) 
FROM item 
WHERE id =1
U...
				
				
				</description>
						
				
				<category>Database</category>				
				
				<pubDate>Thu, 13 Jul 2006 14:50:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2006/7/13/appending-an-ntext-field</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Nested Query Loops - Worst code ever</title>
				<link>http://www.psykel.com/blog/index.cfm/2006/5/25/Nested-Query-Loops--Worst-code-ever</link>
				<description>
				
				
				I had no idea how bad nested query loops are.  But oh man, they are BAD.  

I came across this &quot;technique&quot; this week when a very busy site started resonding extremely slowly - like 30 seconds per request, sometimes more.  I didn&apos;t write the code, b...
				
				 [More]
				</description>
						
				
				<category>web</category>				
				
				<pubDate>Thu, 25 May 2006 22:44:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2006/5/25/Nested-Query-Loops--Worst-code-ever</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Keep it scalable, kids</title>
				<link>http://www.psykel.com/blog/index.cfm/2006/5/22/Keep-it-scalable-kids</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 m...
				
				
				</description>
						
				
				<category>web</category>				
				
				<pubDate>Mon, 22 May 2006 23:55:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2006/5/22/Keep-it-scalable-kids</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>International Characters in DB from CF 4.5</title>
				<link>http://www.psykel.com/blog/index.cfm/2006/3/21/International-Characters-db-cf4</link>
				<description>
				
				
				Every now and then you get a little job that seems simple and straight forward, but is anything but.  I just encountered one of those.

I recently inherited an old CF application, written in CF 4.5 or 5.0.

The cfml templates have Japanese charac...
				
				 [More]
				</description>
						
				
				<category>web</category>				
				
				<category>Database</category>				
				
				<pubDate>Tue, 21 Mar 2006 15:07:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2006/3/21/International-Characters-db-cf4</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>SES can cause trouble if you&apos;re not careful</title>
				<link>http://www.psykel.com/blog/index.cfm/2006/3/17/SES-can-cause-trouble-if-youre-not-careful</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.  ...
				
				
				</description>
						
				
				<category>web</category>				
				
				<pubDate>Fri, 17 Mar 2006 11:36:00-0700</pubDate>
				<guid>http://www.psykel.com/blog/index.cfm/2006/3/17/SES-can-cause-trouble-if-youre-not-careful</guid>
				
			</item>
			
		 	
			</channel></rss>