Recent Activity
Recent Heroes of the BenNadel.com Community
-
Posted 254 comments since October 23, 2012
-
Posted 455 comments since October 5, 2014
-
Posted 48 comments since January 15, 2014
-
Posted 90 comments since December 11, 2008
-
Posted 142 comments since December 11, 2008
-
Posted 6 comments since October 22, 2013
-
Posted 2 comments since January 1, 2025
-
Posted 58 comments since December 11, 2008
-
Posted 8 comments since August 26, 2009
-
Posted 10 comments since February 28, 2022
-
Posted 2 comments since August 10, 2022
-
Posted 1 comment since January 3, 2025
-
Posted 1 comment since January 8, 2025
-
Posted 1 comment since January 14, 2025
Recent Comments
Ben Nadel replied to a post DateGetTime() To Get UTC Milliseconds From Date In ColdFusion
Comment posted January 19, 2025
@Toni, Thank you - always glad to help.... read entire comment from Ben Nadel.
Toni Brandt replied to a post DateGetTime() To Get UTC Milliseconds From Date In ColdFusion
Comment posted January 14, 2025
Thank you Ben Nadel! As always, you're a life saver 🙂 Keep up the good work 👍... read entire comment from Toni Brandt.
Charles Robertson replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 13, 2025
@Ben Nadel, That makes me feel a lot better 🤩... read entire comment from Charles Robertson.
Ben Nadel replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 13, 2025
@Charles, I will admit that even when I was working with good replication of prod vs. dev, I would still occasionally commit code to the repo at some path like, /admin/ben-test/debug.cfm... cause, dang it, sometimes things only break in production!... read entire comment from Ben Nadel.
Charles Robertson replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 13, 2025
@Ben Nadel, Phew. I didn't make a fool of myself there. 🤩 Glad my suggestion is actually a reality, for some businesses. Yes. I agree we can't always have exact replicas of prod on our local machines. The last company I worked for, used pure Linux in production and I was using Windows with WSL on m... read entire comment from Charles Robertson.
Ben Nadel replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 13, 2025
@Charles, All good thoughts. And a clear indication that there's no one right answer to this line of thinking. It also very much depends on how you are deploying your code. For example, if I'm building and deploying containers, the content of the underlying image is define prior to deployment. So, i... read entire comment from Ben Nadel.
Charles Robertson replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 13, 2025
So, to begin with, I was thinking that I'm not too happy about having an empty folder called /scribble on production, but then I started to warm to the idea. This could be a good place to add a small bit of test code, for bugs that only crop up in production. Maybe stuff you can't test from above th... read entire comment from Charles Robertson.
Charles Robertson replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 13, 2025
Hi Ben I just find it mad that there isn't a pattern, that you can place in the root gitignore, which ignores the files in a folder, but not the folder, itself? But there maybe a pattern that does this, using git/info/exclude I think the reason maybe because you can't commit empty folders in git. If... read entire comment from Charles Robertson.
Jason replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
Yeah, I have definitely used README.md files in folders that are "there to be used" but not containing actual parts of the codebase. I think combining that with your /scribble approach might be a great solution in a number of different situations.... read entire comment from Jason.
Ben Nadel replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
@Will, Dang it, a README is actually a really good idea!! You could even combine the two in places where you do want to exclude files. Basically just add the README to exclusion: # Exclude everything. * # Except these: .gitignore README.md That feels like the best of both worlds!... read entire comment from Ben Nadel.
Will Belden replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
@Ben Nadel, Regarding .gitkeep, since I hadn't heard of it I googled it, some folks (okay, StackOverflow) think a README might be a better choice, with explanations if not obvious. I would probably agree with that, since .gitkeep isn't "official", though you could put text in it, certainly?... read entire comment from Will Belden.
Ben Nadel replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
@Jason, I've definitely used the .gitkeep concept in the past, which I believe is just a usage pattern explored in "user land", not something officially part of git. For anyone reading this that might not be familiar with the .gitkeep technique, it's important to understand that git can't commit emp... read entire comment from Ben Nadel.
Jason replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
I like your /scribble example, Ben. It's like .gitkeep except you are expecting the future files in that folder to NOT be committed to the repo, which .gitkeep wouldn't help you with. Slick.... read entire comment from Jason.
Ben Nadel replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
I'm suddenly thinking of Fatal Attraction, "I'm not going to be ignored, Dan!"... read entire comment from Ben Nadel.
Ben Nadel replied to a post Hosting Your Exported InVision V6 Prototypes On Cloudflare Pages
Comment posted January 8, 2025
@Chris, Oh, sorry, I didn't realize that Cloudflare Pages has a max-size limit of 25MB. Though, I'm looking at the docs now and it looks like that's a "per asset" limit. So, I'm wondering if you unzipped the archive file first, and then dragged-and-dropped the contents onto the area, that might get ... read entire comment from Ben Nadel.
Will Belden replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
@Ben Nadel, Nope. Maybe he considers ignored files a personal selection.... read entire comment from Will Belden.
Ben Nadel replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
Ha ha ha, wat?! I've never heard of such a thing - is there an explanation?... read entire comment from Ben Nadel.
Will Belden replied to a post Collocating My .gitignore Configuration Files With The Omitted Files
Comment posted January 8, 2025
Our main dev/architect has forbidden me from committing any .gitignore files! Ha.... read entire comment from Will Belden.
Chris Ruymbeke replied to a post Hosting Your Exported InVision V6 Prototypes On Cloudflare Pages
Comment posted January 8, 2025
Unfortunately, we were noy able to export many of our valuable InVision prototypes to CloudFlare for archive purposes because prototype files (or bunches of them) cannot exceed 25 MB… So currently we are all moving them to Markup.io, a platform with similar (though limited) functions — compared to I... read entire comment from Chris Ruymbeke.
Ben Nadel replied to a post Unreasonable Hospitality By Will Guidara
Comment posted January 7, 2025
@Dave, so glad to hear it!... read entire comment from Ben Nadel.
Dave Merrill replied to a post Unreasonable Hospitality By Will Guidara
Comment posted January 7, 2025
Thank you for this :) I read the preview, was hooked, got it, and I'm really finding it inspirational. Good stuff!... read entire comment from Dave Merrill.
Ben Nadel replied to a post Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion
Comment posted January 7, 2025
@James, I was able to try it on https://cffiddle.org/ with the CF2025 Next beta. I will say that it seems to run more successfully than the var, but that could just be coincidental. But, if I hit "Run" a few times, I eventually get: coldfusion.runtime.UndefinedElementException: Element VALUE.COUNT i... read entire comment from Ben Nadel.
Ben Nadel replied to a post Extracting JSON Embedded Within A Generate HTML File In ColdFusion
Comment posted January 7, 2025
On a related note, I just used this technique in a ColdFusion utility that let's people extract embedded JSON data from their InVision V6 document exports: https://www.bennadel.com/blog/4750-extracting-invision-v6-document-export-json-data-in-coldfusion.htm Basically, they just upload the config.js ... read entire comment from Ben Nadel.
Ben Nadel replied to a post Hosting Your Exported InVision V6 Prototypes On Cloudflare Pages
Comment posted January 7, 2025
The Cloudflare path is easy. But, I also have a follow-up post on how you might start to access the export data programmatically: https://www.bennadel.com/blog/4750-extracting-invision-v6-document-export-json-data-in-coldfusion.htm This would be for anyone that wants to consume the data in a private... read entire comment from Ben Nadel.
Ben Nadel replied to a post Extracting InVision V6 Document Export JSON Data In ColdFusion
Comment posted January 7, 2025
For those of you that exported prototypes, you may notice that there is ScreenPlaceholder type definition, but there is no placeholder experience in the offline prototype. This is true. In the InVision app, the placeholders are flattened into PNG images and used a screens. As such, they naturally sl... read entire comment from Ben Nadel.
James Moberg replied to a post Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion
Comment posted January 7, 2025
I've been using the "local" scope instead of "var" for functions, but haven't written many closures due to compatibility with past versions of ACF. Does this perform the same function? (If so, there's no error in CF2023.) https://gist.github.com/JamoCA/4489707b2aa53f9afa7d2b172d7d1376... read entire comment from James Moberg.
Ben Nadel replied to a post Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion
Comment posted January 6, 2025
@Chris, Sometimes, it's fun to dig deep into what is going wrong. Of course, I don't write about the times I failed to figure it out 😜 re: parallel processing, even if you're not doing much stuff with async iteration, multiple users making a request to the same page is still parallel processing. If... read entire comment from Ben Nadel.
Chris G replied to a post Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion
Comment posted January 5, 2025
This is incredibly insightful and very well explained. When I get random errors I can't explain, I usually just throw my hands up and hope it resolves itself 🤣 But now you've given me another possible angle to consider. Fortunately, I don't do much parallel processing.... read entire comment from Chris G.
Ben Nadel replied to a post Free Online Version Of My Feature Flags Book
Comment posted January 5, 2025
@Hugh, Thank you for the support! You rock, happy new year!... read entire comment from Ben Nadel.
Hugh replied to a post Free Online Version Of My Feature Flags Book
Comment posted January 4, 2025
I didn't even know that you had a book on this subject. I've seen your work over the years and it has gotten me out of more than one bind. I went ahead and bought the book. Seemed like the right thing to do. Thanks for your contributions Ben.... read entire comment from Hugh.
Ben Nadel replied to a post Running Memory Leak Detection After Every ColdFusion Request
Comment posted January 4, 2025
As an aside, this memory leak detector just uncovered a bug in Adobe ColdFusion wherein implicit struct / array creation inside a ternary operator can leak memory to a shared scope. 😱 https://www.bennadel.com/blog/4748-strange-implicitarrystructvar-behavior-in-coldfusion.htm I love it when a plan c... read entire comment from Ben Nadel.
Ben Nadel replied to a post Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion
Comment posted January 4, 2025
I've filed a new bug: https://tracker.adobe.com/#/view/CF-4225079... read entire comment from Ben Nadel.
Ben Nadel replied to a post Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion
Comment posted January 4, 2025
One of the tickets that Adam Cameron files in the bug tracker outlined some of this behavior: https://tracker.adobe.com/#/view/CF-3043459 So, what we're seeing in CF 2021+ might be a regression (I didn't try it in 2018). I will open a new ticket for tracking.... read entire comment from Ben Nadel.
Ben Nadel replied to a post Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion
Comment posted January 4, 2025
I just tried copy/pasting this code into the Adobe ColdFusion 2025 beta over on https://cffiddle.org/ and the same behavior and error can be seen.... read entire comment from Ben Nadel.
Ben Nadel replied to a post Signals And Array Mutability In Angular 18
Comment posted January 4, 2025
@Christian, It's interesting times. Part of me is very hesitant to see Angular lose some of its "magic". I understand that we eventually need to end up in a Zone-less world since they can't monkey-patch some of the native JavaScript features like async/await. But, I also don't want to necessarily ha... read entire comment from Ben Nadel.
Ben Nadel replied to a post Free Online Version Of My Feature Flags Book
Comment posted January 4, 2025
@Phil, Thank you for the kind words, it's much appreciated :)... read entire comment from Ben Nadel.
Phil Chrisman replied to a post Free Online Version Of My Feature Flags Book
Comment posted January 3, 2025
My purchased copy is on Kindle using Kindle PDF conversion. But to be honest - this is worth printing or reading in Adobe Reader - whatever it takes. Thank you Ben for always doing cool things and helping the community !! Best to you - Phil Chrisman... read entire comment from Phil Chrisman.
Christian Crowhurst replied to a post Signals And Array Mutability In Angular 18
Comment posted January 3, 2025
Hey Ben, I wonder what this experiment of yours looks like if you remove zone which is now an experimental feature... could yield some valuable insight. This looks a good article that explains how to do that and touches on the implications which backs up what you're saying about event handlers still... read entire comment from Christian Crowhurst.
Ben Nadel replied to a post Free Online Version Of My Feature Flags Book
Comment posted January 2, 2025
@Will, ha ha :D I tried going the Amazon route and it was more trouble than I was willing to put into it.... read entire comment from Ben Nadel.
Will Belden replied to a post Free Online Version Of My Feature Flags Book
Comment posted January 2, 2025
If you'll publish this on Amazon / Kindle, I'll actually probably finish reading it!... read entire comment from Will Belden.
Ben Nadel replied to a post Signals And Array Mutability In Angular 18
Comment posted January 2, 2025
@Christian, While I don't know the details of how all the Angular internals are built, I would presume that as long as the user interactions are wired-up using the Angular-native bindings, like (click) and (mouseover), they'd still be able to hook into the change detection life-cycle (marking compon... read entire comment from Ben Nadel.
Christian Crowhurst replied to a post Signals And Array Mutability In Angular 18
Comment posted January 1, 2025
With zone completely removed (ie some future angular version), I wonder if user interaction will also NOT trigger a change detection cycle? If so, then cloning the object that the signal exposes will then be needed in this scenario as well.... read entire comment from Christian Crowhurst.
Ben Nadel replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 28, 2024
@Angel, Yeah, I'm curious to hear what you do after a POST submission? Do you just render a new View?... read entire comment from Ben Nadel.
Charles Robertson replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 27, 2024
@Angel Gonzalez, I am kind of talking about cflocation, using the PRG pattern? I think Coldbox & FW1 encourage the use of redirect() at the end of controller methods, which emulates PRG. I guess, if this is used at the end of a call chain, then hopefully there shouldn't be a debugging issue. 🙂... read entire comment from Charles Robertson.
Angel Gonzalez replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 27, 2024
@Ben Nadel, @Charles Robertson Just a geeky thought - I shy away from using the redirects. To me - those things are the death of debugging if not done with good foresight. I have pretty much taken them out of every project I have worked with.... read entire comment from Angel Gonzalez.
Ben Nadel replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 27, 2024
@Charles, Ah, very nice, I didn't realize this pattern had a name. But, totally, this is the way to do things as far as I'm concerned. Even when I need re-render the same page, I'll always do a redirect back to the same page to avoid the form submission problem. As far as setting the post-submission... read entire comment from Ben Nadel.
Charles Robertson replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 27, 2024
Hi Ben I think this is the approach that Coldbox [controller rc scope] & FW1 [controller rc scope]. In Coldbox, the prc scope stands for private request context scope, which refers to variables created inside a controller method, like the local scope. The rc scope is a pass through scope, generally ... read entire comment from Charles Robertson.
Ben Nadel replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 27, 2024
@Angel, Merry Christmas to everyone's favorite "Chicken Dad" 😆 It actually sounds like our various approaches are fairly similar. When I'm not using FW/1 at work, I too am using what amounts to a fusebox-esque approach to architecture. I have nested switch statements which route the request to the ... read entire comment from Ben Nadel.
Angel Gonzalez replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 26, 2024
Hey Ben - we have survived Christmas, mostly. I wanted to share some elaborate thoughts on this as I use a bit of a different strategy. I may post about it just to help with flow as posting a reply might be difficult to follow. I've embraced a bit of the old fusebox method by always providing a hidd... read entire comment from Angel Gonzalez.
Ben Nadel replied to a post Considering The Aesthetics And Ergonomics Of Post-Back URLs In ColdFusion
Comment posted December 26, 2024
Ok, one more caveat I've run into while trying to apply this approach. My initial mechanics are to use the cgi.query_string. But, I do have some control-flows where I redirect the user to a new page with some transient information in the URL (specifically a "success message" flag so that the app ren... read entire comment from Ben Nadel.