<beach>
felipebubu: Maybe some people do. Do you have a question for them?
<felipebubu>
just wondered if that's a lem problem or a code problem or anything else, but for some reason C-c C-k is not compiling every clos method, but C-c C-c is compiling the clos method alone
<felipebubu>
like, the method only compiles if I compile it alone by C-c C-c
rgherdt has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
NicknameJohn has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
semarie has quit [Ping timeout: 240 seconds]
ec has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
semarie has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
johnjaye has quit [Ping timeout: 250 seconds]
johnjaye has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
felipebubu has quit [Quit: WeeChat 3.8]
ec has quit [Ping timeout: 240 seconds]
Guest21 has joined #commonlisp
ec has joined #commonlisp
danieli has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
shka has joined #commonlisp
danieli has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
ec has joined #commonlisp
<semz>
Do declarations also apply to the bodies of inlined functions?
<semz>
Hm, actually this might be an implementation-specific question. For the distinction between safe and unsafe code this is irrelevant since the calling code must also be safe to get safe code, and for the special/type declarations it doesn't make a difference
ec has quit [Ping timeout: 240 seconds]
ronald has quit [Ping timeout: 265 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
msavoritias has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
ronald has joined #commonlisp
chrcav has quit [Ping timeout: 248 seconds]
chrcav has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
Guest21 has quit [Quit: Connection closed]
Oladon has quit [Quit: Leaving.]
ec_ has quit [Ping timeout: 240 seconds]
<beach>
semz: What does it mean for a declaration to "apply to the bodies of inlined functions"? An inlined function must still follow the semantics consisting of binding the values of forms to its parameters. Inlining it must not change that.
<semz>
I'm mostly concerned with safety declarations, but these aren't really portable to begin with outside of the safe/unsafe distinction
<beach>
semz: Put differently, inlining is not done by including source code into the inlining function.
<beach>
I see.
<semz>
e.g. if foo uses default safety and is inlined into bar, which uses low safety, would the inlined foo be treated as compiled under low safety?
<semz>
so far it seems like this question is ill-defined as far as standard CL is concerned though
<beach>
Good question. I don't know.
mrcom has joined #commonlisp
<Krystof>
I don't think the standard is explicit on this
ec_ has joined #commonlisp
<Krystof>
I can imagine two implementations of inline: one which substitutes the source code (where you would naturally get low safety in your example) and one which substitutes the compiled code (default safety)
<Krystof>
if you know you want the first interpretation you can use a compiler macro instead, assuming your implementation does anything with compiler macros
<Krystof>
if you want the second one, your best chnace is probably something like (declaim (inline foo)) (defun foo (x) (locally (declare default-safety) ...))
LW has joined #commonlisp
LW has quit [Client Quit]
NicknameJohn has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
zxrom has quit [Quit: Leaving]
ec_ has joined #commonlisp
LW has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
tasty_ has quit [Ping timeout: 240 seconds]
<ogamita>
I had the impression that in general, we want more of a source-code inlining, eg. to allow early type optimizations.
<beach>
Inlining source code would not be sound semantically.
habamax has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
<beach>
You would get capture of free function references.
ec_ has quit [Ping timeout: 240 seconds]
<Krystof>
clearly my imagination was incomplete :)
ec_ has joined #commonlisp
rainthree has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
mgl has joined #commonlisp
dnhester26 has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
puke has joined #commonlisp
jon_atack has quit [Ping timeout: 256 seconds]
ec_ has joined #commonlisp
dnhester_ has joined #commonlisp
attila_lendvai has joined #commonlisp
dnhester26 has quit [Ping timeout: 265 seconds]
pranavats has joined #commonlisp
gin has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 265 seconds]
habamax has joined #commonlisp
Lord_of_Life has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
buffet has quit [Quit: WeeChat 3.7.1]
pve has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
buffet has joined #commonlisp
ec_ has joined #commonlisp
scymtym_ has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
scymtym has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
alcor has joined #commonlisp
Brucio-61 has quit [Ping timeout: 260 seconds]
LW has quit [Quit: WeeChat 3.8]
pranavats has left #commonlisp [Disconnected: Hibernating too long]
Brucio-61 has joined #commonlisp
mgl has quit [Quit: Client closed]
gin has quit [Quit: Client closed]
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
scymtym has joined #commonlisp
mgl has joined #commonlisp
scymtym has quit [Remote host closed the connection]
scymtym has joined #commonlisp
mgl has quit [Client Quit]
ec_ has joined #commonlisp
seok has quit [Quit: Client closed]
seok has joined #commonlisp
ronald has quit [Ping timeout: 256 seconds]
dnhester_ has quit []
dnhester26 has joined #commonlisp
dnhester26 has quit [Client Quit]
mgl has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ronald has joined #commonlisp
ec_ has joined #commonlisp
Demosthe1ex is now known as Demosthenex
mgl has quit [Quit: Client closed]
ec_ has quit [Ping timeout: 240 seconds]
mgl has joined #commonlisp
ec_ has joined #commonlisp
seok has quit [Quit: Client closed]
seok has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
jello_pudding has quit [Ping timeout: 240 seconds]
pranavats has joined #commonlisp
random-nick has joined #commonlisp
msavoritias has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 240 seconds]
jello_pudding has joined #commonlisp
ec_ has joined #commonlisp
abrantesasf has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
rgherdt has quit [Ping timeout: 240 seconds]
ec_ has quit [Ping timeout: 240 seconds]
rgherdt has joined #commonlisp
ec_ has joined #commonlisp
jon_atack has joined #commonlisp
jon_atack has quit [Ping timeout: 240 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
jon_atack has joined #commonlisp
tyson2 has joined #commonlisp
robin has quit [Remote host closed the connection]
ec_ has joined #commonlisp
robin has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
scymtym_ has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
scymtym has quit [Ping timeout: 265 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
ec_ has quit [Ping timeout: 240 seconds]
gxt__ has quit [Remote host closed the connection]
gxt__ has joined #commonlisp
Brucio-61 has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
waleee has joined #commonlisp
jello_pudding has quit [Ping timeout: 265 seconds]
rainthree has quit [Ping timeout: 265 seconds]
robin has quit [Read error: Connection reset by peer]
ec_ has joined #commonlisp
cmack has quit [Remote host closed the connection]
jello_pudding has joined #commonlisp
zxrom has joined #commonlisp
habamax has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
kevingal has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
rainthree has joined #commonlisp
robin has joined #commonlisp
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
Fare has joined #commonlisp
szkl has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
dnhester has joined #commonlisp
msavoritias has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
Lycurgus has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
<jackdaniel>
uh oh, ccl bug
<jackdaniel>
? truncate can't into 59/8 447/16
<jackdaniel>
The value #<BOGUS object @ #x7FE41C462B0D> is not of the expected type RATIO.
abrantesasf has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
<jackdaniel>
(the message "truncate can't into ..." is my own showing values I pass to truncate somewhere deep inside a a program, the message below is the actual condition)
<edgar-rft>
is #<BOGUS object ...> of type BOGUS ?
<jackdaniel>
beats me, according to my handler arguments passed to truncate are both ratios (59/8 and 447/16)
<hayley>
Smells like the ratios were on the stack?
<hayley>
Heap addresses in Lisp tend to be smaller (in SBCL and CCL, I think).
<jackdaniel>
well, I'm printing them in the same dynamic extent as the function truncate is called
<jackdaniel>
so that should not be much of a problem
<jackdaniel>
but it might be that ccl mishandles the stack
ec_ has joined #commonlisp
<jackdaniel>
(in this particular program) -- sbcl does not have this issue
<jackdaniel>
(neither ecl)
rainthree has quit [Read error: Connection reset by peer]
rainthree has joined #commonlisp
pranavats has joined #commonlisp
NotThatRPG has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
<NotThatRPG>
Anyone out there ever used `cl-async`?
ec_ has quit [Ping timeout: 240 seconds]
<jackdaniel>
I think that you'd be better off asking the question (instead of probing first whether there is someone who'd potentially might answer)
euandreh has quit [Quit: euandreh]
euandreh has joined #commonlisp
ec_ has joined #commonlisp
<NotThatRPG>
I'm having trouble trying to run the `cl-async` event loop in a thread (started by `bordeaux-threads:make-thread`): according to the cl-async docs, this should be fine. But socket connections that succeed when run in the main thread fail when run in a subsidiary thread.
<aeth>
implementation and OS?
<NotThatRPG>
aeth: SBCL, MacOS.
<fe[nl]ix>
sounds like a special variable is not inherited into the new thread
<NotThatRPG>
aeth: Interestingly, one of the cl-async tests -- checking a failed socket connection -- fails with a timeout error when run in the subsidiary thread (instead of a socket closed error). I see a timeout error in my threaded version, too.
<NotThatRPG>
fe[nl]ix: that's a good point. I will see if some of this code (which is riddled with global variables) could be relying on something that is not inherited. I believe that all I have to worry about is dynamic bindings, not top-level/global bindings, right?
ec_ has quit [Ping timeout: 240 seconds]
<NotThatRPG>
Unfortunately, the logging in cl-async is not at all adequate to debugging purposes.
<fe[nl]ix>
yes, dynamic bindings are not inherited
<varjag>
wanna do async right, do it yourself ;)
ec_ has joined #commonlisp
<NotThatRPG>
varjag: Honestly, I don't want to do event loops! It's just that cl-mqtt does, and some people I'm working with want to use MOSQUITTO.
<NotThatRPG>
Oh, yeah -- I don't want to use MOSQUITTO, either!
<NotThatRPG>
This code is a big pile of Don't Want! ;-)
Gleefre has joined #commonlisp
<NotThatRPG>
Specifically, it's a call to `mqtt-connect` that is failing, AFAICT.
<NotThatRPG>
Looks like if a socket connection fails with EOF, CL-MQTT doesn't properly notice, and instead just coughs up timeout errors trying to write to the EOFed socket.
<NotThatRPG>
An example of why I am not loving CL-ASYNC is that its error-handling is deeply cryptic.
<_death>
I would consider rewriting the client bits to use ordinary blocking code, maybe salvaging some of the encoding/protocol bits
<varjag>
when i was looking into this stuff i just wrote a bespoke implementation
zxrom has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
<varjag>
most of libraries over usocket and bt are a tad beyond my comfort level for prod
zxrom has joined #commonlisp
<NotThatRPG>
Yes, I think my team-mates have invested too much faith in these libraries.
ec_ has joined #commonlisp
Guest86 has joined #commonlisp
Guest86 has quit [Client Quit]
kevingal has quit [Ping timeout: 265 seconds]
msavoritias has quit [Ping timeout: 240 seconds]
msavoritias has joined #commonlisp
<NotThatRPG>
I don't think the error handling in the mqtt client is sufficient.
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
Fare has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 240 seconds]
bitmapper has joined #commonlisp
ec_ has joined #commonlisp
dtman34 has quit [Ping timeout: 250 seconds]
dtman34 has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
dnhester has quit [Ping timeout: 245 seconds]
rainthree has quit [Ping timeout: 250 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
seok9 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
seok has quit [Ping timeout: 245 seconds]
mgl has quit [Quit: Client closed]
ec_ has quit [Ping timeout: 240 seconds]
cage has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
ec_ has joined #commonlisp
kevingal has joined #commonlisp
rgherdt has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
alcor has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
alcor has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
rgherdt has quit [Ping timeout: 265 seconds]
pranavats has joined #commonlisp
ec_ has joined #commonlisp
tyson2 has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 240 seconds]
Inline has joined #commonlisp
Fare has joined #commonlisp
ec_ has joined #commonlisp
rgherdt has joined #commonlisp
robin has quit [Quit: Leaving]
karlosz has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
Oladon has joined #commonlisp
ec_ has joined #commonlisp
robin has joined #commonlisp
Fare has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 240 seconds]
cdegroot has joined #commonlisp
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #commonlisp
ec_ has joined #commonlisp
Inline has quit [Remote host closed the connection]
Inline has joined #commonlisp
NicknameJohn has quit [Ping timeout: 265 seconds]
ec_ has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #commonlisp
Fare has joined #commonlisp
ec_ has joined #commonlisp
johnjaye has quit [Read error: Connection reset by peer]
wheeler- has quit [Ping timeout: 250 seconds]
johnjaye has joined #commonlisp
les has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 240 seconds]
les has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
ec_ has joined #commonlisp
morganw has joined #commonlisp
mantlepro has joined #commonlisp
anticomputer has quit [Ping timeout: 240 seconds]
anticomputer has joined #commonlisp
Inline has quit [Remote host closed the connection]
Inline has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
scymtym_ is now known as scymtym
bjorkint0sh has joined #commonlisp
bjorkintosh has quit [Ping timeout: 248 seconds]
ec_ has quit [Ping timeout: 240 seconds]
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
Inline has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
bjork1intosh has joined #commonlisp
bjorkint0sh has quit [Ping timeout: 256 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
amb007 has quit [Ping timeout: 250 seconds]
amb007 has joined #commonlisp
NicknameJohn has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
kevingal has quit [Ping timeout: 240 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
rgherdt has quit [Read error: No route to host]
rgherdt has joined #commonlisp
mariari has quit [Ping timeout: 250 seconds]
ec_ has joined #commonlisp
Fare has quit [Ping timeout: 265 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
puchacz has joined #commonlisp
morganw has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
johnjaye has quit [Ping timeout: 240 seconds]
mariari has joined #commonlisp
johnjaye has joined #commonlisp
Brucio-61 has quit [Ping timeout: 260 seconds]
ec_ has joined #commonlisp
scymtym has quit [Ping timeout: 265 seconds]
Fare has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
attila_lendvai_ is now known as attila_lendvai
dirtcastle has quit [Ping timeout: 265 seconds]
deadmarshal_ has quit [Ping timeout: 265 seconds]
attila_lendvai has quit [Ping timeout: 248 seconds]
cage has quit [Quit: rcirc on GNU Emacs 28.2]
attila_lendvai has joined #commonlisp
mariari has quit [Ping timeout: 268 seconds]
Brucio-61 has joined #commonlisp
tasty has joined #commonlisp
tasty has quit [Changing host]
tasty has joined #commonlisp
ec_ has joined #commonlisp
mariari has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
johnjaye has quit [Ping timeout: 240 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
msavoritias has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
Krystof has quit [Ping timeout: 250 seconds]
deadmarshal_ has joined #commonlisp
dirtcastle has joined #commonlisp
Oladon has quit [Quit: Leaving.]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
kevingal has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
Guest48 has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
dirtcastle has quit [Ping timeout: 248 seconds]
deadmarshal_ has quit [Ping timeout: 265 seconds]
ec_ has joined #commonlisp
NicknameJohn has quit [Ping timeout: 250 seconds]
scymtym has joined #commonlisp
NicknameJohn has joined #commonlisp
pve has quit [Quit: leaving]
anticomputer has quit [Remote host closed the connection]
gxt__ has quit [Ping timeout: 240 seconds]
anticomputer has joined #commonlisp
gxt__ has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
puchacz has quit [Quit: Client closed]
dcb has joined #commonlisp
NicknameJohn has quit [Ping timeout: 240 seconds]
Krystof has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
shka has quit [Ping timeout: 240 seconds]
gko has quit [Remote host closed the connection]
gko has joined #commonlisp
habamax has joined #commonlisp
Guest48 has quit [Ping timeout: 245 seconds]
ec_ has joined #commonlisp
deadmarshal_ has joined #commonlisp
dirtcastle has joined #commonlisp
euandreh has quit [Remote host closed the connection]
euandreh has joined #commonlisp
jeffrey has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
euandreh has quit [Remote host closed the connection]
euandreh has joined #commonlisp
alcor has quit [Remote host closed the connection]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
tyson2 has joined #commonlisp
karlosz has quit [Quit: karlosz]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
NotThatRPG has quit [Ping timeout: 240 seconds]
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
euandreh has quit [Ping timeout: 256 seconds]
euandreh has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
Fare has quit [Ping timeout: 246 seconds]
akoana has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
jeffrey has quit [Quit: Client quit]
attila_lendvai has quit [Ping timeout: 240 seconds]