Ben Nadel
Member since Dec 11, 2008
- Profile: /members/1-ben-nadel.htm
- URL: https://www.bennadel.com
- Twitter: @bennadel
- FaceBook: http://www.facebook.com/bennadel
- Comments: 15,526
Recent Blog Comments By Ben Nadel
-
Which Whitespace Characters Does trim() Remove In ColdFusion
Posted on Sep 24, 2023 at 1:26 PM
@Dave, I don't personally (yet); but, take a look at this post from @James Moberg: https://dev.to/gamesover/filtering-zero-width-spaces-zwsps-using-coldfusion-122c I'm sure there are lots of good ideas I can steal from Jame's code 😜... read more »
-
Which Whitespace Characters Does trim() Remove In ColdFusion
Posted on Sep 20, 2023 at 10:41 AM
@James, 100% on the smart-quotes. Whenever I get copy from the Marketing team that I have to add to the product, the first thing I have to do is go in and replace all the smart-quotes with regular ASCII characters. :shakes-fist:... read more »
-
My ColdFusion "Controller" Layer Is Just A Bunch Of Switch Statements And CFIncludes
Posted on Sep 19, 2023 at 9:34 PM
@Aytekin, Thank you my friend!... read more »
-
Which Whitespace Characters Does trim() Remove In ColdFusion
Posted on Sep 19, 2023 at 5:03 PM
There must be some sort of keyboard command that people are accidentally hitting to enter stuff like this. I know that I accidentally put in all kinds of strange "accents" and "emoji" when I hit Alt/Ctrl when typing. I have to assume that the same kind of shortcuts exist ... read more »
-
Which Whitespace Characters Does trim() Remove In ColdFusion
Posted on Sep 19, 2023 at 1:31 PM
@Chris, I am lucky in so much as my IDE (SublimeText) has special notation for non-visible characters. I was processing email addresses; and, when one didn't work, I opened the underlying data-file and saw this at the end of one of the lines: <0x200b> Then, I looked up which ... read more »
-
Coming Soon: Feature Flags - From Concept To Cultural Revolution
Posted on Sep 18, 2023 at 3:16 PM
@Mike, @Jacob, Thank you for the positive encouragement! I really hope that I'm able to take the love that I have for feature flags and communicate that in the book.... read more »
-
Using Seekable Read Files In ColdFusion
Posted on Sep 13, 2023 at 12:46 PM
In the post above, I'm looking at using the fileRead() method in conjunction with seekable files. In a follow-up post, I look at using fileReadLine() : https://www.bennadel.com/blog/4515-using-filereadline-with-seekable-files-in-coldfusion.htm I'm noodling on ways to create a resumab... read more »
-
Moving MySQL To A Per-Application Datasource In ColdFusion 2021
Posted on Sep 12, 2023 at 7:11 PM
Mark Takata - ColdFusion technical evangelist - has confirmed that this is a bug (2023 per-app datasources being broken). They are intending to have it fixed in the next updater.... read more »
-
Moving MySQL To A Per-Application Datasource In ColdFusion 2021
Posted on Sep 12, 2023 at 11:51 AM
So, Dan G. Switzer had a great insight - he suggested that the GraphQL error that I'm seeing might be breaking the whole startup process. So, I tried installing the GraphQL package (even though I'm not using it) and suddenly the MySQL datasource is working 😳 I've add this note to the Gi... read more »
-
Moving MySQL To A Per-Application Datasource In ColdFusion 2021
Posted on Sep 12, 2023 at 11:43 AM
I created a GitHub reproduction repo for the Adobe ColdFusion 2021 vs 2023 issue: https://github.com/bennadel/ColdFusion-Per-App-Datasource-Test... read more »
-
Coming Soon: Feature Flags - From Concept To Cultural Revolution
Posted on Sep 11, 2023 at 7:24 PM
@Andrew, Thanks for the link -- will take a look. I did read Adam's Refactoring UI book (which is a great book, by the way). I think this might be the same book, not sure. Anyway, Adam clearly knows what he's doing - I'll be sure to glean as much information as I can from him!... read more »
-
Coming Soon: Feature Flags - From Concept To Cultural Revolution
Posted on Sep 11, 2023 at 4:07 PM
@Will, Yeah, I don't expect this to be a "money" thing. I'm not even entirely sure if I want to charge for it (though, much that contention is tied up in impostor syndrome ). I figured I just need to start writing and then see how it ends up feeling. Right now, I'm still in the ... read more »
-
Moving MySQL To A Per-Application Datasource In ColdFusion 2021
Posted on Sep 11, 2023 at 10:30 AM
I'm continuing to have trouble figuring out how to get this working in ColdFusion 2023. I've been dropping some comments on the Adobe Blog: https://coldfusion.adobe.com/2022/03/the-struct-keys-in-this-datasources/ The last thing I've tried is using the most simple, hardcoded approach ... read more »
-
Working Code Podcast - Episode 143: Moving On, Rewriting, And Replatforming
Posted on Sep 11, 2023 at 9:28 AM
@Peter, I feel the same way. CFML is really a joy to work with. Yes, I stumble over some things from time-to-time, but which programming language doesn't come with pit-falls. Overall, there's just so much to love about the language and the community. And, exactly to your point, I'm quite p... read more »
-
Moving MySQL To A Per-Application Datasource In ColdFusion 2021
Posted on Sep 10, 2023 at 6:29 PM
I just tried to update my local development environment to use Adobe ColdFusion 2023 and my this.datasources is no longer working. No error, it simply says, "Datasource bennadel could not be found.". Nothing I seem to do is working. I also tried creating an instance of the CFAdmi... read more »
-
The User Experience (UX) Of Disabled Form Buttons
Posted on Sep 7, 2023 at 9:35 AM
@Dustin, Great points - and sorry it took me so long to approve comment (it got lost in the mix).... read more »
-
Using Labeled Loops In JavaScript
Posted on Sep 6, 2023 at 6:32 PM
@Brad, It seems to work in ACF 2021 as well.... read more »
-
Using Labeled Loops In ColdFusion
Posted on Sep 6, 2023 at 10:54 AM
@Emre, Ah, adding a check for both the search and target characters length in the outer-loop is clever. Yes, I believe this would get you want you wanted.... read more »
-
Using Labeled Loops In ColdFusion
Posted on Sep 6, 2023 at 10:48 AM
@Emre, This is a great point-out. And, in fact , in my original code, I have the early return(true) to short-circuit the evaluation. I put the matchFound variable in there in order to explore the labeled-looping a bit more. That said, your second break will break the algorithm. ... read more »
-
Using Labeled Loops In ColdFusion
Posted on Sep 3, 2023 at 9:55 AM
@Angeli, To be fair, I think labeled-loops was only added in recent versions of ColdFusion -- the one article that I found on this references ACF 2021 as being the version in question. But, I can't find a "history" section on the docs page, like they used to have. Re: scraping, I... read more »