Skip to main content

Danilo Celic

Member since Aug 12, 2021

Recent Blog Comments By Danilo Celic

  • Using InputBaseN() To Encode HEX Colors Into An INT In ColdFusion

    Posted on Jun 1, 2025 at 4:44 PM

    @Ben, I wonder what a barcode reader's minimum contrast needs to be between the two colors to be scannable. You may want to have one of the following: Function to generate a contrasting color given an input color. Function to determine if the contrast between two colors meets a minimum c... read more »

  • Considering Polyfill Function Mechanics And Hoisting In ColdFusion

    Posted on Apr 5, 2025 at 6:08 PM

    Not too familiar with ColdFusion anymore, last used it probably 2019 or so, but doesn't it allow for assignment of anonymous functions? Just did a search, and I see you have an article about it (or course 🤩): https://www.bennadel.com/blog/2331-coldfusion-10-beta-closures-and-function-expres... read more »

  • Using Partial Component Paths As Argument Types In ColdFusion

    Posted on Jan 25, 2025 at 2:43 PM

    @Ben And you closed a gap for me, learned that satificed is not a misspelling or a "Euro" version of satisfied: Per the Google: "Satisfied" means fully content or having your needs met, while "satisficed" refers to accepting a solution that is "... read more »

  • Optional Password Protection Added To Incident Commander

    Posted on Nov 26, 2024 at 11:05 PM

    @Ben, From what I understand, UUID V7 was created specifically to address the use case for unique non-incrementable values while also being indexable. Currently traveling and don't have a good link to share discussing more about it. Not sure if there is a ColdFusion implementation of it ye... read more »

  • Considering Encrypting Passwords At Rest In ColdFusion

    Posted on Nov 23, 2024 at 7:27 PM

    @Ben, May have missed it in previous discussions…have you thought about encoding the password into the URL for the incident? As in, you create the incident with a password, and the encrypted password is the ID (or combo of id + salted hashed password): id={guid}&hash={hashedValue} Whe... read more »

  • Rebuilding Incident Commander As A ColdFusion App

    Posted on Nov 19, 2024 at 3:24 PM

    @Will Aware that code is available...Ben's reading audience extends beyond those that can (or able to) run ColdFusion within their environments. Actually had a thought about taking a stab at implementing this in .NET, before I remembered the extent of my work backlog, much less my own per... read more »

  • Rebuilding Incident Commander As A ColdFusion App

    Posted on Nov 18, 2024 at 9:57 PM

    @Ben Nadel, And I'm sure there's much more to Teams that I'm not aware of, I haven't even touched adding apps yet. Given the current implementation, I think that Incident Commander could be added as a Web page within Team, but not sure I'd be able to use it for more than testing. While I d... read more »

  • Rebuilding Incident Commander As A ColdFusion App

    Posted on Nov 18, 2024 at 7:45 PM

    @Ben Yes, Teams is more than chat, you can have meetings (voice calls, video/screen sharing), file/document storage (with versioning), "tabs" that are web pages, Word document, Excel spreadsheet, etc., and you can add apps (assume that there are many paid options).... read more »

  • Rebuilding Incident Commander As A ColdFusion App

    Posted on Nov 18, 2024 at 5:42 PM

    I can imagine being able to run this as an app within MS Teams Adds a bit of complexity, but if you run your incident through a ChatGPT, maybe you can get a starting point for a summary/report for the incident.... read more »

  • Working Code Podcast - Episode 197: Potluck

    Posted on Sep 26, 2024 at 12:02 AM

    FYI Looks like you (or any automation you may have) missed posting the 196 episode. Don't see it on the blog home page, nor the podcast home page.... read more »

  • Working Code Podcast - Episode 107: Through The Wormhole

    Posted on Dec 28, 2022 at 4:07 PM

    @Ben, Re: Hotwire: Adobe Spry has a similar feature where you'd specify a URL and way to identify a table, you'd then be able to work with the data from that other page. The following seems to be what I think I'm referring to: https://opensource.adobe.com/Spry/articles/html_dataset/index... read more »

  • Working Code Podcast - Episode 92: The Power Of No

    Posted on Sep 20, 2022 at 4:35 PM

    Regarding SQL code hints after a comma: Consider using a comma first format, that is, the comma is at the start of a line, not at the end of a line. The main reason I like it is from a source control perspective, when you add a new column to the SELECT, then the changeset is only the line t... read more »

  • Working Code Podcast - Episode 87: Note To Self

    Posted on Aug 23, 2022 at 3:28 PM

    Glad to be a positive impetus... read more »

  • Working Code Podcast - Episode 87: Note To Self

    Posted on Aug 10, 2022 at 4:24 PM

    @Ben, Time to update the Podcast page cache, currently showing up to episode 83... read more »

  • Working Code Podcast - Episode 76: Ben Needs A Minute

    Posted on May 25, 2022 at 3:29 PM

    @ben "Shake and Bake" is most definitely "Talladega Nights: The Ballad of Ricky Bobby" My affirmation for you: Ben, you're doing a great job improving your customer's work life! FYI: Your Podcast page is missing the last two entries (75 and 76). is the Podcast page ma... read more »

  • Performing A Double-Check Lock Around "Run Once" Code In ColdFusion

    Posted on Feb 7, 2022 at 4:09 PM

    @Ben, I use double checked locking anywhere I'm using caching in C#, especially after being burned a couple of times early on calling expensive database calls much more often that I expected shortly after coming from the single-threaded JavaScript environment in a browser. I've suggested do... read more »

  • Working Code Podcast - Episode 048: TODO: Microwave ToDo List

    Posted on Nov 22, 2021 at 3:21 PM

    Regarding Copilot: A YouTube C# related channel that I watch sometimes by Nick Chapsas has an unscripted video about test driving Copilot and he is floored by what it can come up with: https://www.youtube.com/watch?v=XceIKXeIrD0... read more »

  • Working Code Podcast - Episode 048: TODO: Microwave ToDo List

    Posted on Nov 22, 2021 at 3:21 PM

    Regarding Copilot: A YouTube C# related channel that I watch sometimes by Nick Chapsas has an unscripted video about test driving Copilot and he is floored by what it can come up with: https://www.youtube.com/watch?v=XceIKXeIrD0... read more »

  • Working Code Podcast - Episode 043: Relay Race Programming

    Posted on Oct 7, 2021 at 11:22 AM

    @Ben, I totally get leaving code better than when you found it, but based on how you were talking about having a negative reaction when someone else's touches your code, it seems that you're not quite feeling it if it is someone else tries to leave the code better when it's your code. ... read more »

  • Using WHERE TRUE To Create Dynamic, High-Performance SQL Queries In MySQL 5.7.32 And Lucee CFML 5.3.8.201

    Posted on Oct 7, 2021 at 11:07 AM

    @Ben, Just tried in SSMS with WHERE TRUE AND id = ? And I get an error: An expression of non-boolean type specified in a context where a condition is expected, near 'AND' A very quick search seems to indicate that SQL Server doesn't support boolean data types (would love to ... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel