<no-defun-allowed>
Skimming over CLSQL's source code, I found a note "RACE COND: 2 threads disconnecting could stomp on *connected-databases*" in DISCONNECT. Has anyone been bitten by this before?
prince1 has joined #lisp
akoana has joined #lisp
gigetoo has joined #lisp
GeissT has quit [Ping timeout: 256 seconds]
akoana has left #lisp ["Leaving"]
ebzzry_ has joined #lisp
GeissT has joined #lisp
<PuercoPope>
no-defun-allowed: The acceleration dot net guys have a patch for that iirc
bitmapper has quit [Ping timeout: 240 seconds]
gko has joined #lisp
gko has quit [Ping timeout: 256 seconds]
fixing_auth_hold has joined #lisp
ebzzry_ has quit [Read error: Connection reset by peer]
fixing_auth_hold has quit [Client Quit]
Oladon has quit [Quit: Leaving.]
Oladon has joined #lisp
lalilulelo has quit [Ping timeout: 272 seconds]
ArthurStrong has joined #lisp
tutti has quit [Ping timeout: 252 seconds]
FennecCode has joined #lisp
ArthurStrong has quit [Ping timeout: 265 seconds]
EvW has quit [Ping timeout: 252 seconds]
ArthurStrong has joined #lisp
xlei has quit [Ping timeout: 264 seconds]
ebzzry_ has joined #lisp
GeissT has quit [Ping timeout: 246 seconds]
xlei has joined #lisp
GeissT has joined #lisp
spikemaster has left #lisp ["ERC (IRC client for Emacs 28.0.50)"]
ebzzry_ has quit [Read error: Connection reset by peer]
Khisanth has quit [Ping timeout: 250 seconds]
JetJej has quit [Quit: [Quit]]
v88m has quit [Ping timeout: 265 seconds]
Khisanth has joined #lisp
<beach>
Good morning everyone!
Khisanth has quit [Ping timeout: 256 seconds]
Khisanth has joined #lisp
ebzzry_ has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has joined #lisp
Khisanth has quit [Ping timeout: 264 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
gravicappa has joined #lisp
ebzzry_ has quit [Read error: Connection reset by peer]
Involuntary has quit [Quit: Leaving]
Khisanth has joined #lisp
iAmDecim has joined #lisp
choegusung has joined #lisp
choegusung has quit [Client Quit]
Bike has quit [Quit: Lost terminal]
guicho has joined #lisp
asarch has joined #lisp
guicho has left #lisp [#lisp]
guicho has joined #lisp
guicho has left #lisp [#lisp]
iAmDecim has quit [Ping timeout: 256 seconds]
guicho has joined #lisp
pilne has quit [Quit: Call me a relic, call me what you will. Say I'm old fashioned, say I'm over the hill.]
froggey has quit [Ping timeout: 250 seconds]
froggey has joined #lisp
iAmDecim has joined #lisp
v88m has joined #lisp
Khisanth has quit [Ping timeout: 256 seconds]
gravicappa has quit [Ping timeout: 252 seconds]
guicho has quit [Remote host closed the connection]
Khisanth has joined #lisp
cartwright has quit [Write error: Connection reset by peer]
Khisanth has quit [Ping timeout: 256 seconds]
cartwright has joined #lisp
GeissT has quit [Ping timeout: 256 seconds]
Inline has joined #lisp
krid has quit [Ping timeout: 260 seconds]
GeissT has joined #lisp
Inline has quit [Quit: Leaving]
Khisanth has joined #lisp
Khisanth has quit [Ping timeout: 250 seconds]
Oladon has quit [Quit: Leaving.]
GeissT has quit [Ping timeout: 246 seconds]
GeissT has joined #lisp
iAmDecim has quit [Ping timeout: 252 seconds]
Khisanth has joined #lisp
ArthurStrong has quit [Quit: leaving]
iAmDecim has joined #lisp
gravicappa has joined #lisp
vlatkoB has joined #lisp
narimiran has joined #lisp
iAmDecim has quit [Ping timeout: 256 seconds]
gravicappa has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
GeissT has quit [Ping timeout: 252 seconds]
GeissT has joined #lisp
slyrus_ has joined #lisp
slyrus has quit [Ping timeout: 258 seconds]
iAmDecim has joined #lisp
gioyik has joined #lisp
ebzzry_ has joined #lisp
ebzzry has joined #lisp
random-nick has joined #lisp
ebzzry_ has quit [Read error: Connection reset by peer]
tcr has joined #lisp
hiroaki has quit [Ping timeout: 258 seconds]
ebzzry_ has joined #lisp
ebzzry has quit [Remote host closed the connection]
tcr has quit [Ping timeout: 246 seconds]
JetJej has joined #lisp
FennecCode has quit [Quit: ERC (IRC client for Emacs 26.2)]
gravicappa has joined #lisp
MichaelRaskin has quit [Ping timeout: 264 seconds]
shangul has joined #lisp
tcr has joined #lisp
ebzzry has joined #lisp
rippa has joined #lisp
asarch has quit [Quit: Leaving]
ebzzry_ has quit [Ping timeout: 265 seconds]
JetJej has quit [Read error: Connection reset by peer]
amerlyq has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
mangul has joined #lisp
zaquest has quit [Quit: Leaving]
shangul has quit [Ping timeout: 265 seconds]
gioyik has quit [Quit: WeeChat 2.7.1]
heisig has joined #lisp
drl has joined #lisp
hhdave has joined #lisp
libertyprime has joined #lisp
shangul has joined #lisp
mangul has quit [Ping timeout: 252 seconds]
ebzzry has quit [Read error: Connection reset by peer]
redeemed has joined #lisp
cartwright has quit [Remote host closed the connection]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life_ is now known as Lord_of_Life
cartwright has joined #lisp
Jalina has joined #lisp
dreamcompiler has quit [Read error: No route to host]
dreamcompiler has joined #lisp
ljavorsk has joined #lisp
Jalina has quit [Remote host closed the connection]
Jalina has joined #lisp
ulrivo has joined #lisp
ulrivo has quit [Remote host closed the connection]
lanu has joined #lisp
lanu has quit [Client Quit]
Jalina has quit [Quit: MiRC 7.38 ITA by Jalina]
karlosz has quit [Quit: karlosz]
<libertyprime>
what do i do with an .asd file?
<aeth>
It's a build file, so it's an arcane recipe you copy from the last time you used it, or if you haven't made one yet, you copy someone else's. No one knows how the first build file for any build system was written.
<aeth>
To load a local one, it needs to be recognized in ~/quicklisp/local-projects/system-index.txt, usually by having the parent directy in or symbolically linked in ~/quicklisp/local-projects/
<aeth>
s/directy/directly/
<aeth>
or, actually directory. oops.
space_otter has quit [Remote host closed the connection]
davisr has quit [Quit: Leaving]
tcr has quit [Ping timeout: 256 seconds]
<libertyprime>
aeth: cool. i have loaded a package, but am unsure now how to get the function definitions into a lisp repl
<beach>
libertyprime: What is it that you are trying to do?
<beach>
If you have loaded your system, then the functions are defined in the system that is running the REPL.
<splittist>
libertyprime: as you will see from the top of the cl-expect file, the symbols in that file are defined in the CL-EXPECT package. You can access them by prepending the package-name to the symbol you want, like CL-EXPECT:CREATE-THING. (Assuming CREATE-THING is exported from that package.)
jmercouris has joined #lisp
ljavorsk_ has joined #lisp
<jmercouris>
anyone able to load latest serapeum on ql?
<splittist>
libertyprime: you can switch the repl to read in the CL-EXPECT by using (in-package #:cl-expect)
prince1 has quit [Ping timeout: 252 seconds]
leo_song has quit [Ping timeout: 246 seconds]
leo_song has joined #lisp
ljavorsk has quit [Ping timeout: 252 seconds]
Necktwi has quit [Read error: Connection reset by peer]
<libertyprime>
sweet. thanks guys. got it
<libertyprime>
is sly-mode for emacs where it's at?
<jmercouris>
no
<jmercouris>
you can use slime or sly, both are about the same
stepnem has quit [Ping timeout: 250 seconds]
iAmDecim has quit [Ping timeout: 256 seconds]
stepnem has joined #lisp
<libertyprime>
cool
iAmDecim has joined #lisp
xkapastel has joined #lisp
MichaelRaskin has joined #lisp
ggole has joined #lisp
rixard_ has joined #lisp
Bike has joined #lisp
rixard__ has joined #lisp
rixard has quit [Read error: Connection reset by peer]
ebzzry has joined #lisp
rixard_ has quit [Ping timeout: 256 seconds]
lavaflow has quit [Ping timeout: 258 seconds]
zaquest has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
cpape` has quit [Quit: ERC (IRC client for Emacs 26.1)]
cosimone has joined #lisp
fookara has joined #lisp
prince1 has joined #lisp
cpape has joined #lisp
prince1 has quit [Ping timeout: 240 seconds]
MichaelRaskin has quit [Read error: No route to host]
gko has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
Cymew has quit [Read error: No route to host]
Cymew has joined #lisp
Cymew has quit [Client Quit]
Cymew has joined #lisp
iAmDecim has quit [Ping timeout: 252 seconds]
dddddd has joined #lisp
bitmapper has joined #lisp
jmercouris has quit [Ping timeout: 264 seconds]
wxie has joined #lisp
_whitelogger has joined #lisp
beaky_ is now known as beaky
Josh_2 has quit [Ping timeout: 252 seconds]
iAmDecim has joined #lisp
cosimone has joined #lisp
cosimone_ has quit [Read error: Connection reset by peer]
liambrown has joined #lisp
infra_red[m] has joined #lisp
iAmDecim has quit [Ping timeout: 265 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
cosimone has quit [Client Quit]
cosimone has joined #lisp
cosimone has quit [Client Quit]
cosimone has joined #lisp
KDr21 has quit [Remote host closed the connection]
KDr21 has joined #lisp
vhost- has quit [Ping timeout: 264 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
wxie1 has joined #lisp
nonlinear[m]1 has quit [Remote host closed the connection]
wxie has quit [Ping timeout: 252 seconds]
wxie1 is now known as wxie
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
iAmDecim has joined #lisp
sjl_ has joined #lisp
iAmDecim has quit [Ping timeout: 264 seconds]
orivej has joined #lisp
efm has quit [Ping timeout: 250 seconds]
wxie has quit [Ping timeout: 240 seconds]
tutti has joined #lisp
ukari has quit [Ping timeout: 265 seconds]
EvW1 has joined #lisp
ukari has joined #lisp
gravicappa has quit [Ping timeout: 258 seconds]
gravicappa has joined #lisp
ljavorsk_ has quit [Ping timeout: 265 seconds]
sjl_ has quit [Quit: WeeChat 2.3-dev]
spainisnotequal has joined #lisp
sjl_ has joined #lisp
prince1 has joined #lisp
spainisnotequal has quit [Quit: Ping timeout (120 seconds)]
prince1 has quit [Ping timeout: 240 seconds]
ukari has quit [Ping timeout: 240 seconds]
jxy has quit [Ping timeout: 240 seconds]
iAmDecim has joined #lisp
jprajzne has quit [Quit: jprajzne]
Josh_2 has joined #lisp
jprajzne has joined #lisp
ukari has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
lavaflow has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
nitrix has quit [Remote host closed the connection]
sepi``` has joined #lisp
nitrix has joined #lisp
<d4ryus>
jmercouris: note that if you recompile print, fish wont change. (guess thats obvious?)
MichaelRaskin has joined #lisp
<jmercouris>
not obvious, noted
spal has joined #lisp
Ziemas has joined #lisp
pyc has joined #lisp
kingcons has joined #lisp
<Bike>
recompiling creates a new function object and assigns the name to it, while fish will still have the old function object.
<jmercouris>
like a closure
<d4ryus>
for that to work would need something like (setf (fdefinition 'fish) (lambda (&rest args) (apply print args)), hence you set fish to a function that looks up the funtion of symbol print and calls it
<Bike>
(slots . options) is the same as (slots &rest options)
xlei has quit [Ping timeout: 240 seconds]
<jmercouris>
I still don't understand is options the default value of slots?
<pjb>
d4ryus: the rule is that functions in the CL package cannot change, and that the compiler can "inline" them.
<d4ryus>
As Bike said, its obvious if you look at code like (let* ((x 1) (y x)) (setf x 3) y) returns 1 and you wouldn't expect it to return 3, obviously.
<Bike>
no, it's a destructuring lambda list
<sjl_>
No, it's destructuring the body into slots and the tail
<pjb>
d4ryus: so for functions in the CL package, you don't need to go thru a stub function.
fookara has quit [Remote host closed the connection]
<jmercouris>
i've never seen this syntax in a function, is it only available for macros?
<sjl_>
yes
<jmercouris>
i see, that's why i'm not yet familiar with it
<jmercouris>
ok
<tcr>
jmercouris, it uses &body there to make Slime (and other development environments) as an indentation hint
<d4ryus>
pjb: Ah, interesting! yup, scratch that example i guess :)
<pjb>
d4ryus: on the other hand, in the case of all the other functions, they could indeed be redefined, and then you want to choose whether you want to follow the redefinition or not. Often, you don't want to! So using the setf fdefinition fdefinition is the right thing to do.
<Bike>
"Destructuring allows a macro lambda list to express the structure of a macro call syntax. If no lambda list keywords appear, then the macro lambda list is a tree containing parameter names at the leaves"
<pjb>
d4ryus: this is the same thing with using function objects vs. using function name (the symbol).
<jmercouris>
OK, so what is a 'destructuring lambda list'?
<pjb>
d4ryus: for example, in general when definining reader macros, I use the function name, so I can easily redefine the reader macro (for some characters, if you botch your reader function it can be difficult to redefine (read) it).
<Bike>
that is explaind in the page i linked
<Bike>
and in the 3.4.4.1 section there
<jmercouris>
OK
<jmercouris>
I'll read
<jmercouris>
I've read it, and I still don't understand
pfdietz has joined #lisp
<jmercouris>
what is "the structure of macro call syntax" what does that mean?
<d4ryus>
jmercouris: Baggers has a video on destructuring-bind ('Little bits of lisp - destructuring bind' on youtube)
<Bike>
it means the lambda list can be structured like a macro call is. like, consider making your own macro that just duplicates let. you'd use it like (mlet (binding1 binding2...) body...). so you could (defmacro mlet ((&rest bindings) &body body) ...)
<jmercouris>
means it expects a list of at least 2 elements, with a varied amount of elements after of the form of a dotted pair
<jmercouris>
or did I get that wrong?
<jmercouris>
otherwise what does (slots . options) mean?
<Bike>
you got that wrong.
<jmercouris>
damn
thijso has joined #lisp
<Bike>
(slots . options) is exactly equivalent to (slots &rest options), like i said earlier.
jackdaniel has joined #lisp
<jmercouris>
but why they dot?
<Bike>
it's just an alternate syntax.
<Bike>
"A destructuring lambda list (whether at top level or embedded) can be dotted, ending in a parameter name. This situation is treated exactly as if the parameter name that ends the list had appeared preceded by &rest. " in the page i linked.
<jmercouris>
ah, I missed that
<jmercouris>
I don't like that there are multiple syntaxes for this
<jmercouris>
OK anyways
<Bike>
it's to mimic the structure of the list.
<Bike>
SLOTS is bound to the car of the body, and OPTIONS to the cdr.
<jmercouris>
I see
<pjb>
jmercouris: (foo . bar) is a cons cell. A list such as (a b c d) is also a cons cell!!! It's (a . (b c d)). So you can match the two cons cells, and identify foo = a, and bar = (b c d). Therefore you can see that (foo . bar) is equivalent to (foo &rest bar).
<sjl_>
I could embed the destructuring (name &key foo bar baz) into the lambda list, but then callers wouldn't be able to give a bare symbol to mean a name with no options
jackdaniel has joined #lisp
acolarh has joined #lisp
<sjl_>
So either I embed the (name &key ...) into the lambda list, which is less code and more obvious for users when your editor shows you the lambda list as you type
<Bike>
oh yeah, that's a little annoying.
<sjl_>
Or I do an opaque name-and-options in the lambda list, then (destructuring-bind (name ...) (alexandria:ensure-list name-and-options ...)) in the body
<sjl_>
Which lets users type foo instead of (foo), but is less helpful in the editor.
<sjl_>
I wish there were a way to have my cake and also eat it.
<jmercouris>
what I still can't figure out is how to wrap the macro :-\
<jmercouris>
even with all of this information, I still can't get it
madagest has quit [Remote host closed the connection]
madage has joined #lisp
micro has joined #lisp
funnel has joined #lisp
drl has quit [Ping timeout: 240 seconds]
Steinberg2010 has joined #lisp
cosimone has quit [Quit: Quit.]
random-nick has quit [Quit: quit]
rumbler31 has quit [Remote host closed the connection]
yurichev has left #lisp [#lisp]
rumbler31 has joined #lisp
random-nick has joined #lisp
rumbler31 has quit [Ping timeout: 250 seconds]
shangul has joined #lisp
Steinberg2010 has quit [Ping timeout: 272 seconds]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
northwind has left #lisp [#lisp]
<puchacz>
FYI, solved my conspack problem
<puchacz>
I had many :)
samlamamma has quit [Remote host closed the connection]
<phoe>
puchacz: what's the solution?
efm has quit [Ping timeout: 264 seconds]
<puchacz>
okay, so I had decode and encode that was not specialised, so it was the first problem. I realised I should at least specialise on standard-object
<puchacz>
next, there are forward references, but they are only resolved if they are kept in alist or a hashmap, or an array, but not in the slot of the object
<puchacz>
I think it is a bug in conspack
<puchacz>
so my workaround was to store alists as decoding is progressing, and only copy values from alists to slots after conspack is done
<puchacz>
anyaway, I am off, getting late here :)
<puchacz>
so, thumbs up for conspack. much better than json or similar
efm_ has joined #lisp
shangul has quit [Ping timeout: 256 seconds]
Demosthenex has quit [Ping timeout: 240 seconds]
random-nick has quit [Ping timeout: 250 seconds]
efm_ has quit [Quit: Konversation terminated!]
sjl_ has quit [Quit: WeeChat 2.3-dev]
Demosthenex has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
quazimod1 has quit [Ping timeout: 256 seconds]
quazimodo has joined #lisp
shangul has joined #lisp
terpri has joined #lisp
vert2 has quit [Ping timeout: 240 seconds]
vert2 has joined #lisp
prince1 has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
vert2 has quit [Ping timeout: 240 seconds]
Jesin has quit [Quit: Leaving]
orivej has joined #lisp
vert2 has joined #lisp
efm has joined #lisp
amerlyq has quit [Quit: amerlyq]
prince1 has quit [Ping timeout: 256 seconds]
Jesin has joined #lisp
xkapastel has joined #lisp
Tordek has quit [Ping timeout: 264 seconds]
karlosz has quit [Quit: karlosz]
vert2 has quit [Ping timeout: 264 seconds]
Tordek has joined #lisp
monokrom has quit [Remote host closed the connection]
orivej_ has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
vert2 has joined #lisp
cosimone has joined #lisp
rumbler31 has joined #lisp
cosimone has quit [Ping timeout: 240 seconds]
cosimone_ has joined #lisp
lisper29 has left #lisp [#lisp]
userself has joined #lisp
ljavorsk_ has quit [Ping timeout: 264 seconds]
Codaraxis has joined #lisp
ArthurStrong has joined #lisp
X-Scale has quit [Ping timeout: 256 seconds]
X-Scale` has joined #lisp
X-Scale` is now known as X-Scale
Oladon has joined #lisp
shangul has quit [Ping timeout: 264 seconds]
puchacz has quit [Quit: Connection closed for inactivity]
GeissT has quit [Ping timeout: 260 seconds]
rumbler31 has quit [Remote host closed the connection]
FennecCode has joined #lisp
whiteline has quit [Remote host closed the connection]