Hi,I am trying to communicate with a remote Q instance via Python usingthe IPC interface referred to at https://code.kx.com/trac/wiki/Reference/ipcprotocol.The documentation notes that one can use:-8![code]To get a serialized version of [code]/object in question. While tryingthis out it appears that q will evaluate the [code] and return theresult of evaluation. So if I try to serialize:-8!x:1I get the serialization of 1, not the assignment of 1 to x. How can Iget a serialized version of the message without it being evaluated? Iwould like for example to take a message, serialize it in Q, and thensend this via Python and have it executed on a Q instance.Thanks in advance,John
charset=us-ascii
X-Mailer: iPhone Mail (8F190)
In-Reply-To: <3aa469d5-b1a6-425c-8c41-5baf0ec4dd64@17g2000prr.googlegroups.com>
Message-Id:
Date: Tue, 19 Apr 2011 12:18:31 -0400
To: “personal-kdbplus@googlegroups.com”
Mime-Version: 1.0 (iPhone Mail 8F190)
Things on the right are eval’ed before passed to the left i.e. It’s evaluate=
d before -8! gets it. You have two options: serialize a string of code and s=
end that, or serialize a lambda and send that.