<Bike>
okay, so you don't want a debugger at all, you want a logger. usually you would install a handler-case on serious-condition that would print the condition and backtrace to a file or something.
<Bike>
for the backtrace you can use trivial-backtrace or dissect, which i think you were already recommended.
hashfunc has joined #commonlisp
<nij->
Oh, I see, that's what dissect does.
<nij->
How would you print the condition?
<Bike>
(princ condition)
Lord_Nightmare has joined #commonlisp
pve has quit [Quit: leaving]
<Bike>
and you can get the restarts with (compute-restarts) and print those as well, in a handler-bind, but if things are running non interactively that might not be very interesting.
<Bike>
dissect also has stuff for messing with restarts.
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
tyson2 has joined #commonlisp
Guest2921 has quit [Quit: Client closed]
<pve>
Ever spend days building something, and then slowly start to think that maybe you're building the wrong thing? :)
aartaka has quit [Ping timeout: 256 seconds]
<phoe>
yes, many times
aartaka has joined #commonlisp
<flip214>
that's most of the fun, isn't it?
<pve>
flip214: good attitude
<pve>
i mean, you still learn something, hopefully
cage has joined #commonlisp
pdietz has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 28.2]
<pdietz>
That happens all the time. But it's better than building something, coming back to it later, and not understanding what you built.
attila_lendvai has quit [Ping timeout: 260 seconds]
<phoe>
which, in turn, is better than building something, coming back to it later, and not fathoming how the hell it even manages to work in the first place
Lycurgus has joined #commonlisp
occ has quit [Ping timeout: 252 seconds]
occ has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
pdietz has quit [Quit: Client closed]
Oladon has joined #commonlisp
pdietz has joined #commonlisp
<pve>
The ol' "What idiot coded this garbage? Oh..."-moment
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
<pdietz>
I've had some success getting ChatGPT to write Common Lisp code, although rounds of detailed correction are necessary. This is not code used for anything, just playing around.
occ has quit [Ping timeout: 268 seconds]
<pjb>
pdietz: I had no success in that: the code produced is plain wrong, and there's no mean to teach ChatGPT anything.
<pjb>
it's like eliza, it only repeats what has been stored in the data base in its "learning" phase from the web. So it reproduces idiocies from the web.
<pjb>
plus filters. there are questions it refuses to answer.
<pjb>
I'm not saying that Eliza wouldn't be a useful module as front end to an actual AI. But ChatGPT is not an AI. It's a hardwired system (perhaps built using AI algorithm, but that remains irelevant).
<pjb>
(I've also read reports that it can produce code with unbalanced parentheses!)
<pdietz>
I found it responded well to specific focused comments. Like, "the defun forms should not be nested".
<pdietz>
So you can steer a partial solution toward something that's more correct.
<pjb>
Yes, but it doesn't retain anything. You can make it do what you want, and then it cannot reuse the instructions.
<pjb>
So in the end, you're faster writing the code yourself.
<pdietz>
I'm wondering if they're recording these interactions and are planning to use them to improve the product.
<pjb>
They obviously want to control what the AI learns.
<pjb>
The reaction has been to hire programmers (~300 IIRC) to write and comment code to teach it programming better. I wonder how many lispers amongst them!?!
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
aartaka has joined #commonlisp
masinter has joined #commonlisp
<semz>
it's a language model, it regurgitates text. afaict the proof that this is totally like consciousness/understanding has been largely left as an exercise for the reader, after providing a lot of suggestive window dressing to seduce the reader into begging the question
Oladon has quit [Quit: Leaving.]
Josh_2 has joined #commonlisp
occ has joined #commonlisp
<pjb>
semz: yes, it's just like Eliza, just a tad more sophisticated.
scymtym has joined #commonlisp
<pjb>
and a bigger database.
Brucio-61 has joined #commonlisp
varjagg has quit [Ping timeout: 264 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
jmdaemon has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
tyson2 has joined #commonlisp
avocadoist has quit [Quit: Konversation terminated!]
avocadoist has joined #commonlisp
pdietz has quit [Quit: Client closed]
kenran has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 252 seconds]
<Josh_2>
GM :trumpet:
Fare has joined #commonlisp
pdietz has joined #commonlisp
igemnace has quit [Remote host closed the connection]
jmdaemon has joined #commonlisp
sjl has joined #commonlisp
tane has joined #commonlisp
tane has joined #commonlisp
tane has quit [Changing host]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
masinter has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
tyson2 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 248 seconds]
ttree has quit [Read error: Connection reset by peer]
ttree has joined #commonlisp
morganw has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
VOID[m] has joined #commonlisp
pfd has joined #commonlisp
MajorBiscuit has quit [Quit: WeeChat 3.6]
<Josh_2>
How do I stop and restart a clack app. I use clack:clackup on my instance of ningle:app then clack:stop on the object returned from clack:clackup, but if I then use clack:clackup again on my instance of ningle:app a condition is signalled about address being in use :sob:
rogersm has joined #commonlisp
pfd has quit [Ping timeout: 260 seconds]
mingus1 has joined #commonlisp
mingus has quit [Ping timeout: 252 seconds]
mingus1 is now known as mingus
Lycurgus has joined #commonlisp
<pjb>
Josh_2: you'd correct the bug, releasing the socket.
<Josh_2>
Right so just a bug
<Josh_2>
Its fukamachiware, I'm sure I'd spend 2 days just deciphering the code :joy:
<pjb>
add some cleanup in clack:stop.
varjagg has joined #commonlisp
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
witcher has quit [Remote host closed the connection]
witcher has joined #commonlisp
varjagg has quit [Ping timeout: 248 seconds]
Noisytoot has quit [Remote host closed the connection]
Noisytoot has joined #commonlisp
anticomputer has quit [Ping timeout: 255 seconds]
anticomputer has joined #commonlisp
varjagg has joined #commonlisp
attila_lendvai has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
jmdaemon has joined #commonlisp
rogersm has quit [Quit: Leaving...]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
avocadoist has quit [Quit: Konversation terminated!]
avocadoist has joined #commonlisp
cage has joined #commonlisp
Fare has quit [Ping timeout: 252 seconds]
rgherdt has quit [Ping timeout: 248 seconds]
tyson2 has joined #commonlisp
pve has quit [Quit: leaving]
scymtym has quit [Ping timeout: 248 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
pdietz has quit [Quit: Client closed]
Bocaneri has joined #commonlisp
Bocaneri is now known as Guest857
Sauvin has quit [Ping timeout: 248 seconds]
Gleefre has quit [Ping timeout: 260 seconds]
Gleefre has joined #commonlisp
Brucio-61 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Gleefre has quit [Ping timeout: 260 seconds]
Gleefre has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 28.2]
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
<Josh_2>
Interesting to hear that SICL Loop is used to test libraries
<Josh_2>
I think its a good idea to try and make sure libraries in Quicklisp are conforming
aartaka has quit [Ping timeout: 246 seconds]
aartaka has joined #commonlisp
tane has quit [Quit: Leaving]
Demosthenex has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
azimut has joined #commonlisp
<pjb>
Josh_2: well, libraries in quicklisp are only validated against sbcl.
attila_lendvai has quit [Ping timeout: 260 seconds]
<pjb>
There could be a declaration in asdf to indicate what implementations are supported or if the code is intended to be conforming.
Gleefre has quit [Ping timeout: 260 seconds]
Guest857 is now known as Sauvin
shka has quit [Ping timeout: 248 seconds]
rgherdt has joined #commonlisp
occ has quit [Ping timeout: 252 seconds]
Oladon has joined #commonlisp
tyson2 has joined #commonlisp
masinter has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
morganw has quit [Remote host closed the connection]