Saturday, January 16, 2010

ColdFusion + iText 5.0.0 (Good things come in *new* packages)

In case you were unaware, iText 5.0.0 was released a short while ago, and a new iText book scheduled for release in June. The new version of iText contains some significant changes, including a new license. But to ColdFusion users, the most signficant change may be the new package name.

...Read More

Friday, January 15, 2010

How to Install ZXing in Eclipse (JavaSE Component Only)

Update: Apparently I had a serious concussion when I wrote this, as I completely overlooked the obvious. "Hello, McFly - svn? I hear Google code has it too." So do not bother using these instructions. It is much simpler pull the project from SVN.

When I researched the JavaSE component of ZXing, I compiled the jars I needed with Eclipse 3.4.1 . The set up was relatively simple. But there were several steps needed to get everything up and running properly. So I decided to write up a quick set of instructions.

...Read More

Thursday, January 14, 2010

OT: Anguished English

I came across this book today and it gave me quite a chuckle.

Anguished English: An Anthology of Accidental Assaults Upon the English Language

Wednesday, January 13, 2010

Dance of the Dueling Class Loaders Discussion

If you have ever had the misfortune of witnessing a performance of the highly un-entertaining Dance of the Dueling Class Loaders (a.k.a. Jar Hell), there is an interesting thread by Fred Roeber over at javaLoader-dev:

Solving the "JAR hell" issue with different 3rd party JAR files

Thursday, January 7, 2010

All I wanted for Christmas was a CFSCRIPT FOR .. IN LOOP (For Arrays)

Okay, so Christmas is past and CF9 is long out of the beta stage. But my tiny wish remains. The reasonable part of me says, "It is really not that hard to construct an alternative". Especially with all the enhancements in CF8 and CF9. It comes much closer to perfection than in any previous versions.


<cfscript>
for (x = 1; x <= arrayLen(myArray); x++)
{
WriteOutput(myArray[x] &"<hr />");
}
</cfscript>

But there is something classic and elegant about a for in loop. Simple, intuitive and just downright beautiful code. If it were any more beautiful, I just might break down and cry. {Sigh} If only it worked. If only ...
<cfscript>
for (x in myArray)
{
WriteOutput(x &"<hr />");
}
</cfscript>


...Read More

Sunday, January 3, 2010

CFQueryparam Matrix for MySQL 5

As I predominately use MS SQL, I frequently end up having to search for the correct cfsqltypes when using cfqueryparam and MySQL. While I am sure there is an unofficial matrix out there somewhere, I never manage to find it when I need it. So I decided to create my own as a point of reference.

...Read More

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Header image adapted from atomicjeep