Alin Soare · Apr 23, 2024 go to post

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...

Alin Soare · Apr 23, 2024 go to post

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 ?

Alin Soare · May 22, 2024 go to post

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...

Alin Soare · May 29, 2024 go to post

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 pandas
OPENSSL_Uplink(00007FFBD8047068,08): no OPENSSL_Applink
 

Alin Soare · May 29, 2024 go to post

Thank you :)

After I removed SSLKEYLOGFILE everything worked correctly.  I kept this variable active for wireshark.

Alin Soare · Jun 10, 2024 go to post


USER>s x=1, y=2, z=3, %="%"
USER>for {set % = $order(@%) quit:(%="")   w !,%," ",@% }
 
x 1
y 2
z 3

Alin Soare · Jun 21, 2024 go to post

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 ?

Alin Soare · Oct 29, 2024 go to post

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.

Alin Soare · Dec 13, 2024 go to post

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.