phoe 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/>
pillton has joined #commonlisp
ahlk` has joined #commonlisp
lucerne0 has joined #commonlisp
lucerne has quit [Ping timeout: 250 seconds]
lucerne0 is now known as lucerne
wyrd has quit [Remote host closed the connection]
hhdave has quit [Ping timeout: 240 seconds]
ahlk has quit [Ping timeout: 250 seconds]
specbot has quit [Remote host closed the connection]
minion has quit [Remote host closed the connection]
rdrg109 has quit [Ping timeout: 240 seconds]
specbot has joined #commonlisp
tyson2` has joined #commonlisp
rdrg109 has joined #commonlisp
minion has joined #commonlisp
orestarod has quit [Ping timeout: 252 seconds]
aeth has quit [Ping timeout: 240 seconds]
wyrd has joined #commonlisp
aeth has joined #commonlisp
tyson2 has quit [Ping timeout: 272 seconds]
s-liao has quit [Quit: Client closed]
s-liao has joined #commonlisp
wyrd has quit [Remote host closed the connection]
wyrd has joined #commonlisp
specbot has quit [Remote host closed the connection]
iamFIREc1 has joined #commonlisp
Alfr has quit [Killed (strontium.libera.chat (Nickname regained by services))]
Alfr has joined #commonlisp
specbot has joined #commonlisp
minion has quit [Remote host closed the connection]
masinter_ has joined #commonlisp
lucerne has quit [Quit: Ping timeout (120 seconds)]
minion has joined #commonlisp
lucerne has joined #commonlisp
iamFIREcracker has quit [Ping timeout: 272 seconds]
masinter has quit [Ping timeout: 272 seconds]
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
tyson2` has quit [Ping timeout: 240 seconds]
tyson2` has joined #commonlisp
Oladon has quit [Quit: Leaving.]
azimut has joined #commonlisp
occ has joined #commonlisp
tyson2` has quit [Ping timeout: 240 seconds]
tyson2``` has joined #commonlisp
tyson2``` has quit [Ping timeout: 272 seconds]
s-liao69 has joined #commonlisp
s-liao69 has quit [Client Quit]
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #commonlisp
Bike has quit [Quit: Lost terminal]
morganw has quit [Remote host closed the connection]
unyu has quit [Quit: Reboot.]
tyson2 has joined #commonlisp
random-nick has quit [Quit: quit]
s-liao has quit [Quit: Client closed]
lisp123 has joined #commonlisp
unyu has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
masinter_ has quit [Ping timeout: 272 seconds]
lisp123 has quit [Read error: Connection reset by peer]
s-liao has joined #commonlisp
s-liao has quit [Client Quit]
iamFIREcracker has joined #commonlisp
iamFIREc1 has quit [Ping timeout: 256 seconds]
occ has quit [Read error: Connection reset by peer]
karlosz has joined #commonlisp
<beach> Good morning everyone!
lisp123 has joined #commonlisp
lisp123 has quit [Quit: Leaving...]
mrcom has quit [Quit: This computer has gone to sleep]
occ has joined #commonlisp
semz_ has joined #commonlisp
molson has quit [Remote host closed the connection]
semz has quit [Ping timeout: 250 seconds]
waleee has quit [Ping timeout: 272 seconds]
Guest7466 has quit [Quit: Connection closed]
molson has joined #commonlisp
semz_ is now known as semz
dmh has quit [Quit: ZNC - https://znc.in]
SR-71 has joined #commonlisp
karlosz has quit [Ping timeout: 240 seconds]
rotateq has quit [Quit: ERC (IRC client for Emacs 27.2)]
tyson2 has quit [Remote host closed the connection]
karlosz has joined #commonlisp
masinter has joined #commonlisp
karlosz has quit [Ping timeout: 272 seconds]
eugercek has joined #commonlisp
occ has quit [Ping timeout: 272 seconds]
occ has joined #commonlisp
masinter has quit [Quit: ~ Trillian - www.trillian.im ~]
occ has quit [Ping timeout: 240 seconds]
occ has joined #commonlisp
blacked has joined #commonlisp
jealousmonk has quit [Quit: ERC 5.4.1 (IRC client for GNU Emacs 27.1)]
occ has quit [Ping timeout: 256 seconds]
occ has joined #commonlisp
blacked has quit [Quit: blacked]
simendsjo has quit [Ping timeout: 240 seconds]
pjb has quit [Remote host closed the connection]
karlosz has joined #commonlisp
dre has quit [Ping timeout: 272 seconds]
attila_lendvai has quit [Ping timeout: 252 seconds]
silasfox has joined #commonlisp
wacki has joined #commonlisp
Cymew has joined #commonlisp
aartaka has joined #commonlisp
Guest74 has joined #commonlisp
ebrasca has joined #commonlisp
<mfiano> I read Keene this week with not expecting much. But, I thoroughly enjoyed it. Her writing style sat very well with me, I actually unexpectedly learned a thing or two, and solidified my reasoning why I choose to do things a certain way without ever giving much thought to it.
<mfiano> The example program ideas were somewhat poorly chosen, but it is a dated book. They did serve to illustrate the point though.
<mfiano> I rate it quite high and would recommend it as a CLOS refresher, or introductory reference.
<edgar-rft> CLOS was very young at that time, but it's a great book. I'm still using it to look-up details of basic things I have forgotten :-)
<mfiano> My two cents, take it or leave it :)
<mfiano> edgar-rft: Great, yeah I agree it is a good reference for that.
<beach> I like her writing, but I was extremely put off by the example at the time I read it the first time.
<beach> One example relies on processes (threads) which were not common at the time, and which are not part of the standard, so the example could not be tested on a standard implementation. Another example was about distributing software for different platforms, which was not my main preoccupation at the time.
<mfiano> I wasn't that put off by them, as they were not full programs and not meant to be implemented. Infact, that particular example called out to a unspecified implementation/OS dependent function for its dirty work.
<mfiano> They were simple examples to convey the topic at hand, not anything worth reproducing even if they could be.
s-liao has joined #commonlisp
<mfiano> I think the examples, while dated and not relevant today after standardization, go very well with her writing; explaining every detail, and often repeating important details multiple times. You are left with a clear picture of how the internal mechanisms of CLOS work, without needing to try anything for yourself.
<Guest74> it's been a while, but I recall it seemed to be lacking in method combinations.
<mfiano> It did not cover the long form.
<Guest74> overall it was a good read.
attila_lendvai has joined #commonlisp
rgherdt has joined #commonlisp
pve has joined #commonlisp
shka has joined #commonlisp
MajorBiscuit has joined #commonlisp
karlosz has quit [Quit: karlosz]
utis has quit [Ping timeout: 272 seconds]
dmh has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
dmh has quit [Quit: rip]
utis has joined #commonlisp
dmh has joined #commonlisp
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #commonlisp
hugo has quit [Quit: ZNC 1.8.2 - https://znc.in]
perrierjouet has quit [Client Quit]
dmh has quit [Quit: rip]
s-liao has quit [Quit: Client closed]
cosimone has joined #commonlisp
dmh has joined #commonlisp
dmh has quit [Quit: rip]
Dynom has joined #commonlisp
dmh has joined #commonlisp
karlosz has joined #commonlisp
mgl has joined #commonlisp
leo_song has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
karlosz has quit [Ping timeout: 272 seconds]
specbot has quit [Remote host closed the connection]
minion has quit [Remote host closed the connection]
minion has joined #commonlisp
specbot has joined #commonlisp
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
mrcom has joined #commonlisp
occ has quit [Ping timeout: 256 seconds]
s-liao has joined #commonlisp
s-liao has quit [Quit: Client closed]
<SR-71> Did someone ever deploy hunchentoot in a live environment?
<flip214> SR-71: not directly on the internet, only behind some proxies
<SR-71> How was your experience?
<flip214> 200-300µsec per request per CPU, so more than fast enough for any real-world use, mostly stable after some configuration of quux-hunchentoot
<flip214> "mostly" before config, afterwards all-okay
<beach> I know very little about web stuff, but an image-based solution like Hunchentoot has got to be faster than what I understand some Unix-based solutions do, i.e. fork a process for each request. No?
<moon-child> I don't think any modern unix-based implementation does that
<beach> That's good I guess.
<flip214> well, yeah, the old CGI fork-for-each-request stuff was much slower. then came FCGI which used a socket for communication to existing processes...
<moon-child> and fastcgi is already more than 20 years old, I think
<moon-child> ditto nginx (explicit eventloop vs apache prefork)
<SR-71> flip214: How much load did you have on your server?
s-liao has joined #commonlisp
pillton has quit [Quit: ERC (IRC client for Emacs 27.2)]
aartaka has quit [Remote host closed the connection]
aartaka has joined #commonlisp
s-liao has quit [Quit: Client closed]
occ has joined #commonlisp
<flip214> SR-71: in real-use, not that much. during performance- and load-testing, a few hundred reqs/sec.
perrierjouet has joined #commonlisp
<flip214> per VM (4 cores), or per core, don't remember exactly
leo_song has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
pjb has joined #commonlisp
nature has joined #commonlisp
iamFIREc1 has joined #commonlisp
iamFIREcracker has quit [Ping timeout: 240 seconds]
treflip has joined #commonlisp
random-nick has joined #commonlisp
random-nick has quit [Client Quit]
MajorBiscuit has quit [Ping timeout: 252 seconds]
aartaka has quit [Ping timeout: 256 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
aartaka has quit [Read error: Connection reset by peer]
nature has quit [Quit: Lost terminal]
nature has joined #commonlisp
nature has quit [Client Quit]
MajorBiscuit has joined #commonlisp
eugercek has quit [Ping timeout: 256 seconds]
Guest49124124 has joined #commonlisp
tyson2 has joined #commonlisp
random-nick has joined #commonlisp
<Guest49124124> Hello all, I have a tree whose leafs are containing only strings and I would like to trim every string for example using STRING-TRIM. What would be a nice way of doing it? I managed to modify subst-if to fit my needs but I'm wondering if there's a better way.
<phoe> Guest49124124: do you want to modify that tree destructively?
<phoe> is your tree a tree of conses?
<Guest49124124> Either way is fine
<Guest49124124> Yes, conses.
<Guest49124124> Ok, I'll try. Thanks phoe
s-liao has joined #commonlisp
tyson2 has quit [Ping timeout: 240 seconds]
<Guest49124124> When I run the example (walk-tree-atoms 'print '(a b (1 2 . 10) c)) only output I get is T while the lisptips page shows it has printed every atom. Have I maybe messed up some printing settings? I'm using SBCL with emacs slime
<Xach> Guest49124124: that's weird. is there anything in the *inferior-lisp* buffer?
<Guest49124124> Yea, some memory faults: CORRUPTION WARNING in SBCL pid 2027 tid 2038:
<Guest49124124> Memory fault at 0x38ea62cd (pc=0x52d2a55e [code 0x52d2a2d0+0x28E ID 0x2bac], fp=0x7f32ad1435f0, sp=0x7f32ad1435e0) tid 2038
<Guest49124124> The integrity of this image is possibly compromised.
<Guest49124124> Continuing with fingers crossed."
<phoe> goodness
<phoe> tree-walking is not supposed to do things like that
<Guest49124124> I got the same output as the web page when I ran SBCL in terminal
<Guest49124124> But those might messages might have been there before. There did not come any new texts when I ran the code again.
<gjvc> wow. never seen such messages before
<jackdaniel> my sweet summer child..
<jackdaniel> :)
VincentVega has joined #commonlisp
tyson2 has joined #commonlisp
nature has joined #commonlisp
Bike has joined #commonlisp
Guest49124124 has quit [Ping timeout: 256 seconds]
pranavats has left #commonlisp [Error from remote client]
nature has quit [Client Quit]
nature has joined #commonlisp
nature has quit [Client Quit]
nature has joined #commonlisp
pranavats has joined #commonlisp
<mgl> It's a pity that this "fingers crossed" message is alone in its lightheartedness in face of a possibly fatal error, now that "CATS. CATS ARE NICE." is no more.
skeemer has quit [Remote host closed the connection]
<jackdaniel> I usually see it in safety 0 code or from ffi calls; in other words it would be hard to expect that the implementation knows what's going on
<jackdaniel> with aver you can at least navigate to the place where the issue was signaled
skeemer has joined #commonlisp
<jackdaniel> either this or segfault and terminate the application /now/ ,)
<jackdaniel> on the other hand I hate when sbcl drops the ball and puts me in ldb when it runs out of a heap
<jackdaniel> (instead of signaling a storage condition backed by some preallocated "backup" memory)
theBlackDragon has quit [Quit: Lost terminal]
<beach> I can't see a profound reason for having a fixed-size heap.
<phoe> mgl: you can tell it to not continue
<phoe> --lose-on-corruption is an SBCL option, you know
<mgl> Yes, I've added that option :-).
frgo has joined #commonlisp
<jdz> beach: Heap is always fixed size — be it the lisp image heap, RAM size, or total storage on the machine.
<jdz> But yes, I would also love if SBCL running out of storage could be graciously recovered from.
frgo_ has quit [Ping timeout: 256 seconds]
theBlackDragon has joined #commonlisp
simendsjo has joined #commonlisp
Guest49124124 has joined #commonlisp
<jackdaniel> well, assuming that the lisp image /can/ run out of storage at some point, then if we don't have set aside some memory then either reporting/handling the condition musn't try to allocate the memory or you try to allocate a memory you don't have anymore
<jackdaniel> (and you can't invoke the restart 'INSTALL-MORE-RAM)
<phoe> ;; you gotta issue DOWNLOAD-MORE-RAM instead, there is a work in progress CDR for this
<beach> jdz: I don't consider that a "fixed" size, but a "maximum" size. But if you prefer, I can put it like this instead: I can't see any profound reason for a Lisp system to need to be told a fixed size of its heap that is smaller than the maximum size possible.
MajorBiscuit has quit [Ping timeout: 256 seconds]
MajorBiscuit has joined #commonlisp
theBlackDragon has quit [Quit: Lost terminal]
theBlackDragon has joined #commonlisp
theBlackDragon has quit [Client Quit]
theBlackDragon has joined #commonlisp
cage has joined #commonlisp
aeth has quit [Ping timeout: 240 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
aeth has joined #commonlisp
s-liao has quit [Quit: Client closed]
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
<jdz> beach: What would you suggest be a better way to control that the heap does not grow out of control?
<jdz> My position on this is that having such a limit is a feature, but instead of it being a hard limit it could be a soft limit (at least in case of SBCL).
<mfiano> I see no reason for not specifying an incredibly large heap; one that would leave your system's other processes usable if it were to fill up. On my 128G machine, I specify 120. It's not like SBCL will make this all resident.
<jackdaniel> 160GB and swapping!
<jackdaniel> 128 would be a better number nerdness-wise
<lagash> mgl: where's this "cats. cats are nice." joke/message from?
simendsjo has quit [Ping timeout: 240 seconds]
<mgl> In Terry Pratchett's Discworld series, Death says it.
<beach> Fine.
zagura is now known as ArchiwumIPN
ArchiwumIPN is now known as zagura
notzmv has quit [Ping timeout: 252 seconds]
nature has quit [Quit: Lost terminal]
nature has joined #commonlisp
rotateq has joined #commonlisp
jealousmonk has joined #commonlisp
<semz> mfiano: That wouldn't even start on systems without overcommitting (or with disabled overcommitting)
aartaka has joined #commonlisp
Guest49124124 has quit [Ping timeout: 256 seconds]
kevingal has joined #commonlisp
cage has quit [Remote host closed the connection]
cage has joined #commonlisp
notzmv has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
Xach has quit [Ping timeout: 268 seconds]
Xach has joined #commonlisp
Guest49124124 has joined #commonlisp
SR-71 has quit [Remote host closed the connection]
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
nature has quit [Quit: Lost terminal]
waleee has joined #commonlisp
<Guest74> when using intern in a macro, is sane package where the macro is defined or where it is used?
<Guest74> i guess that's a n sbcl thing, default package I mean.
Devon has quit [Ping timeout: 256 seconds]
Devon has joined #commonlisp
<White_Flame> intern is executed when the macro is invoked, which is compile-time of the usage location
<White_Flame> (assuming normal usage of intern executed in the defmacro body, not deferred in the returned list)
Devon has quit [Ping timeout: 256 seconds]
<Guest74> that's what I thought, just double checking.
mgl has quit [Quit: Client closed]
<random-nick> technically, it's during macro-expansion time
<White_Flame> yep
<Guest74> welp, there's the question in my question.
<random-nick> which isn't necessarily during compilation time if the implementation has an interpeter
<White_Flame> but I thought that was a little tautological given the question :)
attila_lendvai has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 240 seconds]
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
masinter has joined #commonlisp
masinter has quit [Client Quit]
Oladon has joined #commonlisp
Guest49124124 has quit [Ping timeout: 256 seconds]
VincentVega has quit [Quit: ERC (IRC client for Emacs 27.2)]
aartaka has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
silasfox has quit [Quit: WeeChat 3.4]
rogersm_ has quit [Quit: Leaving...]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
notzmv has quit [Ping timeout: 252 seconds]
ebrasca has quit [Remote host closed the connection]
ldb has joined #commonlisp
ldb has quit [Quit: ERC (IRC client for Emacs 27.2)]
eugercek has joined #commonlisp
Guest74 has quit [Quit: Connection closed]
molson has quit [Quit: Leaving]
Cymew has quit [Ping timeout: 272 seconds]
nature has joined #commonlisp
Guest49124124 has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
aartaka has joined #commonlisp
treflip has quit [Quit: good night]
Guest49124124 has quit [Quit: Client closed]
Oladon has quit [Quit: Leaving.]
Lord_of_Life_ has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Lycurgus has joined #commonlisp
<ecraven> is anyone using cl-adams to manage remote hosts? does it work well?
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #commonlisp
bollu has quit [Ping timeout: 260 seconds]
rogersm has joined #commonlisp
bollu has joined #commonlisp
Lycurgus has quit [Quit: Exeunt]
aeth has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
aeth has joined #commonlisp
utis has quit [Ping timeout: 256 seconds]
utis has joined #commonlisp
notzmv has joined #commonlisp
Inline has quit [Quit: Leaving]
phantomics has quit [Read error: Connection reset by peer]
szkl has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
bollu5 has joined #commonlisp
bollu has quit [Read error: Connection reset by peer]
bollu5 is now known as bollu
phantomics has joined #commonlisp
shka has quit [Ping timeout: 272 seconds]
Dynom has quit [Quit: WeeChat 3.4]
gendl has quit [Read error: Connection reset by peer]
gendl has joined #commonlisp
alanz has quit [Ping timeout: 252 seconds]
griffinmb has quit [Read error: Connection reset by peer]
ullbeking_ has quit [Ping timeout: 240 seconds]
hubvu_ has quit [Ping timeout: 240 seconds]
griffinmb has joined #commonlisp
alanz has joined #commonlisp
neominimum has quit [Ping timeout: 240 seconds]
szkl has quit [Ping timeout: 240 seconds]
neominimum has joined #commonlisp
hubvu_ has joined #commonlisp
szkl has joined #commonlisp
ullbeking_ has joined #commonlisp
alvaro121_ has joined #commonlisp
alvaro121 has quit [Ping timeout: 272 seconds]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
sndr has joined #commonlisp
sander has quit [Ping timeout: 252 seconds]
sndr is now known as sander
cage has quit [Ping timeout: 240 seconds]
Guest74 has joined #commonlisp
attila_lendvai has quit [Ping timeout: 240 seconds]
rotateq has quit [Quit: ERC (IRC client for Emacs 27.2)]
hashfunc1316 has joined #commonlisp
alvaro121_ has quit [Ping timeout: 256 seconds]
hashfunc1316 has quit [Remote host closed the connection]
hashfunc107 has joined #commonlisp
alvaro121 has joined #commonlisp
cage has joined #commonlisp
pve has quit [Quit: leaving]
waleee has quit [Ping timeout: 256 seconds]
<dieggsy> has atdoc not been updated for quite a while? are there more modern alternatives?
alvaro121 has quit [Ping timeout: 240 seconds]
wacki has quit [Quit: Leaving.]
morganw has joined #commonlisp
<phoe> staple, mgl-pax
alvaro121 has joined #commonlisp
<edgar-rft> you only need to worry when the last update was *before* 1994 :-)
<dieggsy> lol
Inline has joined #commonlisp
alvaro121 has quit [Ping timeout: 240 seconds]
alvaro121 has joined #commonlisp
aartaka has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 27.1]
dre has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
cosimone has quit [Quit: stay out of trouble you crazy kids, and don't hop on the NICE BOAT]
aartaka has joined #commonlisp
waleee has joined #commonlisp
hashfunc107 has quit [Ping timeout: 256 seconds]
alvaro121_ has joined #commonlisp
alvaro121 has quit [Ping timeout: 256 seconds]
<Guest74> anybody have any examples of using sbcl's with-alien with a c-string?
Devon has joined #commonlisp
occ has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 240 seconds]
alvaro121_ has quit [Ping timeout: 272 seconds]
alvaro121 has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
aartaka has quit [Ping timeout: 272 seconds]
kevingal has quit [Read error: Connection reset by peer]
alvaro121_ has joined #commonlisp
alvaro121 has quit [Ping timeout: 240 seconds]
waleee has joined #commonlisp
morganw has quit [Remote host closed the connection]
s-liao has joined #commonlisp
tyson2 has quit [Remote host closed the connection]