Zac Spitzer
Member since Dec 11, 2008
- Profile: /members/453-zac-spitzer.htm
- Comments: 50
Recent Blog Comments By Zac Spitzer
-
Replacing Blank Lines Using Multiline Mode RegEx Patterns In POSIX And Java In Lucee CFML 5.3.7.47
Posted on Feb 21, 2021 at 10:56 PM
The next Lucee release, 5.3.8 also supports using the java regex engine https://luceeserver.atlassian.net/browse/LDEV-2892... read more »
-
Case Study: Removing Implicit Variable Access At Scale In Lucee CFML 5.3.7.47
Posted on Feb 8, 2021 at 8:13 AM
also, a quick plug for my Lucee Performance Analyzer admin plugin (available under extensions in the Lucee admin) https://github.com/zspitzer/lucee-performance-analyzer It provides you with aggregate views (queries, scopes) over all your current debug logs, rather than just viewing logs... read more »
-
Case Study: Removing Implicit Variable Access At Scale In Lucee CFML 5.3.7.47
Posted on Feb 8, 2021 at 7:53 AM
It certainly pays off for hot functions! Setting this in your Application.cfc also improves performance, see Settings, scope in the Lucee admin. this.scopeCascading = "strict"; You need to compare with debugging disabled, as the logging of implicit access does tend to impact out ... read more »
-
Building reMatchGroups() Using reFind() In Adobe ColdFusion 2018 And Lucee CFML 5.3.7.47
Posted on Jan 26, 2021 at 2:42 PM
The Lucee reFind problem was addressed in the 5.3.8.80, can you try the 5.3.8.139-RC ? https://luceeserver.atlassian.net/issues/ ? jql=project%20%3D%20%22LDEV%22%20AND%20fixVersion%20%3D%20%225.3.8.80%22 You can also now optionally use the built in java regex engine, rather than the old... read more »
-
Adding Differ() And DifferNoCase() Built-In Function Extensions In Lucee CFML 5.3.7.47
Posted on Nov 13, 2020 at 3:13 PM
I agree about your concerns about slightly invisible BIFs The extension detail page in the admin should show which tags or functions the extension implements. A summary page of what functions are available via installed extensions would also be good. Could be a nice PR for Lucee... read more »
-
MongoDB BSON Structs Are Case-Sensitive In Lucee CFML 5.3.6.61
Posted on Oct 28, 2020 at 6:28 AM
Wouldn't DeserializeJson(SerializeJson(doc)) normalize it back to normal CFML?... read more »
-
Racing To Show Asynchronous Report-Generation Results With CFThread In Lucee CFML 5.3.6.61
Posted on Oct 2, 2020 at 8:20 AM
Awesome trick heh? you beat me to blogging about this one.... One thing you have to be careful about is error handling inside the thread, you need to manually catch and handle any errors, as any normal error handling/reporting won't be triggered within a thread. Any errors inside a thread ar... read more »
-
The First Cookie Wins When Conflicting Cookie Names Are Used With Different Settings In Lucee CFML 5.3.6.61
Posted on Sep 13, 2020 at 7:31 AM
There was some discussion about adding a buffer for all headers within Lucee, rather than always just passing them to the servlet API https://luceeserver.atlassian.net/browse/LDEV-1747 https://dev.lucee.org/t/setclientcookies-false-per-request/3631/7... read more »
-
The Elvis / Null Coalescing Operator Can Sometimes Replace The Safe Navigation Operator In Lucee CFML 5.3.6.61
Posted on Sep 7, 2020 at 11:42 AM
what, no performance benchmarks? :)... read more »
-
Temporary Upload Files Are Duplicated And Persisted When A Request Uses CFThread In Lucee CFML 5.3.6.61
Posted on Sep 6, 2020 at 1:25 PM
When u file a bug, can you ask for the cannot remove resource error to include the actual exception?... read more »
-
Temporary Upload Files Are Duplicated And Persisted When A Request Uses CFThread In Lucee CFML 5.3.6.61
Posted on Sep 6, 2020 at 1:04 PM
How many files were in the 160Gb? https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/engine/Controler.java#L500... read more »
-
Temporary Upload Files Are Duplicated And Persisted When A Request Uses CFThread In Lucee CFML 5.3.6.61
Posted on Sep 6, 2020 at 12:51 PM
I think from memory it's a proportion of available freespace. Actually it's hardwired. So that's a bug / regression I'd like these all to be configurable https://luceeserver.atlassian.net/browse/LDEV-2418... read more »
-
Temporary Upload Files Are Duplicated And Persisted When A Request Uses CFThread In Lucee CFML 5.3.6.61
Posted on Sep 6, 2020 at 10:17 AM
Odd, there's actually an hourly task which checks the temp folder and purges if it gets to big? You see it's output if you set the log level for application.log to info... read more »
-
Struct Iteration With CFLoop Exposes Both Key And Value In Lucee CFML 5.3.6.61
Posted on Jun 23, 2020 at 7:25 AM
Thanks Ben, back at ya! As senior devs, it's always fun to fix / improve things as we have the knowledge to do it, hopefully making the lives of other cfml developers easier! I've been working on and with Lucee for a years now, it's great that you're also involved and sharing your love for... read more »
-
Struct Iteration With CFLoop Exposes Both Key And Value In Lucee CFML 5.3.6.61
Posted on Jun 23, 2020 at 5:59 AM
it's a bit quirky... you can use item or index for the key, unless both are defined https://trycf.com/gist/6774d6a30280941505546f4c930743ad/lucee5?theme=monokai I have updated the Lucee docs to document this https://github.com/lucee/lucee-docs/pull/879 https://docs.lucee.org/re... read more »
-
Returning CFQuery / Query Results As Structs In Lucee 5.3.6.61
Posted on Jun 18, 2020 at 8:29 AM
ah, the array for cfqueryparam is a nice trick, I just updated the Lucee docs to reflect this https://github.com/lucee/lucee-docs/pull/877 https://docs.lucee.org/reference/tags/queryparam.html there is also some newish support for indexed queries, since 5.3.4.23 https://docs.lucee... read more »
-
Can't Cast Object Type [Struct] To A Value Of Type [image] In Lucee CFML 5.3.4.77
Posted on May 23, 2020 at 6:17 AM
Ben, can you include the top 10-20 lines of the java stacktrace with such posts? The exception message is good for finding the source of the exception, but being able to see the code path to the exception is really useful... read more »
-
Application Setting "useJavaAsRegexEngine" Tells CFML To Use Java's RegEx Engine For Built-In Re-Functions In Adobe ColdFusion 2018
Posted on May 18, 2020 at 4:31 AM
New Lucee bug filed for this specific feature https://luceeserver.atlassian.net/browse/LDEV-2892... read more »
-
Built-In Functions And Member-Methods Return Different Data Types In Lucee CFML 5.3.5.92
Posted on Apr 16, 2020 at 7:48 AM
but you'll need to compile and run your own version of lucee to test / see those values.... it's fine to edit those files without compiling, the automatic CI process after you file a pull request will do a build Docs reads them from directly from the version of Lucee you're running. using ... read more »
-
Built-In Functions And Member-Methods Return Different Data Types In Lucee CFML 5.3.5.92
Posted on Apr 16, 2020 at 7:37 AM
As I commented on the bug, all tag and function definitions are here (all lucee dev is currently off the 5.3 branch) https://github.com/lucee/Lucee/tree/5.3/core/src/main/java/resource/tld https://github.com/lucee/Lucee/tree/5.3/core/src/main/java/resource/fld it's really easy to fir... read more »