Discussion Eduard Lebedyuk · Jan 20 Code Golf: Pyramid New Year, new Code Golf! You will receive a positive integer for the number of floors. Your challenge will build a pyramid with a "#" character. As usual, the shortest solution wins. Input 3 Output # ### ##### also a valid output # ### ##### #Code Snippet #InterSystems IRIS 4 23 1 296
Question Eduard Lebedyuk · Jan 19 Autoscaling Business Service to consume available CPU I have a production with one Business Host - a Business Service which I need to scale automatically to consume ~80% of CPU time.Business Service pulls data from a (non-FIFO) queue so that I can adjust pool size without any issues. So far, I'm planning a different BS running every X seconds and sampling CPU with $system.Process.GetCPUTime() and scaling the pool size of the main BS up/down based on that metric. Has anyone tried something similar? Any advice/code samples would be appreciated. #Business Service #Interoperability #InterSystems IRIS 1 6 0 146
Question Eduard Lebedyuk · Jan 11 Inbound Adapter safe shutdown strategy In Interoperability productions Inbound Adapters extract and separate retrieval logic from actual payload processing, which is left to a BS. #Business Service #Interoperability #InterSystems IRIS 1 4 0 125
Question Eduard Lebedyuk · Nov 30, 2022 Iterating HS.SDA3.Container container twice I initialize a HS.SDA3.Container from a XML stream and I need to iterate over it twice. What is a correct way of doing it? Is it enough to adjust StreamPos/StreamOref? The optimal solution would be to use one loop, but it's not possible to combine the processing logic. #Beginner #HealthShare 1 4 0 231
Discussion Eduard Lebedyuk · Nov 9, 2022 Code Golf: Word Order We're back with a code golf! You will receive a string. Each word in the string will contain a number. This number is the position that word should have in the sentence. If the input string is empty, return an empty string. The output can only be in words, without the given numbers. Input "i2s T1his Te4st a3" Output This is a Test #Code Snippet #InterSystems IRIS 2 13 0 516
Article Eduard Lebedyuk · Nov 4, 2022 7m read VIP in AWS If you're running IRIS in a mirrored configuration for HA in AWS, the question of providing a Mirror VIP (Virtual IP) becomes relevant. Virtual IP offers a way for downstream systems to interact with IRIS using one IP address. Even when a failover happens, downstream systems can reconnect to the same IP address and continue working. #AWS #Cloud #Mirroring #InterSystems IRIS 9 3 1 482
Article Eduard Lebedyuk · Sep 26, 2022 11m read Continuous Delivery of your InterSystems solution using GitLab - Part XI: Interoperability Welcome to the next chapter of my CI/CD series, where we discuss possible approaches toward software development with InterSystems technologies and GitLab. Today, let's talk about interoperability. Issue When you have an active interoperability production, you have two separate process flows: a working production that processes messages and a CI/CD process flow that updates code, production configuration and system default settings. Clearly, CI/CD process affects interoperability. But questions are: What exactly happens during an update? What do we need to do to minimize or eliminate production downtime during an update? #Business Process (BPL) #Continuous Delivery #Continuous Integration #Git #Interoperability #InterSystems IRIS 3 0 0 185
Discussion Eduard Lebedyuk · Sep 16, 2022 txt2img Several models, such as DALL-E, Midjourney, and StableDiffusion, became available recently. All these models generate digital images from natural language descriptions. The most interesting one, in my opinion, is StableDiffusion which is open source - released barely a few weeks ago. There's now an entire community trying to leverage it for various use cases. #AI #Machine Learning #InterSystems IRIS 2 0 0 624
Question Eduard Lebedyuk · Aug 31, 2022 Is there a simplier way to get posix time with fractional seconds? Currently what I have is: #Beginner #InterSystems IRIS 0 4 0 98
Question Eduard Lebedyuk · Aug 14, 2022 UserImages.bmp in Studio install Standalone Studio install includes UserImages.bmp image, with these contents: I have never seen these icons anywhere in Studio, so where are they used? #Studio #InterSystems IRIS 2 2 0 118