Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Matt Vickers and Christian Ready
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Matt Vickers@envex ) and Christian Ready@christianready )

Darren Whorton

Member since Sep 25, 2014

Recent Blog Comments By Darren Whorton

  • Using The LESS CSS fade Method To Apply Opacity To A HEX Color

    Posted on Oct 16, 2017 at 12:40 PM

    This doesn't fit perfectly with this article, but it prompted me to share this nonetheless... You can get CSS colors in "rgb(R,G,B)" format regardless of how they were set using the pure JS function window.getComputedStyle(element). What's super cool about that is, you (or your users) ca... read more »

  • Dumping ColdFusion Values Into A String Variable Using WriteDump()

    Posted on Oct 17, 2014 at 10:55 AM

    I think a great use case for this is in error reporting. Those are usually something read by a human directly, then dealt with and deleted. In my applications, in the onError method of Application.cfc I create a dump of the exception variable and several other scopes, such as FORM, URL, CGI and se... read more »

  • Creating Signed Java Byte Values Using ColdFusion Numbers

    Posted on Oct 1, 2014 at 9:35 AM

    A long integer in Java is actually 64-bits. Java has byte (8-bit), short (16-bit), int (32-bit) and long (64-bit) integers, and then BigInteger is arbitrary length, theoretically only limited by the memory of the machine you're running on (which is kinda crazy). Oh man, don't get me started on UTF... read more »

  • Creating Signed Java Byte Values Using ColdFusion Numbers

    Posted on Oct 1, 2014 at 9:01 AM

    Hey Ben, thanks for the shout-out! Thrilled I could help. It's always fascinating to see how Coldfusion and Java play together, as it's often undocumented. Coldfusion is very loosely typed, which has its upsides and downsides (more upsides in my opinion). But in this case, it's important to know... read more »

  • Converting A Byte Array Into A Bit Stream Using ColdFusion And BigInteger

    Posted on Oct 1, 2014 at 8:13 AM

    @Ben, I'm so glad I could help! I rejoice any time bacon is saved. Mmmm... --Darren... read more »

  • Converting A Byte Array Into A Bit Stream Using ColdFusion And BigInteger

    Posted on Sep 26, 2014 at 2:04 PM

    @Ben, Yep, if you just have a set of bits in front of you and nothing else, there's no way to know what they represent without applying some sort of data type. An arbitrary set of 32 bits could be a 32-bit signed or unsigned integer, could be a floating point number, could be two 16-bit or four 8-... read more »

  • Converting A Byte Array Into A Bit Stream Using ColdFusion And BigInteger

    Posted on Sep 25, 2014 at 12:28 PM

    Here's a bit about signed integers (pun intended). An N-bit unsigned integer can only store positive values from zero to 2^N-1. So an 8-bit unsigned integer can store values from 0 to 255 decimal. In most cases the right-most bit is the least significant and the left-most is most significant, jus... read more »