Question Evgeny Shvarov · Oct 20, 2022 Calling Embedded Python in Docker Container - Access Denied Hi folks! I'm playing with Embedded python with IRIS trying to do some 'hello-world' exercises. I'm running IRIS in container and have the following python code: #Docker #Embedded Python #InterSystems IRIS #VSCode 1 5 0 464
Question Evgeny Shvarov · Oct 20, 2022 How Can I Call %SYSTEM class methods from Embedded Python? Hi, devs! What's the way to call the methods of %SYSTEM class from python? I tried this way: print(iris.cls('_SYSTEM.OBJ').Version()) and getting an error: Traceback (most recent call last): File "<input>", line 1, in <module> RuntimeError: iris.class: error finding class Here is how it works in ObjectScript: #Embedded Python #InterSystems IRIS 0 4 0 302
Article Evgeny Shvarov · Oct 15, 2022 1m read Running ObjectScript classmethod in VSCode Terminal in One Click Hi Devs! For me, one of the most painful things about ObjectScript is ##class(Class).Method() typing to call a class method in code or in a terminal. I even submitted an idea to simplify it in ObjectScript. But! There is a new feature in VSCode ObjectScript that was just introduced to the plugin - Copy Invocation! #ObjectScript #Terminal #Tips & Tricks #InterSystems IRIS #VSCode Open Exchange app 10 7 2 620
Question Evgeny Shvarov · Oct 8, 2022 How to Print Out an Arbitrary Global via Embedded Python ? Hi, devs! Consider you have an arbitrary global with an unknown amount of indexes. How to print all the values to the terminal with Embedded Python? #Embedded Python #Globals #ObjectScript #InterSystems IRIS 0 3 0 236
Question Evgeny Shvarov · Oct 8, 2022 How to Debug Embedded Python? Folks! Could you please share any best practices on how to debug Embedded Python code? Given I have the following class method: #Debugging #Embedded Python #InterSystems IRIS #VSCode 0 5 0 762
Question Evgeny Shvarov · Oct 6, 2022 What is the Analog of $DATA for Embedded Python? Hi folks! I'm working with a global via Embedded Python as a class method. I init the handler for a global via: gl=iris.gref("^Global") What is the way to check the value at index ^Global("x","y")? E.g.: In ObjectScript I'd do the following: #Embedded Python #Globals #ObjectScript #InterSystems IRIS 2 4 0 229
Question Evgeny Shvarov · Oct 2, 2022 Are there auto-generated getter methods for class parameters in ObjectScript? Hi, ObjectScript experts! I know that there are auto-generated getter and setter methods for class properties in ObjectScript. Are there auto-generated getter methods for class parameters? #ObjectScript #InterSystems IRIS 0 7 0 212
Question Evgeny Shvarov · Oct 2, 2022 How to Refer to a Class Parameter in Embedded Python? Hi, devs! In ObjectScript I can refer to a class parameter as: write ..#ParameterName How do I do the same in Embedded Python? #Embedded Python #Key Question #ObjectScript #InterSystems IRIS 1 11 1 497
Question Evgeny Shvarov · Oct 2, 2022 How to refer to a Classmethod of the same Class using Embedded Python? Hi folks! How can I refer to a classmethod of the same class while coding another classmethod with Embedded python? I know that I can call it with iris.cls(classname).MethodName(), but it's more cumbersome even comparing with ObjectScript, where I can call ..MethodName(). Compare ObjectScript: do ..SetupGame() and the same call in EmbeddedPython: iris.cls('eshvarov.sample.SeaBattle.GamePython').SetupGame() Thoughts? #Embedded Python #ObjectScript #Python #InterSystems IRIS 0 6 0 287
Discussion Evgeny Shvarov · Sep 25, 2022 Developing IRIS applications with Docker and VSCode Hi folks! We have a bunch of templates on OEX that provide a handy foundation for building a particular application with IRIS. And the basic principle of each and every template is that we take vanilla IRIS images, load code, and files into the image using Dockerfile, and create a new docker image as a solution. And then we develop running this image and rebuilding it when returning to development. Some developers ask me why we need to build the docker image to work with the code. Indeed, if at the end of the day I need to develop a ZPM package and not a docker image why don't run the vanilla image and load the code and everything in it? The problem I have with the building image approach is that often I can wait a lot to build an image and it fails on some Objectscript problem in the source that I cannot fix as the image is not building. and Any thoughts? How do you develop with docker? #Development Environment #Docker #ObjectScript #InterSystems IRIS #VSCode 1 4 1 386
Announcement Evgeny Shvarov · Sep 15, 2022 Technical Bonuses Results for InterSystems Interoperability Contest: Building Sustainable Solutions 2022 Hi developers! Here is the score of technical bonuses for participants' applications in the InterSystems Interoperability Contest: Building Sustainable Solutions 2022! #Contest #Docker #Interoperability #InterSystems IRIS 0 7 0 193
Question Evgeny Shvarov · Sep 10, 2022 How to Export Interoperability Production Components to Source Control Folder Programmatically? Hi folks! Suppose I have a production in which I added a few components and I want to export its components into files for source control. How do I do that? I know that there is an option for manual export in VSCode. But how can I make it programmatically? Thanks! #Development Environment #Git #Interoperability #InterSystems IRIS 0 3 1 311
Article Evgeny Shvarov · Aug 30, 2022 1m read Standard "custom" Error Page For CSP Web Application Hi folks! It's not an innovation, but often I saw not a very informative Error page for CSP apps and got it for myself. Something like that: #CSP #Error Handling #InterSystems IRIS 8 3 2 316
Announcement Evgeny Shvarov · Aug 29, 2022 Technology Bonuses for InterSystems "Sustainability" InterOperability Contest 2022 Hi Developers! Here're the technology bonuses for the InterSystems "Sustainability" Interoperability Contest 2022 that will give you extra points in the voting: Sustainability Topic Sustainability Dataset Business Process BPL or Business Rule DTL Usage Custom Interoperability Adapter Production EXtension(PEX) Python, Java, or .NET usage Embedded Python usage Docker container usage ZPM Package Deployment Online Demo Code Quality pass Article on Developer Community The second article on Developer Community Video on YouTube See the details below. #Contest #Docker #Embedded Python #Interoperability #InterSystems IRIS 0 1 0 258
Article Evgeny Shvarov · Aug 14, 2022 2m read A Small Code Bot to Bump Package Version Automatically Hello fellow developers! When developing with ObjectScript Package Manager, one crucial thing is the package version, which we place in the module.xml file. When we add changes to the package and are ready to publish a new version of the package in the registry, we also need to increase the version number. This is clear, but it is annoying, and we can often forget to do that. This small article will help you to automate such a process. #Change Management #Development Environment #InterSystems Package Manager (IPM) #InterSystems IRIS Open Exchange app 6 1 0 670
Announcement Evgeny Shvarov · Jul 25, 2022 HealthConnect and InterSystems IRIS For Health Comparison Hi Community, There is a new PDF Resource published on our official site depicting key features and a comparison of InterSystems healthcare interoperability products: Health Connect and IRIS For Health. #InterSystems Business Solutions and Architectures #Health Connect #HealthShare #InterSystems IRIS for Health 7 0 0 562
Announcement Evgeny Shvarov · Jul 14, 2022 Technical Bonuses Results for InterSystems Climate Change Full Stack Contest 2022 Hi developers! Here is the score of technical bonuses for participants' applications in the InterSystems Climate Change Full Stack Contest 2022! #Contest #InterSystems IRIS #IRIS contest 0 3 0 249
Article Evgeny Shvarov · Jul 14, 2022 2m read How to Find Applications Installable With Package Manager Hi Community! @Joan Pérez published a review that it is not very clear what applications are available for InterSystems Package Manager. Thanks Joan! Indeed it deserves a post. There at least two ways I know to showcase them: 1. Run find command in zpm: #InterSystems Package Manager (IPM) #InterSystems IRIS 3 0 0 226
Announcement Evgeny Shvarov · Jun 22, 2022 InterSystems "Climate Change" Fullstack Contest 2022 Bonuses Hi developers! Here are the bonus points for the experts voting for your applications in the Fullstack contest 2022: Here we go! Climate Change - 5 isc.rest package - 2 isc.ipm.js package - 2 Embedded Python - 3 Adaptive Analytics (AtScale) Cubes usage - 3 Docker container usage - 2 ZPM Package deployment - 2 Online Demo - 2 Unit Testing - 2 First Article on Developer Community - 2 Second Article On DC - 1 Code Quality pass - 1 Video on YouTube - 3 #Contest #InterSystems IRIS 0 0 0 221
Announcement Evgeny Shvarov · Jun 1, 2022 Technical Bonuses Results for InterSystems Grand Prix Contest 2022 Hi developers! Here is the score of technical bonuses for participants' applications in the InterSystems Grand Prix 2022 programming Contest! #Contest #InterSystems IRIS #Open Exchange 0 5 0 268