Skip to main content

Thom

Member since Feb 27, 2012

Recent Blog Comments By Thom

  • Converting Between String And Binary Values In ColdFusion

    Posted on Aug 24, 2012 at 12:15 PM

    Not using UTF-8 is very common. Notably, Java uses UTF-16 for their internal string representation. UTF-8 has only become popular (relatively) recently, due to the fact that it's partly backwards compatible with ASCII. I wouldn't be terribly surprised if the default for toString was ASCII (an eas... read more »

  • Relative File Paths Work In A ColdFusion File System

    Posted on Jul 16, 2012 at 12:42 PM

    I've always found ColdFusion's lists (delimited with "/") to be an elegant way of traversing directories. (Though it doesn't fair as well with this example.) <cfset parentDirectory = ListDeleteAt(currentDirectory, ListLen(currentDirectory, "/"), "/") /> ... read more »

  • ColdFusion 10 Beta - Closures, Function Expressions, And Functional Programming

    Posted on Feb 27, 2012 at 3:07 PM

    @Ben, Very nice library of higher order functions. I especially like memoize. A nice addition could be curry, which takes a function and some arguments, and partially applies those arguments to the function. For example, curry(function(a, b){ return a+b; }, 7) would return a function... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel