freenode/#lisp - IRC Chatlog
Search
12:48:55
Ukari
https://plaster.tymoon.eu/view/1178, is it impossible to export function printop in eval-when block in this situation?
12:53:16
Ukari
https://lispcookbook.github.io/cl-cookbook/process.html#print-a-message-onto-the-top-level--read-time-eval-macro
12:57:17
_death
when you create a thread, it is possible to bind *standard-output* to the calling thread's *standard-output* value
13:38:05
Ukari
Is it a good practise to change a third library global variable, like bt:*default-special-bindings*?
18:06:30
cage_
i have two systems with conflicting nicknames, how can load (via ASDF) both in the same system?
18:07:23
cage_
my best "solution" (so to say) is to define a system that just remove the offending nickname from one of the system that needs to be loaded
18:08:27
phoe
either that or wait for package-local nicknames to gain widespread usage and then for library writers to stop using nicknames
18:09:52
phoe
cage_: when there's PLNs, there will not be much use for short nicknames since library writers will be able to define their own per-package nicknames
20:01:32
Ukari
what is the possible operation-options for ASDF? I read it from here https://tinyurl.com/qa4c9gy
20:19:59
ThomasLewis[m]
Yeah, I was just reading that. It is supposed to inherit the environment by default and use execvp to find the executable. Try providing the full path in the `program` string. If that doesn’t work, try #P”/path/to/uname”
20:31:15
dim
I should really learn how to avoid “Heap exhausted during garbage collection” when using SBCL, then I guess I would be quite happy with that implementation
20:33:24
dim
also, is :pty meaning that you can read the output of a program while it's running, PIPE style?
20:34:19
Xach
the programs thinks it is talking to a real user on a real tty, but it is a pseudo tty!
20:35:45
dim
expect libs and things, or just mutli-threaded control of background jobs, sounds quite powerful
20:36:08
Xach
dim: i had a program that did (with-current-directory "foo" (run-program "bar")) but with threads it broke, and using (run-program "bar" :directory "foo") fixed it.
20:36:24
dim
anyway, I can't depend too much on SBCL until I know how to make its GC happy, and I obviously am very far from that at the moment
20:37:59
dim
pjb: it really looks like you have your own implementation of about anything and everything though...
20:38:51
dim
you might be the perfect example of the infamous lisp curse, to some non trivial degree
20:57:16
pjb
THEY DID IT: A Common Lisp Interpreter Built in Cobol <https://github.com/lauryndbrown/Cisp>
20:59:10
asarch
I would like to share all Common Lisp files at '/home/asarch/lisp' with PortableAllegoServe, however, when I do: (net.aserve:publish-directory :prefix "/lisp" :destination "/home/asarch/lisp/") and I visit: http://localhost:5477/lisp I only get: 28-aserve-worker: 02/15/19 - 14:58:29 - while processing command "GET /lisp HTTP/1.1", got error Error in SB-POSIX:STAT: No such file or directory (2)
21:20:49
drmeister
If a CFFI call fills an array of values as in (cffi:with-foreign-object (foo :int 10) ... ) . What is the idiomatic way to get all the values in the array into a Common Lisp array? Do we read each value one at a time?
21:22:16
phoe
I'd suggest actually using a static array for that if possible, since that will mean no copying
22:10:49
casouri
Hi, I'm new to common lisp and want to learn by making a simply irc background client.
22:10:49
casouri
Is there any librarry that provids just that? I've looked up a few but none of them
22:11:46
drmeister
fe[nl]ix: That will require me to implement static-vectors. I haven't done that yet.
22:14:05
pjb
casouri: do you want to save the messages you received when you were connected, or do you want to save the messages transmitted when you are not connected?
22:15:11
casouri
So I want it to send the messages to the frontend when I'm connected, and save the messages when I'm not. So when I come back next time, I can see the histories.