tucktuck has quit [Remote host closed the connection]
prokhor_ has quit [Remote host closed the connection]
prokhor_ has joined #commonlisp
hanemile has joined #commonlisp
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #commonlisp
edgar-rft` has joined #commonlisp
edgar-rft_ has quit [Ping timeout: 272 seconds]
v88m has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
semz has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
NotThatRPG has quit [Remote host closed the connection]
semz has joined #commonlisp
NotThatRPG has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
jonatack has quit [Ping timeout: 265 seconds]
jonatack has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
Pixel_Outlaw has joined #commonlisp
v88m has joined #commonlisp
k_hachig_ has joined #commonlisp
k_hachig_ is now known as k_hachig
v88m has quit [Read error: Connection reset by peer]
annamalai has quit [Ping timeout: 276 seconds]
v88m has joined #commonlisp
rcoper has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
lucasta has quit [Quit: Leaving]
random-nick has quit [Ping timeout: 252 seconds]
Gleefre has quit [Remote host closed the connection]
Pixel_Outlaw has quit [Quit: Leaving]
scymtym has quit [Ping timeout: 260 seconds]
scymtym has joined #commonlisp
brokkoli_originl has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 272 seconds]
brokkoli_originl is now known as brokkoli_origin
rcoper has quit [Remote host closed the connection]
Akbar-Birbal has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonatack has quit [Ping timeout: 272 seconds]
decweb has quit [Ping timeout: 252 seconds]
psilord has quit [Remote host closed the connection]
mrcom has quit [Ping timeout: 276 seconds]
v88m has joined #commonlisp
mrcom has joined #commonlisp
psilord has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
theruran has quit [Quit: Connection closed for inactivity]
k_hachig has quit [Ping timeout: 276 seconds]
k_hachig_ has joined #commonlisp
benkard has joined #commonlisp
mulk has quit [Ping timeout: 265 seconds]
benkard is now known as mulk
k_hachig_ has quit [Ping timeout: 260 seconds]
mistivia has joined #commonlisp
v88m has joined #commonlisp
mistivia has quit [Ping timeout: 252 seconds]
mistivia has joined #commonlisp
v88m has quit [Ping timeout: 244 seconds]
v88m has joined #commonlisp
wacki has joined #commonlisp
pve has joined #commonlisp
treflip has joined #commonlisp
mistivia has quit [Ping timeout: 252 seconds]
mistivia has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
mulk has quit [Ping timeout: 252 seconds]
mulk has joined #commonlisp
King_julian has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 265 seconds]
v88m has joined #commonlisp
Lord_of_Life_ is now known as Lord_of_Life
v88m has quit [Read error: Connection reset by peer]
mgl_ has joined #commonlisp
v88m has joined #commonlisp
mishoo has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
pkal has quit [Read error: Connection reset by peer]
pkal has joined #commonlisp
alcor has joined #commonlisp
rainthree has joined #commonlisp
treflip has quit [Remote host closed the connection]
k_hachig_ has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
cage has joined #commonlisp
cage has quit [Excess Flood]
treflip has joined #commonlisp
k_hachig_ has quit [Ping timeout: 265 seconds]
cage has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
alternateved has joined #commonlisp
King_julian has quit [Ping timeout: 244 seconds]
donleo has joined #commonlisp
rainthree has quit [Ping timeout: 260 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
Equill has joined #commonlisp
treflip has quit [Remote host closed the connection]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rainthree has joined #commonlisp
rainthree3 has joined #commonlisp
rainthree has quit [Ping timeout: 248 seconds]
mistivia has quit [Ping timeout: 252 seconds]
dino_tutter has quit [Quit: Leaving]
k_hachig_ has joined #commonlisp
rainthree3 has quit [Ping timeout: 252 seconds]
k_hachig_ has quit [Ping timeout: 260 seconds]
Equill has quit [Ping timeout: 252 seconds]
mountain` has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
mountainman1312 has joined #commonlisp
phadthai has quit [Ping timeout: 252 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
pok has joined #commonlisp
pok has quit [Changing host]
pok has joined #commonlisp
gilberth has quit [Ping timeout: 246 seconds]
ixelp has quit [Ping timeout: 260 seconds]
ixelp has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
donleo has quit [Ping timeout: 272 seconds]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
phadthai has joined #commonlisp
Equill has joined #commonlisp
Scario is now known as Sario
random-nick has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
X-Scale has joined #commonlisp
random-nick has quit [Quit: quit]
random-nick has joined #commonlisp
gilberth has joined #commonlisp
mgl_ has quit [Ping timeout: 252 seconds]
triffid has quit [Remote host closed the connection]
v88m has quit [Read error: Connection reset by peer]
pranav has quit [Remote host closed the connection]
v88m has joined #commonlisp
chomwitt has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.4]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
mulk has quit [Ping timeout: 252 seconds]
mulk has joined #commonlisp
v88m has joined #commonlisp
metsomedog has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
Gleefre has joined #commonlisp
theruran has joined #commonlisp
k_hachig_ has joined #commonlisp
decweb has joined #commonlisp
k_hachig_ has quit [Ping timeout: 260 seconds]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
wacki has joined #commonlisp
<jackdani1l>
am I right in reading, that allocate-instance receives initargs after adding default initargs to the list by make-instance?
<beach>
I wrote something about that. There is some inconsistency there. Hold on...
McParen has joined #commonlisp
<beach>
Hmm, can't find it now.
<jackdani1l>
I see, thanks; I'll work for now under the assumption that they are, becase it looks like it in the specification of MAKE-INSTANCE
NotThatRPG has joined #commonlisp
<beach>
You are right. The initargs received by ALLOCATE-INSTANCE are the defaulted initargs. But that's not what I was writing about...
<beach>
The AMOP says that ALLOCATE-INSTANCE checks whether the class is finalized, and if not calls FINALIZE-INHERITANCE...
v88m has joined #commonlisp
<beach>
But computing the defaulted initargs requires the class to be finalized.
<beach>
So I looked at PCL, and the class is finalized in MAKE-INSTANCE before ALLOCATE-INSTANCE is called.
<jackdani1l>
ah, that's not that much relevant in my case
<beach>
I see. Sorry.
<jackdani1l>
I'm ironing out kinks in thread-local slots
<beach>
I see.
<jackdani1l>
generally when initform is used, then we call it lazily when the slot is first read in a thread, while initarg value is the default value (if provided)
<jackdani1l>
initially I had the initarg to initialize the slot only in the calling thread, and in others the slot was unbound, but that felt wrong
v88m has quit [Read error: Connection reset by peer]
<jackdani1l>
and I was looking for a good method to specialize when processing initargs
<beach>
Are you sure it's conforming to call the initform lazily?
<jackdani1l>
it is called eagerly on the thread the instance is created (by virtue of shared-initialize setting the slot value)
v88m has joined #commonlisp
<jackdani1l>
I'm talking about first use in a new thread, and that's the whole merit of this customized metaclass
<beach>
Why would the initform (or rather the initfunction, I guess) be called more than once for a particular instance?
<jackdani1l>
since slot-definition-initform is stored asa slot-definition-initfunction, it makes sense that this function is called when we initialize the slot in a new thread; as of conformance -- there are no thread considerations in the standard
<beach>
Why would the slot have to be initialized in several threads?
<jackdani1l>
I think that the right question is "Why would the slot be initialized more than once for a particular instance", at least that's easier to elaborate on
<beach>
Yes.
<beach>
Aren't you using the global value of some special variable, which is shared between threads anyway?
<jackdani1l>
ha, no! at least not in the third post
v88m has quit [Read error: Connection reset by peer]
<jackdani1l>
which is not published yet
<beach>
I guess I'll read that once it is published.
<jackdani1l>
so, the reason why to do that is to create a thread-local context on the first use of the slot
<jackdani1l>
i.e someone starts drawing from some thread -- we want to give them a new context, so they won't cause races with other painting threads
<jackdani1l>
by i.e assigning the medium foreground
zwr has quit [Read error: Connection reset by peer]
pranav has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
<jackdani1l>
(I'm fixated on drawing hence the example, but I'm sure that thread-local slots can improve thread-safety of other applications too)
jonatack has joined #commonlisp
zwr has joined #commonlisp
<jackdani1l>
I can imagine that the global slot is unbound and that the program requires users to wrap their calls in (with-dynamic-context-of-some-sort ...) but that would be inconvenient, because you wouldn't be able to simply bind a clim stream to *standard-output* of some other application (because the state would be shared with all other threads that skip bindings)
k_hachig_ has joined #commonlisp
v88m has joined #commonlisp
k_hachig_ has quit [Ping timeout: 260 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
k_hachig_ has joined #commonlisp
k_hachig_ has quit [Ping timeout: 272 seconds]
zxcvz has joined #commonlisp
X-Scale has quit [Quit: Client closed]
zxcvz has quit [Client Quit]
v88m has quit [Ping timeout: 260 seconds]
v88m has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
tucktuck has joined #commonlisp
donleo has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
kpg has joined #commonlisp
k_hachig_ has joined #commonlisp
triffid has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
alcor has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
X-Scale has joined #commonlisp
alcor has joined #commonlisp
k_hachig_ is now known as k_hachig
mulk has quit [Ping timeout: 255 seconds]
v88m has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
mulk has joined #commonlisp
McParen has joined #commonlisp
alternateved has quit [Remote host closed the connection]
v88m has joined #commonlisp
chomwitt has quit [Ping timeout: 252 seconds]
treflip has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
jon_atack has joined #commonlisp
Equill has quit [Ping timeout: 252 seconds]
chomwitt has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
jon_atack has quit [Read error: Connection reset by peer]
dino_tutter has joined #commonlisp
jonatack has joined #commonlisp
Oladon1 has quit [Ping timeout: 245 seconds]
Akbar-Birbal has left #commonlisp [#commonlisp]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
metsomedog has quit [Ping timeout: 265 seconds]
Gleefre has quit [Remote host closed the connection]
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
lucasta has joined #commonlisp
triffid has quit [Remote host closed the connection]
Oladon has joined #commonlisp
triffid has joined #commonlisp
jack_rabbit has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
jonatack has quit [Ping timeout: 260 seconds]
jonatack has joined #commonlisp
jonatack has quit [Remote host closed the connection]
JuanDaugherty has joined #commonlisp
jonatack has joined #commonlisp
Equill has joined #commonlisp
Gleefre has joined #commonlisp
X-Scale has quit [Ping timeout: 256 seconds]
lucasta has quit [Quit: Leaving]
kpg has quit [Remote host closed the connection]
Everything has joined #commonlisp
kpg has joined #commonlisp
jonatack has quit [Remote host closed the connection]
Everything has quit [Ping timeout: 252 seconds]
Everything has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
X-Scale has joined #commonlisp
treflip has quit [Ping timeout: 265 seconds]
jonatack has joined #commonlisp
treflip has joined #commonlisp
mwnaylor` has joined #commonlisp
opinionplatform- has joined #commonlisp
mwnaylor` has left #commonlisp [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
mwnaylor has joined #commonlisp
jack_rabbit has quit [Ping timeout: 276 seconds]
Pixel_Outlaw has joined #commonlisp
jack_rabbit has joined #commonlisp
<dmho>
Hi, all! Does anyone know of a way to soft-wrap only docstrings in emacs?
kevingal has joined #commonlisp
pve has quit [Ping timeout: 265 seconds]
euandreh has joined #commonlisp
treflip has quit [Ping timeout: 245 seconds]
<jack_rabbit>
Does anyone know how one invokes a restart with arguments in slime debugger?
X-Scale has quit [Ping timeout: 256 seconds]
alcor has quit [Remote host closed the connection]
alternateved has joined #commonlisp
alternateved has quit [Remote host closed the connection]
alternateved has joined #commonlisp
wacki has quit [Ping timeout: 252 seconds]
wacki has joined #commonlisp
k_hachig has quit [Ping timeout: 260 seconds]
<jack_rabbit>
Aha, I failed to setup the restart-case properly.
k_hachig_ has joined #commonlisp
Everything has quit [Quit: leaving]
Equill has quit [Ping timeout: 252 seconds]
lucasta has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
mwnaylor has quit [Remote host closed the connection]
mwnaylor has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
k_hachig_ has quit [Quit: WeeChat 4.4.2]
ndanilov has quit [Ping timeout: 260 seconds]
khrbtxyz has quit [Ping timeout: 252 seconds]
<kagevf>
dmho: select the string then try M-q
JuanDaugherty has quit [Quit: JuanDaugherty]
<kagevf>
aka "fill paragraph" fwiw
mishoo has quit [Ping timeout: 252 seconds]
shka has quit [Quit: Konversation terminated!]
euandreh has quit [Quit: euandreh]
euandreh has joined #commonlisp
alternateved has quit [Remote host closed the connection]
alcor has joined #commonlisp
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
attila_lendvai has quit [Ping timeout: 260 seconds]
dino_tutter has quit [Ping timeout: 244 seconds]
euandreh has quit [Quit: euandreh]
alcor has quit [Remote host closed the connection]