Discussion Joel Solon · Nov 11 Which is the "right" installation directory for IRIS on Linux? The IRIS Installation Guide for Linux, Installation Directory section, says "Do not choose the /home directory, any of its subdirectories, or the /usr/local/etc/irissys directory." but there are no suggestions or any default. What are your opinions on this? For example, I see that IRIS in a Docker container is installed in /usr/irissys. I'm wondering why that directory was chosen. The official Linux filesystem docs say: #Deployment #InterSystems IRIS 1 4 0 138
Article Joel Solon · Oct 1 2m read Improved code completion for object reference variables in VS Code ObjectScript On 2024-08-29, the team released Language Server v2.6.0, which includes more improvements for code completion (aka intellisense). That means that #dim, while still useful, is hardly necessary anymore. That's a good thing in my opinion. #VSCode #InterSystems IRIS 2 2 1 181
Article Joel Solon · May 23, 2023 5m read Embedded Python, Pass-by-Reference, and Classic Rock & Roll Methods written in ObjectScript can use pass-by-reference arguments to return information to the caller. Python doesn’t support pass-by-reference arguments, so Embedded Python in IRIS doesn’t support them either. That's it, that's the end of the post, hope you liked it. 😉 But wait, what about the Classic Rock & Roll? #Embedded Python #JSON #ObjectScript #InterSystems IRIS #InterSystems IRIS for Health 7 1 1 414
Article Joel Solon · Dec 30, 2021 1m read Did you know that IRIS Terminal could do this?!?! History and Aliases! Hi all, When is a Developer Community post not a Developer Community post? When it's just a few sentences wrapped around a link to InterSystems documentation! And what better way to finish up 2021 than by telling you about something cool that's been available since v2020.3? As the ball drops in Times Square, curl up with this: Repeating Previous Commands #Terminal #InterSystems IRIS 11 31 1 1.3K
Article Joel Solon · Oct 30, 2019 4m read Collecting Performance Data While Running Unit Tests A few years ago, I was teaching the basics of our %UnitTest framework during Caché Foundations class (now called Developing Using InterSystems Objects and SQL). A student asked if it was possible to collect performance statistics while running unit tests. A few weeks later, I added some additional code to the %UnitTest examples to answer this question. I’m finally sharing it on the Community. #Best Practices #Code Snippet #Performance #Testing #Caché #InterSystems IRIS 5 2 2 622
Article Joel Solon · Dec 29, 2016 10m read Creating a Custom Application Monitor Class and an Alert When an error occurs in your application, simply logging it might be enough. But for certain errors, you might want to send a notification to people right away. There are three ways to generate custom email notifications from InterSystems IRIS. #Monitoring #System Administration #Caché 7 3 1 1.5K
Article Joel Solon · Sep 6, 2016 3m read These Are NOT Identical Twins: the Class Keywords DependsOn and CompileAfter In most cases, if one class depends on another, the class compiler will detect this and determine the correct compilation order. For example: #Compiler #Object Data Model #Caché 6 5 1 1K
Article Joel Solon · Jun 24, 2016 2m read Atelier, Git, and GitHub One of the benefits of Atelier is easy integration with source code management tools. Some Eclipse installations include the EGit plugin, or you can install it from the Eclipse marketplace. EGIt makes integration with Git and GitHub easy. Here are the steps I used to connect Atelier to a GitHub repository: #Git #GitHub 8 8 0 2.3K
Question Joel Solon · Apr 7, 2016 Where can I edit or delete existing Cache Connections in Atelier? On the Mac...I've defined a Cache Connection to my local server. It worked for the last two days, but after an uninstall/reinstall of Atelier, it stopped working. The stack trace has these entries:java.lang.RuntimeException: Can't read from secure storage node /com.intersys.eclipse.connmgr/ensrcCaused by: org.eclipse.equinox.security.storage.StorageException: No password provided. 1 5 0 751
Question Joel Solon · Feb 18, 2016 Variable Number of Arguments to a Method This morning on the old Caché Google Group, someone posed the following question, which I've decided to answer here, because it's interesting!Is there a way to iterate ClassMethod's params, and get param's names and values?The first answer I can come up with is: it's not easy! In any method, you could try to write code like this (where methodName is the name of your method): #Languages #Object Data Model #ObjectScript #Caché 7 1 0 1.7K
Question Joel Solon · Dec 23, 2015 Please provide a better way to Add a Tag when searching The list of tags is pretty long, and it will probably get longer. I guess it could be a tag cloud somewhere on the page, but I'm not sure where. I bet others in the Community can suggest good ways to do this! #DC Feedback 3 1 0 172
Article Joel Solon · Dec 23, 2015 1m read Caché ObjectScript Quick Reference In the Caché Foundations course, students are learning about Caché Development and ObjectScript syntax at the same time. To help students complete the exercises, we provide an ObjectScript Quick Reference (aka "the Cheat Sheet"). It is not a reference for all of ObjectScript! It is a list of the ObjectScript commands and functions that students use during the course, along with common syntax for objects, collections, etc. It also contains some useful macros. #Languages #Object Data Model #ObjectScript #Caché 7 6 0 1.5K