jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
thatpythonboy has joined #lisp
thatpythonboy has joined #lisp
thatpythonboy has joined #lisp
<thatpythonboy> hi
<thatpythonboy> hi
<thatpythonboy> hi
hiroaki has joined #lisp
hiroaki has joined #lisp
hiroaki has joined #lisp
<Xach> phoe: i already closed a round of funding based on those stats!!
<Xach> phoe: i already closed a round of funding based on those stats!!
<Xach> phoe: i already closed a round of funding based on those stats!!
flazh has quit [Ping timeout: 265 seconds]
flazh has quit [Ping timeout: 265 seconds]
flazh has quit [Ping timeout: 265 seconds]
<thatpythonboy> in lisp paper how did they define defun with just atom,quote,cond,car,cdr,cons
<thatpythonboy> in lisp paper how did they define defun with just atom,quote,cond,car,cdr,cons
<thatpythonboy> in lisp paper how did they define defun with just atom,quote,cond,car,cdr,cons
flazh has joined #lisp
flazh has joined #lisp
flazh has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has joined #lisp
amb007 has joined #lisp
orivej has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 245 seconds]
hjudt has quit [Ping timeout: 246 seconds]
hjudt has quit [Ping timeout: 246 seconds]
hjudt has quit [Ping timeout: 246 seconds]
<thatpythonboy> i didn't get the defun part in roots of lisp paper??
<thatpythonboy> i didn't get the defun part in roots of lisp paper??
<thatpythonboy> i didn't get the defun part in roots of lisp paper??
<thatpythonboy> they say they made defun using cond,quote,atom,car,cdr,cons .... but they say label
<thatpythonboy> they say they made defun using cond,quote,atom,car,cdr,cons .... but they say label
<thatpythonboy> they say they made defun using cond,quote,atom,car,cdr,cons .... but they say label
<thatpythonboy> now label doesn't exist in lisp
<thatpythonboy> now label doesn't exist in lisp
<thatpythonboy> now label doesn't exist in lisp
<thatpythonboy> anyone knows?
<thatpythonboy> anyone knows?
<thatpythonboy> anyone knows?
<thatpythonboy> others wise send me a memo using memoserv
<thatpythonboy> others wise send me a memo using memoserv
<thatpythonboy> others wise send me a memo using memoserv
<Bike> labels does exist in lisp
<Bike> labels does exist in lisp
<Bike> labels does exist in lisp
dude2 has joined #lisp
dude2 has joined #lisp
dude2 has joined #lisp
<Bike> defun is a macro, so it coudln't be defined with just some functions
<Bike> defun is a macro, so it coudln't be defined with just some functions
<Bike> defun is a macro, so it coudln't be defined with just some functions
<Bike> but maybe i don't understand what you mean
<Bike> but maybe i don't understand what you mean
<Bike> but maybe i don't understand what you mean
<thatpythonboy> in maccarthy's paper he says we can define defun using just primitives
<thatpythonboy> in maccarthy's paper he says we can define defun using just primitives
<thatpythonboy> in maccarthy's paper he says we can define defun using just primitives
<Bike> do you mean the "The Roots of Lisp" paper linked near the top?
<Bike> do you mean the "The Roots of Lisp" paper linked near the top?
<Bike> do you mean the "The Roots of Lisp" paper linked near the top?
<thatpythonboy> ya
<thatpythonboy> ya
<thatpythonboy> ya
<Bike> that's not by mccarthy, it's by paul graham. and, if you mean on page 5, defun is actually introduced as an abbreviation outside the language.
<Bike> that's not by mccarthy, it's by paul graham. and, if you mean on page 5, defun is actually introduced as an abbreviation outside the language.
<Bike> that's not by mccarthy, it's by paul graham. and, if you mean on page 5, defun is actually introduced as an abbreviation outside the language.
<Bike> the actual definition of eval on page 8 does not seem to handle defun.
<Bike> the actual definition of eval on page 8 does not seem to handle defun.
<Bike> the actual definition of eval on page 8 does not seem to handle defun.
<thatpythonboy> what do you mean
<thatpythonboy> what do you mean
<thatpythonboy> what do you mean
<Bike> I mean that "defun" is introduced as shorthand for the reader. The actual evaluator program does not handle it.
<Bike> I mean that "defun" is introduced as shorthand for the reader. The actual evaluator program does not handle it.
<Bike> I mean that "defun" is introduced as shorthand for the reader. The actual evaluator program does not handle it.
<thatpythonboy> but defun does handle eval
<thatpythonboy> but defun does handle eval
<thatpythonboy> but defun does handle eval
<Bike> The evaluator on page 8 doesn't handle defun, does it?
<Bike> The evaluator on page 8 doesn't handle defun, does it?
<Bike> The evaluator on page 8 doesn't handle defun, does it?
<thatpythonboy> no
<thatpythonboy> no
<thatpythonboy> no
<Bike> I don't see any mention of defun.
<Bike> I don't see any mention of defun.
<Bike> I don't see any mention of defun.
<thatpythonboy> ok look lets say there is no defun in the language... then how will eval work??
<thatpythonboy> ok look lets say there is no defun in the language... then how will eval work??
<thatpythonboy> ok look lets say there is no defun in the language... then how will eval work??
<thatpythonboy> it won't so lisp shouldn't exist
<thatpythonboy> it won't so lisp shouldn't exist
<thatpythonboy> it won't so lisp shouldn't exist
<Bike> In that case eval would work with a predefined and/or empty environment to which no new definitions could be added.
<Bike> In that case eval would work with a predefined and/or empty environment to which no new definitions could be added.
<Bike> In that case eval would work with a predefined and/or empty environment to which no new definitions could be added.
<Bike> You can still do things in a language like that, though it's a little inconvenient.
<Bike> You can still do things in a language like that, though it's a little inconvenient.
<Bike> You can still do things in a language like that, though it's a little inconvenient.
<Bike> defun means state and mutation, which don't seem to be handled in this simple paper.
<Bike> defun means state and mutation, which don't seem to be handled in this simple paper.
<Bike> defun means state and mutation, which don't seem to be handled in this simple paper.
<thatpythonboy> what about in maccarthy's paper on recursive functions
<thatpythonboy> what about in maccarthy's paper on recursive functions
<thatpythonboy> what about in maccarthy's paper on recursive functions
<Bike> i haven't read it in a while, but i wouldn't be surprised to find it also skips these things. Mutation makes math harder and so in math definitions are usually kept as metalanguage.
<Bike> i haven't read it in a while, but i wouldn't be surprised to find it also skips these things. Mutation makes math harder and so in math definitions are usually kept as metalanguage.
<Bike> i haven't read it in a while, but i wouldn't be surprised to find it also skips these things. Mutation makes math harder and so in math definitions are usually kept as metalanguage.
<Bike> assuming you mean "Recursive functions of symbolic expressions and their computation by machine"
<Bike> assuming you mean "Recursive functions of symbolic expressions and their computation by machine"
<Bike> assuming you mean "Recursive functions of symbolic expressions and their computation by machine"
dhil has quit [Ping timeout: 256 seconds]
dhil has quit [Ping timeout: 256 seconds]
dhil has quit [Ping timeout: 256 seconds]
<thatpythonboy> why you say mutation
<thatpythonboy> why you say mutation
<thatpythonboy> why you say mutation
<Bike> because that's what i mean. effecting a change.
<Bike> because that's what i mean. effecting a change.
<Bike> because that's what i mean. effecting a change.
<thatpythonboy> but functions are different? side-effect is the only thing i know of ... how could they mutate by default
<thatpythonboy> but functions are different? side-effect is the only thing i know of ... how could they mutate by default
<thatpythonboy> but functions are different? side-effect is the only thing i know of ... how could they mutate by default
<moon-child> 'defun' mutates the global environment, by introducing a definition for a function
<moon-child> 'defun' mutates the global environment, by introducing a definition for a function
<moon-child> 'defun' mutates the global environment, by introducing a definition for a function
<thatpythonboy> can we make defun with just atom,cond,quote,car,cdr,cons
<thatpythonboy> can we make defun with just atom,cond,quote,car,cdr,cons
<thatpythonboy> can we make defun with just atom,cond,quote,car,cdr,cons
<_death> see what EVAL. does there in the case of LABEL, it calls itself with the definition consed to the environment
<_death> see what EVAL. does there in the case of LABEL, it calls itself with the definition consed to the environment
<_death> see what EVAL. does there in the case of LABEL, it calls itself with the definition consed to the environment
<moon-child> you can certainly implement a language with defun using only those primitives. That's trivial. Turing equivalence
<moon-child> you can certainly implement a language with defun using only those primitives. That's trivial. Turing equivalence
<moon-child> you can certainly implement a language with defun using only those primitives. That's trivial. Turing equivalence
dude2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
dude2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
dude2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<Bike> it depends on what you mean. those primitives don't allow any mutation of structures. you'd have to emulate another language.
<Bike> it depends on what you mean. those primitives don't allow any mutation of structures. you'd have to emulate another language.
<Bike> it depends on what you mean. those primitives don't allow any mutation of structures. you'd have to emulate another language.
<thatpythonboy> are those primitives turing complete?
<thatpythonboy> are those primitives turing complete?
<thatpythonboy> are those primitives turing complete?
<moon-child> yes
<moon-child> yes
<moon-child> yes
<Bike> assuming you have lambda, you don't actually need any of them to be turing complete.
<Bike> assuming you have lambda, you don't actually need any of them to be turing complete.
<Bike> assuming you have lambda, you don't actually need any of them to be turing complete.
<thatpythonboy> excluding lambda and defun
<thatpythonboy> excluding lambda and defun
<thatpythonboy> excluding lambda and defun
<thatpythonboy> and label as well
<thatpythonboy> and label as well
<thatpythonboy> and label as well
<thatpythonboy> i doubt it
<thatpythonboy> i doubt it
<thatpythonboy> i doubt it
<moon-child> no
<moon-child> no
<moon-child> no
<Bike> If you don't have lambda you can't define functions anyway.
<Bike> If you don't have lambda you can't define functions anyway.
<Bike> If you don't have lambda you can't define functions anyway.
<thatpythonboy> paul graham claims using just these primitive we have a model of computation, turing complete... lol
<thatpythonboy> paul graham claims using just these primitive we have a model of computation, turing complete... lol
<thatpythonboy> paul graham claims using just these primitive we have a model of computation, turing complete... lol
<thatpythonboy> and he keeps saying that i am like super confused
<thatpythonboy> and he keeps saying that i am like super confused
<thatpythonboy> and he keeps saying that i am like super confused
<Bike> lambda by itself is turing complete. it's called lambda calculus.
<Bike> lambda by itself is turing complete. it's called lambda calculus.
<Bike> lambda by itself is turing complete. it's called lambda calculus.
<thatpythonboy> of course
<thatpythonboy> of course
<thatpythonboy> of course
<thatpythonboy> y-combinator does functions
<thatpythonboy> y-combinator does functions
<thatpythonboy> y-combinator does functions
<Bike> i don't see any statement about turing completeness in this, except to say that turing machine definitions are "not very edifying to read", which is true
<Bike> i don't see any statement about turing completeness in this, except to say that turing machine definitions are "not very edifying to read", which is true
<Bike> i don't see any statement about turing completeness in this, except to say that turing machine definitions are "not very edifying to read", which is true
<thatpythonboy> i get the lambda calculus part, but not the lisp part...
<thatpythonboy> i get the lambda calculus part, but not the lisp part...
<thatpythonboy> i get the lambda calculus part, but not the lisp part...
<thatpythonboy> but lisp machines are...
<thatpythonboy> but lisp machines are...
<thatpythonboy> but lisp machines are...
<Bike> what's to get?
<Bike> what's to get?
<Bike> what's to get?
bilegeek has joined #lisp
bilegeek has joined #lisp
bilegeek has joined #lisp
<thatpythonboy> he assumes that without lambda,label we can make turing complete model of computation-lisp model... i don't get that lisp part
<thatpythonboy> he assumes that without lambda,label we can make turing complete model of computation-lisp model... i don't get that lisp part
<thatpythonboy> he assumes that without lambda,label we can make turing complete model of computation-lisp model... i don't get that lisp part
<Bike> where does he say that?
<Bike> where does he say that?
<Bike> where does he say that?
<thatpythonboy> he professes that repeatedly throughout the article root of lisp
<thatpythonboy> he professes that repeatedly throughout the article root of lisp
<thatpythonboy> he professes that repeatedly throughout the article root of lisp
<Bike> i have the article open in front of me and i don't see anything about removing lambda. what page is this?
<Bike> i have the article open in front of me and i don't see anything about removing lambda. what page is this?
<Bike> i have the article open in front of me and i don't see anything about removing lambda. what page is this?
<thatpythonboy> he never used lambdas while making eval
<thatpythonboy> he never used lambdas while making eval
<thatpythonboy> he never used lambdas while making eval
aartaka_d has joined #lisp
aartaka_d has joined #lisp
aartaka_d has joined #lisp
<Bike> Sure he did. Defun is an abbreviation for labels, which is lambda plus y combinators.
<Bike> Sure he did. Defun is an abbreviation for labels, which is lambda plus y combinators.
<Bike> Sure he did. Defun is an abbreviation for labels, which is lambda plus y combinators.
<Bike> Eval calls itself recursively, so something like that is necessary.
<Bike> Eval calls itself recursively, so something like that is necessary.
<Bike> Eval calls itself recursively, so something like that is necessary.
<thatpythonboy> yes but he says label doesn't exist, just these primitives
<thatpythonboy> yes but he says label doesn't exist, just these primitives
<thatpythonboy> yes but he says label doesn't exist, just these primitives
kevingal has quit [Remote host closed the connection]
kevingal has quit [Remote host closed the connection]
kevingal_ has quit [Remote host closed the connection]
kevingal_ has quit [Remote host closed the connection]
kevingal_ has quit [Remote host closed the connection]
kevingal has quit [Remote host closed the connection]
<Bike> Yes, it's an abbreviation for lambda plus y combinators, as he mentions in footnote 3.
<Bike> Yes, it's an abbreviation for lambda plus y combinators, as he mentions in footnote 3.
<Bike> Yes, it's an abbreviation for lambda plus y combinators, as he mentions in footnote 3.
<thatpythonboy> but secretly uses labels and instead claims it's due to primitives "only"
<thatpythonboy> but secretly uses labels and instead claims it's due to primitives "only"
<thatpythonboy> but secretly uses labels and instead claims it's due to primitives "only"
<Bike> I don't see anything in this where he talks about lambda not being primitive.
<Bike> I don't see anything in this where he talks about lambda not being primitive.
<Bike> I don't see anything in this where he talks about lambda not being primitive.
edgar-xyz has joined #lisp
edgar-xyz has joined #lisp
edgar-xyz has joined #lisp
aartaka has quit [Ping timeout: 256 seconds]
aartaka has quit [Ping timeout: 256 seconds]
aartaka has quit [Ping timeout: 256 seconds]
<thatpythonboy> he very clearly is talking about those 7 operators, and keeps saying using "just these" seven...cond,atom,quote,car,cdr,cons we have an elegant model of computation
<thatpythonboy> he very clearly is talking about those 7 operators, and keeps saying using "just these" seven...cond,atom,quote,car,cdr,cons we have an elegant model of computation
<thatpythonboy> he very clearly is talking about those 7 operators, and keeps saying using "just these" seven...cond,atom,quote,car,cdr,cons we have an elegant model of computation
<thatpythonboy> i didn't knew he was lying but now i know
<thatpythonboy> i didn't knew he was lying but now i know
<thatpythonboy> i didn't knew he was lying but now i know
<Bike> I think you are misinterpreting what he's saying.
<Bike> I think you are misinterpreting what he's saying.
<Bike> I think you are misinterpreting what he's saying.
<Bike> He goes through a lot of effort to define lambda.
<Bike> He goes through a lot of effort to define lambda.
<Bike> He goes through a lot of effort to define lambda.
edgar-rft has quit [Ping timeout: 245 seconds]
edgar-rft has quit [Ping timeout: 245 seconds]
edgar-rft has quit [Ping timeout: 245 seconds]
dbotton has joined #lisp
dbotton has joined #lisp
dbotton has joined #lisp
<thatpythonboy> he shouldn't have said using these 9 primitives lambda,label+7 others we have a lisp model
<thatpythonboy> he shouldn't have said using these 9 primitives lambda,label+7 others we have a lisp model
<thatpythonboy> he shouldn't have said using these 9 primitives lambda,label+7 others we have a lisp model
<Bike> i mean, with lambda, quote, atom, eq, car, cdr, cons, cond, you do actually have a lisp model. the lisp model is the eval function.
<Bike> i mean, with lambda, quote, atom, eq, car, cdr, cons, cond, you do actually have a lisp model. the lisp model is the eval function.
<Bike> i mean, with lambda, quote, atom, eq, car, cdr, cons, cond, you do actually have a lisp model. the lisp model is the eval function.
<thatpythonboy> but he didnt say
<thatpythonboy> but he didnt say
<thatpythonboy> but he didnt say
<Bike> The eval function is at the climax of the article. It seems pretty obvious to me that it is the model in question.
<Bike> The eval function is at the climax of the article. It seems pretty obvious to me that it is the model in question.
<Bike> The eval function is at the climax of the article. It seems pretty obvious to me that it is the model in question.
<Bike> If he said it didn't use lambda, he was mistaken, because by his own definitions it obviously does.
<Bike> If he said it didn't use lambda, he was mistaken, because by his own definitions it obviously does.
<Bike> If he said it didn't use lambda, he was mistaken, because by his own definitions it obviously does.
<thatpythonboy> he is a liar he said he used "only" or "just" 7 primitives he lied very clear
<thatpythonboy> he is a liar he said he used "only" or "just" 7 primitives he lied very clear
<thatpythonboy> he is a liar he said he used "only" or "just" 7 primitives he lied very clear
<Bike> Okay. Sure.
<Bike> Okay. Sure.
<Bike> Okay. Sure.
<thatpythonboy> paul graham-"Using just quote,atom,eq,car,cdr,cons and cond, we can define a function, eval., that actually implements our language, and then using that we can define any additional functions we want" - liar
<thatpythonboy> paul graham-"Using just quote,atom,eq,car,cdr,cons and cond, we can define a function, eval., that actually implements our language, and then using that we can define any additional functions we want" - liar
<thatpythonboy> paul graham-"Using just quote,atom,eq,car,cdr,cons and cond, we can define a function, eval., that actually implements our language, and then using that we can define any additional functions we want" - liar
<thatpythonboy> it kept bothering me how the heck did he implement without lambda,label that thing....
<thatpythonboy> it kept bothering me how the heck did he implement without lambda,label that thing....
<thatpythonboy> it kept bothering me how the heck did he implement without lambda,label that thing....
<thatpythonboy> kept wasting my time
<thatpythonboy> kept wasting my time
<thatpythonboy> kept wasting my time
<Bike> If you really want to ascribe that to malice rather than sloppiness go ahead I guess.
<Bike> If you really want to ascribe that to malice rather than sloppiness go ahead I guess.
<Bike> If you really want to ascribe that to malice rather than sloppiness go ahead I guess.
<thatpythonboy> not that my time that precious
<thatpythonboy> not that my time that precious
<thatpythonboy> not that my time that precious
<thatpythonboy> he confused me like hell
<thatpythonboy> he confused me like hell
<thatpythonboy> he confused me like hell
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
* moon-child wonders why car/cdr/cons need to be primitives
* moon-child wonders why car/cdr/cons need to be primitives
* moon-child wonders why car/cdr/cons need to be primitives
MetaYan has quit [Ping timeout: 256 seconds]
MetaYan has quit [Ping timeout: 256 seconds]
MetaYan has quit [Ping timeout: 256 seconds]
<moon-child> why not cons = \ad.\f.fad; car = \c.c(\ad.a); cdr = \c.c(\ad.d)
<moon-child> why not cons = \ad.\f.fad; car = \c.c(\ad.a); cdr = \c.c(\ad.d)
<moon-child> why not cons = \ad.\f.fad; car = \c.c(\ad.a); cdr = \c.c(\ad.d)
bugrum has quit [Remote host closed the connection]
bugrum has quit [Remote host closed the connection]
bugrum has quit [Remote host closed the connection]
wxie has joined #lisp
wxie has joined #lisp
wxie has joined #lisp
mrchampion has quit [Remote host closed the connection]
mrchampion has quit [Remote host closed the connection]
mrchampion has quit [Remote host closed the connection]
<thatpythonboy> i still feel that car,cdr,cons can make it turing complete as car would pick the first, and cdr the last, and join them... maybe we can make lambdas using them with conds combined atom,quote,eq.?
<thatpythonboy> i still feel that car,cdr,cons can make it turing complete as car would pick the first, and cdr the last, and join them... maybe we can make lambdas using them with conds combined atom,quote,eq.?
<thatpythonboy> i still feel that car,cdr,cons can make it turing complete as car would pick the first, and cdr the last, and join them... maybe we can make lambdas using them with conds combined atom,quote,eq.?
<moon-child> no
<moon-child> no
<moon-child> no
long4mud has joined #lisp
long4mud has joined #lisp
long4mud has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
contrapunctus has joined #lisp
contrapunctus has joined #lisp
<moon-child> you can't do unbounded computation with only those primitives
<moon-child> you can't do unbounded computation with only those primitives
<moon-child> you can't do unbounded computation with only those primitives
dbotton has quit [Quit: This computer has gone to sleep]
dbotton has quit [Quit: This computer has gone to sleep]
dbotton has quit [Quit: This computer has gone to sleep]
Stanley00 has joined #lisp
Stanley00 has joined #lisp
Stanley00 has joined #lisp
karlosz has joined #lisp
karlosz has joined #lisp
karlosz has joined #lisp
mrchampion has joined #lisp
mrchampion has joined #lisp
mrchampion has joined #lisp
bilegeek_ has joined #lisp
bilegeek_ has joined #lisp
bilegeek_ has joined #lisp
pokes_ has quit [Ping timeout: 264 seconds]
pokes_ has quit [Ping timeout: 264 seconds]
pokes_ has quit [Ping timeout: 264 seconds]
bilegeek has quit [Ping timeout: 264 seconds]
bilegeek has quit [Ping timeout: 264 seconds]
bilegeek has quit [Ping timeout: 264 seconds]
curtosis has joined #lisp
curtosis has joined #lisp
curtosis has joined #lisp
<fiddlerwoaroof_> car/cdr/cons _don't_ need to be primitives
<fiddlerwoaroof_> car/cdr/cons _don't_ need to be primitives
<fiddlerwoaroof_> car/cdr/cons _don't_ need to be primitives
notzmv has joined #lisp
notzmv has joined #lisp
notzmv has joined #lisp
hendursa3 has quit [Quit: hendursa3]
hendursa3 has quit [Quit: hendursa3]
hendursa3 has quit [Quit: hendursa3]
<Bike> you need some way for a program to proceed through an unbounded number of distinct states.
<Bike> you need some way for a program to proceed through an unbounded number of distinct states.
<Bike> you need some way for a program to proceed through an unbounded number of distinct states.
<Bike> recursion or infinite loops are usually how that goes.
<Bike> recursion or infinite loops are usually how that goes.
<Bike> recursion or infinite loops are usually how that goes.
<fiddlerwoaroof_> You can define car/cdr/cons entirely in terms of lambda: https://fwoar.co/pastebin/4475ba6ae0c860a56112b5d67d605db372f2e09a.lisp.html
<fiddlerwoaroof_> You can define car/cdr/cons entirely in terms of lambda: https://fwoar.co/pastebin/4475ba6ae0c860a56112b5d67d605db372f2e09a.lisp.html
<fiddlerwoaroof_> You can define car/cdr/cons entirely in terms of lambda: https://fwoar.co/pastebin/4475ba6ae0c860a56112b5d67d605db372f2e09a.lisp.html
<moon-child> is that ... sqlispe?
<moon-child> is that ... sqlispe?
<moon-child> is that ... sqlispe?
gitgoood has joined #lisp
gitgoood has joined #lisp
gitgoood has joined #lisp
<fiddlerwoaroof_> Ah, my repl is in a random package :)
<fiddlerwoaroof_> Ah, my repl is in a random package :)
<fiddlerwoaroof_> Ah, my repl is in a random package :)
gitgood has quit [Ping timeout: 264 seconds]
gitgood has quit [Ping timeout: 264 seconds]
gitgood has quit [Ping timeout: 264 seconds]
marusich has quit [Ping timeout: 264 seconds]
marusich has quit [Ping timeout: 264 seconds]
marusich has quit [Ping timeout: 264 seconds]
<fiddlerwoaroof_> I saw slyrus's soiree, but had performance issues and got annoyed by dealing with XML/XPath, so I wrote a simple parser that parses an iCalendar file and genreates events
<fiddlerwoaroof_> I saw slyrus's soiree, but had performance issues and got annoyed by dealing with XML/XPath, so I wrote a simple parser that parses an iCalendar file and genreates events
<fiddlerwoaroof_> I saw slyrus's soiree, but had performance issues and got annoyed by dealing with XML/XPath, so I wrote a simple parser that parses an iCalendar file and genreates events
rickygee has joined #lisp
rickygee has joined #lisp
rickygee has joined #lisp
<fiddlerwoaroof_> So I can pull my calendar into sqlite and then use datasette to get a website for it
<fiddlerwoaroof_> So I can pull my calendar into sqlite and then use datasette to get a website for it
<fiddlerwoaroof_> So I can pull my calendar into sqlite and then use datasette to get a website for it
pankajsg has joined #lisp
pankajsg has joined #lisp
pankajsg has joined #lisp
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dbotton has joined #lisp
dbotton has joined #lisp
dbotton has joined #lisp
charles` has quit [Read error: Connection reset by peer]
charles` has quit [Read error: Connection reset by peer]
charles` has quit [Read error: Connection reset by peer]
dbotton has quit [Client Quit]
dbotton has quit [Client Quit]
dbotton has quit [Client Quit]
gko has joined #lisp
gko has joined #lisp
gko has joined #lisp
marusich has joined #lisp
marusich has joined #lisp
marusich has joined #lisp
charles` has joined #lisp
charles` has joined #lisp
charles` has joined #lisp
charles` has quit [Ping timeout: 244 seconds]
charles` has quit [Ping timeout: 244 seconds]
charles` has quit [Ping timeout: 244 seconds]
Oladon has quit [Quit: Leaving.]
Oladon has quit [Quit: Leaving.]
Oladon has quit [Quit: Leaving.]
MetaYan has joined #lisp
MetaYan has joined #lisp
MetaYan has joined #lisp
hendursaga has joined #lisp
hendursaga has joined #lisp
hendursaga has joined #lisp
semz has quit [Ping timeout: 244 seconds]
semz has quit [Ping timeout: 244 seconds]
semz has quit [Ping timeout: 244 seconds]
hendursaga has quit [Remote host closed the connection]
hendursaga has quit [Remote host closed the connection]
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #lisp
hendursaga has joined #lisp
hendursaga has joined #lisp
<drmeister> fiddlerwoaroof_: I finished implementing save-lisp-and-die in clasp. I got the startup time for our cando scientific programming environment down from 40 seconds to 5 seconds. I hope for better performance in the future. There's an engineer at Apple who's working with us on it.
<drmeister> fiddlerwoaroof_: I finished implementing save-lisp-and-die in clasp. I got the startup time for our cando scientific programming environment down from 40 seconds to 5 seconds. I hope for better performance in the future. There's an engineer at Apple who's working with us on it.
<drmeister> fiddlerwoaroof_: I finished implementing save-lisp-and-die in clasp. I got the startup time for our cando scientific programming environment down from 40 seconds to 5 seconds. I hope for better performance in the future. There's an engineer at Apple who's working with us on it.
<drmeister> 70% of the time is now spent in llvm linking the 12,000 or so object files that are part of the image.
<drmeister> 70% of the time is now spent in llvm linking the 12,000 or so object files that are part of the image.
<drmeister> 70% of the time is now spent in llvm linking the 12,000 or so object files that are part of the image.
<drmeister> General question: Does anyone remember the name of the thing that makes Common Lisp macros unsanitized?
<drmeister> General question: Does anyone remember the name of the thing that makes Common Lisp macros unsanitized?
<drmeister> General question: Does anyone remember the name of the thing that makes Common Lisp macros unsanitized?
<drmeister> It's something like "capture"? - I don't recall. It's where macros can change the meaning of variables if you aren't careful to use gensyms.
<drmeister> It's something like "capture"? - I don't recall. It's where macros can change the meaning of variables if you aren't careful to use gensyms.
<drmeister> It's something like "capture"? - I don't recall. It's where macros can change the meaning of variables if you aren't careful to use gensyms.
glamas has quit [Quit: ZNC 1.7.4 - https://znc.in]
glamas has quit [Quit: ZNC 1.7.4 - https://znc.in]
glamas has quit [Quit: ZNC 1.7.4 - https://znc.in]
glamas has joined #lisp
glamas has joined #lisp
glamas has joined #lisp
hineios has quit [Ping timeout: 246 seconds]
hineios has quit [Ping timeout: 246 seconds]
hineios has quit [Ping timeout: 246 seconds]
hineios has joined #lisp
hineios has joined #lisp
hineios has joined #lisp
renzhi has quit [Ping timeout: 264 seconds]
renzhi has quit [Ping timeout: 264 seconds]
renzhi has quit [Ping timeout: 264 seconds]
semz has joined #lisp
semz has joined #lisp
semz has joined #lisp
Sheilong has quit []
Sheilong has quit []
Sheilong has quit []
DHARMAKAYA has joined #lisp
DHARMAKAYA has joined #lisp
DHARMAKAYA has joined #lisp
Stanley00 has quit [Remote host closed the connection]
Stanley00 has quit [Remote host closed the connection]
Stanley00 has quit [Remote host closed the connection]
<slyrus> sounds like good progress!
<slyrus> sounds like good progress!
<slyrus> sounds like good progress!
<aeth> For people not in the other channel... Fits more here since it's just trivia...
<aeth> For people not in the other channel... Fits more here since it's just trivia...
<aeth> For people not in the other channel... Fits more here since it's just trivia...
<aeth> Generally, people only GENSYM stuff in the variable namespace, but hygiene is also an issue with the function namespace. You just rarely see it come up with the combination of packages, (non-standard but permitted) package locks, and the relative rarity of FLET as opposed to LET (i.e. CL being a Lisp-2).
<aeth> Generally, people only GENSYM stuff in the variable namespace, but hygiene is also an issue with the function namespace. You just rarely see it come up with the combination of packages, (non-standard but permitted) package locks, and the relative rarity of FLET as opposed to LET (i.e. CL being a Lisp-2).
<aeth> Generally, people only GENSYM stuff in the variable namespace, but hygiene is also an issue with the function namespace. You just rarely see it come up with the combination of packages, (non-standard but permitted) package locks, and the relative rarity of FLET as opposed to LET (i.e. CL being a Lisp-2).
<aeth> (defun foo (x) (1+ x)) (defmacro foobar (y) `(foo ,y)) (defun bar () (flet ((foo (x) (+ 2 x))) (foobar 42))) (bar) ;=> 44
<aeth> (defun foo (x) (1+ x)) (defmacro foobar (y) `(foo ,y)) (defun bar () (flet ((foo (x) (+ 2 x))) (foobar 42))) (bar) ;=> 44
<aeth> (defun foo (x) (1+ x)) (defmacro foobar (y) `(foo ,y)) (defun bar () (flet ((foo (x) (+ 2 x))) (foobar 42))) (bar) ;=> 44
<aeth> If you use USE and you use FLET, you might see something like that come up eventually.
<aeth> If you use USE and you use FLET, you might see something like that come up eventually.
<aeth> If you use USE and you use FLET, you might see something like that come up eventually.
aindilis` has quit [Remote host closed the connection]
aindilis` has quit [Remote host closed the connection]
aindilis` has quit [Remote host closed the connection]
Oladon has joined #lisp
Oladon has joined #lisp
Oladon has joined #lisp
<fiddlerwoaroof_> drmeister: I think you just mean "variable capture"?
<fiddlerwoaroof_> drmeister: I think you just mean "variable capture"?
<fiddlerwoaroof_> drmeister: I think you just mean "variable capture"?
<fiddlerwoaroof_> drmeister: that's cool about s-l-a-d
<fiddlerwoaroof_> drmeister: that's cool about s-l-a-d
<fiddlerwoaroof_> drmeister: that's cool about s-l-a-d
<drmeister> Yes - variable capture - thank you.
<drmeister> Yes - variable capture - thank you.
<drmeister> Yes - variable capture - thank you.
<drmeister> I was trying to put into context some strange C++ macro handling in one of the garbage collectors we support - it essentially uses variable capture to optimize scanning memory.
<drmeister> I was trying to put into context some strange C++ macro handling in one of the garbage collectors we support - it essentially uses variable capture to optimize scanning memory.
<drmeister> I was trying to put into context some strange C++ macro handling in one of the garbage collectors we support - it essentially uses variable capture to optimize scanning memory.
mindCrime_ has quit [Ping timeout: 256 seconds]
mindCrime_ has quit [Ping timeout: 256 seconds]
mindCrime_ has quit [Ping timeout: 256 seconds]
Bike has quit [Quit: Lost terminal]
Bike has quit [Quit: Lost terminal]
Bike has quit [Quit: Lost terminal]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger__ has quit [Remote host closed the connection]
prxq has joined #lisp
dude2 has joined #lisp
prxq_ has quit [Ping timeout: 265 seconds]
bilegeek_ has quit [Quit: Leaving]
dude2 has quit [Client Quit]
kaiwulf has quit [Ping timeout: 256 seconds]
akoana has left #lisp ["Leaving"]
Alfr is now known as Guest35455
Guest35455 has quit [Killed (sinisalo.freenode.net (Nickname regained by services))]
Alfr has joined #lisp
Oladon has quit [Quit: Leaving.]
phantomics_ has joined #lisp
phantomics has quit [Ping timeout: 260 seconds]
wxie has quit [Ping timeout: 260 seconds]
Stanley00 has joined #lisp
fiddlerwoaroof_ is now known as fiddlerwoaroof
phantomics_ has quit [Ping timeout: 245 seconds]
fiddlerwoaroof has left #lisp ["Using Circe, the loveliest of all IRC clients"]
fiddlerwoaroof has joined #lisp
phantomics has joined #lisp
<fiddlerwoaroof> hm
<beach> Good morning everyone!
mindCrime_ has joined #lisp
pillton has joined #lisp
rickygee has quit [Ping timeout: 265 seconds]
mindCrime_ has quit [Ping timeout: 265 seconds]
tumdum has joined #lisp
tumdum has quit [Changing host]
tumdum has joined #lisp
asdflkj has quit [Quit: IRCNow and Forever!]
mindCrime_ has joined #lisp
wxie has joined #lisp
jonatack_ has quit [Ping timeout: 256 seconds]
hendursaga has quit [Remote host closed the connection]
asdflkj has joined #lisp
hendursaga has joined #lisp
tumdum has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
mindCrime_ has quit [Ping timeout: 256 seconds]
wxie has quit [Ping timeout: 265 seconds]
sauvin has joined #lisp
anticrisis has quit [Read error: Connection reset by peer]
anticrisis has joined #lisp
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 246 seconds]
frost-lab has joined #lisp
rickygee has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
toorevitimirp has joined #lisp
epony has quit [Read error: Connection reset by peer]
pillton has quit [Remote host closed the connection]
narimiran has joined #lisp
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
waleee-cl has quit [Quit: Connection closed for inactivity]
shka_ has joined #lisp
asarch has joined #lisp
<asarch> How would you concatenate a '\n'?
<loke[m]> asarch: with what?
<asarch> (setf buffer (concatenate 'string "The Quick Brown Fox" "\n"))
<loke[m]> asarch: Sure, why not?
<asarch> (set buffer (concatenate 'string buffer "Jumps over the lazy dog"))
<loke[m]> Unless you epxect \n to mean something other than the two characters backslash and n
<asarch> I get "The quick brown foxn" from the first concatenation
<loke[m]> Right, you have to explain what you actually want.
<loke[m]> I'm buessing what you really want is to append a neline to tne end of the string.
<asarch> Yeah
<asarch> "Newline"
<moon-child> (concatenate 'string "abc" '(#\Newline))
<loke[m]> There are many ways to do that. I usually use FORMAT for most things string-related
<loke[m]> (format nil "~a~%" some-string)
<loke[m]> Or if you want to make a string with a neline, you can do (STRING #\Newline)
<loke[m]> Or the worst suggestion, if your string is adjustable: (VECTOR-PUSH-EXTEND some-string #\Newline)
<loke[m]> (but swap the arguments)
galex-713 has quit [Ping timeout: 265 seconds]
kam1 has quit [Remote host closed the connection]
<asarch> Yeah! Thank you! Thank you very much! :-)
kam1 has joined #lisp
hjudt has joined #lisp
galex-713 has joined #lisp
GreaseMonkey has quit [Remote host closed the connection]
greaser|q has joined #lisp
greaser|q has quit [Changing host]
greaser|q has joined #lisp
greaser|q is now known as GreaseMonkey
erjag has joined #lisp
Lord_of_Life has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
kam1 has quit [Read error: Connection reset by peer]
<flip214> Is there something like WITH-OUTPUT-TO-STRING that accepts an (array (unsigned-byte 8) *) in the standard? Or do I have to use babel or so?
erjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<loke[m]> flip214: It needs to be in an external library, as the CL standard doesn't provide the necessary primitives (as it's pre-UTF-8)
<asarch> How would you traverse over a JSON object?
kam1 has joined #lisp
rigidus has quit [Remote host closed the connection]
<loke[m]> asarch: depends on the JSON library you use.
<asarch> With Yason I can get the upper level
<asarch> (loop for element in (yason:parse *names*) do (maphash #'(lambda (k v) (print (list k v))) element))
orivej has joined #lisp
<flip214> phoe: loke[m]: thanks
<flip214> asarch: you can also ask YASON to return an ALIST or PLIST, if that's easier to handle
<asarch> At some point I get ("children" (#<HASH-TABLE :TEST EQUAL :COUNT 10 {10041AD793}> ...))
<flip214> so there's an "children: { ...}" in your json
<asarch> Oh, I thought there was a (expand-all *json*) function for that :-P
Klopsch has joined #lisp
<asarch> Ok. Let's learn about #<HASH-TABLE>s
ficl has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 276 seconds]
karlosz has quit [Ping timeout: 256 seconds]
random-nick has joined #lisp
orivej has joined #lisp
pve has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
<loke[m]> asarch: this is because hash tables doesn't have a printable form.
<asarch> I se
<asarch> *see
rickygee has quit [Ping timeout: 256 seconds]
ljavorsk has joined #lisp
hendursa1 has joined #lisp
hendursaga has quit [Ping timeout: 268 seconds]
hiroaki has quit [Ping timeout: 265 seconds]
Major_Biscuit has joined #lisp
anticrisis has quit [Read error: Connection reset by peer]
hiroaki has joined #lisp
shifty has joined #lisp
vutral_ has joined #lisp
Inline has joined #lisp
pankajsg has quit [Ping timeout: 260 seconds]
shifty has quit [Ping timeout: 256 seconds]
shifty has joined #lisp
even4void[m] has quit [Quit: Idle for 30+ days]
<fiddlerwoaroof> When I'm working with hashtables a lot, I use this modification to the pretty printer: https://github.com/cjdev/aws-access/blob/master/src/pprint-setup.lisp
<fiddlerwoaroof> load fset, load that code and then run (setup-pprint)
<fiddlerwoaroof> (if you have really big hash-tables, this might cause problems with slime, though)
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
<phoe> does this modification respect *print-length* and *print-level*?
<phoe> if it doesn't, it should
<phoe> these variables are in there for a reason
jdz_ has quit [Quit: ZNC - http://znc.in]
nitrix has quit [Quit: Genius is one percent inspiration and ninety-nine percent perspiration]
jdz has joined #lisp
pankajsg has joined #lisp
skapata has quit [Remote host closed the connection]
nitrix has joined #lisp
prxq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
prxq has joined #lisp
thatpythonboy has quit [Ping timeout: 256 seconds]
<beach> I wonder what would happen if I joined (say) #python with a nick like "thatlispcodger".
<shinohai> They'd prolly offer you some crayons to eat.
<beach> Not that I am going to try. I am just musing about the extreme politeness of #lisp participants compared to what I hear about other IRC channels.
yitzi has quit [Quit: yitzi]
yitzi has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
john_ has joined #lisp
sauvin_ has joined #lisp
amb007 has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
shifty has joined #lisp
diamondbond_ is now known as diamondbond
yitzi has quit [*.net *.split]
toorevitimirp has quit [*.net *.split]
gaqwas has quit [*.net *.split]
sauvin has quit [*.net *.split]
glamas has quit [*.net *.split]
notzmv has quit [*.net *.split]
mrchampion has quit [*.net *.split]
vegansbane6963 has quit [Quit: The Lounge - https://thelounge.chat]
glamas has joined #lisp
yitzi has joined #lisp
mrchampion has joined #lisp
kam1 has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
supercoven has joined #lisp
shifty has quit [Ping timeout: 246 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
shifty has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
kevingal has joined #lisp
kevingal_ has joined #lisp
vegansbane6963 has joined #lisp
Stanley00 has quit [Remote host closed the connection]
eden has joined #lisp
vutral_ has quit [Quit: Connection closed for inactivity]
dhil has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
Stanley00 has joined #lisp
shifty has joined #lisp
luni has joined #lisp
yitzi has quit [Quit: yitzi]
cchristiansen has quit [Remote host closed the connection]
asarch has quit [Quit: Leaving]
<dim> in my experience the PostgreSQL channels are of comparable welcoming and politeness too
<dim> people often show up asking questions about mysql or rds/aurora or other non Postgres systems and they are politely pointed to the fact that Postgres knowledge can't be used to answer them and directed to other places, or sometimes the questions are answered too
<Xach> dim: do people join and ask "i heard normalization is for chumps"?
luni has quit [Quit: Connection closed]
<beach> Heh.
<beach> Xach: Are you paraphrasing a particular utterance here?
<dim> Xach: we have that kind of people yeah
<dim> Xach: we have people who come and ask us to optimise their MySQL queries and schemas too, because they heard we're good at SQL...
<dim> maybe that's comparable to people showing up here and asking about their scheme or emacs-lisp code?
<beach> Here, I often observe the phenomenon that people will ask an unrelated question just because the relevant IRC channel is not active.
Stanley00 has quit [Remote host closed the connection]
supercoven_ has joined #lisp
gitgoood has quit [Read error: Connection reset by peer]
gitgood has joined #lisp
Stanley00 has joined #lisp
supercoven has quit [Ping timeout: 245 seconds]
mrchampion has quit [Ping timeout: 264 seconds]
Stanley00 has quit [Read error: Connection reset by peer]
Stanley00 has joined #lisp
Stanley00 has quit [Read error: Connection reset by peer]
Stanley00 has joined #lisp
mrchampion has joined #lisp
schweers has joined #lisp
john_ is now known as gaqwas
schweers has quit [Client Quit]
gaqwas has quit [Changing host]
gaqwas has joined #lisp
schweers has joined #lisp
<schweers> Does anyone here have experience with deploying applications created with ABCL? I’m trying to create a jar file which includes everything the application needs, but I’m getting nowhere. I asked on #abcl a few days ago, but did not recieve an answer.
<minion> schweers, memo from easye: RE: "abcl tries to load the contents from the surrounding host system (i.e. ~/common-lisp/": the inclusion of <file:~/common-lisp/> comes from having Quicklisp loaded. You can try mucking with the ASDF configuration or not having Quicklisp present in the process. Unfortunately, the packaging document is the most current description of the situation, but as you have found, it could use an update or two.
Stanley00 has quit [Remote host closed the connection]
<schweers> huh
<schweers> easye: I just got your message. I’m afraid it won’t help me, as simply moving ~/common-lisp/ should cause abcl to then load from within the jar, which is sadly not the case.
orivej has joined #lisp
Stanley00 has joined #lisp
shifty has quit [Ping timeout: 245 seconds]
long4mud has quit [Quit: WeeChat 3.0.1]
shifty has joined #lisp
frost-lab has quit [Quit: Connection closed]
luni has joined #lisp
Stanley00 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 264 seconds]
notzmv has joined #lisp
orivej has joined #lisp
shifty has quit [Ping timeout: 245 seconds]
shifty has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
ldbeth has joined #lisp
<ldbeth> good afternnon
aartaka_d has joined #lisp
orivej has joined #lisp
aartaka has quit [Ping timeout: 265 seconds]
edgar-xyz has quit [Quit: Leaving]
edgar-rft has joined #lisp
Stanley00 has joined #lisp
mrchampion has quit [Ping timeout: 245 seconds]
Inline has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 246 seconds]
cosimone has joined #lisp
kevingal_ has quit [Remote host closed the connection]
kevingal has quit [Remote host closed the connection]
kevingal has joined #lisp
shifty has quit [Ping timeout: 265 seconds]
andrei-n has joined #lisp
warweasle has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 264 seconds]
mrchampion has joined #lisp
__jrjsmrtn__ has joined #lisp
epony has joined #lisp
Sheilong has joined #lisp
luni has quit [Quit: Connection closed]
Stanley00 has quit [Remote host closed the connection]
ldbeth has quit [Ping timeout: 256 seconds]
Stanley00 has joined #lisp
Stanley00 has quit [Remote host closed the connection]
jonatack_ has joined #lisp
ldbeth has joined #lisp
yitzi has joined #lisp
ldbeth has quit [Ping timeout: 264 seconds]
pankajsg has quit [Read error: Connection reset by peer]
pankajsg has joined #lisp
ldbeth has joined #lisp
orivej has joined #lisp
ldbeth has quit [Ping timeout: 260 seconds]
cg505 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
orivej has quit [Ping timeout: 256 seconds]
cg505 has joined #lisp
Bike has joined #lisp
Lycurgus has joined #lisp
jonatack_ has quit [Quit: jonatack_]
jonatack has joined #lisp
kevingal has quit [Remote host closed the connection]
kevingal has joined #lisp
kevingal_ has joined #lisp
kevingal_ has quit [Client Quit]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
eden has quit [Quit: Leaving]
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
cyraxjoe has joined #lisp
orivej has joined #lisp
surabax has joined #lisp
spal_ is now known as spal
matryoshka has quit [Ping timeout: 264 seconds]
matryoshka has joined #lisp
caret has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
azimut has quit [Ping timeout: 268 seconds]
Lycurgus has quit [Quit: Exeunt]
skapata has joined #lisp
asterope has joined #lisp
<asterope> I have an asdf system that depends on a package that uses cffi to load some libraries, but each time I load it I need to manually point cffi to the right library directory and continue
kevingal has quit [Remote host closed the connection]
<asterope> I need to either somehow hook into the loading process and execute some code after cffi loads or react to the exception it throws and continue automatically
kevingal has joined #lisp
<asterope> can someone point me in the right direction to do either of those things?
cage_ has joined #lisp
Stanley00 has joined #lisp
Stanley00 has quit [Read error: Connection reset by peer]
<Xach> asterope: That's a good question, I wish I could help, but I haven't seen that and don't know how to tweak CFFI that way.
<Bike> i think cffi leaves finding libraries up to the implementation as much as possible. i think the only hook it has is *foreign-library-directories*, which it discourages using.
<asterope> the cffi part is easy. I'm just changing the cffi::*foreign-library-directories* when it throws that it can't find the libraries
<Bike> well, the manual says what it signals is load-foreign-library-error, so you can put a handler on that, maybe?
rigidus has joined #lisp
<jackdaniel> asterope: what I do is that I'm closing all libraries before saving the image
<jackdaniel> and put load-all-libraries in the initialization code
<jackdaniel> (where load-all-libraries is your function that works on a preserved result of cffi:list-loaded-libraries from before you have closed them)
drbluefall has quit [Ping timeout: 246 seconds]
<jackdaniel> or something in this spirit, I don't have the actual code nearby
<asterope> reading about handling gives me the impression a handler has to "wrap around" the code that throws the exception
<Bike> the code that signals has to be in the dynamic extent of the handler, yes.
<Bike> in this case it seems like you'd put it around the load-foreign-library call.
orivej has joined #lisp
<asterope> can it be somehow used globally using my .sbclrc? I don't load cffi directly and it's a quirk of my system that I need to hijack foreign-library-directories
<beach> asterope: In Common Lisp we don't "throw exceptions". We "signal conditions". The distinction is important because the Common Lisp condition system is much more sophisticated than the exception systems of other languages. And Common Lisp has an operator THROW which does something completely different.
<Bike> there is no way to define global handlers, no.
<Bike> if you're doing asdf:load-system or something you could wrap it around that maybe?
<asterope> sorry for the incorrect terminology, it's a condition of cffi:load-foreign-library-error
<asterope> I think I could write a simple wrapper function, but then I'd have to remember not to use slime's ,load-system
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 246 seconds]
<phoe> ...or hook it to use your wrapper function
<Bike> i think you can configure asdf to do that, yeah. however, why exactly do you need to work with foreign-library-directories dynamically? are you like, adding new entries to it whenever a load fails?
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
kevingal has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kevingal has joined #lisp
<asterope> more specifically, guix install libraries to a directory in home dir, and cffi doesn't know that
<Bike> how do other programs load libraries? all cffi does is use the lisp implementation, which almost certainly uses dlopen
<Bike> (i mean, on posix)
nullx002 has joined #lisp
<asterope> programs in the distribution are already changed to tolerate that, but for cffi I need to either set LD_LIBRARY_PATH or *foreigh-library-directiories*
shka_ has quit [Quit: Konversation terminated!]
<asterope> just confirmed that I can rebind ql:quickload to a wrapper and slime will use it, I think that will solve it
curtosis[away] has joined #lisp
Inline has joined #lisp
shka_ has joined #lisp
<Bike> we get questions like this not infrequently and i'm wondering if there's a comprehensive Right Thing To Do. ld.so.conf? something? do guix programs just never dlopen anything?
jgkamat has quit [Quit: ZNC - https://znc.in]
jgkamat has joined #lisp
<p_l> Bike: you end up having to provide LD_LIBRARY_PATH and the like
<p_l> sometimes in wrapper scripts generated by guix/nix
<asterope> oh wait, I can change ld_library_path in .bashrc, it's a lot simpler
<asterope> for some reason I rejected it, but the alternative is much more complicated
asterope has quit [Remote host closed the connection]
asterope has joined #lisp
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sjl has joined #lisp
asterope has quit [Ping timeout: 246 seconds]
charles` has joined #lisp
<Josh_2> What function do I use to remove one list from another?
<Josh_2> Cant remember the name :O
orivej has quit [Ping timeout: 256 seconds]
ebrasca has joined #lisp
<flip214> Josh_2: set-difference?
<beach> Josh_2: I don't understand the specification.
<beach> Josh_2: Perhaps you can give an example?
orivej has joined #lisp
<beach> clhs remove
curtosis has joined #lisp
charles` has quit [Ping timeout: 264 seconds]
<Josh_2> I think it is set-difference
<Josh_2> I will try
<Josh_2> basically I have a long list of many strings, and I would like to conditionally remove some of the strings based on a list of strings to exclude
varjag has quit [Quit: ERC (IRC client for Emacs 26.3)]
<beach> I don't think of that as removing a list from another, but hey.
<beach> And what is the "conditionally" part?
<beach> Otherwise, yes, that sounds like set-difference.
<Josh_2> Oh right, yes It's not technically removing anything is it
<Josh_2> just creating a new list from the difference
<beach> clhs delete
<beach> But you still have to use the return value, because you can't delete the first element of a list.
<beach> And yes, SET-DIFFERENCE does not have any side effects.
<Josh_2> I will try set-difference, I think thats what I want
random-nick has quit [Ping timeout: 256 seconds]
ficl has quit [Ping timeout: 256 seconds]
Klopsch has quit [Remote host closed the connection]
frgo_ has joined #lisp
Klopsch has joined #lisp
notzmv has quit [Ping timeout: 264 seconds]
Klopsch has quit [Remote host closed the connection]
frgo has quit [Ping timeout: 276 seconds]
frgo_ has quit [Ping timeout: 244 seconds]
Klopsch has joined #lisp
random-nick has joined #lisp
Inline has quit [Ping timeout: 265 seconds]
vutral_ has joined #lisp
charles` has joined #lisp
Tordek has quit [Ping timeout: 256 seconds]
Tordek has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
mindCrime_ has joined #lisp
corpix has quit [Remote host closed the connection]
corpix has joined #lisp
kevingal has quit [Remote host closed the connection]
notzmv has joined #lisp
karlosz has joined #lisp
jurov_ has joined #lisp
jurov has quit [Ping timeout: 260 seconds]
notzmv has quit [Ping timeout: 246 seconds]
Major_Biscuit has quit [Ping timeout: 265 seconds]
nullx002 has quit [Read error: Connection reset by peer]
nullx002 has joined #lisp
andrei-n has quit [Ping timeout: 246 seconds]
ljavorsk has quit [Ping timeout: 245 seconds]
rozengla` has joined #lisp
rozenglass has quit [Ping timeout: 246 seconds]
jonatack has quit [Ping timeout: 265 seconds]
rumbler31 has quit [Remote host closed the connection]
jonatack has joined #lisp
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
zaquest has quit [Ping timeout: 246 seconds]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
nullx002 has quit [Ping timeout: 260 seconds]
zaquest has joined #lisp
contrapunctus has joined #lisp
rumbler31 has joined #lisp
davisr has joined #lisp
<jdz> Josh_2: Don't forget to provide the test otherwise you'll think it does not work.
<jdz> Oh, late to the party :/
sauvin_ has quit [Remote host closed the connection]
<Josh_2> jdz dw I did :)
nullx002 has joined #lisp
notzmv has joined #lisp
luni has joined #lisp
cage__ has joined #lisp
yitzi_ has joined #lisp
notzmv has quit [Ping timeout: 276 seconds]
nullx002 has quit [*.net *.split]
zaquest has quit [*.net *.split]
amb007 has quit [*.net *.split]
curtosis has quit [*.net *.split]
rigidus has quit [*.net *.split]
cage_ has quit [*.net *.split]
yitzi has quit [*.net *.split]
glamas has quit [*.net *.split]
yitzi_ is now known as yitzi
amb007 has joined #lisp
jurov has joined #lisp
zaquest has joined #lisp
glamas_ has joined #lisp
rigidus` has joined #lisp
jurov_ has quit [Ping timeout: 246 seconds]
notzmv has joined #lisp
waleee-cl has joined #lisp
yitzi has quit [Quit: yitzi]
galex-713 has quit [Ping timeout: 265 seconds]
galex-713 has joined #lisp
ficl has joined #lisp
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 256 seconds]
<White_Flame> so, default quickload hides all warnings and only shows progress dots. *quickload-verbose* t shows the build stuff, but for all dependencies
<White_Flame> is there a way to only be verbose for your dev projects that you're working on, and not the entire dependency tree?
<Shinmera> No, but that's something Xach has been talking about wanting to add for ages.
<White_Flame> ok
<White_Flame> it can probably be cobbled up with some :around thingies on the asdf project triggers, but it's not a big enough deal to bother with that
<White_Flame> I still need to tear out our ancient build tools and standardize everything on those more in-depth asdf features
galex-713 has quit [Ping timeout: 256 seconds]
luckless has joined #lisp
dbotton has joined #lisp
Klopsch has quit [Remote host closed the connection]
galex-713 has joined #lisp
rogersm has joined #lisp
kam1 has joined #lisp
baullrog_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
galex-713 has quit [Ping timeout: 265 seconds]
rogersm has quit [Client Quit]
kam1 has quit [Read error: Connection reset by peer]
kam1 has joined #lisp
charles` has quit [Ping timeout: 260 seconds]
thonkpod_ is now known as thonkpod
kam1 has quit [Read error: Connection reset by peer]
luckless is now known as azimut
kam1 has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
kam1 has joined #lisp
galex-713 has joined #lisp
yitzi has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
rumbler31 has quit [Remote host closed the connection]
kam1 has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
marusich has quit [Ping timeout: 256 seconds]
galex-713 has quit [Ping timeout: 256 seconds]
<cage__> Hi! i wonder why this form (let ((*print-circle* t)) '#1=(2 2 5 #1#)) makes the stack explode (i am using SBCL 2.1.1)
cosimone has quit [Remote host closed the connection]
<_death> the *print-circle* is bound while the inner form is evaluated, but the binding expires before the REPL prints it
galex-713 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
<cage__> _death, thanks!
<cage__> in fact: (let ((*print-circle* t)) (format t "~a~%" '#1=(2 2 5 #1#))) ; => #1=(2 2 5 #1#)
<Josh_2> Can someone help me with my macro writing macro https://plaster.tymoon.eu/view/2346#2346 I think It's obvious what I'm trying to do
amb007 has joined #lisp
<Josh_2> but basically I'm trying to get (args-from-validation-lists ..) to evaluate to a list like (message message2) and then add that to the end of that λ list
<Josh_2> and the same with (list-of-lists->validators ..) that returns a list and I'm trying to add that list into my progn
<Josh_2> I keep getting the error that args is unbound
warweasle has quit [Quit: rcirc on GNU Emacs 26.1]
<Bike> nothing is obvious about double backquotes, i'm afraid
<Josh_2> rip
<phoe> I hate double backquote with a passion
<Bike> try writing it with list operators instead at first
<Bike> see where that takes you
<_death> well, you have ',args in ,@(...) .. maybe just plain args will do
<Josh_2> well that worked _death
<_death> double backquote is not the culprit, this time ;)
<phoe> but nonetheless it's a good occasion to let us all collectively complain about it
<phoe> I hate double backquote
<Josh_2> my macro writing macro was working until I added the ,@ .. so id didn't think it was because of the double backquotes
shifty has joined #lisp
hiroaki has quit [Ping timeout: 260 seconds]
<Bike> what you have to understand is that double backquotes were inserted into creation by the demiurge to distract us from the true light of the emanations.
<Josh_2> Yes that sounds about right
<phoe> the demiurge had to insert distractions because otherwise we'd notice the gc pauses
galex-713 has quit [Ping timeout: 265 seconds]
charles` has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
narimiran has quit [Ping timeout: 256 seconds]
kam1 has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
caret has quit [Read error: Connection reset by peer]
galex-713 has joined #lisp
<_death> and on the third day, backquote was inserted, and it was good, and yet another backquote was inserted, and was now 2*good.
hiroaki has joined #lisp
Lord_of_Life has quit [Ping timeout: 265 seconds]
galex-713_ has joined #lisp
galex-713 has quit [Ping timeout: 265 seconds]
vutral_ has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 264 seconds]
kam1 has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
DHARMAKAYA has joined #lisp
aindilis has joined #lisp
mathrick has quit [Ping timeout: 256 seconds]
pankajsg has quit [Ping timeout: 245 seconds]
<jasom> I wouldn't go so far as saying I *hate* double backquote, but certainly refactoring into ,(function-that-uses-backquote) tends to be more readable
galex-713_ has quit [Ping timeout: 264 seconds]
SP41 has joined #lisp
shka_ has quit [Ping timeout: 246 seconds]
<fiddlerwoaroof> phoe: I think it does, because the functions it calls does, but it's more of a quick hack than anything :)
orivej has joined #lisp
kam1 has joined #lisp
shifty has quit [Ping timeout: 244 seconds]
kam1 has quit [Read error: Connection reset by peer]
shifty has joined #lisp
cosimone has joined #lisp
Lycurgus has joined #lisp
mathrick has joined #lisp
galex-713 has joined #lisp
cage__ has quit [Quit: Leaving]
dbotton has quit [Quit: This computer has gone to sleep]
luni has quit [Quit: Connection closed]
shifty has quit [Ping timeout: 260 seconds]
shifty has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
shifty has joined #lisp
mindCrime_ has quit [Ping timeout: 246 seconds]
mindCrime_ has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
galex-713 has quit [Ping timeout: 265 seconds]
galex-713_ has joined #lisp
shifty has joined #lisp
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
frgo has joined #lisp
gaqwas has quit [Ping timeout: 260 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
Jachy has joined #lisp
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #lisp
ficl has quit [Ping timeout: 260 seconds]
galex-713_ has quit [Ping timeout: 265 seconds]
galex-713 has joined #lisp
cchristiansen has joined #lisp
ljavorsk has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
kam1 has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
<fiddlerwoaroof> Hmm, I think pprint-logical-block might actually handle a bunch of those pritner control variables
<fiddlerwoaroof> clhs pprint-logical-block
<fiddlerwoaroof> Yeah, it's really annoying to use for various reasons, but it handles all the complicated pretty-printing stuff
rumbler31 has joined #lisp
galex-713 has quit [Ping timeout: 265 seconds]
Lycurgus has quit [Quit: Exeunt]
bitmapper has joined #lisp
rumbler31 has quit [Ping timeout: 256 seconds]
Nilby has joined #lisp
schweers has quit [Ping timeout: 244 seconds]
galex-713 has joined #lisp
dbotton has joined #lisp
galex-713_ has joined #lisp
galex-713 has quit [Ping timeout: 265 seconds]
karlosz has quit [Ping timeout: 256 seconds]
kaiwulf has joined #lisp
<phoe> oh, nice
DHARMAKAYA has joined #lisp
DHARMAKAYA has quit [Client Quit]
DHARMAKAYA has joined #lisp
jonatack_ has joined #lisp
galex-713_ has quit [Remote host closed the connection]
* fiddlerwoaroof doesn't feel satisfied unless I'm in triple-backquote mode
jonatack has quit [Ping timeout: 246 seconds]
galex-713 has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
varjag has joined #lisp
johnjay has joined #lisp
galex-713_ has joined #lisp
galex-713 has quit [Ping timeout: 265 seconds]
surabax has quit [Quit: Leaving]
qing has joined #lisp
galex-713_ has quit [Ping timeout: 246 seconds]
galex-713 has joined #lisp
sjl has quit [Ping timeout: 264 seconds]
_qing has joined #lisp
supercoven_ has quit [Ping timeout: 264 seconds]
qing has quit [Ping timeout: 265 seconds]
kam1 has quit [Read error: Connection reset by peer]
aindilis has quit [Remote host closed the connection]
aindilis` has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
kam1 has joined #lisp
dbotton has quit [Quit: Leaving]
galex-713 has quit [Ping timeout: 265 seconds]
galex-713 has joined #lisp
aindilis` has quit [Remote host closed the connection]
orivej has joined #lisp
varjag has quit [Ping timeout: 256 seconds]
aindilis has joined #lisp
galex-713 has quit [Ping timeout: 245 seconds]
galex-713 has joined #lisp
notzmv has quit [Ping timeout: 244 seconds]
<White_Flame> I wonder if I've done 4 backquotes deep. I know I've done 3. But man, those take a long time to work through
pve has quit [Quit: leaving]
notzmv has joined #lisp
orivej has quit [Ping timeout: 245 seconds]
karlosz has joined #lisp
contrapunctus has quit [Ping timeout: 260 seconds]
charles` has quit [Ping timeout: 264 seconds]
charles` has joined #lisp
mathrick_ has joined #lisp
shifty has joined #lisp
akoana has joined #lisp
mathrick has quit [Ping timeout: 260 seconds]
hjudt has quit [Ping timeout: 265 seconds]
<White_Flame> I concur with jasom about breaking out deeper levels of commas into separate functions or macros, once the code gets to a certain size
flip214 has quit [Ping timeout: 246 seconds]
flip214 has joined #lisp
sturm_ has joined #lisp
<Nilby> double backquotes make me feel like ``(,-_,-)
<fiddlerwoaroof> I think the library babel is the only three-comma library
<fiddlerwoaroof> (on my system)
jonatack_ has quit [Ping timeout: 264 seconds]
vaporatorius has quit [Ping timeout: 244 seconds]
shifty has quit [Ping timeout: 256 seconds]
charles` has quit [Read error: Connection reset by peer]
cosimone has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
ljavorsk has quit [Ping timeout: 246 seconds]
anticrisis has joined #lisp
galex-713 has quit [Ping timeout: 265 seconds]
galex-713 has joined #lisp
random-nick has quit [Ping timeout: 256 seconds]
<jmercouris> How to find files next to my asd?
<jasom> jmercouris: (asdf:system-relative-pathname)
<jmercouris> Isn’t there a asdf system relative path or something ?
<jmercouris> You are too quick :-D
<jmercouris> I’m trying to think about how to distribute assets in systems loaded as extensions for Nyxt
<jmercouris> I guess for now , that will work well
<jmercouris> Thanks jasom
<jasom> IMO that's the correct way to reference bundled assets as long as you are distributing with source
galex-713 has quit [Ping timeout: 265 seconds]
galex-713_ has joined #lisp
amb007 has quit [Ping timeout: 260 seconds]
<fiddlerwoaroof> jmercouris: in macos, there's some nice APIs for bundle-relative pathnames
<jmercouris> Yes, all extensions will be distributed via source
<jmercouris> fiddlerwoaroof: those I know, but this most work cross platform
Oladon has joined #lisp
<fiddlerwoaroof> I agree it has to work cross-platform, but people applications to work the way the platform works
<fiddlerwoaroof> Attempting to unify things like this across-platform makes your application feel out-of-place on the various platforms