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/>
euandreh has quit [Quit: euandreh]
anticomputer has quit [Quit: quit]
anticomputer has joined #commonlisp
akoana has joined #commonlisp
anticomputer has quit [Quit: quit]
anticomputer has joined #commonlisp
kevingal has joined #commonlisp
karlosz has quit [Quit: karlosz]
anticomputer has quit [Ping timeout: 255 seconds]
inline__ has joined #commonlisp
anticomputer has joined #commonlisp
Inline has quit [Ping timeout: 248 seconds]
bilegeek_ has joined #commonlisp
bilegeek has quit [Ping timeout: 255 seconds]
random-nick has quit [Ping timeout: 248 seconds]
occ has joined #commonlisp
cdegroot has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
samedi has quit [Remote host closed the connection]
samedi has joined #commonlisp
cdegroot has joined #commonlisp
inline__ has quit [Ping timeout: 268 seconds]
cdegroot has quit [Read error: Connection reset by peer]
cdegroot has joined #commonlisp
anticomputer_ has joined #commonlisp
anticomputer has quit [Ping timeout: 255 seconds]
ldb has joined #commonlisp
bilegeek_ has quit [Remote host closed the connection]
azimut_ has quit [Quit: ZNC - https://znc.in]
bilegeek_ has joined #commonlisp
azimut has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 255 seconds]
Lord_of_Life_ is now known as Lord_of_Life
ldb has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.1)]
Lycurgus has joined #commonlisp
KvL has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
KvL has joined #commonlisp
robin has quit [Remote host closed the connection]
elderK has joined #commonlisp
dcb has quit [Ping timeout: 252 seconds]
dcb has joined #commonlisp
akoana has quit [Quit: leaving]
occ has quit [Ping timeout: 268 seconds]
Josh_2 has joined #commonlisp
masinter has joined #commonlisp
<masinter> #join lispcafe
samedi has quit [Quit: Leaving]
chrcav has quit [Quit: Lost terminal]
kevingal has quit [Ping timeout: 255 seconds]
<qhong> pjb: (shadow 'foo) => B:foo shadowed imported to A
<qhong> pjb: but I've figured out the hack already. thanks anyway
occ has joined #commonlisp
waleee has quit [Ping timeout: 248 seconds]
neon has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
Josh_2 has joined #commonlisp
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
rogersm has quit [Ping timeout: 248 seconds]
rogersm has joined #commonlisp
pillton has joined #commonlisp
JoshYoshi has joined #commonlisp
Josh_2 has quit [Ping timeout: 268 seconds]
bilegeek_ has quit [Quit: Leaving]
JoshYoshi has quit [Remote host closed the connection]
shka has joined #commonlisp
kenran has joined #commonlisp
occ has quit [Ping timeout: 255 seconds]
occ has joined #commonlisp
<pjb> qhong: oh, right.
igemnace has joined #commonlisp
dcb has quit [Quit: MSN Messenger 3.8]
rgherdt has joined #commonlisp
masinter has quit [Ping timeout: 252 seconds]
AmyMalik has quit [Quit: Bye Open Projects!]
Ellenor has joined #commonlisp
Ellenor is now known as AmyMalik
random-jellyfish has joined #commonlisp
neon has quit [Remote host closed the connection]
Guest63 has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
scymtym has quit [Ping timeout: 248 seconds]
azimut has quit [Quit: ZNC - https://znc.in]
azimut has joined #commonlisp
dcb has joined #commonlisp
dcb has quit [Client Quit]
pve has joined #commonlisp
glaucon has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
rogersm has quit [Quit: Leaving...]
Cymew has joined #commonlisp
Guest63 has quit [Ping timeout: 260 seconds]
occ has quit [Ping timeout: 255 seconds]
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
Guest63 has joined #commonlisp
X-Scale has joined #commonlisp
Guest2934 has joined #commonlisp
anticomputer_ has quit [Ping timeout: 255 seconds]
anticomputer has joined #commonlisp
Guest2934 has quit [Quit: Client closed]
admich has joined #commonlisp
neon has joined #commonlisp
jeosol has quit [Ping timeout: 260 seconds]
pillton has quit [Remote host closed the connection]
neon_ has joined #commonlisp
Inline has joined #commonlisp
random-nick has joined #commonlisp
Guest63 has quit [Quit: Client closed]
X-Scale has quit [Quit: Client closed]
Guest63 has joined #commonlisp
random-jellyfish has quit [Quit: Client closed]
neon_ has quit [Remote host closed the connection]
neon has quit [Remote host closed the connection]
pranavats has left #commonlisp [Disconnected: Hibernating too long]
MajorBiscuit has joined #commonlisp
Cymew has quit [Ping timeout: 256 seconds]
X-Scale has joined #commonlisp
pjb has quit [Ping timeout: 252 seconds]
Guest63 has quit [Quit: Client closed]
X-Scale has quit [Ping timeout: 260 seconds]
puchacz has joined #commonlisp
pjb has joined #commonlisp
mariari has quit [Ping timeout: 255 seconds]
szkl has joined #commonlisp
X-Scale has joined #commonlisp
scymtym has joined #commonlisp
mariari has joined #commonlisp
glaucon has quit [Quit: Leaving.]
cdegroot has quit [Ping timeout: 248 seconds]
glaucon has joined #commonlisp
X-Scale has quit [Quit: Client closed]
pranavats has joined #commonlisp
random-nick has quit [Ping timeout: 256 seconds]
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
samedi has joined #commonlisp
chrcav has joined #commonlisp
dlowe has joined #commonlisp
jeosol has joined #commonlisp
kenran has quit [Remote host closed the connection]
puchacz has quit [Quit: Client closed]
puchacz has joined #commonlisp
cdegroot has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
masinter has joined #commonlisp
Cymew has joined #commonlisp
frgo has joined #commonlisp
cdegroot has quit [Ping timeout: 248 seconds]
scymtym_ has joined #commonlisp
scymtym has quit [Ping timeout: 248 seconds]
kevingal has joined #commonlisp
tyson2 has joined #commonlisp
son0p has quit [Ping timeout: 268 seconds]
szkl has quit [Quit: Connection closed for inactivity]
scymtym_ is now known as scymtym
waleee has joined #commonlisp
Lycurgus has joined #commonlisp
gxt__ has quit [Ping timeout: 255 seconds]
waleee has quit [Ping timeout: 255 seconds]
gxt__ has joined #commonlisp
chrcav has quit [Quit: leaving]
chrcav has joined #commonlisp
Inline has quit [Quit: Leaving]
Prokhor_ has quit [Remote host closed the connection]
vn36 has joined #commonlisp
Inline has joined #commonlisp
* ober notes so many new CL books since 2016 cookbook.
<ober> CLR rather
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
admich` has joined #commonlisp
admich has quit [Ping timeout: 255 seconds]
MajorBiscuit has quit [Ping timeout: 248 seconds]
cdegroot has joined #commonlisp
Cymew has quit [Ping timeout: 255 seconds]
vn36 has quit [Ping timeout: 264 seconds]
karlosz has joined #commonlisp
kevingal has quit [Ping timeout: 252 seconds]
euandreh has joined #commonlisp
jeosol has quit [Quit: Client closed]
puchacz has quit [Quit: Client closed]
luna-is-here has quit [Quit: luna-is-here]
remexre has quit [Ping timeout: 252 seconds]
luna-is-here has joined #commonlisp
igemnace has quit [Ping timeout: 252 seconds]
tyson2 has quit [Remote host closed the connection]
luna-is-here has quit [Quit: luna-is-here]
amoroso has joined #commonlisp
puchacz has joined #commonlisp
luna-is-here has joined #commonlisp
prokhor has joined #commonlisp
kevingal has joined #commonlisp
tyson2 has joined #commonlisp
puchacz has quit [Quit: Client closed]
puchacz has joined #commonlisp
azimut has joined #commonlisp
remexre has joined #commonlisp
karlosz has quit [Quit: karlosz]
qhong_ has joined #commonlisp
X-Scale has joined #commonlisp
qhong has quit [Ping timeout: 264 seconds]
igemnace has joined #commonlisp
OlCe` has quit []
OlCe has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
gxt__ has quit [Read error: Connection reset by peer]
anticomputer has quit [Read error: Connection reset by peer]
anticomputer has joined #commonlisp
gxt__ has joined #commonlisp
robin has joined #commonlisp
amoroso has quit [Quit: Client closed]
amoroso has joined #commonlisp
minion has quit [Remote host closed the connection]
rgherdt_ has joined #commonlisp
minion has joined #commonlisp
jfloren has joined #commonlisp
terrorjack8 has joined #commonlisp
sirufer_ has joined #commonlisp
specbot has quit [Killed (NickServ (GHOST command used by specbot1))]
specbot has joined #commonlisp
Noisytoot has quit [Killed (copper.libera.chat (Nickname regained by services))]
Noisytoot has joined #commonlisp
gxt__ has quit [Ping timeout: 255 seconds]
lonjil2 has joined #commonlisp
luna-is-here_ has joined #commonlisp
mal1 has joined #commonlisp
mathrick_ has joined #commonlisp
Jach has quit [Ping timeout: 248 seconds]
BrownJenkin has quit [Ping timeout: 248 seconds]
luna-is-here has quit [Ping timeout: 248 seconds]
terrorjack has quit [Ping timeout: 248 seconds]
lonjil has quit [Ping timeout: 248 seconds]
lieven has quit [Ping timeout: 248 seconds]
floren has quit [Ping timeout: 248 seconds]
Equill has quit [Ping timeout: 248 seconds]
sirufer has quit [Ping timeout: 248 seconds]
rgherdt has quit [Ping timeout: 248 seconds]
mathrick has quit [Ping timeout: 248 seconds]
sirufer_ is now known as sirufer
terrorjack8 is now known as terrorjack
Equill has joined #commonlisp
gxt__ has joined #commonlisp
qhong_ is now known as qhong
admich` has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
Jach has joined #commonlisp
BrownJenkin has joined #commonlisp
igemnace has quit [Ping timeout: 260 seconds]
tyson2 has joined #commonlisp
Jach has quit [Ping timeout: 248 seconds]
waleee has joined #commonlisp
X-Scale has quit [Quit: Client closed]
son0p has joined #commonlisp
neon has joined #commonlisp
Jach has joined #commonlisp
glaucon has quit [Read error: Connection reset by peer]
attila_lendvai has quit [Ping timeout: 255 seconds]
neon has quit [Ping timeout: 248 seconds]
samedi has quit [Remote host closed the connection]
samedi has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
<NotThatRPG> Am I right in thinking that symbols that are not interned anywhere should be garbage collectible?
elderK has quit [Quit: Connection closed for inactivity]
<Alfr> NotThatRPG, no: (loop :collecting (gensym))
<NotThatRPG> Alfr: But if you don't catch the return value from that loop, shouldn't those symbols be garbage-collected?
<NotThatRPG> They won't be reachable in any way
<Alfr> NotThatRPG, that only matters if the loop terminates, but in the mean time it's accumulating all those into a list.
<NotThatRPG> Sure, but what I was asking was: can uninterned symbols ever be GCed. I *think* the answer is yes, and I also think that INTERNED symbols can never be GCed.
<Alfr> NotThatRPG, though I'd expect, that those generated by (loop (gensym)) should be cleaned up for you.
<NotThatRPG> Put differently: are uninterned symbols like other CL data structures, garbage collectable when there are no pointers to them, or are they like interned symbols which are always reachable (barring deleting packages or other drastic surgery)
<Alfr> NotThatRPG, you can UNINTERN them ... so, never while they are interned, sure.
<NotThatRPG> I was wondering if there was something about *UN* interned symbols that could keep them from being garbage collected? (I mean something special that isn't true of other CL data)
tyson2 has joined #commonlisp
<Bike> uninterned symbols can be GC'd.
<NotThatRPG> I was looking at the output of ROOM for a program that does symbolic computing, and it had a lot of symbols listed, which surprised me
<Bike> assuming the implementation is competent, of course. but there's nothing preventing it.
<Bike> if you do make-symbol/gensym/etc and then drop the result, there's no way to recover it later. it's unreachable.
<NotThatRPG> "3,146,059,248 bytes for 65,542,901 symbol objects"
<Alfr> NotThatRPG, maybe some function still refers to them or by one's debug info? Likely implementation dependent.
<NotThatRPG> in dynamic space
<Bike> You're sure they're uninterned?
<Alfr> NotThatRPG, that certainly are a lot.
aartaka has joined #commonlisp
<Bike> they of course can't be GC'd if they're reachable in some other way, like any data as you said
<NotThatRPG> Alfr: New symbols are created in the process of unification. Before unifying two expressions, one is "standardized" -- all its variables are given unique names. That makes a lot of symbols in general, but they should be ephemeral
mal1 is now known as lieven
<NotThatRPG> After a full GC on SBCL, there are still a lot of symbols, which I had not expected: 3,083,444,784 bytes for 64,238,433 symbol objects
<NotThatRPG> Using DO-ALL-SYMBOLS, I see only c. 41,500 interned symbols. So that does seem like a lot there.
<Alfr> NotThatRPG, maybe the variables * ** *** are keeping things alive?
<Bike> NotThatRPG: it might be worthwhile to track the lifetimes of these symbols using weak pointers. on sbcl, you can use sb-ext:search-roots to get an idea of what's keeping an object alive (if anything)
attila_lendvai has joined #commonlisp
<NotThatRPG> Alfr: I don't think that's likely because these symbols are used pretty deep in the call tree.
<NotThatRPG> Bike: So stash some weak pointers to these objects when my VARIABLE-GENSYM function makes them and then use search-roots to find out why they aren't getting gc'ed?
<Bike> that's what i'm imagining, yeah.
<NotThatRPG> That's a great idea, thanks!
<Bike> i haven't actually used this facility so i can't help much with it - but i figured it might help to know it exists
puchacz has quit [Quit: Client closed]
random-nick has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
shka has joined #commonlisp
amoroso has quit [Quit: Client closed]
<ober> Shinmera: how did you avoid libposix/libosicat and other external linkages?
<Shinmera> I just hard code the constants for the os combinations I care about.
Inline has quit [Remote host closed the connection]
Inline has joined #commonlisp
<ober> nice. thanks.
aartaka has quit [Ping timeout: 255 seconds]
<NotThatRPG> Bike: Indeed it is. I am just getting a lisp image into the right state to try this out.
shka has quit [Ping timeout: 255 seconds]
morganw has joined #commonlisp
dlowe has quit [Ping timeout: 268 seconds]
anticomputer has quit [Quit: quit]
anticomputer has joined #commonlisp
tyson2` has joined #commonlisp
<masinter> there is no need to use symbols if it doesn't work well with the GC. Use hash tables
morganw` has joined #commonlisp
attila_lendvai_ has joined #commonlisp
tyson2` has quit [Remote host closed the connection]
attila_lendvai_ has quit [Ping timeout: 248 seconds]
morganw has quit [*.net *.split]
attila_lendvai has quit [*.net *.split]
tyson2 has quit [*.net *.split]
son0p has quit [*.net *.split]
rgherdt_ has quit [Remote host closed the connection]
anticomputer has quit [Remote host closed the connection]
<NotThatRPG> masinter: ?
anticomputer has joined #commonlisp
attila_lendvai has joined #commonlisp
<NotThatRPG> masinter: was that for me? The symbols are used in symbolic programming (sort of like theorem-proving). In this case, symbols are used as variables in s-expressions for logical formulas. So I'm not sure what you mean by "use hash tables". (I will possibly replace the symbols with variable structures that have a slot for a name)
attila_lendvai has quit [Ping timeout: 252 seconds]
morganw` has quit [Remote host closed the connection]
karlosz has joined #commonlisp
random-nick has quit [Ping timeout: 255 seconds]
Posterdati has quit [Ping timeout: 260 seconds]
kevingal has quit [Ping timeout: 246 seconds]
karlosz has quit [Quit: karlosz]
phileasfogg has quit [Quit: "It's the only way, then they can all forget me. I got too big, Dorium, too noisy. Time to step back into the shadows."]
phileasfogg has joined #commonlisp
lxi has joined #commonlisp
inline__ has joined #commonlisp
Inline has quit [Ping timeout: 248 seconds]
<NotThatRPG> Bike: Thanks for the suggestion -- I checked and I have almost 66 million uninterned symbols that are not getting GCed!