freenode/lisp - IRC Chatlog
Search
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.
5:26:09
jackdaniel
I generate natural language every day with my vocal cords and fingers, does it qualify for a beer? :)
7:15:32
Shinmera
You can use cl-mixed for that. https://github.com/Shirakumo/cl-mixed/blob/master/examples/tone.lisp
7:20:14
Shinmera
There's also Harmony which presents a higher-level interface. Unfortunately I haven't gotten around to writing extensive docs for either :(
8:41:03
Shinmera
Uh, sure. All the transforms and inputs spiral works with are human made. There's a lot of engineering ingenuity behind it.
8:42:54
Shinmera
The theory behind Spiral that allows it to generate code this efficient is quite interesting, but also quite off-topic.
8:44:33
Nilby
Yes. I was just wondering if there would be any hope to write such things like ffts and dcts and such in lisp and have any understanding when looking at a #'disassemble output