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/>
nij- has joined #commonlisp
varjag has quit [Ping timeout: 256 seconds]
waleee has quit [Ping timeout: 240 seconds]
rgherdt has quit [Ping timeout: 255 seconds]
rgherdt has joined #commonlisp
Inline has quit [Quit: Leaving]
nij- has quit [Remote host closed the connection]
nij- has joined #commonlisp
kevingal has quit [Ping timeout: 268 seconds]
rgherdt has quit [Quit: Leaving]
akoana has joined #commonlisp
nij- has quit [Ping timeout: 255 seconds]
shka has quit [Ping timeout: 256 seconds]
Inline has joined #commonlisp
FragmentedCurve has quit [Quit: Leaving]
amb007 has quit [Ping timeout: 260 seconds]
wbooze has joined #commonlisp
tedwing has quit [Ping timeout: 255 seconds]
jonatack has joined #commonlisp
dra has quit [Ping timeout: 268 seconds]
akoana has quit [Quit: Reconnecting]
akoana has joined #commonlisp
random-nick has quit [Ping timeout: 255 seconds]
igemnace has joined #commonlisp
Lycurgus has quit [Quit: leaving]
chsasank6 has joined #commonlisp
mm007emko has quit [Remote host closed the connection]
mm007emko has joined #commonlisp
chsasank has quit [Ping timeout: 268 seconds]
chsasank has joined #commonlisp
chsasank6 has quit [Ping timeout: 268 seconds]
istewart has joined #commonlisp
chsasank0 has joined #commonlisp
chsasank has quit [Ping timeout: 264 seconds]
chsasank0 is now known as chsasank
nij- has joined #commonlisp
<nij-> _death Indeed! Thanks :D
ym has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
akoana has quit [Quit: leaving]
jladd- has quit [Ping timeout: 256 seconds]
jladd has joined #commonlisp
<jmercouris> is this stackoverflow answer really correct? https://stackoverflow.com/questions/53048416/corece-to-boolean-in-common-lisp
<ixelp> Corece to boolean in Common Lisp - Stack Overflow
<jmercouris> is there no other idiomatic way?
josrr has quit [Remote host closed the connection]
<jmercouris> why no COERCE way?
<jmercouris> also why would that be preferred over (if FORM t nil) ?
<aeth> not not just happens to be the idiomatic way, I think
<jmercouris> I've used not not before, I am just thinking about it
<jmercouris> it really got me thinking, not not doesn't really clearly signal the intent of the programmer
<jmercouris> it strikes me as more of a hack than a formal expression of intent
<_death> jmercouris: the IF form is clearer, if you really need to do that
<thuna`> What about NOT NULL?
<jmercouris> thuna`: what about it?
<jmercouris> _death: yes.
<thuna`> I feel that NOT NULL reads better than NOT NOT, but is that also too hack-y?
<aeth> I think NOT NOT reads clearer because it's clear that it's two of the same thing
<aeth> the IF form has the advantage that it's almost the same thing if you want bits 1 and 0 instead, which is probably more common than needing T and NIL
<aeth> e.g. for CFFI or for a bit array
<thuna`> I think that NOT NULL is better because it is exactly what we are asking for; "Is it true (thus not nil)?"
<thuna`> s/nil/equal to nil, thus null/
<beach> Usually, no conversion to Boolean is needed. A generalized Boolean is fine. It is another matter to avoid the use of values that are explicitly not Boolean in conditional operators.
<beach> jmercouris: Why do you feel the need to have a Boolean?
<jmercouris> just like for CFFI, I am communicating with someone else, who wants a boolean
X-Scale has joined #commonlisp
<jmercouris> in this case, I am serializing data to json, and want a boolean
<beach> Oh, FFI! Of course!
<beach> I should have known.
<jmercouris> yeah, it is an interesting problem
<beach> Not to me.
<jmercouris> well, it is to me :-D
<jmercouris> probably because i do a lot of FFI work
<beach> Yes.
morganw has quit [Read error: Connection reset by peer]
morganw has joined #commonlisp
cross has quit [Ping timeout: 256 seconds]
cross has joined #commonlisp
decweb has quit [Ping timeout: 255 seconds]
<_death> jmercouris: the json library that I use represents json's true as :true and false as :false
<aeth> I need to write a define-json-library
<aeth> so I can have the most popular library
Inline has quit [Ping timeout: 268 seconds]
wbooze has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
istewart has quit [Quit: Konversation terminated!]
occ has quit [Ping timeout: 268 seconds]
occ has joined #commonlisp
Farooq has quit [Changing host]
Farooq has joined #commonlisp
Pixel_Outlaw has quit [Remote host closed the connection]
<jmercouris> that's what we need, another json library
<beach> And another game engine that is not used to create any games.
notzmv has quit [Ping timeout: 255 seconds]
<aeth> jmercouris: no, one level more meta than that
nij- has quit [Ping timeout: 268 seconds]
notzmv has joined #commonlisp
slyrus has joined #commonlisp
mehbark has quit [Ping timeout: 272 seconds]
slyrus has quit []
slyrus has joined #commonlisp
chomwitt has joined #commonlisp
pve has joined #commonlisp
son0p has quit [Ping timeout: 240 seconds]
chomwitt has quit [Ping timeout: 240 seconds]
shka has joined #commonlisp
thuna` has quit [Ping timeout: 268 seconds]
thuna` has joined #commonlisp
kopiyka has quit [Remote host closed the connection]
amb007 has joined #commonlisp
wacki has joined #commonlisp
kopiyka has joined #commonlisp
younder has quit [Remote host closed the connection]
brokkoli_origina has quit [Ping timeout: 252 seconds]
brokkoli_origina has joined #commonlisp
thuna` has quit [Ping timeout: 268 seconds]
alcor has joined #commonlisp
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Ping timeout: 255 seconds]
thuna` has joined #commonlisp
bendersteed has joined #commonlisp
chomwitt has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
varjag has joined #commonlisp
son0p has joined #commonlisp
igemnace has joined #commonlisp
puke has joined #commonlisp
waleee has joined #commonlisp
nij- has joined #commonlisp
rgherdt has joined #commonlisp
chomwitt has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 252 seconds]
dino_tutter has joined #commonlisp
msavoritias has joined #commonlisp
younder has joined #commonlisp
cage has joined #commonlisp
younder has quit [Remote host closed the connection]
skeemer has joined #commonlisp
younder has joined #commonlisp
varjag has quit [Ping timeout: 260 seconds]
nij- has quit [Ping timeout: 272 seconds]
Inline has joined #commonlisp
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
donleo has joined #commonlisp
wbooze has joined #commonlisp
FragmentedCurve has joined #commonlisp
MajorBiscuit has joined #commonlisp
davep has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 256 seconds]
MajorBiscuit has joined #commonlisp
agm has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
josrr has joined #commonlisp
waleee has joined #commonlisp
tok has joined #commonlisp
random-nick has joined #commonlisp
tok has quit [Remote host closed the connection]
decweb has joined #commonlisp
wacki has quit [Read error: Connection reset by peer]
lucasta has joined #commonlisp
wacki has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 255 seconds]
mathrick has quit [Ping timeout: 272 seconds]
varjag has joined #commonlisp
nij- has joined #commonlisp
OlCe has quit [Remote host closed the connection]
OlCe has joined #commonlisp
smlckz_ has joined #commonlisp
smlckz_ has quit [Changing host]
smlckz_ has joined #commonlisp
wbooze has quit [Ping timeout: 252 seconds]
Inline has quit [Ping timeout: 272 seconds]
josrr has quit [Remote host closed the connection]
mathrick has joined #commonlisp
Inline has joined #commonlisp
wbooze has joined #commonlisp
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
MajorBiscuit has joined #commonlisp
jrm has quit [Quit: ciao]
jrm has joined #commonlisp
ym has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 255 seconds]
nij- has quit [Ping timeout: 272 seconds]
chomwitt has joined #commonlisp
nij- has joined #commonlisp
tedwing has joined #commonlisp
chrcav has quit [Ping timeout: 260 seconds]
chrcav has joined #commonlisp
MajorBiscuit has joined #commonlisp
puke is now known as Guest6882
Guest6882 has quit [Killed (copper.libera.chat (Nickname regained by services))]
puke has joined #commonlisp
puke has quit [Max SendQ exceeded]
puke has joined #commonlisp
chomwitt has quit [Ping timeout: 255 seconds]
mehbark has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 260 seconds]
mm007emko has quit [Ping timeout: 255 seconds]
mm007emko has joined #commonlisp
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
bendersteed has quit [Quit: bendersteed]
nij- has quit [Ping timeout: 255 seconds]
random-nick has quit [Ping timeout: 246 seconds]
nij- has joined #commonlisp
random-nick has joined #commonlisp
MajorBiscuit has joined #commonlisp
tok has joined #commonlisp
random-nick has quit [Quit: quit]
waleee has quit [Ping timeout: 246 seconds]
skeemer has quit [Quit: WeeChat 4.2.1]
igemnace has quit [Quit: WeeChat 4.2.1]
Lycurgus has joined #commonlisp
MajorBiscuit has quit [Quit: WeeChat 4.2.1]
fererrorocher has joined #commonlisp
mm007emko has quit [Read error: Connection reset by peer]
mm007emko has joined #commonlisp
zephyr has quit [Quit: The Lounge - https://thelounge.chat]
msavoritias has quit [Ping timeout: 252 seconds]
nij- has quit [Ping timeout: 268 seconds]
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zetef has joined #commonlisp
wacki has joined #commonlisp
chomwitt has joined #commonlisp
random-nick has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
Lycurgus has quit [Quit: leaving]
dra has quit [Quit: Leaving]
chomwitt has quit [Ping timeout: 268 seconds]
thanosapollo has joined #commonlisp
zetef has quit [Ping timeout: 256 seconds]
wbooze has quit [Quit: Leaving]
thanosapollo has quit [Quit: Goodbye, friend]
Inline has quit [Remote host closed the connection]
thanosapollon has joined #commonlisp
Sario has quit [Quit: WeeChat 4.1.1]
tedwing has quit [Quit: leaving]
wbooze has joined #commonlisp
Inline has joined #commonlisp
<agm> I see that many of you are not entirely satisfied with debugging tools of free CL implementations. soon I will add breakpoints and stepping to my implementation (https://savannah.nongnu.org/p/alisp), I hope you'll give it a try!
waleee has joined #commonlisp
scymtym has quit [Remote host closed the connection]
scymtym has joined #commonlisp
<beach> Oh wow! Written in C?
<beach> Good luck!
tedwing has joined #commonlisp
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
<scymtym> agm: what is the purpose of the symbol_name structure?
<scymtym> i'm asking because (error 'foo) segfaults since, it seems, builtin_error expects a symbol as the first argument but gets a symbol_name
lucasta has quit [Quit: Leaving]
attila_lendvai has joined #commonlisp
pfdietz has quit [Quit: Client closed]
<scymtym> i guess this is related to READing incomplete objects?
puchacz has joined #commonlisp
zetef has joined #commonlisp
dlowe has joined #commonlisp
manwithluck has quit [Ping timeout: 252 seconds]
pfdietz has joined #commonlisp
<agm> scymtym: you're right. the struct symbol_name is an implementation detail that is only visible in C. it allows reading objects one line at a time, a feature that i wanted even if it is not strictly needed
<agm> scymtym: i can replicate your bug, now I'm looking into it
Inline has quit [Ping timeout: 268 seconds]
wbooze has quit [Ping timeout: 268 seconds]
puchacz has quit [Quit: Client closed]
sloanr has joined #commonlisp
<scymtym> agm: i see, thanks
ldb has joined #commonlisp
wbooze has joined #commonlisp
Inline has joined #commonlisp
tok has quit [Remote host closed the connection]
<agm> scymtym: actually, the bug is simpler. can I credit you as "scymtym" for reporting it?
<scymtym> agm: sure if you want to. but you don't have to
<agm> :)
cage has quit [Quit: rcirc on GNU Emacs 29.2]
mariari has quit [Ping timeout: 272 seconds]
kevingal has joined #commonlisp
mariari has joined #commonlisp
smlckz_ has quit [Read error: Connection reset by peer]
Inline has quit [Ping timeout: 268 seconds]
wbooze has quit [Ping timeout: 260 seconds]
dlowe has quit [Ping timeout: 268 seconds]
flip214 has quit [Ping timeout: 268 seconds]
Inline has joined #commonlisp
wbooze has joined #commonlisp
Inline__ has joined #commonlisp
wbooze__ has joined #commonlisp
Inline has quit [Read error: Connection reset by peer]
Inline__ is now known as Inline
wbooze has quit [Ping timeout: 268 seconds]
wbooze__ is now known as wbooze
wbooze__ has joined #commonlisp
wbooze__ has quit [Remote host closed the connection]
wbooze__ has joined #commonlisp
Inline is now known as Guest7766
Guest7766 has quit [Killed (calcium.libera.chat (Nickname regained by services))]
wbooze__ is now known as Inline
wbooze has quit [Ping timeout: 268 seconds]
Inline__ has joined #commonlisp
Inline has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
Inline__ is now known as Inline
Inline has quit [K-Lined]
chomwitt has joined #commonlisp
ldb has quit [Ping timeout: 268 seconds]
ldb has joined #commonlisp
tedwing has quit [Ping timeout: 268 seconds]
X-Scale has quit [Quit: Client closed]
agm has left #commonlisp [ERC (IRC client for Emacs 28.0.50)]
sloanr has quit [Ping timeout: 260 seconds]
shka has quit [Ping timeout: 256 seconds]
rtypo has joined #commonlisp
tyson2 has joined #commonlisp
asarch has joined #commonlisp
ldb has quit [Ping timeout: 268 seconds]
varjag has quit [Ping timeout: 256 seconds]
josrr has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
samedi has joined #commonlisp
ldb has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
asarch has quit [Quit: Leaving]
ldb has quit [Ping timeout: 260 seconds]
Krystof has joined #commonlisp
attila_lendvai has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
ldb has joined #commonlisp
occ has quit [Ping timeout: 268 seconds]
tedwing has joined #commonlisp
ldb has quit [Ping timeout: 268 seconds]
ldb has joined #commonlisp
ldb has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
chomwitt has quit [Ping timeout: 240 seconds]
nij- has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
alcor has quit [Ping timeout: 268 seconds]
varjag has joined #commonlisp
dino_tutter has quit [Ping timeout: 255 seconds]
donleo has quit [Ping timeout: 240 seconds]
waleee has quit [Quit: WeeChat 4.1.2]
waleee has joined #commonlisp
waleee has quit [Ping timeout: 260 seconds]