2:33:29lokedrmeister: I'm more curious as to why reinitialize-instance is called when you add a new method?
2:37:17drmeisterThat must be an ECL thing - I am using ECL CLOS
2:37:49drmeisterdefmethod calls ensure-generic-function and so on to shared-initialize
2:46:19lokeThe defmethod macro itself calls ENSURE_GENERIC-FUNCTION... The defmethod macro expands into a call to INSTALL-METHOD with also calls ENSURE-GENERIC-FUNCTION.
5:00:51lexicallhi, I wonder is there an elegant way to call a method of super class? In order to do that I have to use CHANGE-CLASS but I think it's quite ugly.
10:37:54hajovontaguys are you aware of a CL library that can do asynchronous ICMP echoes? I need to ping a host periodically and I couldn't find one. Is it a thing that is practically done via FFI?
10:52:31hajovontaI'm just a little worried that different linux ping versions may print different output
10:52:41fe[nl]ixa more sophisticated approach would be to make a small C binary that creates a raw socket and sends it to the main process via a Unix socket
10:54:15fe[nl]ixiolib already has code for receiving file descriptors via a Unix socket, but you'd have to write the C to create and send the file descriptor
10:54:45fe[nl]ixhajovonta: when I wrote that code I was running Gentoo
10:55:09fe[nl]ixand I modified the kernel to not require root for raw sockets
11:05:44shrdlu68If the problem here is that one can't effectively use setuid with sbcl, there are other implementations that hopefully don't have this limitation.
11:12:25_deathyou could just use setcap instead of the suid bit
13:17:23francogrexhi is it possible to reconnect to a running thread: debugger invoked on a SB-INT:SIMPLE-READER-PACKAGE-ERROR in thread #<THREAD "main thread" RUNNING {23EE7E89}> sbcl hangs and i would like to open another sbcl and "attach" it to that hanging running thread
13:23:34antoszkaotwieracz: ^ haven't you been dealing with a similar problem recently?
14:15:41hjudtcan anyone help me with cl-json? i want to generate json output like this: { headers: ["h1", "h2", "H3"], data: ["d1", "d2", "d3"] }. i have headers and data as lists. what do i need to do?
14:16:33Bikeaccording to the manual, you can get a js object if you feed it an alist or a hash table.
14:16:35hjudtsimply (list headers data) gives indexed arrays, but i'd like to have named arrays
14:16:48Bikeso you could do like (list (cons 'headers headers) (cons 'data data))