Skip to main content
🎄 Early Access Discount 🎄 Feature FlagsFrom Concept to Cultural Revolution

Recent Activity

Recent Heroes of the BenNadel.com Community

Recent Comments

Ben Nadel replied to a post Creating A Marquee Effect With CSS Animations

@James, Too much animation can be a distraction You are preaching to the choir. I actually heavily dislike most animations. And will gladly remove most of them. In fact, in the cast of Pandora, I'd rather just let the long line wrap - that way I can still the full value at a glance. Most designers t... read entire comment from Ben Nadel.

MJ Sminkey replied to a post The RegEx Of Everyday Things

@Chris G - This comment "it often takes me longer to write a good pattern than to weed through all the false positives I'd get without it. " is WAY too close to home, LOL. I use Regex fairly commonly for situations in my code that demand it, but am lazy about figuring it out for myself when it could... read entire comment from MJ Sminkey.

Ben Nadel replied to a post The RegEx Of Everyday Things

@Chris, Oooof! That's more variety than I even had considered. You're really mixing the full gamut of options there. This code must have been around for a really long time! But yeah, that + generic names for stuff, that's a tough one. 😳... read entire comment from Ben Nadel.

Chris G replied to a post The RegEx Of Everyday Things

@ Ben Thanks for your reply and your insights. My specific challenge is compounded by a couple factors... Our code base is SUPER inconsistent. Many chef's in the kitchen, all with their own style/preferences. So you'll see instances like... 1a: <cfinvoke component="cfc.sites" method="getSiteData" re... read entire comment from Chris G.

Joe replied to a post Extending The Current Request Timeout In ColdFusion / CFML

Hi Ben, We are running ColdFusion 2016 enterprise and having a hard time trying to increase the request time out for a process. The main issue I want to tackle is during the first load of an app, onApplicationStart takes a lot of time (close to 6 minutes) and I don't want to set the timeout time to ... read entire comment from Joe.

Ben Nadel replied to a post The RegEx Of Everyday Things

@Dmitriy, Good sir! I never learned Perl, but I hear good things. Actually, to bring this whole conversation full-circle (back to text editors), I first started using RegEx in Macromedia HomeSite. I would get all this data from Excel documents that clients would give us. Then, I would copy-pasted it... read entire comment from Ben Nadel.

Ben Nadel replied to a post The RegEx Of Everyday Things

@Chris, RegEx is great, but it definitely doesn't solve all the problems the best. I used to try to use it too much for getting at HTML data. But, then I realized that it was much easier to just parse the HTML with something like jSoup and the query the Document Object Model, jQuery-style. But, ther... read entire comment from Ben Nadel.

Chris G replied to a post The RegEx Of Everyday Things

Bookmarked! I've found Regex to be both helpful and frustrating in equal parts. When I need a quick pattern, it often takes me longer to write a good pattern than to weed through all the false positives I'd get without it. But when you have a great pattern, magic ✨ One I wish I had a good pattern fo... read entire comment from Chris G.

Ben Nadel replied to a post Working Code Podcast - Episode 147: Potluck

@Mike, Thanks for such positive feedback. I too am always so impressed by Carol! She's easily one of the most resilient, most positive persons I've ever met. I'm always in awe of her ability to just roll with the punches and keep moving forward. I wish I had more of that in my life. If you have anyt... read entire comment from Ben Nadel.

Mike replied to a post Working Code Podcast - Episode 147: Potluck

Great episode! I always enjoy the variety of topics you discuss on the Working Code Podcast, and this one was no exception. Ben's insights into Transactive Memory Systems Theory were fascinating, and it's exciting to think about how such psychological theories can be applied in engineering. Carol's ... read entire comment from Mike.

Mike replied to a post jSoup Error: Index Out Of Bounds For Length

Great article, Ben! Your detailed exploration of the jSoup error and the fix is incredibly helpful. It's not uncommon to encounter such issues while working with libraries like jSoup, and your solution will undoubtedly save others a lot of troubleshooting time. It's also fantastic to see how respons... read entire comment from Mike.

Ben Nadel replied to a post jSoup Error: Index Out Of Bounds For Length

@Charles, To be honest, I don't know how duplicate() plays with Java objects. We're consuming this stuff in ColdFusion; but, the jSoup library is ultimately a Java library; and, I'm not sure how "deep" the "duplicate" logic will run. Meaning, if the issue we have here is with parent-child pointers b... read entire comment from Ben Nadel.

Ben Nadel replied to a post jSoup Error: Index Out Of Bounds For Length

@Jonathan, Wow, thanks for knocking that out! 🔥 As I was looking at the stacktrace, I saw a number of core Java calls, so I wasn't sure if this was something in jSoup itself, or something in the way Java's ArrayList worked. Glad to see it was only simple for-loop change on your end. jSoup is awesom... read entire comment from Ben Nadel.

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