Skip to main content

Chris G

Member since Oct 23, 2012

Recent Blog Comments By Chris G

  • Hypermedia Systems By Carson Gross

    Posted on Feb 18, 2025 at 2:28 PM

    Firstly, I loved this .. If nothing else, it's a palette cleanser for those of us that have been dining on thick-client applications for the last 15 years. Secondly, I'm so so so curious about digging into htmx, but just haven't ever made the time. Thirdly, I love, use, and highly... read more »

  • Using The XOR Operator To Assert Connascence Of Existence In ColdFusion

    Posted on Feb 4, 2025 at 10:14 PM

    @Ben Nadel, yesssss!! both of those examples makes so much more sense to my tiny little brain. Especially the != example. If I used XOR more, it wouldn't be a struggle...but I've never actually used it so if I came across it in a codebase..it would break me (initially)! 😂... read more »

  • Using The XOR Operator To Assert Connascence Of Existence In ColdFusion

    Posted on Feb 4, 2025 at 4:57 PM

    Interesting. This operator has always confused me, probably because I don't have a CS degree. I would have immediately reached for the (AND/OR) operators I know. And that would be much uglier...but maybe more easily understood down the road by someone more simple minded like myself? I'm conf... read more »

  • Strange ___IMPLICITARRYSTRUCTVAR Behavior In ColdFusion

    Posted on Jan 5, 2025 at 2:27 PM

    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 more »

  • Unreasonable Hospitality By Will Guidara

    Posted on Dec 24, 2024 at 7:55 PM

    You have my attention. I'm adding this to my reading list now.... read more »

  • Collocating Views And View-Specific Components In ColdFusion

    Posted on Dec 14, 2024 at 6:49 PM

    @Ben Nadel, Good to know! The new "my-test"() syntax though 😬. I never even would have thought to try that! The createObject() notation isn't as cringe.... read more »

  • Collocating Views And View-Specific Components In ColdFusion

    Posted on Dec 13, 2024 at 6:49 PM

    I 100% agree and try to co-locate my code whenever possible. In fact, if I have js/css that is applicable to a specific view, I just embed it in that view so that I don't even have to go to a second file. That's just my current preference, but I do a fair amount of equivocating on this. Is... read more »

  • Associating Form Inputs With ColdFusion Validation Error Types

    Posted on Dec 12, 2024 at 2:59 PM

    @Ben Nadel, I've been down the path of reporting all validation errors at once. Its my preferred UX model, but the DX does get tricky and complex quickly. I believe in giving the user all the information they need in order to be successful for the next submit. Otherwise they can be in a fr... read more »

  • Using Row Constructor Comparisons In MySQL

    Posted on Dec 12, 2024 at 2:36 PM

    @Ben Nadel, Interesting. I didn't really understand how this could be helpful in pagination, so I consulted the Oracle (ChatGPT) and learned that it would be useful when paginating a filtered or sorted list. No that's interesting! Here's some use cases it came back with... Row constructor ... read more »

  • Using Row Constructor Comparisons In MySQL

    Posted on Dec 11, 2024 at 9:53 PM

    This is pretty cool shorthand, but I have absolutely no clue what a practical use for it might be. Zero. Zilch. Nada clue! Have you thought of any use cases for this or did he mention any in the course?... read more »

  • Mastering Postgres Video Course By Aaron Francis

    Posted on Dec 9, 2024 at 9:21 PM

    @Ben Nadel, That's epic! I hadn't seen that one. In fact, it's been a while since I've seen those comics. Thanks for reminding me of them. I'm going to try very hard not to fall down that rabbit hole and stay focused on what I actually had planned for today...but I enjoyed the laugh!... read more »

  • Mastering Postgres Video Course By Aaron Francis

    Posted on Dec 9, 2024 at 8:06 PM

    @Ben Nadel, Simple problems only need simple solutions 🙃... read more »

  • Mastering Postgres Video Course By Aaron Francis

    Posted on Dec 9, 2024 at 4:33 PM

    We moved from Oracle to Postgres at my previous job and I found it to be (mostly) painless. There were a couple things I found super frustrating though. Off the top of my mind... You couldn't reliably use simple comparison operators (==, !=) when comparing one string to the oth... read more »

  • Associating Form Inputs With ColdFusion Validation Error Types

    Posted on Dec 5, 2024 at 8:47 PM

    @Ben Nadel, Totally! It's whatever ergonomic makes the most sense to you. But I find that the less indirection there is, the kinder I've been to future me. With error messages, if I've forgotten where that's set...I'll do a search for the specific error message. Hopefully it'll contain som... read more »

  • Associating Form Inputs With ColdFusion Validation Error Types

    Posted on Dec 5, 2024 at 3:47 PM

    @Ben Nadel, Yeah, I get it and agree there will always be some coupling that needs to happen. My thoughts are around minimizing it in a natural way. You already need to name the input. That name closely and naturally aligns with the errorResponse.type which means there's probably an oppo... read more »

  • Associating Form Inputs With ColdFusion Validation Error Types

    Posted on Dec 5, 2024 at 12:13 AM

    I (mostly) like it. I don't love that the server error type has to exactly match the data-error-types because that tightly couples the two and requires some back/forth to ensure they're married up properly. But, it's straight forward and simple and most importantly doesn't blow up if you m... read more »

  • Formatting Dates In The Local Timezone With Alpine.js

    Posted on Nov 26, 2024 at 3:31 PM

    @Ben, I took a quick look at the MDN Docs as well and based on the following example, I think it would actually be as simple as you hoped. If I'm reading this right, it would use the user's local settings to define the default time zone and then just do the right thing. No? const date =... read more »

  • Formatting Dates In The Local Timezone With Alpine.js

    Posted on Nov 20, 2024 at 7:37 PM

    @Ben, @Ray, Ray makes a really great point. I agree that where schedules are concerned, it makes sense to render the dates in the timezone that in-person event will take place. If it were a virtual event, then local time makes sense. Either way, it probably makes sense to add the timezone ... read more »

  • Rebuilding Incident Commander As A ColdFusion App

    Posted on Nov 18, 2024 at 6:44 PM

    I love it when you provide a video version of the article. I'd much rather listen to you walk me through it than read it myself. I think I retain it better too. Thanks 🙏 Also...head's up! I think there's something off on your commenter timestamps. It says your last message was posted on &qu... read more »

  • Safe-Navigation Operator Swallows Method Errors In Adobe ColdFusion 2023

    Posted on Nov 1, 2024 at 4:36 PM

    @Ben Nadel, Thanks for the explanation, that makes sense. Unfortunately, now your explanatory comment references thing.init() and thing.$init() which the article no longer references. Fortunately, it all still makes sense. Appreciate your time, your patience, and most of all...your gen... 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