freenode/#lisp - IRC Chatlog
Search
0:10:15
remexre
is there a way with iterate to iterate through all the active elements of an arbitrary array?
7:25:49
ljavorsk
Hi everyone, does the lisp libraries have any name template for package name? (something like: lisp-<name>)? I have this problem, I'm packaging the pgloader-bundle and in the bundle section in Packaging Guidelines is written that every bundled library within this package must be in 'Provide' section. I wanted to start with the alexandria library, but I've found that alexandria exists in fedora, but it's some ruby package and this
7:28:07
flip214
ljavorsk: Debian uses eg cl-alexandria - collection of portable Common Lisp utilities
7:29:22
jdz
It is my understanding that the whole "bundle" thing is so that pgloader does not interact with packages provided from other sources.
7:30:50
flip214
ljavorsk: how much value do you put on compatibility? You could have binary packages with only one FASL file, that would only need the exact matching SBCL version to work
7:33:02
jdz
ljavorsk: I bet it's so that the dependencies are in a known-good state (from the developer's point of view), and not some package maintainer's. dim can probably tell more.
7:36:19
ljavorsk
jdz, Hmm I don't know what is known-good state, actually this is my first package so I'm learning about packaging on it. Not to mention the lisp :D never seen it before
7:37:12
ljavorsk
A lot of stuff you write here is new for me, so I apologize if I don't understand correctly
7:43:15
jdz
ljavorsk: Maybe you can look into how Golang applications are packaged; as far as I know Go code can use libraries from git repositories (at specific branches/commits).
7:54:51
ljavorsk
jdz, I have to wait for dim, need to ask him if these libraries in software/* are really needed, or if there is another way, because it's a lot to list them in Provides, and also to finding all of their versions, and in the case of name-conflict to figure out the correct name
9:50:05
thijso
Where would I need to start looking if I get this error: Detected access to an invalid or protected memory address. occurred with errno: 0. ??
9:51:33
ralt
if you want to kill the children of the process started with uiop:launch-program, that's another story entirely.
9:52:50
ralt
(1) either you control the processes you're running, and you can have each child trickle down its SIGTERM to its own children
9:53:28
ralt
or (2) you control them but you don't want to change their code, in that case the best is usually to start a supervisor, that will know how to shutdown its children when it gets a SIGTERM
9:54:03
ralt
or (3) you spawn the child process in a new PID namespace (e.g. docker container), and when killing your direct child, the namespace will be shut down and all the children will be gone
9:55:01
thijso
I was just gonna say... "ralt says, 'you have 2 options', while holding up three fingers"... ;)
9:56:23
ralt
but yeah, "how do create docker container" or "how to spawn a child in new PID namespace" is largely googleable