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,520
Recent Blog Comments By Ben Nadel
-
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 »
-
Referencing String Characters Using Array-Notation In ColdFusion 2021
Posted on Sep 2, 2023 at 10:07 AM
UPDATE : I realized that my demo here is flawed and misleading. While you can reference characters via bracket notation, my for-in demo doesn't actually work. When you do this: for ( var c in "hello" ) The loop runs , but c=="hello" - it runs as a single... read more »
-
Using Seekable Read Files In ColdFusion
Posted on Sep 2, 2023 at 9:43 AM
@Chris, The .seek() just jumps to a specific location. It's the subsequent call to .read() that is pulling-out 3-bytes: dataSource.read( 3 ) And, it might be worth mentioning for completeness that calling .read() will also advance the internal pointer. Meaning, if you call ... read more »
-
Firefox CSS Bug: Four-Sided Positioning With Buttons
Posted on Sep 1, 2023 at 11:15 AM
@Jonathan, Team work makes the dream work!... read more »
-
Using CFLoop To Iterate Over A File Line-By-Line In ColdFusion
Posted on Aug 31, 2023 at 1:59 PM
@Chris, I love that ColdFusion has lots of ways to do stuff; but, it does mean that it's hard to keep all the options in one's head.... read more »
-
Working Code Podcast - Episode 141: Building Stuff So You Can Build Stuff
Posted on Aug 23, 2023 at 1:46 PM
@Will, I would believe it. I've heard some good interviews with Guy - very smart!... read more »
-
Error "Type" Isn't Always A String In Adobe ColdFusion
Posted on Aug 16, 2023 at 8:10 PM
@Allen, Please report back when you've figured it out :D... read more »