Skip to main content
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: Jacob Holloway
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: Jacob Holloway@jakeishTweets )

Recent Activity

Recent Heroes of the BenNadel.com Community

Recent Comments

Hassam Ali replied to a post You Can Render Anything In Angular

Thanks for the kind words Ben! I too miss the old react with life cycle hooks, i know there are better ways to write the sample which I did but it should be the job of the framework to make right approach easy and bad approach hard.... read more

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 more

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 more

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 more

Hassam Ali replied to a post You Can Render Anything In Angular

interesting read. i have worked with angular and react, and react also provides a similar escape hatch. my guess is all of frameworks allow an escape hatch like this.... read more

Edward Beckett replied to a post Code Kata: Water Breathing Exercise In JavaScript

@Alex, Show us something better code guru and we might respect you —- Ben's code is procedural in nature because he's old school - but he's 100% professional and consistent as they come. He's a highly respected developer because he CAN implement pretty much anything he wants — can you? I'm from Miss... read more

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 more

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 more

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

@Ben, Yeah, exactly. We really just didn't have the expertise to build the new system in the way we built it. We were solving lots of problems at the same time.... read more

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 more

Ben Nadel replied to a post Generating Fallback Avatars Using CFImage And ColdFusion

One thing I forgot to include in the post is some code to list out all the fonts that the JVM knows about: <cfscript> fontFamilies = graphicsEnvironment = createObject( "java", "java.awt.GraphicsEnvironment" ) .getLocalGraphicsEnvironment() .getAvailableFontFamilyNames() ; writeDump( fontFa... read more

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 more

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 more

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 more

Ben Nadel replied to a post Proxying Gravatar Images For Better Avatar Caching In ColdFusion

Now that I'm proxying the Gravatar images, I've been noodling on create per-user custom fallback avatars for people who don't have a Gravatar image: https://www.bennadel.com/blog/4354-generating-fallback-avatars-using-cfimage-and-coldfusion.htm This uses ColdFusion's image functionality to generate ... read more

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 more

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 more

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 more

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 more

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

@Tyler, If I can give you a warning, my company is in the 5th-year of a ground-up rewrite! 😱 I beg of you, do things incrementally!! But, in all seriousness, good luck to your team, I hope things go smoothly.... read more

Tyler H replied to a post Only Solve One New Problem At A Time

This is a rather simple but profound read! This week I have flown into HQ to start discussions with PM and Co. about a rewrite of a product that is 20+ years of unmaintained code, bad decisions built upon bad decisions as I call it, we have quite the task ahead of us. I think this is something I nee... read more

Ben Nadel replied to a post Proxying Gravatar Images For Better Avatar Caching In ColdFusion

I've update the post to include a section on URL rewriting. After some of you alls feedback, I decided to revisit my existing URL rewriting rules; and, it seems that I already had enough in place to make rewriting to a dynamic .jpg image happen. Check out the last section above.... read more

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

@Chris, Totally agreed - and it also means that you can much more easily switch focus briefly if you need to adjust your work. And, if you work incrementally, then the value that you've already built has already been delivered.... read more

Ben Nadel replied to a post Looking At How Browser Zoom Affects CSS Media Queries And Pixel-Density

@Michael, Very interesting question. I wonder if one could create a media-query that is triggered by the base-font-size of the document? Also, I know some browsers are starting to land "container queries" where you can adjust styling and layout based on the size of a given DOM element container - pe... read more

Ben Nadel replied to a post Proxying Gravatar Images For Better Avatar Caching In ColdFusion

@Dan, Great call-out and very clever approach! Unfortunately, I am not running nginx in production. I wouldn't be surprised if IIS has something similar; but, keeping it in the code just removes a little bit of my prod-vs-dev headache. It also gives me some wiggle room to change the default avatar (... read more