freenode/lisp - IRC Chatlog
Search
15:41:21
tychoish
https://github.com/CodyReichert/awesome-cl#graphics I always just check lists like this
15:58:36
Shinmera
There's also https://shinmera.github.io/trivial-thumbnail/ which uses im underneath
16:18:46
contrapunctus
Would a native Lisp library for encoding/decoding media formats (e.g. FLAC, PNG, WebM) be of any help to the community? Or is preferable to wrap C libraries?
16:20:22
Xach
contrapunctus: i don't know how much is in pure lisp. pure lisp code for everything would be nice.
16:27:23
Shinmera
contrapunctus: FLAC and PNG already have native ones. WebM or any video format? Good fuckin' luck.
16:29:12
Shinmera
contrapunctus: I'd like a native decoder for OGG audio, (preferably decoding to UB8 arrays)
16:34:54
Shinmera
But yeah, ultimately the hard part isn't necessarily even the decoding, though that often is hard enough, it's also that theres' very strict performance requirements to be able to decode and play back in real time. Especially audio has very low latency periods.
16:38:20
jackdaniel
contrapunctus: draft a lispy protocol for video formats in cl and start with a ffi wrapper; then you may take a jab at implementing the same protocol natively
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?