freenode/lisp - IRC Chatlog
Search
18:28:59
didi
Xach: Idea: (ql:help) could list a small summary, in addition to the <https://www.quicklisp.org/beta/> pointer.
18:34:47
daphnis
what's the normal thing to do when one needs multiple but not all values from a function? i get these style warings about unused variables
18:40:19
didi
Ah, nice use of a restart in lparallel: "you didn't started workers, but don't sweat, tell me how many you want and I'll be on my way"
18:47:12
attila_lendvai
i can only see two reasons for a native CL code to decode complex media formats: 1) geek value for someone learning the tech, and 2) implementing the algo in a higher level language as a serious attempt to optimize it, or demonstrate a better implementation technique. for anything else? i'd just wrap the reference implementation.
18:48:17
Shinmera
attila_lendvai: shipping of C libraries on Linux is a gigantic pain in the ass. debugging problems with them as well.
18:56:44
attila_lendvai
Shinmera, hence my use of of the word *complex*. for simple stuff, it can overall splify life, but for anything non-trivial there's no way to keep a CL implementation anywhere near the reference one in quality
19:01:23
shka_
anyway, yes it is technically possible, but so time and work consuming that in practice it is just impossible
19:36:03
didi
How do I keep a computation running after I disconnect from a swank server? I can reconnect to it (because of :dont-close t), but my long running computation is stopped after I disconnect.
21:10:51
Josh_2
https://plaster.tymoon.eu/view/2390#2390 this is my PS code, PS keeps adding a number to var 'stib-container' making it something like stibContainer12
22:16:22
kagevf
Josh_2: I was able to get rid of the number if I removed the extra parentheses you had around the value being assigned to stibContainer .... like this:
22:16:29
kagevf
(stibs (ps:@ stib-container children)) (search-bar ((ps:@ document get-element-by-id) (ps:lisp "abc"))) (search-bar-val ((ps:@ search-bar-id value))))
22:18:17
kagevf
so where you had this: (let ((stib-container (@ document get-element-by-id) (ps:lisp "123")))
22:29:55
pp2
I got kicked earlier and i don't know why. I said scrotwm but i meant to ask about stumpwm. I am confused about what happened and sorry if i offended people
23:24:53
nij
Why instead of create-server on the fly, kitnil chose to embed that in a thread? Is there an obvious advantage? https://github.com/kitnil/dotfiles/blob/master/dot_stumpwm.d/swank.lisp
23:27:51
Bike
so you could avoid that with a thread, but you could also just change the communication style so that swank handles it for you
23:39:44
Bike
https://common-lisp.net/project/slime/doc/html/Communication-style.html#Communication-style
23:41:00
nij
I've been reading yeah. But the thread method is a work around. I wonder what that equates to.
23:48:10
nij
(sb-thread:make-thread (lambda () (swank:create-server :port (parse-integer port) :dont-close t))
0:47:24
nij
Hello! After I start a swank/slynk server, how do I check (in that repl) how many ports have been listening, and how many ports have been connected to how many instances?
4:00:00
pagnol
Anyone here who has done natural language generation? Maybe in languages other than English?
4:01:04
beach
pagnol: If you have a question, it is usually better just to ask it than to wait for someone to admit to working in that domain.