<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5" -->
<rss version="0.92">
<channel>
	<title>Cranky Bit</title>
	<link>http://blog.crankybit.com</link>
	<description>Take a byte out of tech!</description>
	<lastBuildDate>Tue, 05 May 2009 06:04:22 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Importance of Understanding Factories, Part 2: Transient Factories</title>
		<description>In my last post, I discussed some of the mistakes that can be made when using ColdSpring as our factory. It became evident that using ColdSpring to inject transient objects&#8212;that is, objects that have a state for a momentary use and then are discarded&#8212;into our service objects or other related ...</description>
		<link>http://blog.crankybit.com/factories-2/</link>
			</item>
	<item>
		<title>Importance of Understanding Factories, Part 1: ColdSpring Misunderstandings</title>
		<description>As ColdFusion developers progress in the use of object oriented programming concepts with CFCs, our applications become more flexible and able to support additional interfaces such as Ajax or Flex through web services. We also potentially benefit just from overall code maintainability, extensibility, and reusability by using best practices and ...</description>
		<link>http://blog.crankybit.com/factories-1/</link>
			</item>
	<item>
		<title>WPtouch</title>
		<description>I have another blog that I use entirely for my own note-taking and reference, and I very frequently refer to my notes on my iPhone. Safari on the iPhone renders the pages wonderfully, but it is a bit of a pain to have to zoom in on the text of ...</description>
		<link>http://blog.crankybit.com/wptouch/</link>
			</item>
	<item>
		<title>Get a Struct or Array in That Simple Value Field</title>
		<description>In some environments and scenarios, I used to use initialization (*.ini) files for storing simple configuration settings. Now I typically store this kind of information in a ColdSpring configuration file, or at least in an XML file of some sort. But at times I have to live (and work) with ...</description>
		<link>http://blog.crankybit.com/struct-in-simple-value-field/</link>
			</item>
	<item>
		<title>Reset Access Datasources Without Resetting ColdFusion</title>
		<description>I am "stuck" with a few web applications that provide web front-ends to Access databases. I am not the owner of these databases, and for various reasons, the database owner will not upgrade it to SQL Server.  Alas, this sometimes causes headaches like the following.

The Access databases are on ...</description>
		<link>http://blog.crankybit.com/reset-access-ds-not-cf/</link>
			</item>
	<item>
		<title>CFExecute Output Not Going in Your Variable?</title>
		<description>I'm blogging this because it's a little tidbit I always waste about 30 minutes figuring out before I remember it.

The &#60;cfexecute&#62; tag can return the output of the execution into a variable if you supply one with the variable="" attribute. However, I will try to do this, and (a) the ...</description>
		<link>http://blog.crankybit.com/cfexecute-output-in-var/</link>
			</item>
	<item>
		<title>Generating a Decrypted Memento for a Transfer Decorator</title>
		<description>In my last blog post, I discussed how to efficiently handle multiple encrypted fields while using Transfer. The key was using onMissingMethod in the Transfer decorator. However, what about when we use the memento with Transfer's getMemento() method? This approach can be especially handy to quickly transfer an object's properties ...</description>
		<link>http://blog.crankybit.com/generating-a-decrypted-memento-for-a-transfer-decorator/</link>
			</item>
	<item>
		<title>Handling Multiple Encrypted Fields in a Transfer Decorator</title>
		<description>I had a recent project that had multiple fields in a particular table that needed to be encrypted for privacy and security considerations. I was using Transfer for the project. The typical way to handle the encryption is to create custom accessor methods in a decorator component. The Transfer wiki ...</description>
		<link>http://blog.crankybit.com/multiple-encrypted-fields-in-a-transfer-decorator/</link>
			</item>
	<item>
		<title>Loose Cables Cause Sporadic Behavior in Computers</title>
		<description>Loose cables and electronics are bad. In electronics as sophisticated as computers, they can cause really odd behavior!

My wife's Mac Mini was exhibiting odd behavior, namely, sporadic loss of sound. The internal speaker would suddenly become unavailable to the operating system. Furthermore, the speakers did have a slight hum when ...</description>
		<link>http://blog.crankybit.com/loose-cables-cause-sporadic-behavior-in-computers/</link>
			</item>
	<item>
		<title>Separating a Large Repository</title>
		<description>A few months ago, I posted an article about combining multiple Subversion repositories into one large repository. Some folks have expressed an interest in doing the opposite--separating one large repository into multiple smaller repositories. The process is not without its quirks, but it can be done.

