jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
stanrifkin has quit [Quit: Leaving]
slyrus has quit [Ping timeout: 264 seconds]
fosskers has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
rgherdt has quit [Remote host closed the connection]
slyrus has joined #commonlisp
kchanqvq has quit [Quit: Client closed]
kchanqvq has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
bpanthi977 has joined #commonlisp
slyrus has joined #commonlisp
pab has quit [Ping timeout: 246 seconds]
slyrus has quit [Ping timeout: 240 seconds]
contrapunctus has joined #commonlisp
dra has quit [Ping timeout: 256 seconds]
nullbath has quit [Remote host closed the connection]
nullbath has joined #commonlisp
Oladon has quit [Quit: Leaving.]
slyrus has joined #commonlisp
pab has joined #commonlisp
divlamir has quit [Read error: Connection reset by peer]
divlamir has joined #commonlisp
Lycurgus has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 244 seconds]
bpanthi978 is now known as bpanthi977
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 256 seconds]
bpanthi978 is now known as bpanthi977
reb has quit [Read error: Connection reset by peer]
reb has joined #commonlisp
puke has quit [Quit: puke]
pab has quit [Ping timeout: 246 seconds]
bpanthi977 has quit [Ping timeout: 244 seconds]
Lycurgus has quit [Quit: alsoknownas.renjuan.org ( juan@acm.org )]
slyrus has quit [Ping timeout: 246 seconds]
slyrus has joined #commonlisp
denysonique313 has quit [Quit: _]
denysonique313 has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
pab has joined #commonlisp
pab has quit [Ping timeout: 244 seconds]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
akoana has quit [Quit: leaving]
puke has joined #commonlisp
pab has joined #commonlisp
slyrus has joined #commonlisp
pab has quit [Ping timeout: 260 seconds]
younder has quit [Ping timeout: 244 seconds]
pab has joined #commonlisp
pab has quit [Ping timeout: 246 seconds]
bpanthi977 has joined #commonlisp
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
pab has joined #commonlisp
X-Scale has quit [Ping timeout: 244 seconds]
humasect has joined #commonlisp
humasect has quit [Remote host closed the connection]
slyrus has quit [Ping timeout: 240 seconds]
bpanthi977 has quit [Ping timeout: 264 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 246 seconds]
myk has joined #commonlisp
slyrus has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 245 seconds]
Pixel_Outlaw has joined #commonlisp
brokkoli_origin has joined #commonlisp
humasect has joined #commonlisp
awlygj has joined #commonlisp
random-nick has quit [Ping timeout: 240 seconds]
Wbooze|2 has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
Wbooze has quit [Ping timeout: 264 seconds]
bpanthi977 has joined #commonlisp
nytpu has quit [Remote host closed the connection]
nytpu has joined #commonlisp
bpanthi977 has quit [Ping timeout: 264 seconds]
pab has quit [Ping timeout: 244 seconds]
bpanthi977 has joined #commonlisp
bpanthi978 has joined #commonlisp
pve has joined #commonlisp
bpanthi977 has quit [Ping timeout: 240 seconds]
bpanthi978 has quit [Ping timeout: 240 seconds]
pab has joined #commonlisp
humasect has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
slyrus has quit [Ping timeout: 244 seconds]
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 264 seconds]
bpanthi978 is now known as bpanthi977
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 246 seconds]
slyrus has joined #commonlisp
bpanthi978 has quit [Ping timeout: 264 seconds]
myk has quit [Remote host closed the connection]
myk has joined #commonlisp
chomwitt has joined #commonlisp
bpanthi977 has joined #commonlisp
mange has quit [Quit: Zzz...]
fart_cat has joined #commonlisp
kchanqvq has quit [Quit: Client closed]
kchanqvq has joined #commonlisp
mishoo has joined #commonlisp
myk_ has joined #commonlisp
slyrus has quit [Read error: Connection reset by peer]
slyrus has joined #commonlisp
myk has quit [Ping timeout: 240 seconds]
chomwitt_alt has joined #commonlisp
alex__ has joined #commonlisp
slyrus has quit [Ping timeout: 244 seconds]
slyrus has joined #commonlisp
Pixel_Outlaw has quit [Remote host closed the connection]
nani has quit [Read error: Connection reset by peer]
nani has joined #commonlisp
Th30n` has joined #commonlisp
Th30n has quit [Read error: Connection reset by peer]
mgl_ has joined #commonlisp
slyrus has quit [Ping timeout: 256 seconds]
fart_cat has quit [Quit: Konversation terminated!]
varjag has joined #commonlisp
<beach> Can someone please have a look at this code: https://plaster.tymoon.eu/v/7J53EC47E#5018
<beach> I can't figure out the purpose of the parameters to the macro. They seem be only to provide names for lexical variables. Plus, it seems that this macro works only when the first argument is the symbol FRAME, because that symbol is used literally to define a lexical variable.
awlygj has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
anticomputer_ has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
slyrus has joined #commonlisp
bitspook` has joined #commonlisp
bitspook has quit [Ping timeout: 255 seconds]
alex__ has quit [Ping timeout: 260 seconds]
chomwitt_alt has quit [Ping timeout: 260 seconds]
chomwitt has quit [Ping timeout: 260 seconds]
<jackdaniel> you can't figure the purpose of each parameter or only some of them?
<jackdaniel> also where did this code come from?
<jackdaniel> beach:
LainIwakura has joined #commonlisp
ewig has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
<jackdaniel> what is utils:unlisted? if it is a macro then frame and ,frame can denote two different things
<jackdaniel> hm, nvm the last remark
<jackdaniel> (I didn't notice the comma before let)
<jackdaniel> but the question "what is utils:unlisted?" stands
ewig has joined #commonlisp
<jackdaniel> beach: in any case it may have a different name than frame, it is not used verbatim in the macro expansion
<jackdaniel> as of other arguments than frame, I can only imagine that they are used to customize key names for each method specialized to a hypothetical function (defgeneric top-level (frame &key &allow-other-keys))
<jackdaniel> (and bindings argument provides some automatically established dynamic context)
<beach> I see. Thanks.
<jackdaniel> sure
<jackdaniel> where did this code come from?
<beach> ESA
<beach> Slightly modified.
<jackdaniel> I see
<beach> OK, I see the use of the parameters now.
<beach> Since ESA is totally broken, I took the opportunity to do a major overhaul of it, something that I have wanted to do for a long time.
joast has quit [Ping timeout: 246 seconds]
slyrus has quit [Ping timeout: 265 seconds]
<fosskers> Neat, I hadn't heard of that.
easye has quit [Remote host closed the connection]
<beach> "that"?
joast has joined #commonlisp
<fosskers> ESA
<beach> I see.
fosskers has quit [Remote host closed the connection]
slyrus has joined #commonlisp
nybble has quit [Ping timeout: 264 seconds]
slyrus has quit [Ping timeout: 265 seconds]
eploko has joined #commonlisp
kchanqvq has quit [Quit: Client closed]
kchanqvq has joined #commonlisp
slyrus has joined #commonlisp
TactfulCitrus has joined #commonlisp
leeb has joined #commonlisp
leeb_ has quit [Ping timeout: 240 seconds]
slyrus has quit [Ping timeout: 264 seconds]
treflip has joined #commonlisp
ewig has quit [Remote host closed the connection]
eploko has quit [Ping timeout: 256 seconds]
slyrus has joined #commonlisp
TactfulCitrus has quit [Ping timeout: 240 seconds]
humasect has joined #commonlisp
TactfulCitrus has joined #commonlisp
X-Scale has joined #commonlisp
humasect has quit [Remote host closed the connection]
slyrus has quit [Ping timeout: 264 seconds]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
shawnw has joined #commonlisp
jay_bird has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Read error: Connection reset by peer]
slyrus_ has joined #commonlisp
slyrus_ has quit [Ping timeout: 245 seconds]
Wbooze|2 has quit [Ping timeout: 252 seconds]
slyrus has joined #commonlisp
mwnaylor has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
slyrus has joined #commonlisp
attila_lendvai_ has joined #commonlisp
shawnw has quit [Ping timeout: 240 seconds]
kchanqvq has quit [Ping timeout: 272 seconds]
QongLi has joined #commonlisp
treflip has quit [Remote host closed the connection]
slyrus has quit [Ping timeout: 246 seconds]
attila_lendvai_ is now known as attila_lendvai
myk_ has quit [Ping timeout: 246 seconds]
myk has joined #commonlisp
attila_lendvai has quit [Ping timeout: 252 seconds]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
shawnw has joined #commonlisp
jackdaniel has quit [Quit: reboot]
shawnw_ has joined #commonlisp
shawnw has quit [Ping timeout: 255 seconds]
jackdaniel has joined #commonlisp
overclucker_ has quit [Read error: Connection reset by peer]
LainIwakura has quit [Quit: Client closed]
overclucker has joined #commonlisp
pabs3 has quit [Ping timeout: 240 seconds]
pabs3 has joined #commonlisp
cage has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
random-nick has joined #commonlisp
ewig has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Remote host closed the connection]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
decweb has joined #commonlisp
jonatack has joined #commonlisp
myk has quit [Remote host closed the connection]
shawnw_ is now known as shawnw
slyrus has joined #commonlisp
slyrus has quit [Remote host closed the connection]
myk has joined #commonlisp
pomel0 has quit [Ping timeout: 246 seconds]
Th30n` is now known as Th30n
pomel0 has joined #commonlisp
ingeniot has joined #commonlisp
humasect has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 245 seconds]
cubic_jpg has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
<edgar-rft> wow, code from the European Space Agency ...
<beach> Don't worry, the overhauled version has a different name.
ldb has joined #commonlisp
cubic_jpg has quit [Quit: Client closed]
cubic_jpg has joined #commonlisp
QongLi has quit [Ping timeout: 252 seconds]
cmack` has joined #commonlisp
edgar-rft` has joined #commonlisp
edgar-rft has quit [Ping timeout: 255 seconds]
TactfulCitrus has quit [Ping timeout: 240 seconds]
slyrus has joined #commonlisp
ingeniot has quit [Ping timeout: 252 seconds]
slyrus has quit [Ping timeout: 240 seconds]
delgnam has quit [Quit: WeeChat 4.7.1]
delgnam has joined #commonlisp
myk has quit [Read error: Connection reset by peer]
slyrus has joined #commonlisp
cmack` is now known as cmack
slyrus has quit [Ping timeout: 244 seconds]
humasect has quit [Remote host closed the connection]
pomel0 has quit [Ping timeout: 240 seconds]
pomel0 has joined #commonlisp
myk has joined #commonlisp
attila_lendvai has joined #commonlisp
pomel0 has quit [Ping timeout: 244 seconds]
slyrus has joined #commonlisp
bpanthi977 has quit [Ping timeout: 240 seconds]
ldb has quit [Quit: ERC 5.6.2-git (IRC client for GNU Emacs 31.0.50)]
reb has quit [Remote host closed the connection]
slyrus has quit [Ping timeout: 246 seconds]
Wbooze|2 has joined #commonlisp
Wbooze|2 has quit [Max SendQ exceeded]
Wbooze has joined #commonlisp
jfloren has quit [Quit: Ping timeout (120 seconds)]
jfloren has joined #commonlisp
slyrus has joined #commonlisp
Wbooze has quit [Quit: KVIrc 5.2.8 Quasar http://www.kvirc.net/]
fgarcia has quit [Ping timeout: 264 seconds]
rendar has quit [Ping timeout: 246 seconds]
fgarcia has joined #commonlisp
humasect has joined #commonlisp
cercopith has quit [Remote host closed the connection]
cercopith has joined #commonlisp
cercopith has quit [Remote host closed the connection]
humasect has quit [Remote host closed the connection]
humasect has joined #commonlisp
ingeniot has joined #commonlisp
bpanthi977 has joined #commonlisp
humasect has quit [Ping timeout: 244 seconds]
slyrus has quit [Ping timeout: 246 seconds]
bpanthi977 has quit [Ping timeout: 252 seconds]
<drmeister> I'm less enamored by ChatGippity for writing complex Common Lisp code. I spent two weeks fixing bugs in my algebra compiler.
<drmeister> I used ChatGPT5.1-codex-max to write https://github.com/thirdlawtechnologies/mathkernel to compile equations and first and second derivatives and generate optimized C-code to evaluate them.
<ixelp> GitHub - thirdlawtechnologies/mathkernel: Common Lisp expression IR + automatic differentiation + simplifier + canonical [...]
<drmeister> I wrote it to handle equations that are piecewise and I have if/then/else blocks that calculate different equations under different conditions. That required an expression block walker and generic functions and classes to store and update environments as it walked the branches and ChatGPT did not do as well with that.
<drmeister> It made several subtle and stupid mistakes that took a while to understand and fix.
<drmeister> Don't use it to write code for compilers. It is helpful to spot mistakes. I'm running it in read-only mode from now on.
humasect has joined #commonlisp
<dlowe> I have had fairly good luck with claude code but you have to verify everything. I wrote a lisp image MCP to enable automatic testing and environment querying to enable a feedback loop.
cubic_jpg is now known as NikServe
NikServe is now known as NikoChanServv
NikoChanServv is now known as NickSer
slyrus has joined #commonlisp
<dlowe> Saying specifically to treat the code as a tree of forms rather than textual tokens improved its output immensely.
NickSer has quit [Quit: Client closed]
<dlowe> It could get in a death loop trying to count parentheses :p
cubic_jpg has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
cubic_jpg is now known as SnacksSer
<humasect> the ring must be complete
SnacksSer has quit [Quit: Client closed]
Lycurgus has joined #commonlisp
cubic_jpg has joined #commonlisp
slyrus has joined #commonlisp
pomel0 has joined #commonlisp
<drmeister> dlowe: I agree on telling it to treat the code as a tree of forms rather than textual tokens to get better parenthesis balancing.
<drmeister> Also, tell it not to use "t" as a variable.
slyrus has quit [Ping timeout: 264 seconds]
jonatack has joined #commonlisp
<drmeister> I like your "treat the code as a tree of forms rather than textual tokens" I'll add that to my AGENTS.md file.
ingeniot has quit [Quit: ingeniot]
rgherdt_ has joined #commonlisp
slyrus has joined #commonlisp
rgherdt has quit [Ping timeout: 244 seconds]
jonatack has quit [Ping timeout: 240 seconds]
rgherdt_ has quit [Read error: Connection reset by peer]
mwnaylor has quit [Ping timeout: 246 seconds]
rgherdt_ has joined #commonlisp
<yaneko> is there some idiomatic function that does (not (null ...)))? for bool checking?
<yaneko> is this (atom ..)?
mwnaylor has joined #commonlisp
<yaneko> not really
<decweb> I've found Claude to be superior to ChatGPT when it comes to all things Common Lisp. (I only have access to the free models though). Gemini may be making strides there too, jury is still out for me on that one.
<aeth> drmeister: That does seem to match other people's experiences, where it doesn't really save time because the bugs are really subtle.
<aeth> Not entirely useless, e.g. for anywhere where verification is easy (at the extreme end, theorems as part of automated theorem proving?)
mwnaylor has quit [Ping timeout: 260 seconds]
mwnaylor has joined #commonlisp
mwnaylor has quit [Ping timeout: 260 seconds]
zxcvz has joined #commonlisp
<dlowe> yaneko: usually people will just use the value for bool checking instead of (not (null ...))
mwnaylor` has joined #commonlisp
<dlowe> yaneko: You could use (defun boolify (x) (if x 't nil)) I guess if you really wanted a boolean
zxcvz has quit [Client Quit]
<humasect> typecase ah
<dlowe> I'm still not sure if I'm saving any time using it, considering how much harder it is to read code than to write it.
<dlowe> and I don't like the companies on general principle.
<humasect> suppose it could read it to you 'turn this into prose..'
<rgherdt_> yaneko: one alternative: (and ... t)
pomel0 has quit [Ping timeout: 264 seconds]
pomel0 has joined #commonlisp
cubic_jpg has quit [Quit: Client closed]
<dlowe> ok yes that's simpler
<dlowe> annoying to read though
mwnaylor` has quit [Ping timeout: 260 seconds]
Lycurgus has quit [Quit: alsoknownas.renjuan.org ( juan@acm.org )]
mwnaylor` has joined #commonlisp
slyrus has quit [Ping timeout: 256 seconds]
King_julian has quit [Read error: Connection reset by peer]
pomel0 has quit [Ping timeout: 246 seconds]
pomel0 has joined #commonlisp
triffid has quit [Remote host closed the connection]
jonatack has joined #commonlisp
triffid has joined #commonlisp
kaskal has quit [Quit: ZNC - https://znc.in]
nybble has joined #commonlisp
King_julian has joined #commonlisp
kaskal has joined #commonlisp
cage has quit [Remote host closed the connection]
jonatack has quit [Ping timeout: 252 seconds]
skin has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
stanrifkin has joined #commonlisp
slyrus has joined #commonlisp
jonatack has joined #commonlisp
robin__ is now known as robin
jonatack has quit [Read error: Connection reset by peer]
stanrifkin has quit [Quit: Leaving]
slyrus has quit [Ping timeout: 244 seconds]
slyrus has joined #commonlisp
mwnaylor` has quit [Ping timeout: 260 seconds]
pomel0 has quit [Ping timeout: 252 seconds]
pomel0 has joined #commonlisp
mwnaylor` has joined #commonlisp
humasect has quit [Remote host closed the connection]
mwnaylor` has quit [Ping timeout: 260 seconds]
mwnaylor` has joined #commonlisp
soulseeder has joined #commonlisp
cercopith has joined #commonlisp
mwnaylor` has quit [Ping timeout: 260 seconds]
mwnaylor` has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
jonatack has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 264 seconds]
rgherdt__ has joined #commonlisp
<yaneko> why it shows invalid number of arguments when Ido restart on frame?
<yaneko> after recompiling the function
Lord_of_Life_ is now known as Lord_of_Life
<yaneko> I get so often this
<yaneko> and can't understand the cause
<dlowe> It's because when you restart, it's still "in" the old function
stanrifkin has joined #commonlisp
<yaneko> I restarted on show-stats
<yaneko> it failed on the tree-ordr which is inside show-stats
X-Scale has quit [Ping timeout: 244 seconds]
rgherdt_ has quit [Ping timeout: 240 seconds]
<dlowe> the _call_ is inside show-stats, in order to get to the recompiled call, you will need to go one level up from show-stats
<yaneko> ahhh
<yaneko> but why the error is named like this
<dlowe> I suspect you made that typo more than once when you were defining the function :)
<yaneko> so it created the symbol with the function?
<yaneko> that was basically nil?
<dlowe> One of the more confusing things about interacting with a lisp is that your lisp image accumulates everything you've done, even if there's no representation in the file.
pve has quit [Quit: leaving]
slyrus has quit [Remote host closed the connection]
slyrus has joined #commonlisp
cage has joined #commonlisp
pomel0 has quit [Remote host closed the connection]
slyrus has quit [Ping timeout: 255 seconds]
mwnaylor` has quit [Ping timeout: 246 seconds]
<yaneko> https://imgur.com/z1C7ZNr I restarted one level upper and I still get this error?
<yaneko> I recompiled the -rec and restarted from the method most below in file
<yaneko> invalid argument in frame-args-as-list which is internal sbcl
slyrus has joined #commonlisp
<yaneko> maybe this is something with generic
varjagg has joined #commonlisp
kst has quit [Quit: bye]
krjst has joined #commonlisp
myk has quit [Remote host closed the connection]
slyrus has quit [Ping timeout: 244 seconds]
myk has joined #commonlisp
slyrus has joined #commonlisp
mishoo has quit [Ping timeout: 246 seconds]
slyrus has quit [Ping timeout: 264 seconds]
<soulseeder> hey all, I'm trying some basic things with threads and curious to know if `format` is thread safe (As in, can I use it to write logs from multiple threads without extra coordination?)
cage has quit [Remote host closed the connection]
<jackdaniel> format is, streams are usually not. you need to coordinate
<soulseeder> got it
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 260 seconds]
mwnaylor has joined #commonlisp
attila_lendvai has quit [Quit: Leaving]
slyrus has joined #commonlisp
attila_lendvai has joined #commonlisp
mgl_ has quit []
rgherdt__ is now known as rgherdt
jay_bird has quit [Ping timeout: 240 seconds]
triffid has quit [Quit: triffid]
pomel0 has joined #commonlisp
triffid has joined #commonlisp
stanrifkin has quit [Quit: Leaving]
jonatack has quit [Ping timeout: 240 seconds]
reb has joined #commonlisp
PommeGolden has joined #commonlisp
Everything has joined #commonlisp
<drmeister> aeth: Yup.
mwnaylor has quit [Remote host closed the connection]
mwnaylor has joined #commonlisp
nytpu has quit [Remote host closed the connection]
mange has joined #commonlisp
nytpu has joined #commonlisp
svm has joined #commonlisp
msv has quit [Ping timeout: 244 seconds]
psj has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
kchanqvq has joined #commonlisp
attila_lendvai has quit [Ping timeout: 244 seconds]
slyrus has joined #commonlisp
rgherdt has quit [Ping timeout: 244 seconds]
g-gundam has joined #commonlisp
varjagg has quit [Ping timeout: 265 seconds]