Zachary Spitzer
Member since Dec 11, 2008
- Profile: /members/453-zachary-spitzer.htm
- Comments: 61
Recent Blog Comments By Zachary Spitzer
-
Exploring Variadic Function Mechanics In ColdFusion
Posted on Mar 22, 2025 at 2:56 PM
Have you tried the query index stuff? https://docs.lucee.org/reference/functions/queryrowbyindex.html Let me know if you have any suggestions for further tweaks for core functions... read more »
-
Exploring Variadic Function Mechanics In ColdFusion
Posted on Mar 22, 2025 at 12:46 PM
We also added this in Lucee 6 ArrayToStruct: add valueAsKey, use arrayValue as structkey https://luceeserver.atlassian.net/browse/LDEV-3171... read more »
-
Exploring Variadic Function Mechanics In ColdFusion
Posted on Mar 22, 2025 at 12:36 PM
Nice investigation Array slice bug filed on your behalf https://luceeserver.atlassian.net/browse/LDEV-5419... read more »
-
Adobe ColdFusion Parses JSON Into Non-Ordered Structs
Posted on Jul 2, 2024 at 11:36 AM
Micha and I are glad you like it!... read more »
-
Using An Ordered Struct As A Fixed-Size Cache In ColdFusion
Posted on Jul 2, 2024 at 11:22 AM
there's a hidden new feature in Lucee 6.1 structNew( "max:50" ) , but don't let anyone know I told you ok, just between us ok? https://github.com/lucee/Lucee/commit/aab00654330bb18d015056b08b92a125bda5ed86... read more »
-
Adobe ColdFusion Parses JSON Into Non-Ordered Structs
Posted on Jul 2, 2024 at 8:18 AM
From memory, this change was partly inspired whilst we started to implement .CFConfig.json support. As for compat concerns, there is no guarantee about the order of an unordered struct, even if it seems to be consistent... read more »
-
Key Conflicts On INSERT Still Increment AUTO_INCREMENT Value In MySQL
Posted on Sep 26, 2022 at 2:14 PM
Minor correction, createUniqueId() isn't per request, it's unique since the Lucee instance (context?) was started... read more »
-
GetBaseTagData() Works Differently In Adobe ColdFusion 2018 And Lucee CFML 5.3.7.47
Posted on May 16, 2021 at 6:09 AM
Two options, there's a GitHub icon next to each section on every docs page, just click and edit via github on the web or you can checkout the git repo and run it locally and via commandbox https://github.com/lucee/lucee-docs... read more »
-
GetBaseTagData() Works Differently In Adobe ColdFusion 2018 And Lucee CFML 5.3.7.47
Posted on May 16, 2021 at 5:57 AM
Great research Ben, could you update the Lucee doc's with a compatibility note?... read more »
-
Experimenting With Lazy Queries And Streaming CSV (Comma Separated Value) Data In Lucee CFML 5.3.7.47
Posted on Apr 26, 2021 at 9:13 AM
QueryClose() isn't required, Lucee will close the connection itself, but it's there if you want to manage it yourself https://luceeserver.atlassian.net/browse/LDEV-2097 https://github.com/lucee/Lucee/commit/dbff9da97c76a47267c074ecfdc76b8934ba4342 As I mentioned on twitter, a good ... read more »
-
Confusion Over this.mappings And expandPath() Not Working In Lucee CFML 5.3.3.62
Posted on Apr 12, 2021 at 4:42 PM
This is fixed in 5.3.8... read more »
-
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 »