freenode/lisp - IRC Chatlog
Search
4:10:57
Oladon
In case anyone has lost the unlocking devices for their automobile, I just found them in my code. :)
5:07:15
asarch
I'm doing a small web server with Caveman2 in order to send files from my cellphone to my laptop, and in the POST request, the content of the file is a type of RAW-BODY: #<CIRCULAR-STREAMS:CIRCULAR-INPUT-STREAM {1007C409E3}>, how could I send it to a WRITE-SEQUENCE?
5:20:23
loke[m]
If you want to copy an input stream to an output stream, you can use UIOP:COPY-STREAM-TO-STREAM.
6:03:22
v3ga
so are sly-stickers useful when debugging? or whats the best way to go about stepping through a function or procedure with sbcl/sly?
6:06:03
charles`
then it will break when it reaches your sticker without having to add (break) and recompile
6:08:49
v3ga
charles`: ahh ok, I see now. that's how they're used... ok i'll write something longer and play with it
6:09:22
charles`
I really wish you could start single stepping after encountering a break, but I haven't figured that out yet
6:13:34
v3ga
also with step....i'm using the gentle introduction to symbolic comp book. they're using a different lisp implementation but surrounding a function with (step ...) doesn't give the same feedback as the book.
6:16:40
v3ga
yeah i do get that much, maybe i'm misinterpreting what the book shows. i was expecting even for this small function for it to go through each bit. ah well. it's late, maybe i'm senile for the night
9:03:17
flip214
wasn't there a way to do performance comparisons across the various implementation via some web interface? paste a few lines, get a performance table back?
9:27:47
Nilby
(documentaion 'flexi-streams:vector-input-stream 'structure) => "A binary input stream that gets its data from an associated vector of octets."
9:31:37
asarch
(documentaion 'flexi-streams:vector-input-stream 'structure) => ; Evaluation aborted on #<SB-INT:SIMPLE-READER-PACKAGE-ERROR "The symbol ~S is not external in the ~A package." {1004943783}>.
9:33:05
phoe
but, (documentation 'flexi-streams::vector-input-stream 'structure) works on my machine
9:37:56
edgar-rft
I'm seriously wondering what's faster, reading the source code or fiddle out the correct cl:documentation syntax.
9:38:34
phoe
and the docstring is also there, unless the code contains docstrings set in another location
14:24:16
Gnuxie[m]
ey: I think the bridge broke, but yes you can't rely on TCO if you want your code to be portable