go to post Alin Soare · Dec 13, 2024 I have a large list of functions that returns strings. I consider a string as true if it is non-empty. Empty string means false for me. I keep calling these functions until I get a true (non-empty string). If none returns true, the result fails. It is an implementation of a unification algorithm actually. I did not know how to write the code more readable, this is why I was asking how to check for empty string in a nicer way.
go to post Alin Soare · Oct 29, 2024 Thank you very much. Googling and browsing some pages I had arrived at the same idea but I could find no documentation and examples on the Intersystems site. Searching "URL Rewrite Module" on community I found 11 pages of results but by opening the conversations I see none that provides examples. Making some random tests I managed to redirect the url to my application entry points but I do not understand how it works in general, to be able to use all its capabilities. I am not able to redirect as I expect to happen. It does something, but unexpected for me.
go to post Alin Soare · Jun 21, 2024 In this example it does nothing bad but I do not like it to remove or insert spaces. Can I prevent it from auto formatting as it wants ?
go to post Alin Soare · Jun 10, 2024 USER>s x=1, y=2, z=3, %="%"USER>for {set % = $order(@%) quit:(%="") w !,%," ",@% } x 1y 2z 3
go to post Alin Soare · May 29, 2024 Thank you :) After I removed SSLKEYLOGFILE everything worked correctly. I kept this variable active for wireshark.
go to post Alin Soare · May 29, 2024 It looks like the error arise from ssl module integrated within python. https://github.com/python/cpython/issues/108687 The bug is serious, as the iris installation is unusable with python.
go to post Alin Soare · May 29, 2024 Hi Timo, Thank you for your message. To make a comparison with Cmd Admin, here it is: c:\InterSystems\IRIS2\bin>irispip install --target ..\Mgr\python pandasOPENSSL_Uplink(00007FFBD8047068,08): no OPENSSL_Applink
go to post Alin Soare · May 22, 2024 Actually, the question was, how to debug IRIS network traffic using wireshark. How to let wireshark know what is the encryption key used by IRIS and have wireshark display the explicit REST packages that are contained within "Application Data" SSL packages...
go to post Alin Soare · Apr 23, 2024 Thank you. My point is, when I want to do something that I know that a predefined function already does, how can I get inspiration from its code about how to reproduce that behavior myself ? On the other hand, are you sure that your method is that same that WRITE uses to interrogate the environment ?
go to post Alin Soare · Apr 23, 2024 Hi, The WRITE command, when passed no argument, does a reflexion on the system. I am not particularly interested about WRITE, but I want to learn how to do self-reflection on the system, to find out the system status, and for this the best source of inspiration could be the system itself. Apart from that, the source code of the system could be a source of inspiration for my own programs as well... Something like that Lisp or Smalltalk programmers do all the time...