At first glance, you'd conclude ...</description>
		<link>http://blog.crankybit.com/separating-large-repo/</link>
			</item>
	<item>
		<title>Best Reason to Use CFQueryParam: Avoid Odd SQL Parsing by ColdFusion</title>
		<description>After banging my head against the wall for a couple hours over an odd application error, I've finally come up with the best, most definitive reason to use &#60;cfqueryparam&#62; absolutely 100% of the time: It helps you avoid odd--dare I say erroneous--SQL parsing performed by ColdFusion in the &#60;cfquery&#62; tag. 

Huh? ...</description>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/</link>
			</item>
	<item>
		<title>DST in cfexchangecalendar</title>
		<description>I have an app that uses &#60;cfexchangecalendar&#62; to look at appointments in an Exchange calendar and display them on a form on a web page. Everything was going smoothly until the department called and notified me that new appointments they were entering were an hour off on the web app. ...</description>
		<link>http://blog.crankybit.com/dst-in-cfexchangecalendar/</link>
			</item>
	<item>
		<title>Avoiding the Password Prompt for SSH</title>
		<description>It's handy to establish an SSH key between machines so that SSH-related commands don't prompt you for a password. This is handy to quickly SSH into another machine, and it's even more handy when setting up SSH commands in automated scripts. For instance, you may want to execute some rsync ...</description>
		<link>http://blog.crankybit.com/avoiding-the-password-prompt-for-ssh/</link>
			</item>
	<item>
		<title>Shrink the Unshrinkable SQL Transaction Log</title>
		<description>Various reasons may cause SQL Server to get in a rut and not empty the transaction log of a database. In my case, our database backups were failing without our knowledge for several weeks, so the backups were never successful, and the transaction logs of a few databases grew so ...</description>
		<link>http://blog.crankybit.com/shrink-the-unshrinkable-sql-transaction-log/</link>
			</item>
	<item>
		<title>Combining Repositories Into One Large Repository</title>
		<description>I keep all my projects in separate Subversion repositories. I did this because it feels a lot cleaner this way, there is less risk in the event of repository corruption, and I use corresponding Trac projects that I also wanted to keep separate from one project to the next.

That said, ...</description>
		<link>http://blog.crankybit.com/combining-repos/</link>
			</item>
	<item>
		<title>Trimming a String in JavaScript</title>
		<description>This is a nice clean way to implement string trimming for the String object in JavaScript:

[js]String.prototype.trim = function()
{
   return this.replace(/^\\s+&#124;\\s+$/g,"");
}[/js]

With that implemented, you can then trim a string in the object-oriented way you would prefer and love:

[js]var myStr="This is a test!   ";
alert(myStr.trim());[/js]

This is handy for client-side clean-up of form ...</description>
		<link>http://blog.crankybit.com/trimming-a-string-in-javascript/</link>
			</item>
	<item>
		<title>How to Fix 301 Error for Subversion Checkouts</title>
		<description>My Linux box was hosting Subversion with no problem. I added a new repository to the several that were already present, and when I checked it out, it said, "301 Moved Permanently". Excuse me?

As it turns out, there is a 301 error section in the Subversion FAQs. It says that ...</description>
		<link>http://blog.crankybit.com/how-to-fix-301-error-for-subversion-checkouts/</link>
			</item>
	<item>
		<title>Favorite ColdFusion Weekly Episodes</title>
		<description>In light of the departure of the ColdFusion Weekly podcast (so long Matt and Peter, and thank you!), I have assembled a list of my favorite "shows" or "episodes". Really, all of the episodes were good and worth hearing. But these episodes were fantastic. 

Presented in chronological order:

	v1.5 - IDEs ...</description>
		<link>http://blog.crankybit.com/favorite-coldfusion-weekly-episodes/</link>
			</item>
	<item>
		<title>CFLDAP Dies With java.lang.OutOfMemoryError</title>
		<description>I have a report that is generated by ColdFusion that assists our department with account maintenance on our AD network. It looks for a certain set of accounts, then looks up the account of the employee who "requested" or "authorized" the creation of each account to ultimately get verification from ...</description>
		<link>http://blog.crankybit.com/cfldap-dies/</link>
			</item>
	<item>
		<title>Why Isn&#8217;t @import Working in my CSS?</title>
		<description>I was improving the CSS of an old intranet web app (written in early 2001) to be closer to standards-compliance (getting it to just look good in Firefox and Safari would be good enough for me). While I was working on that, I noticed a whole bunch of my CSS ...</description>
		<link>http://blog.crankybit.com/why-isnt-import-working-in-css/</link>
			</item>
</channel>
</rss>
