Ben Nadel
Member since Dec 11, 2008
- Profile: /members/1851-ben-nadel.htm
- URL: http://www.bennadel.com
- Twitter: @bennadel
- FaceBook: http://www.facebook.com/bennadel
- Comments: 14,622
Recent Blog Comments By Ben Nadel
-
Using Both STORED And DEFLATED Compression Methods With ZipOutputStream In Lucee CFML 5.3.7.47
Posted on Jan 18, 2021 at 7:56 AM
@Charles, Oh man, getFileFromPath() and getDirectoryFromPath() are super helpful functions! I just wish they had a function for extracting the file-extension. Because, like your example, I still have to do that via listLast( filename, "." ) . On a side-note, I love list-... read more »
-
Generate And Incrementally Stream A ZIP Archive File On-The-Fly In Lucee CFML 5.3.7.47
Posted on Jan 17, 2021 at 3:15 PM
@Charles, So much stuff can break! At work, we have a Request-Timeout on the ColdFusion app, a Request-Timeout in the nginx proxy, and a Request-Timeout in the CloudFlare CDN. And, I'm 99% sure they are all different values . So, when something returns a 504 Gateway Timeout , it's a ... read more »
-
Using FrameworkOne (FW/1) Layouts To Strip Whitespace In Lucee CFML 5.3.7.47
Posted on Jan 17, 2021 at 1:38 PM
@Chris, Yeah, in FW/1 you can just keep jamming stuff in the rc scope (I think it stands for "Request Context" or "Request Collection"). The rc scope is available to all the controllers, views, and layouts. I tried poking around in the docs, and it does look like yo... read more »
-
Generate And Incrementally Stream A ZIP Archive File On-The-Fly In Lucee CFML 5.3.7.47
Posted on Jan 17, 2021 at 1:37 PM
@Charles, Oh man, that's some tricky stuff! When it comes to request-size, there's so many places things can "fail" do to all the layers between the User and your ColdFusion application. I'm glad you got it figured out. I was recently bitten by something related(ish), where I re... read more »
-
Generate And Incrementally Stream A ZIP Archive File On-The-Fly In Lucee CFML 5.3.7.47
Posted on Jan 17, 2021 at 6:02 AM
@Charles, Hmmm, 5-minutes feels like a really long time to upload a 20-mb file. I mean, I guess it depends on your internet connection; but, assuming you're on a decent connection, that feels rather slow . Since you're not getting any errors, I'm wondering if the upload is working, but so... read more »
-
Generate And Incrementally Stream A ZIP Archive File On-The-Fly In Lucee CFML 5.3.7.47
Posted on Jan 17, 2021 at 5:58 AM
@All, When I was originally putting this post together, I wanted to try and use the STORED method for the images, since images are already compressed . However, I kept running into errors. As such, I wanted to quickly follow-up with a post that uses the STORED method: https://... read more »
-
Styling console.log() Output With A Chalk-Inspired Formatter Using JavaScript Proxies
Posted on Jan 16, 2021 at 4:56 AM
@Danny, Oh, that's an interesting idea. My one concern, though, with overriding the default console.log() functionality is that it actually functions a bit differently in terms of how it implements the string interpolation. Whereas echo can have variadic arguments (multiple styles argu... read more »
-
Using FrameworkOne (FW/1) Layouts To Strip Whitespace In Lucee CFML 5.3.7.47
Posted on Jan 16, 2021 at 4:53 AM
@Chris, Thanks! always get a bit nervous about removing the newline characters because I think I might accidentally join two strings together than need a "space" between them. So I figure as long as I need one white-space character to separate tokens, I might as well make it the ... read more »
-
Why I've Been Merging Microservices Back Into The Monolith At InVision
Posted on Jan 13, 2021 at 8:12 AM
@All, Me and some people just had a more in-depth discussion about this topic on the Working Code podcast: https://www.bennadel.com/blog/3963-working-code-podcast-episode-005-monoliths-vs-microservices.htm... read more »
-
My Opinionated git Cheat Sheet
Posted on Jan 13, 2021 at 6:45 AM
@Anth, Your point is well received. There are things that I think a UI would actually make much better, especially around rebase / merge conflict resolution - doing that manually is a pain in the butt. That said, I think you may also be overestimating how often we need to do certain things... read more »
-
Having Fun With The Horizontal Usage Of Position: Sticky In Angular 11.0.5
Posted on Jan 13, 2021 at 6:42 AM
@Code, Thank you so much -- I'm really glad you like it. I love Angular - it just makes development so much fun!... read more »
-
My Opinionated git Cheat Sheet
Posted on Jan 12, 2021 at 6:34 AM
@Anth, Ha ha, but how much time did you waste leaving your comment 😆... read more »
-
Why I've Been Merging Microservices Back Into The Monolith At InVision
Posted on Jan 12, 2021 at 6:25 AM
@Francis, What stops my team from becoming the dumping ground for old services? Unfortunately, very little it seems 😠. We've had to take over services that we know very little about. I think we even own one or two Golang services and literally no one on my team is proficient in Golang. W... read more »
-
Why I've Been Merging Microservices Back Into The Monolith At InVision
Posted on Jan 12, 2021 at 6:23 AM
@Antiphp, It's an interesting question. And, I think perhaps this gets to the heart of the "intent" vs. the "implementation" of a microservice. For me, one the ways I think about a microservice is from a "Build vs. Buy" point-of-view. Meaning, every team has a... read more »
-
Why I've Been Merging Microservices Back Into The Monolith At InVision
Posted on Jan 12, 2021 at 6:13 AM
@Levin, So cool! This is very exciting for me :D... read more »
-
Using Abstract Classes As Dependency-Injection Tokens With "providedIn" Semantics In Angular 9.1.9
Posted on Jan 8, 2021 at 5:01 AM
@Kevin, That's a great question. I'm actually not sure off-hand. I'll have to try that out.... read more »
-
Experiment: Modeling Complex Data Structures As Nested Query Objects In Lucee CFML 5.3.6.61
Posted on Jan 7, 2021 at 11:28 AM
@Dawesi, Ah, very cool - glad to hear this isn't so crazy. Speaking of JSON, I'm actually excited that we just upgraded to MySQL 5.7 at work, which introduces the JSON column-type. I've only played around with it a bit; but, it seems like it might be a nice way to model some not-to-compl... read more »
-
Working Code Podcast - Episode 003: Burnout, Mental Exhaustion, And How To Be Productive When Life Sucks
Posted on Jan 7, 2021 at 4:43 AM
@Ted, Thanks :D I hope you're current adventures are treating you well. You'd be happy to know that I'm still showing up to Architecture Office Hours and hassling everyone with a 1,000 questions 🤣... read more »
-
Why I've Been Merging Microservices Back Into The Monolith At InVision
Posted on Jan 6, 2021 at 8:14 AM
@Gerald, My pleasure, good sir. Thanks for reading :D Learning lessons for others is so hard ! I feel like we all have to be personally burned before we can truly understand things. The problem is, sometimes that cost is really high .... read more »
-
The User Experience (UX) Of My Microwave's "Add 30-Seconds" Button
Posted on Jan 3, 2021 at 8:39 AM
@Prosthetic, As someone with long-time wrist pain from years of programming, I can definitely relate to wanting to find ways to keep your hands on the keyboard (switching the mouse can feel janky sometimes). I'm also a huge fan of CMF+F as a way to move around websites. Which is why ... read more »