Skip to main content
Ben Nadel at NCDevCon 2011 (Raleigh, NC) with: Lynn Ebanks
Ben Nadel at NCDevCon 2011 (Raleigh, NC) with: Lynn Ebanks ( @lynnebanks )

Recent Activity

Recent Heroes of the BenNadel.com Community

Recent Comments

Ben Nadel replied to a post You Can Render Anything In Angular

@Hassam, ❤️ Very cool ❤️ I really appreciate you putting that together. It took me a minute or two, looking at the code, to see what was going on. The Hooks approach to building React application really requires me to turn my brain a bit inside out. I see that you have three different hooks to get t... read entire comment from Ben Nadel.

H B replied to a post "Enterprise" Is Not A Dirty Word

There is REAL tension between wanting to be cool - not having much in the way of (visible) boilerplate, dependencies, etc. - and wanting to scale to the real world, with its costs. In olden times, you had Steve Yegge on the value of simple languages (Javascript, Python), and Joel Spolsky on the valu... read entire comment from H B.

Ben Nadel replied to a post You Can Render Anything In Angular

@Hassam, I've only played with earlier versions of React that had life-cycle methods (like componentWillMount() and stuff). In that case, it feels like a relatively similar approach. When it comes to "new" React with Hooks, I don't know how it would work. I feel like you'd have to create a special E... read entire comment from Ben Nadel.

Dan G. Switzer, II replied to a post Using A Closure To Encapsulate CFThread Execution And Error Handling In ColdFusion

@Ben, Things may have changed in ACF, so I might be wrong, but I think you have some potential issues that would make this not thread safe. I know that in ACF, the closure is used to hold references to the current request, so if any of the variables your closure is relying on die after the request, ... read entire comment from Dan G. Switzer, II.

Ben Nadel replied to a post Only Solve One New Problem At A Time

@Mark, Changing infrastructure is a fascinating topic unto itself. It's one of those things where you think the "abstractions" mean that you can do things quietly, behind the scenes, and your application developers don't have to know about it. But, changing infrastructure inevitably has unseen conse... read entire comment from Ben Nadel.

Mark S. replied to a post Only Solve One New Problem At A Time

A well written article. I would even say that this can apply to other type of technical works outside of coding. Working with as a consultant in infrastructure, i had a lot of those moments where the costumer or the employer had to know that it would be a mess if we solve multiple problems at the ti... read entire comment from Mark S..

Ben Winters replied to a post Only Solve One New Problem At A Time

@Ben, Thanks for sharing those examples. I'm not sure if this was the case in that v6 to v7 rewrite, but I can definitely see that rewriting with a new language and/or set of tools, without key members having experience with those things, can quickly multiply estimates as devs explore and negotiate ... read entire comment from Ben Winters.

Ben Nadel replied to a post Application Setting "useJavaAsRegexEngine" Tells CFML To Use Java's RegEx Engine For Built-In Re-Functions In Adobe ColdFusion 2018

@Peter, The POSIX character class that I've definitely used in the past is [:punct:] for punctuation. That one really represents a lot of individual characters. Most of the other abbreviations seem like they are actually longer than the characters they represent 😆... read entire comment from Ben Nadel.

Peter Boughton replied to a post Application Setting "useJavaAsRegexEngine" Tells CFML To Use Java's RegEx Engine For Built-In Re-Functions In Adobe ColdFusion 2018

Should have checked before posting - on my last point I made an incorrect assumption - there is no conversion performed for the replacement string. (At least in Lucee; I'm not installing CF to test.) So if one toggles useJavaAsRegexEngine they must know to go update existing replacement strings, esc... read entire comment from Peter Boughton.

Ben Nadel replied to a post Only Solve One New Problem At A Time

@Ben, First off, great name 😉 second, I agree. There are always exceptions to the rule. Even within the span of my own company - InVision - we did a complete rewrite of the front-end (v1 -> v2) going from separate jQuery-based pages to an AngularJS single page application (SPA). And, it was quite s... read entire comment from Ben Nadel.

Ben Winters replied to a post Only Solve One New Problem At A Time

I'm familiar from experience of the stakeholder need for incremental changes. However, I do wonder if sometimes the existing codebase may be too far gone and incremental changes are far more costly than a rewrite by someone who knows what they're doing (obviously I'm speaking of a personal experienc... read entire comment from Ben Winters.

Ben Nadel replied to a post Application Setting "useJavaAsRegexEngine" Tells CFML To Use Java's RegEx Engine For Built-In Re-Functions In Adobe ColdFusion 2018

@James, I haven't tried this, but I'm wondering if it would show up in the payload from a getApplicationMetadata() call? That said, there are a number of things I would love to have on a per-Component basis. Not least of which is something like localmode="modern" in Lucee CFML. Also, being able to t... read entire comment from Ben Nadel.

Ben Nadel replied to a post Application Setting "useJavaAsRegexEngine" Tells CFML To Use Java's RegEx Engine For Built-In Re-Functions In Adobe ColdFusion 2018

@Peter, I'll have to plead ignorance on the POSIX vs Apache ORO engine stuff. I honestly don't really even know what POSIX is exactly. But, I'm pretty sure the ColdFusion docs - maybe years ago - talked about the RegEx patterns as being POSIX... or maybe it was simply POSIX compatible - I don't real... read entire comment from Ben Nadel.

Peter Boughton replied to a post Application Setting "useJavaAsRegexEngine" Tells CFML To Use Java's RegEx Engine For Built-In Re-Functions In Adobe ColdFusion 2018

Just seen the following article but couldn't comment there without registering: https://coldfusion.adobe.com/2022/11/switching-cf-to-use-java-regex-engine/ Followed this link and was further disappointed to see Ben calling it a POSIX Engine. :/ ColdFusion by default uses the Apache ORO regex engine,... read entire comment from Peter Boughton.

James Moberg replied to a post Application Setting "useJavaAsRegexEngine" Tells CFML To Use Java's RegEx Engine For Built-In Re-Functions In Adobe ColdFusion 2018

There doesn't appear to be any way to determine if this flag is enabled or not. If third-party modules are written that depend upon newer syntax, I would hope that developers wouldn't blindly enable this feature server or application-wide as it could potentially cause problems with preexisting regex... read entire comment from James Moberg.