really3 has quit [Remote host closed the connection]
Helmholtz has quit [Quit: Helmholtz]
Oladon has quit [Quit: Leaving.]
Helmholtz has joined #lisp
prxq_ has joined #lisp
prxq has quit [Ping timeout: 256 seconds]
_whitelogger_ has joined #lisp
_whitelogger_ has joined #lisp
sm2n_ is now known as sm2n
sm2n_ is now known as sm2n
elusive has quit [Remote host closed the connection]
elusive has quit [Remote host closed the connection]
<fiddlerwoaroof>
Is it possible to reset the list being collected into by loop?
<fiddlerwoaroof>
Is it possible to reset the list being collected into by loop?
asarch has joined #lisp
asarch has joined #lisp
Alfr is now known as Guest25080
Alfr is now known as Guest25080
Guest25080 has quit [Killed (wilhelm.freenode.net (Nickname regained by services))]
Alfr has joined #lisp
Alfr has joined #lisp
orivej has joined #lisp
orivej has joined #lisp
<beach>
Good morning everyone!
<beach>
Good morning everyone!
<Spawns_Carpeting>
Good morning
<Spawns_Carpeting>
Good morning
<fiddlerwoaroof>
j
<fiddlerwoaroof>
j
Helmholtz has quit [Quit: Helmholtz]
Helmholtz has quit [Quit: Helmholtz]
<beach>
Spawns_Carpeting: Are you new here? I don't recognize your nick.
<beach>
Spawns_Carpeting: Are you new here? I don't recognize your nick.
<beach>
Xach: That is surprising indeed. What implementation was that?
<beach>
Xach: That is surprising indeed. What implementation was that?
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
<beach>
fiddlerwoaroof: I don't think there is a way to access the list collected.
<beach>
fiddlerwoaroof: I don't think there is a way to access the list collected.
<fiddlerwoaroof>
Yeah, I decided to switch to a with/do instead of collect
<fiddlerwoaroof>
Yeah, I decided to switch to a with/do instead of collect
<beach>
Yeah, much better.
<beach>
Yeah, much better.
contrapunctus has joined #lisp
contrapunctus has joined #lisp
<Spawns_Carpeting>
beach: yes
<Spawns_Carpeting>
beach: yes
<Spawns_Carpeting>
First time in this channel. I just discovered lisp a few days ago and have been attempting to learn it
<Spawns_Carpeting>
First time in this channel. I just discovered lisp a few days ago and have been attempting to learn it
<beach>
Great! Welcome!
<beach>
Great! Welcome!
<beach>
Feel free to ask questions. If they become numerous and truly trivial, depending on traffic here, you may be asked to take them to #clschool.
<beach>
Feel free to ask questions. If they become numerous and truly trivial, depending on traffic here, you may be asked to take them to #clschool.
<Spawns_Carpeting>
That's a good channel to know about thanks
<Spawns_Carpeting>
That's a good channel to know about thanks
akoana has joined #lisp
akoana has joined #lisp
<beach>
Sure.
<beach>
Sure.
Codaraxis_ has quit [Ping timeout: 246 seconds]
Codaraxis_ has quit [Ping timeout: 246 seconds]
Codaraxis_ has joined #lisp
Codaraxis_ has joined #lisp
<beach>
Spawns_Carpeting: What programming language(s) did you use in the past?
<beach>
Spawns_Carpeting: What programming language(s) did you use in the past?
<Spawns_Carpeting>
Mostly Python, C and C++
<Spawns_Carpeting>
Mostly Python, C and C++
<Spawns_Carpeting>
So coming from those and then trying lisp... the difference is really big
<Spawns_Carpeting>
So coming from those and then trying lisp... the difference is really big
<beach>
Indeed.
<beach>
Indeed.
<beach>
The semantics of Common Lisp is closer to Python than to C and C++, but performance of a good Common Lisp implementation is closer to C++ than to Python.
<beach>
The semantics of Common Lisp is closer to Python than to C and C++, but performance of a good Common Lisp implementation is closer to C++ than to Python.
<Spawns_Carpeting>
I have been using CLISP and SBCL. CLISP seems really terribly slow but SBCL is incredibly fast
<Spawns_Carpeting>
I have been using CLISP and SBCL. CLISP seems really terribly slow but SBCL is incredibly fast
<beach>
Yeah. CLISP uses a bytecode interpreter for its evaluator (but I think there is work to do something better) whereas SBCL compiles to native code.
<beach>
Yeah. CLISP uses a bytecode interpreter for its evaluator (but I think there is work to do something better) whereas SBCL compiles to native code.
<moon-child>
clisp is still under development?
<moon-child>
clisp is still under development?
Bike has quit [Quit: Lost terminal]
Bike has quit [Quit: Lost terminal]
<beach>
moon-child: Somewhat, I think. Yes.
<beach>
moon-child: Somewhat, I think. Yes.
<Spawns_Carpeting>
Emacs lisp is pretty neat too, that's what introduced me to it all
<Spawns_Carpeting>
Emacs lisp is pretty neat too, that's what introduced me to it all
<beach>
Sure.
<beach>
Sure.
Codaraxis_ has quit [Remote host closed the connection]
Codaraxis_ has quit [Remote host closed the connection]
<beach>
I have a funny anecdote about Emacs Lisp. When RMS announced Emacs in 1984 (I think it was), I answered his email saying it would be better to first write a good Lisp system and then implement Emacs in it, rather than writing a very rudimentary Lisp system specifically for Emacs.
<beach>
I have a funny anecdote about Emacs Lisp. When RMS announced Emacs in 1984 (I think it was), I answered his email saying it would be better to first write a good Lisp system and then implement Emacs in it, rather than writing a very rudimentary Lisp system specifically for Emacs.
<beach>
He answered (I believe I remember it literally): "Sounds good! Let me know when you have implemented it!"
<beach>
He answered (I believe I remember it literally): "Sounds good! Let me know when you have implemented it!"
<Spawns_Carpeting>
wow you had RMS's email? that's pretty cool
<Spawns_Carpeting>
wow you had RMS's email? that's pretty cool
<Spawns_Carpeting>
I guess it was a mailing list or something but still
<Spawns_Carpeting>
I guess it was a mailing list or something but still
<beach>
Yes, email was pretty much the only option then.
<beach>
Yes, email was pretty much the only option then.
<beach>
I haven't seen him much lately, but when we organized the "Libre Software Meeting" for many years (starting in 2000 I think) he was a regular visitor. And I invited him to spend a few weeks at our laboratory at some point as well.
<beach>
I haven't seen him much lately, but when we organized the "Libre Software Meeting" for many years (starting in 2000 I think) he was a regular visitor. And I invited him to spend a few weeks at our laboratory at some point as well.
<beach>
Hmm, so I guess I am currently working on what he "encouraged" me to do. :) Only some 37 years later.
<beach>
Hmm, so I guess I am currently working on what he "encouraged" me to do. :) Only some 37 years later.
<Spawns_Carpeting>
You are working on a lisp implementation?
<Spawns_Carpeting>
You are working on a lisp implementation?
<beach>
Yes.
<beach>
Yes.
<beach>
minion: Please tell Spawns_Carpeting about SICL.
<beach>
minion: Please tell Spawns_Carpeting about SICL.
<minion>
Spawns_Carpeting: SICL: SICL is a (perhaps futile) attempt to re-implement Common Lisp from scratch, hopefully using improved programming and bootstrapping techniques. See https://github.com/robert-strandh/SICL
<minion>
Spawns_Carpeting: SICL: SICL is a (perhaps futile) attempt to re-implement Common Lisp from scratch, hopefully using improved programming and bootstrapping techniques. See https://github.com/robert-strandh/SICL
<Spawns_Carpeting>
That sounds fun, also very impressive
<Spawns_Carpeting>
That sounds fun, also very impressive
<beach>
Thanks.
<beach>
Thanks.
<Spawns_Carpeting>
You certainly must know quite a lot about the language ha!
<Spawns_Carpeting>
You certainly must know quite a lot about the language ha!
<beach>
Many people who hang out here are very knowledgeable. Not only about Common Lisp, but about many other things. That's a huge reason why I like #lisp. I am certainly not *the* expert.
<beach>
Many people who hang out here are very knowledgeable. Not only about Common Lisp, but about many other things. That's a huge reason why I like #lisp. I am certainly not *the* expert.
<beach>
Spawns_Carpeting: Oh, and don't waste your time on SICL at this point. It is not ready yet. I would stick to SBCL if I were you.
<beach>
Spawns_Carpeting: Oh, and don't waste your time on SICL at this point. It is not ready yet. I would stick to SBCL if I were you.
<Spawns_Carpeting>
That's the cool thing about freenode in general, lot's of knowledge available
<Spawns_Carpeting>
That's the cool thing about freenode in general, lot's of knowledge available
<beach>
Indeed. But I hear rumors that many channels are a lot less friendly and a lot more tolerant of ignorant babble than #lisp.
<beach>
Indeed. But I hear rumors that many channels are a lot less friendly and a lot more tolerant of ignorant babble than #lisp.
<Spawns_Carpeting>
I need to head to sleep it's 1am here. It was nice meeting you beach: I will certainly be back with hopefully not too basic of questions !
<Spawns_Carpeting>
I need to head to sleep it's 1am here. It was nice meeting you beach: I will certainly be back with hopefully not too basic of questions !
<beach>
Sleep well.
<beach>
Sleep well.
<beach>
So north America is already on daylight savings time, I guess.
<beach>
So north America is already on daylight savings time, I guess.
<fiddlerwoaroof>
beach: yeah, my life has been sort of miserable because kids don't recognize DST
<fiddlerwoaroof>
beach: yeah, my life has been sort of miserable because kids don't recognize DST
<beach>
I can see that.
<beach>
I can see that.
<beach>
Here in France, we worry more about the cows than about the kids.
<beach>
Here in France, we worry more about the cows than about the kids.
skapate has quit [Quit: Leaving]
skapate has quit [Quit: Leaving]
<beach>
I say "we", but I worry about neither myself. I was only reporting what I see on the TV news.
<beach>
I say "we", but I worry about neither myself. I was only reporting what I see on the TV news.
<fiddlerwoaroof>
I hope to make it to Europe one of these years
<fiddlerwoaroof>
I hope to make it to Europe one of these years
<beach>
You haven't been here yet?
<beach>
You haven't been here yet?
<fiddlerwoaroof>
No, I don't even have a passport :)
<fiddlerwoaroof>
No, I don't even have a passport :)
<beach>
Oh, yeah, then definitely! It's a great place!
<beach>
Oh, yeah, then definitely! It's a great place!
<beach>
Maybe for ELS2022.
<beach>
Maybe for ELS2022.
kevingal has quit [Remote host closed the connection]
kevingal has quit [Remote host closed the connection]
<fiddlerwoaroof>
Yeah, that would be fun. I've been sort of planning on a trip to Europe in '22 for other reasons
<fiddlerwoaroof>
Yeah, that would be fun. I've been sort of planning on a trip to Europe in '22 for other reasons
<beach>
I see.
<beach>
I see.
orivej has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
oxum has quit [Ping timeout: 240 seconds]
oxum has quit [Ping timeout: 240 seconds]
asarch_ has joined #lisp
asarch_ has joined #lisp
asarch has quit [Ping timeout: 265 seconds]
asarch has quit [Ping timeout: 265 seconds]
Oddity- is now known as Oddity
Oddity- is now known as Oddity
asarch_ is now known as asarch
asarch_ is now known as asarch
aindilis has quit [Ping timeout: 264 seconds]
aindilis has quit [Ping timeout: 264 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #lisp
_whitelogger_ has joined #lisp
akoana has quit [Quit: leaving]
akoana has quit [Quit: leaving]
pankajsg has quit [Ping timeout: 264 seconds]
pankajsg has quit [Ping timeout: 264 seconds]
krkini has joined #lisp
krkini has joined #lisp
cchristiansen has quit [Remote host closed the connection]
cchristiansen has quit [Remote host closed the connection]
kini has quit [Ping timeout: 264 seconds]
kini has quit [Ping timeout: 264 seconds]
pankajsg has joined #lisp
pankajsg has joined #lisp
aartaka has joined #lisp
aartaka has joined #lisp
cyberlard has quit [Quit: Leaving]
cyberlard has quit [Quit: Leaving]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #lisp
_whitelogger_ has joined #lisp
DHARMAKAYA has joined #lisp
DHARMAKAYA has joined #lisp
krkini has quit [Quit: bye]
krkini has quit [Quit: bye]
toorevitimirp has joined #lisp
toorevitimirp has joined #lisp
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #lisp
_whitelogger_ has joined #lisp
narimiran has joined #lisp
narimiran has joined #lisp
kini has joined #lisp
kini has joined #lisp
admich has joined #lisp
admich has joined #lisp
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #lisp
_whitelogger_ has joined #lisp
aartaka_d has joined #lisp
aartaka_d has joined #lisp
leb has quit []
leb has quit []
aartaka has quit [Ping timeout: 264 seconds]
aartaka has quit [Ping timeout: 264 seconds]
rotty has quit [Ping timeout: 265 seconds]
rotty has quit [Ping timeout: 265 seconds]
luni has joined #lisp
luni has joined #lisp
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has joined #lisp
madage has quit [Ping timeout: 268 seconds]
madage has quit [Ping timeout: 268 seconds]
shka_ has joined #lisp
shka_ has joined #lisp
admich has quit [Ping timeout: 240 seconds]
admich has quit [Ping timeout: 240 seconds]
cods has quit [Ping timeout: 265 seconds]
cods has quit [Ping timeout: 265 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
bitmapper has quit [Quit: Connection closed for inactivity]
admich has joined #lisp
admich has joined #lisp
kenran has joined #lisp
kenran has joined #lisp
pve has joined #lisp
pve has joined #lisp
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
tiwEllien has joined #lisp
tiwEllien has joined #lisp
luni has quit [Quit: Connection closed]
luni has quit [Quit: Connection closed]
vutral_ has joined #lisp
vutral_ has joined #lisp
hendursaga has joined #lisp
hendursaga has joined #lisp
madage has joined #lisp
madage has joined #lisp
hendursa1 has quit [Ping timeout: 268 seconds]
hendursa1 has quit [Ping timeout: 268 seconds]
patrixl has quit [Ping timeout: 240 seconds]
patrixl has quit [Ping timeout: 240 seconds]
patrixl has joined #lisp
patrixl has joined #lisp
toorevitimirp has quit [Remote host closed the connection]
toorevitimirp has quit [Remote host closed the connection]
stylewarning_ has joined #lisp
stylewarning_ has joined #lisp
Grue` has joined #lisp
Grue` has joined #lisp
stylewarning has quit [Ping timeout: 240 seconds]
Grue`` has quit [Ping timeout: 240 seconds]
stylewarning has quit [Ping timeout: 240 seconds]
Grue`` has quit [Ping timeout: 240 seconds]
stylewarning_ is now known as stylewarning
stylewarning_ is now known as stylewarning
abhixec has quit [Ping timeout: 246 seconds]
abhixec has quit [Ping timeout: 246 seconds]
Lord_of_Life has joined #lisp
Lord_of_Life has joined #lisp
rotty has joined #lisp
rotty has joined #lisp
orivej has joined #lisp
orivej has joined #lisp
anticrisis_ has quit [Read error: Connection reset by peer]
anticrisis_ has quit [Read error: Connection reset by peer]
surabax has joined #lisp
surabax has joined #lisp
narimiran has quit [Ping timeout: 240 seconds]
narimiran has quit [Ping timeout: 240 seconds]
cods has joined #lisp
cods has joined #lisp
asarch has quit [Quit: Leaving]
asarch has quit [Quit: Leaving]
karlosz has joined #lisp
karlosz has joined #lisp
arichiardi[m] has quit [Quit: Idle for 30+ days]
arichiardi[m] has quit [Quit: Idle for 30+ days]
equwal has quit [Quit: Idle for 30+ days]
equwal has quit [Quit: Idle for 30+ days]
aartaka has joined #lisp
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 276 seconds]
aartaka_d has quit [Ping timeout: 276 seconds]
abhixec has joined #lisp
abhixec has joined #lisp
aartaka_d has joined #lisp
aartaka_d has joined #lisp
mindCrime_ has quit [Ping timeout: 244 seconds]
mindCrime_ has quit [Ping timeout: 244 seconds]
aartaka has quit [Ping timeout: 256 seconds]
aartaka has quit [Ping timeout: 256 seconds]
aartaka_d has quit [Ping timeout: 240 seconds]
aartaka_d has quit [Ping timeout: 240 seconds]
kini has quit [Remote host closed the connection]
kini has quit [Remote host closed the connection]
kini has joined #lisp
kini has joined #lisp
aartaka has joined #lisp
aartaka has joined #lisp
varjag has joined #lisp
varjag has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has quit [Quit: karlosz]
dhil has joined #lisp
dhil has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 264 seconds]
CL-ASHOK has joined #lisp
CL-ASHOK has joined #lisp
<CL-ASHOK>
is it possible to do the following (defun (my-variable) (let ((my-variable (+ my-variable 1)....
<CL-ASHOK>
is it possible to do the following (defun (my-variable) (let ((my-variable (+ my-variable 1)....
<CL-ASHOK>
i.e. is the parameter variables in a different namespace to the lexical scope of the let
<CL-ASHOK>
i.e. is the parameter variables in a different namespace to the lexical scope of the let
<CL-ASHOK>
and I can re-use them
<CL-ASHOK>
and I can re-use them
<CL-ASHOK>
or do I need to have seperate names?
<CL-ASHOK>
or do I need to have seperate names?
<beach>
Hold on a minute....
<beach>
Hold on a minute....
<beach>
First of all, DEFUN takes a function name as the first parameter.
<beach>
First of all, DEFUN takes a function name as the first parameter.
<CL-ASHOK>
sorry I missed that part
<CL-ASHOK>
sorry I missed that part
<beach>
Did you just omit it?
<beach>
Did you just omit it?
<CL-ASHOK>
yes
<CL-ASHOK>
yes
<CL-ASHOK>
sorry
<CL-ASHOK>
sorry
<beach>
The parameter is in the same namespace as other variables.
<beach>
The parameter is in the same namespace as other variables.
<beach>
So you can do what you suggested.
<beach>
So you can do what you suggested.
<beach>
Except you should use the function 1+ rather than (+ ... 1)
<beach>
Except you should use the function 1+ rather than (+ ... 1)
<CL-ASHOK>
Thanks! So does it just override the value of my-variable?
<CL-ASHOK>
Thanks! So does it just override the value of my-variable?
<beach>
Within the scope of the LET, yes.
<beach>
Within the scope of the LET, yes.
<CL-ASHOK>
thanks!
<CL-ASHOK>
thanks!
<beach>
Pleasure.
<beach>
Pleasure.
<CL-ASHOK>
(p.s. looks strange what I'm doing but I'm trying to implement some function overloading with &key)
<CL-ASHOK>
(p.s. looks strange what I'm doing but I'm trying to implement some function overloading with &key)
<beach>
I don't see the relation. What do you mean by "function overloading" and how is it related to &key?
<beach>
I don't see the relation. What do you mean by "function overloading" and how is it related to &key?
aartaka_d has joined #lisp
aartaka_d has joined #lisp
<CL-ASHOK>
Function overloading is when you have functions with the same name but accepting different parameters
<CL-ASHOK>
Function overloading is when you have functions with the same name but accepting different parameters
<CL-ASHOK>
e.g. get-data (field1 field2) and get-data (field3)
<CL-ASHOK>
e.g. get-data (field1 field2) and get-data (field3)
<CL-ASHOK>
so I'm using &key to make these fields optional and accessible, e.g. (defun get-data (&key (field1 nil) (field2 nil) (field3 nil)...
<CL-ASHOK>
so I'm using &key to make these fields optional and accessible, e.g. (defun get-data (&key (field1 nil) (field2 nil) (field3 nil)...
<beach>
I guess you could do that with &rest and/or &optional, but I don't see how to do it with &key.
<beach>
I guess you could do that with &rest and/or &optional, but I don't see how to do it with &key.
<CL-ASHOK>
then using a let where I check if they are supplied, to determine the correct function to execute
<CL-ASHOK>
then using a let where I check if they are supplied, to determine the correct function to execute
admich` has joined #lisp
admich` has joined #lisp
<CL-ASHOK>
but I don't want to keep creating new names, so its good to be able to reuse the names (like in my original question)
<CL-ASHOK>
but I don't want to keep creating new names, so its good to be able to reuse the names (like in my original question)
<beach>
Then you would have to call it like this: (get-data :field1 ... :field2 ...)
<beach>
Then you would have to call it like this: (get-data :field1 ... :field2 ...)
<CL-ASHOK>
yes
<CL-ASHOK>
yes
aartaka has quit [Ping timeout: 240 seconds]
aartaka has quit [Ping timeout: 240 seconds]
<beach>
That looks like just a function with keyword arguments to me. Nothing special.
<beach>
That looks like just a function with keyword arguments to me. Nothing special.
matryoshka` has quit [Ping timeout: 240 seconds]
matryoshka` has quit [Ping timeout: 240 seconds]
cpt_nemo has quit [Ping timeout: 240 seconds]
cpt_nemo has quit [Ping timeout: 240 seconds]
abhixec has quit [Ping timeout: 240 seconds]
abhixec has quit [Ping timeout: 240 seconds]
<CL-ASHOK>
Yeah, nothing special. I will just a control flow within the function to do different things with it, depending on which combination of keyword arguments are supplied
<CL-ASHOK>
Yeah, nothing special. I will just a control flow within the function to do different things with it, depending on which combination of keyword arguments are supplied
admich has quit [Ping timeout: 264 seconds]
admich has quit [Ping timeout: 264 seconds]
<beach>
OK. Can I assume you know about the SUPPLIED-P option to keyword parameters?
<beach>
OK. Can I assume you know about the SUPPLIED-P option to keyword parameters?
<beach>
e.g. &key (field1 nil field1-p) (field2 nil field2-p)...
<beach>
e.g. &key (field1 nil field1-p) (field2 nil field2-p)...
<CL-ASHOK>
I do now! Thanks!
<CL-ASHOK>
I do now! Thanks!
<beach>
OK.
<beach>
OK.
<CL-ASHOK>
more cleaner than checking if they are nil
<CL-ASHOK>
more cleaner than checking if they are nil
<beach>
Especially if NIL is a valid argument for one of them.
<beach>
Especially if NIL is a valid argument for one of them.
<CL-ASHOK>
yep
<CL-ASHOK>
yep
amb007 has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
cpt_nemo has joined #lisp
cpt_nemo has joined #lisp
<CL-ASHOK>
Is it field1-p or field1-supplied-p or it doesn't matteR?
<CL-ASHOK>
Is it field1-p or field1-supplied-p or it doesn't matteR?
<beach>
It's your choice. Just a variable. I tend to use the shorter form.
<beach>
It's your choice. Just a variable. I tend to use the shorter form.
admich`` has joined #lisp
admich`` has joined #lisp
<CL-ASHOK>
Thanks, really appreciate it :)
<CL-ASHOK>
Thanks, really appreciate it :)
<beach>
Sure. Good luck.
<beach>
Sure. Good luck.
amb007 has joined #lisp
amb007 has joined #lisp
admich` has quit [Ping timeout: 264 seconds]
admich` has quit [Ping timeout: 264 seconds]
semz has joined #lisp
semz has joined #lisp
orivej has joined #lisp
orivej has joined #lisp
andreyorst has quit [Ping timeout: 264 seconds]
andreyorst has quit [Ping timeout: 264 seconds]
admich``` has joined #lisp
admich``` has joined #lisp
vutral_ has quit [Quit: Connection closed for inactivity]
vutral_ has quit [Quit: Connection closed for inactivity]
admich`` has quit [Ping timeout: 260 seconds]
admich`` has quit [Ping timeout: 260 seconds]
CL-ASHOK has quit [Quit: Connection closed]
CL-ASHOK has quit [Quit: Connection closed]
andreyorst has joined #lisp
andreyorst has joined #lisp
leb has joined #lisp
leb has joined #lisp
Klopsch has quit [Remote host closed the connection]
Klopsch has quit [Remote host closed the connection]
<_death>
marcoxa: hmm, it has a "<" package, which conflicts with yaclml
<_death>
marcoxa: hmm, it has a "<" package, which conflicts with yaclml
<_death>
this is a case where I can accept that local package nicknames make sense
<_death>
this is a case where I can accept that local package nicknames make sense
<marcoxa>
_death quick answer. XHTMLambda (https://common-lisp.net/project/xhtmlambda/) is better that yaclml, obviously :) Plus, I think that the "<" package nickname is uset by at least two other HTML/XML libraries.
<marcoxa>
_death quick answer. XHTMLambda (https://common-lisp.net/project/xhtmlambda/) is better that yaclml, obviously :) Plus, I think that the "<" package nickname is uset by at least two other HTML/XML libraries.
<_death>
marcoxa: I wasn't aware of it, and should check it out.. but the issue remains ;)
<_death>
marcoxa: I wasn't aware of it, and should check it out.. but the issue remains ;)
<_death>
since I have yaclml in my core, I would have to recompile a new core in order to test helambdap
<_death>
since I have yaclml in my core, I would have to recompile a new core in order to test helambdap
<_death>
or rename the package
<_death>
or rename the package
<marcoxa>
Well. I never compile stuff in a core. I guess renaming package and nicknames ("<" is a nickname for XHTMLambda) can at least make you try things out.
<marcoxa>
Well. I never compile stuff in a core. I guess renaming package and nicknames ("<" is a nickname for XHTMLambda) can at least make you try things out.
<_death>
marcoxa: well, after renaming it, it gives a compilation error on sbcl, because collection-utilities.lisp has a loop form that has "finally return (values ...)" which is not valid syntax.. it should be "finally (return (values ...))"
<_death>
marcoxa: well, after renaming it, it gives a compilation error on sbcl, because collection-utilities.lisp has a loop form that has "finally return (values ...)" which is not valid syntax.. it should be "finally (return (values ...))"
<_death>
the are other loop forms with the same issue
<_death>
the are other loop forms with the same issue
<_death>
sbcl also catches a type error in xhtml-lambda-producer, where mapc is used with a non-list
<_death>
sbcl also catches a type error in xhtml-lambda-producer, where mapc is used with a non-list
<marcoxa>
Good catch. I don't use fascist implementations, so I get away with a lot :) :) :) You can get the new fix from the repo. I am afraid there may be other instances of the same.
<marcoxa>
Good catch. I don't use fascist implementations, so I get away with a lot :) :) :) You can get the new fix from the repo. I am afraid there may be other instances of the same.
<marcoxa>
If you get other bugs, please open issues on the repo. I have to run for a few hours now.
<marcoxa>
If you get other bugs, please open issues on the repo. I have to run for a few hours now.
random-nick has joined #lisp
random-nick has joined #lisp
<_death>
if there's a (defstruct foo bar) helambdap will try to intern FOO-BAR (the conc-name and the slot name) in the package where BAR belongs.. so that means if I have (defstruct foo structure) it will try to intern a symbol in the CL package :/
<_death>
if there's a (defstruct foo bar) helambdap will try to intern FOO-BAR (the conc-name and the slot name) in the package where BAR belongs.. so that means if I have (defstruct foo structure) it will try to intern a symbol in the CL package :/
cosimone has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
<_death>
it also had an issue where it passed a string to package-shortest-name.. I removed the type declaration and replaced sn assignment form with (if (stringp p) p (package-name p))
<_death>
it also had an issue where it passed a string to package-shortest-name.. I removed the type declaration and replaced sn assignment form with (if (stringp p) p (package-name p))
SAL9000 has joined #lisp
SAL9000 has joined #lisp
<_death>
ok, likely the biggest issue I have with now, is that the resulting website requires javascript to propertly browse
<_death>
ok, likely the biggest issue I have with now, is that the resulting website requires javascript to propertly browse
<_death>
*properly
<_death>
*properly
<_death>
oh, wait.. there's no javascript, sorry.. it's just an "Uncaught DOMException: Access to property denied".. maybe because of a frames setting
<_death>
oh, wait.. there's no javascript, sorry.. it's just an "Uncaught DOMException: Access to property denied".. maybe because of a frames setting
frgo has quit [Remote host closed the connection]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
frgo has joined #lisp
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 quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has joined #lisp
<MrtnDk[m]>
@Josh_2 beach Thank y'all for correcting me. I learned from that. (Did Josh_2 leave the room/channel for some reason? I can't seem to tag them)?
<MrtnDk[m]>
@Josh_2 beach Thank y'all for correcting me. I learned from that. (Did Josh_2 leave the room/channel for some reason? I can't seem to tag them)?
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
corpix has quit [Remote host closed the connection]
corpix has quit [Remote host closed the connection]
<beach>
MrtnDk[m]: Some people disconnect when they go do something else.
<beach>
MrtnDk[m]: Some people disconnect when they go do something else.
corpix has joined #lisp
corpix has joined #lisp
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 quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has joined #lisp
<MrtnDk[m]>
beach Yeah, I guess I do that too sometimes, when I'm on IRC.
<MrtnDk[m]>
beach Yeah, I guess I do that too sometimes, when I'm on IRC.
brytemorio has joined #lisp
brytemorio has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
contrapunctus has joined #lisp
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 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 quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has joined #lisp
_jrjsmrtn has quit [Ping timeout: 240 seconds]
_jrjsmrtn has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
__jrjsmrtn__ has joined #lisp
__jrjsmrtn__ has joined #lisp
amb007 has joined #lisp
amb007 has joined #lisp
nij has joined #lisp
nij has joined #lisp
<nij>
Hello folks! Is there a way in swank/sly to view and select all variables that are bound?
<nij>
Hello folks! Is there a way in swank/sly to view and select all variables that are bound?
<nij>
For example, for the symbol 'slynk:stop-server, I hope to search for it by typing "sly server" in an ivy buffer. That way, I don't have to remember whether it's "stop-server" or "server-stop".
<nij>
For example, for the symbol 'slynk:stop-server, I hope to search for it by typing "sly server" in an ivy buffer. That way, I don't have to remember whether it's "stop-server" or "server-stop".
Nilby has quit [Ping timeout: 240 seconds]
Nilby has quit [Ping timeout: 240 seconds]
<MrtnDk[m]>
nij What du you mean by Swank? 😁
<MrtnDk[m]>
nij What du you mean by Swank? 😁
brytemorio has quit [Ping timeout: 240 seconds]
brytemorio has quit [Ping timeout: 240 seconds]
<nij>
Ah sorry, slime!
<nij>
Ah sorry, slime!
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 quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has joined #lisp
<beach>
MrtnDk[m]: Swank is the Common Lisp side of the communication between a Common Lisp implementation and Emacs that makes SLIME and Sly possible.
<beach>
MrtnDk[m]: Swank is the Common Lisp side of the communication between a Common Lisp implementation and Emacs that makes SLIME and Sly possible.
<nij>
Yeah, beach, it's my fault. What makes more sense are the pairs (slime,sly) and (swank,slynk).. but I talked instead (swank,sly), which was confusing.
<nij>
Yeah, beach, it's my fault. What makes more sense are the pairs (slime,sly) and (swank,slynk).. but I talked instead (swank,sly), which was confusing.
<beach>
nij: Sure, but I don't think that was the reason for the question asked by MrtnDk[m].
<beach>
nij: Sure, but I don't think that was the reason for the question asked by MrtnDk[m].
<nij>
I see!
<nij>
I see!
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 quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has joined #lisp
leb has quit []
leb has quit []
tinhatcat has joined #lisp
tinhatcat has joined #lisp
frgo has quit []
frgo has quit []
andreyorst has quit [Ping timeout: 260 seconds]
andreyorst has quit [Ping timeout: 260 seconds]
andreyorst has joined #lisp
andreyorst has joined #lisp
<marcoxa>
Xach. Already corrected in the repo.
<marcoxa>
Xach. Already corrected in the repo.
<marcoxa>
_death excellent catch with the defstruct case. Let me look into it. I will also look into package-shortest-name.
<marcoxa>
_death excellent catch with the defstruct case. Let me look into it. I will also look into package-shortest-name.
monkey__ has joined #lisp
monkey__ has joined #lisp
jprajzne has quit [Ping timeout: 256 seconds]
jprajzne has quit [Ping timeout: 256 seconds]
<marcoxa>
_death the problem with servig static webpages are browser dependent. To test the generate docs you need to have a HTTP server running on a parent directory. I either use hunchentoot or the simpler node/npm http-server to serve static pages to check the docs.
<marcoxa>
_death the problem with servig static webpages are browser dependent. To test the generate docs you need to have a HTTP server running on a parent directory. I either use hunchentoot or the simpler node/npm http-server to serve static pages to check the docs.
<_death>
marcoxa: I see
<_death>
marcoxa: I see
<MrtnDk[m]>
beach is right, nij . My question came from a place of ignorance. I haven't really coded common lisp with Emacs yet. I just use my mobile cell gizmo with "CL REPL" to learn a little. I am mainly trying to learn Scheme, but CL is a very strong dialect of Lisp.
<MrtnDk[m]>
beach is right, nij . My question came from a place of ignorance. I haven't really coded common lisp with Emacs yet. I just use my mobile cell gizmo with "CL REPL" to learn a little. I am mainly trying to learn Scheme, but CL is a very strong dialect of Lisp.
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
oxum has joined #lisp
oxum has joined #lisp
<marcoxa>
_death I think I fixed also the issue with PACKAGE-SHORTEST-NAME. I just pushed a fix (which may wreck havoc down the road).
<marcoxa>
_death I think I fixed also the issue with PACKAGE-SHORTEST-NAME. I just pushed a fix (which may wreck havoc down the road).
<CL-ASHOK>
Best book to learn lisp macros from? On Lisp or Let over Lambda?
<CL-ASHOK>
Best book to learn lisp macros from? On Lisp or Let over Lambda?
prxq has joined #lisp
prxq has joined #lisp
<CL-ASHOK>
or any other suggestions :)
<CL-ASHOK>
or any other suggestions :)
rumbler31 has quit [Remote host closed the connection]
rumbler31 has quit [Remote host closed the connection]
docl_ is now known as docl
docl_ is now known as docl
rumbler31 has joined #lisp
rumbler31 has joined #lisp
<marcoxa>
_death I also fixed the structure/conc-name bug.
<marcoxa>
_death I also fixed the structure/conc-name bug.
<marcoxa>
Very nice catch.
<marcoxa>
Very nice catch.
Josh_2 has joined #lisp
Josh_2 has joined #lisp
mindCrime_ has joined #lisp
mindCrime_ has joined #lisp
monkey__ has quit [Remote host closed the connection]
monkey__ has quit [Remote host closed the connection]
<beach>
CL-ASHOK: I haven't read Let over Lambda (yet). But I learned about macros from On Lisp, and I was quite pleased with that. Graham shows some very sophisticated techniques.
<beach>
CL-ASHOK: I haven't read Let over Lambda (yet). But I learned about macros from On Lisp, and I was quite pleased with that. Graham shows some very sophisticated techniques.
Sheilong has joined #lisp
Sheilong has joined #lisp
<CL-ASHOK>
Thanks @beach Looks like On Lisp is recommended as a precursor to LoL
<CL-ASHOK>
Thanks @beach Looks like On Lisp is recommended as a precursor to LoL
<beach>
CL-ASHOK: You should know, though, that macros are not very frequent. When you need them, it is good that they exist, but it is a common newbie mistake to overuse macros.
<beach>
CL-ASHOK: You should know, though, that macros are not very frequent. When you need them, it is good that they exist, but it is a common newbie mistake to overuse macros.
<Josh_2>
Afternoon
<Josh_2>
Afternoon
<beach>
Hello Josh_2.
<beach>
Hello Josh_2.
<Josh_2>
The macros in LoL are pretty crazy
<Josh_2>
The macros in LoL are pretty crazy
<CL-ASHOK>
@beach agreed - I haven't touched them for a while, thought I'd dip my feet as I've noticed I'm writing a lot of similar code that can be re-used
<CL-ASHOK>
@beach agreed - I haven't touched them for a while, thought I'd dip my feet as I've noticed I'm writing a lot of similar code that can be re-used
<nij>
beach: i recently learned that PG started writing that book when he was a undergrad xD
<nij>
beach: i recently learned that PG started writing that book when he was a undergrad xD
mindCrime_ has quit [Ping timeout: 240 seconds]
mindCrime_ has quit [Ping timeout: 240 seconds]
<beach>
CL-ASHOK: Sure. But the main abstraction mechanism remains functions, possibly generic functions. Macros should be used only when the semantics of a function call won't work.
<beach>
CL-ASHOK: Sure. But the main abstraction mechanism remains functions, possibly generic functions. Macros should be used only when the semantics of a function call won't work.
<beach>
nij: Impressive.
<beach>
nij: Impressive.
srandon111 has joined #lisp
srandon111 has joined #lisp
<CL-ASHOK>
thanks
<CL-ASHOK>
thanks
Krystof has joined #lisp
Krystof has joined #lisp
<nij>
beach: OH sorry it was grad school, not undergrad. As in "It's scary to think how little I knew about Lisp hacking when I started writing that book. But there's nothing like writing a book about something to help you learn it. The book, On Lisp, wasn't published till 1993, but I wrote much of it in grad school."
<nij>
beach: OH sorry it was grad school, not undergrad. As in "It's scary to think how little I knew about Lisp hacking when I started writing that book. But there's nothing like writing a book about something to help you learn it. The book, On Lisp, wasn't published till 1993, but I wrote much of it in grad school."
<MrtnDk[m]>
Which interpreter is most free? Does guile support common lisp?
<MrtnDk[m]>
Which interpreter is most free? Does guile support common lisp?
<Xach>
MrtnDk[m]: what does free mean to you? and guile does not support common lisp.
<Xach>
MrtnDk[m]: what does free mean to you? and guile does not support common lisp.
<nij>
Are they different lisp dialects?
<nij>
Are they different lisp dialects?
<MrtnDk[m]>
Josh_2 Welcome back & thank thee (and beach ) for correcting me on and.
<MrtnDk[m]>
Josh_2 Welcome back & thank thee (and beach ) for correcting me on and.
renzhi has joined #lisp
renzhi has joined #lisp
<beach>
MrtnDk[m]: Also, most modern Common Lisp systems compile (on the fly) to native code. So maybe you don't want to ask explicitly for an interpreter. You may get the wrong information then.
<beach>
MrtnDk[m]: Also, most modern Common Lisp systems compile (on the fly) to native code. So maybe you don't want to ask explicitly for an interpreter. You may get the wrong information then.
<MrtnDk[m]>
nij Are which ones different Lisp dialects?
<MrtnDk[m]>
nij Are which ones different Lisp dialects?
<beach>
nij: Scheme is a different language from Common Lisp. And Guile is mostly an implementation of Scheme.
<beach>
nij: Scheme is a different language from Common Lisp. And Guile is mostly an implementation of Scheme.
Josh_2` has joined #lisp
Josh_2` has joined #lisp
<beach>
MrtnDk[m]: Several Common Lisp systems are free: SBCL, CCL, and ECL are probably the ones that most people here use.
<beach>
MrtnDk[m]: Several Common Lisp systems are free: SBCL, CCL, and ECL are probably the ones that most people here use.
<beach>
MrtnDk[m]: ABCL is good if you want one that runs on the JVM.
<beach>
MrtnDk[m]: ABCL is good if you want one that runs on the JVM.
Josh_2 has quit [Ping timeout: 240 seconds]
Josh_2 has quit [Ping timeout: 240 seconds]
<MrtnDk[m]>
Thanks beach & Xach ... you are right beach. I phrased the question like that out of ignorance. Xach Good question about freedom. I was thinking GPL3+, but I'd also like one that integrates well with Emacs, and I'd like one that is part of (or at least packaged for) Debian. Guix would be my secondary choice.
<MrtnDk[m]>
Thanks beach & Xach ... you are right beach. I phrased the question like that out of ignorance. Xach Good question about freedom. I was thinking GPL3+, but I'd also like one that integrates well with Emacs, and I'd like one that is part of (or at least packaged for) Debian. Guix would be my secondary choice.
<beach>
MrtnDk[m]: SLIME for Emacs works with any Common Lisp implementation that supports SWANK, and I believe all the ones I cited do that.
<beach>
MrtnDk[m]: SLIME for Emacs works with any Common Lisp implementation that supports SWANK, and I believe all the ones I cited do that.
Josh_2` has quit [Quit: ERC (IRC client for Emacs 26.1)]
Josh_2` has quit [Quit: ERC (IRC client for Emacs 26.1)]
Josh_2 has joined #lisp
Josh_2 has joined #lisp
<Josh_2>
has anyone used allegro cache?
<Josh_2>
has anyone used allegro cache?
<MrtnDk[m]>
beach I will look them up.
<MrtnDk[m]>
beach I will look them up.
hiroaki has quit [Ping timeout: 264 seconds]
hiroaki has quit [Ping timeout: 264 seconds]
amb007 has quit [Ping timeout: 246 seconds]
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #lisp
amb007 has joined #lisp
nij has quit [Ping timeout: 240 seconds]
nij has quit [Ping timeout: 240 seconds]
luna_is_here_ has quit [Ping timeout: 256 seconds]
luna_is_here_ has quit [Ping timeout: 256 seconds]
skapata has joined #lisp
skapata has joined #lisp
luna_is_here has joined #lisp
luna_is_here has joined #lisp
<beach>
Josh_2: I am sure someone has.
<beach>
Josh_2: I am sure someone has.
tinhatcat has quit [Quit: Leaving]
tinhatcat has quit [Quit: Leaving]
elusive has joined #lisp
elusive has joined #lisp
Lycurgus has joined #lisp
Lycurgus has joined #lisp
aindilis has joined #lisp
aindilis has joined #lisp
amb007 has quit [Ping timeout: 246 seconds]
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #lisp
amb007 has joined #lisp
<Josh_2>
isn't there a CL based database around
<Josh_2>
isn't there a CL based database around
matryoshka has joined #lisp
matryoshka has joined #lisp
Helmholtz has joined #lisp
Helmholtz has joined #lisp
<Josh_2>
made by the folks at the law firm I think
<Josh_2>
made by the folks at the law firm I think
<Josh_2>
I can't find the repo :(
<Josh_2>
I can't find the repo :(
<Lycurgus>
what I more often see is the image considered to be a database, unlike say gen in smalltalk and what not
<Lycurgus>
what I more often see is the image considered to be a database, unlike say gen in smalltalk and what not
<Lycurgus>
*gem/gemstone
<Lycurgus>
*gem/gemstone
<Lycurgus>
or prolog doing regular relational algebra which could be in lisp
<Lycurgus>
or prolog doing regular relational algebra which could be in lisp
<Josh_2>
I think some persistant image based storage would be very useful
<Josh_2>
I think some persistant image based storage would be very useful
<Josh_2>
where the lisp image acts as the storage mechanism, this would mean my deployment would be extremely easy to install
<Josh_2>
where the lisp image acts as the storage mechanism, this would mean my deployment would be extremely easy to install
<Lycurgus>
that's what I was referring to; I think regular rdms cl pkgs are more consistent with the overall cl cultural ethos
<Lycurgus>
that's what I was referring to; I think regular rdms cl pkgs are more consistent with the overall cl cultural ethos
ft has quit [Remote host closed the connection]
ft has quit [Remote host closed the connection]
<Lycurgus>
*rdbms
<Lycurgus>
*rdbms
CL-ASHOK has quit [Ping timeout: 240 seconds]
CL-ASHOK has quit [Ping timeout: 240 seconds]
cloudy[m] has quit [Quit: Idle for 30+ days]
cloudy[m] has quit [Quit: Idle for 30+ days]
<SAL9000>
Are there any maintained CL bindings to libgit2?
<SAL9000>
Are there any maintained CL bindings to libgit2?
epony has quit [Remote host closed the connection]
epony has quit [Remote host closed the connection]
drl has joined #lisp
drl has joined #lisp
cosimone has joined #lisp
cosimone has joined #lisp
epony has joined #lisp
epony has joined #lisp
Lycurgus has quit [Quit: Exeunt]
Lycurgus has quit [Quit: Exeunt]
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 quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
jprajzne has joined #lisp
jprajzne has joined #lisp
amb007 has joined #lisp
amb007 has joined #lisp
attila_lendvai_ has joined #lisp
attila_lendvai_ has joined #lisp
abhixec has joined #lisp
abhixec has joined #lisp
zaquest has quit [Read error: Connection reset by peer]
zaquest has quit [Read error: Connection reset by peer]
zaquest has joined #lisp
zaquest has joined #lisp
<_death>
hmm, sbcl gives a warning for (defun foo (a) (let ((b (sqrt a))) (coerce b 'float))) .. it's true that sqrt may return a complex if provided with a negative value, but I don't see why there should be a warning there and not when the coerce form is replaced by (float b)
<_death>
hmm, sbcl gives a warning for (defun foo (a) (let ((b (sqrt a))) (coerce b 'float))) .. it's true that sqrt may return a complex if provided with a negative value, but I don't see why there should be a warning there and not when the coerce form is replaced by (float b)
<fiddlerwoaroof>
SAL9000: what are you trying to do? I couldn't find any good wrappers around libgit2 when I looked, so I started re-implementing all the datastructures and file readers for git: https://github.com/fiddlerwoaroof/cl-git.gi
<fiddlerwoaroof>
SAL9000: what are you trying to do? I couldn't find any good wrappers around libgit2 when I looked, so I started re-implementing all the datastructures and file readers for git: https://github.com/fiddlerwoaroof/cl-git.gi
<fiddlerwoaroof>
It mostly works, for getting data out of git repositories, but it doesn't handle "delta compression" yet
<fiddlerwoaroof>
It mostly works, for getting data out of git repositories, but it doesn't handle "delta compression" yet
<fiddlerwoaroof>
There's also Shinmera's legit that just shells out to a git executable
<fiddlerwoaroof>
There's also Shinmera's legit that just shells out to a git executable
<SAL9000>
fiddlerwoaroof: I have some work on (for lack of better terms) partial copying between Git repositories, with history preservation. That work is in Python and has become a massive non-debuggable hairball... clearly rewrite-in-Lisp time :-)
<SAL9000>
fiddlerwoaroof: I have some work on (for lack of better terms) partial copying between Git repositories, with history preservation. That work is in Python and has become a massive non-debuggable hairball... clearly rewrite-in-Lisp time :-)
<fiddlerwoaroof>
Ah, like the subtree split commands?
<fiddlerwoaroof>
Ah, like the subtree split commands?
<SAL9000>
I'd like to avoid shelling out because this needs to run on Windows where fork is *expensive* (even more so with corporate antivirus... sigh)
<SAL9000>
I'd like to avoid shelling out because this needs to run on Windows where fork is *expensive* (even more so with corporate antivirus... sigh)
<SAL9000>
Hm, maybe? It's more complex than that. I try to "re-attach" history in both directions.
<SAL9000>
Hm, maybe? It's more complex than that. I try to "re-attach" history in both directions.
<SAL9000>
Given 2 repos A and B, containing files a and b respectively, I synchronise the set of shared files c (i.e. union(a, b)) between the repositories, copying the equivalent of git log --full-history -- [the_files]
<SAL9000>
Given 2 repos A and B, containing files a and b respectively, I synchronise the set of shared files c (i.e. union(a, b)) between the repositories, copying the equivalent of git log --full-history -- [the_files]
<SAL9000>
fiddlerwoaroof: I like your 'git-issue' thing by the way, it's cute :-) Have you considered using git notes instead, to avoid "polluting" the commit log?
<SAL9000>
fiddlerwoaroof: I like your 'git-issue' thing by the way, it's cute :-) Have you considered using git notes instead, to avoid "polluting" the commit log?
<fiddlerwoaroof>
SAL9000: someone pointed those out to me when I mentioned it once, they don't show up in `git log` as nicely, and most git hosting services don't have a UI for them
<fiddlerwoaroof>
SAL9000: someone pointed those out to me when I mentioned it once, they don't show up in `git log` as nicely, and most git hosting services don't have a UI for them
<SAL9000>
Yeah, no-one uses them -> they're not supported by things -> no-one uses them :(
<SAL9000>
Yeah, no-one uses them -> they're not supported by things -> no-one uses them :(
<fiddlerwoaroof>
But, it's probably a better solution in many ways.
<fiddlerwoaroof>
But, it's probably a better solution in many ways.
<SAL9000>
What's the current solution to C groveling, I guess? c2ffi?
<SAL9000>
What's the current solution to C groveling, I guess? c2ffi?
<SAL9000>
Looks like if I want a libgit2 CL binding I'll have to make my own.
<SAL9000>
Looks like if I want a libgit2 CL binding I'll have to make my own.
<fiddlerwoaroof>
I started writing cl-git so I could write a git webui
<fiddlerwoaroof>
I started writing cl-git so I could write a git webui
<SAL9000>
SWIG recently (mid-2019) ditched all the CL backends, too
<SAL9000>
SWIG recently (mid-2019) ditched all the CL backends, too
<fiddlerwoaroof>
I've mostly just manually written out the C wrappers
<fiddlerwoaroof>
I've mostly just manually written out the C wrappers
<SAL9000>
that's a lot of functions... ~700 iirc
<SAL9000>
that's a lot of functions... ~700 iirc
<fiddlerwoaroof>
Well, I've only ever needed three or four functions from a library
<fiddlerwoaroof>
Well, I've only ever needed three or four functions from a library
<SAL9000>
I'm thinking use grovelling to wrap the C API, then the manual work can instead be spent making it "Lispy" :)
<SAL9000>
I'm thinking use grovelling to wrap the C API, then the manual work can instead be spent making it "Lispy" :)
<fiddlerwoaroof>
Also, most of the FFI I do is objective-c, which is easier to wrap in a bunch of ways
<fiddlerwoaroof>
Also, most of the FFI I do is objective-c, which is easier to wrap in a bunch of ways
<SAL9000>
cl-autowrap uses c2ffi, which is what I mentioned earlier :)
<SAL9000>
cl-autowrap uses c2ffi, which is what I mentioned earlier :)
<SAL9000>
I tried it earlier but my work machine's AV decided to explode in my face about "untrusted code", sigh. Will try again later on personal machine.
<SAL9000>
I tried it earlier but my work machine's AV decided to explode in my face about "untrusted code", sigh. Will try again later on personal machine.
<fiddlerwoaroof>
Yeah, I try to avoid anything that requires building LLVM
<fiddlerwoaroof>
Yeah, I try to avoid anything that requires building LLVM
mindCrime_ has joined #lisp
mindCrime_ has joined #lisp
mindCrime_ has quit [Ping timeout: 246 seconds]
mindCrime_ has quit [Ping timeout: 246 seconds]
CL-ASHOK has joined #lisp
CL-ASHOK has joined #lisp
<CL-ASHOK>
how to stay connected and read previous messages? I always get disconnected when I move away for a bit from freenode
<CL-ASHOK>
how to stay connected and read previous messages? I always get disconnected when I move away for a bit from freenode
hendursaga has quit [Remote host closed the connection]
hendursaga has quit [Remote host closed the connection]
<MrtnDk[m]>
SBCL, CCL and ECL.
<MrtnDk[m]>
SBCL, CCL and ECL.
hendursaga has joined #lisp
hendursaga has joined #lisp
<beach>
CL-ASHOK: The logs are indicated in the channel topic.
<beach>
CL-ASHOK: The logs are indicated in the channel topic.
<semz>
CL-ASHOK, an irc bouncer can do that. alternatively, just read the logs afterwards through one of the links in the topic.
<semz>
CL-ASHOK, an irc bouncer can do that. alternatively, just read the logs afterwards through one of the links in the topic.
bendersteed has joined #lisp
bendersteed has joined #lisp
<CL-ASHOK>
thanks both!
<CL-ASHOK>
thanks both!
bendersteed has quit [Remote host closed the connection]
bendersteed has quit [Remote host closed the connection]
bendersteed has joined #lisp
bendersteed has joined #lisp
mindCrime_ has joined #lisp
mindCrime_ has joined #lisp
hiroaki has joined #lisp
hiroaki has joined #lisp
<bendersteed>
ye
<bendersteed>
ye
bendersteed has left #lisp ["bye"]
bendersteed has left #lisp ["bye"]
mindCrime_ has quit [Ping timeout: 246 seconds]
mindCrime_ has quit [Ping timeout: 246 seconds]
narimiran has joined #lisp
narimiran has joined #lisp
mindCrime_ has joined #lisp
mindCrime_ has joined #lisp
<loke[m]>
One can also access Freenode via Matrix. That will give you a log as well.
<loke[m]>
One can also access Freenode via Matrix. That will give you a log as well.
<loke[m]>
I'm using Matrix right now.
<loke[m]>
I'm using Matrix right now.
kam1 has joined #lisp
kam1 has joined #lisp
CL-ASHOK has quit [Ping timeout: 240 seconds]
CL-ASHOK has quit [Ping timeout: 240 seconds]
<aeth>
you can also run an in-terminal IRC client inside of tmux or screen on a server
<aeth>
you can also run an in-terminal IRC client inside of tmux or screen on a server
<contrapunctus>
CL-ASHOK: I use an XMPP client and a Biboumi instance to stay connected.
<contrapunctus>
CL-ASHOK: I use an XMPP client and a Biboumi instance to stay connected.
villanella has joined #lisp
villanella has joined #lisp
notzmv has quit [Ping timeout: 260 seconds]
notzmv has quit [Ping timeout: 260 seconds]
kam1 has quit [Read error: Connection reset by peer]
kam1 has quit [Read error: Connection reset by peer]
aartaka_d has quit [Read error: Connection reset by peer]
aartaka_d has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
ebrasca has joined #lisp
aartaka has joined #lisp
aartaka has joined #lisp
notzmv has joined #lisp
notzmv has joined #lisp
notzmv is now known as Guest66423
notzmv is now known as Guest66423
Guest66423 has quit [Remote host closed the connection]
Guest66423 has quit [Remote host closed the connection]
notzmv- has joined #lisp
notzmv- has joined #lisp
notzmv- is now known as notzmv
notzmv- is now known as notzmv
Tordek has quit [Ping timeout: 245 seconds]
Tordek has quit [Ping timeout: 245 seconds]
Tordek has joined #lisp
Tordek has joined #lisp
<MrtnDk[m]>
<loke[m] "I'm using Matrix right now. "> Me 2😂👍
<MrtnDk[m]>
<loke[m] "I'm using Matrix right now. "> Me 2😂👍
xsperry has joined #lisp
xsperry has joined #lisp
<fiddlerwoaroof>
Matrix has some issues with generating duplicate messages
<fiddlerwoaroof>
Matrix has some issues with generating duplicate messages
<fiddlerwoaroof>
e.g. when you "edit" a message on matrix, it shows up in IRC as a second message
<fiddlerwoaroof>
e.g. when you "edit" a message on matrix, it shows up in IRC as a second message
<MrtnDk[m]>
fiddlerwoaroof
<MrtnDk[m]>
fiddlerwoaroof
<MrtnDk[m]>
It's a fundamental difference. In IRC, you fire an event, for instance "privmsg", and it's distributed to the connected clients via the linked IRC serves. Then that event is done with, and hence cannot be meddled with. Your client might retain the message however. On matrix, it's the servers that keep the history, and the protocol allows for messages to be edited and even deleted. Of cause that won't be effective on the IRC
<MrtnDk[m]>
side.
<MrtnDk[m]>
It's a fundamental difference. In IRC, you fire an event, for instance "privmsg", and it's distributed to the connected clients via the linked IRC serves. Then that event is done with, and hence cannot be meddled with. Your client might retain the message however. On matrix, it's the servers that keep the history, and the protocol allows for messages to be edited and even deleted. Of cause that won't be effective on the IRC
<MrtnDk[m]>
side.
<MrtnDk[m]>
beach Thou mentioned CCL, SBCL and ECL. What about CLISP? How does that compare to the others? (I plan on using Emacs as mentioned, and I'm a beginner/learner).
<MrtnDk[m]>
beach Thou mentioned CCL, SBCL and ECL. What about CLISP? How does that compare to the others? (I plan on using Emacs as mentioned, and I'm a beginner/learner).
Klopsch has joined #lisp
Klopsch has joined #lisp
<fiddlerwoaroof>
MrtnDk[m]: I think CLISP is generally not recommended
<fiddlerwoaroof>
MrtnDk[m]: I think CLISP is generally not recommended
<fiddlerwoaroof>
It makes some questionable implementation decisions, from what I remember, and the available releases are all pretty old (although it is actively developed, if your'e willing to build from source)
<fiddlerwoaroof>
It makes some questionable implementation decisions, from what I remember, and the available releases are all pretty old (although it is actively developed, if your'e willing to build from source)
<MrtnDk[m]>
fiddlerwoaroof I had the feeling, there might be a reason it wasn't mentioned in the first place, but I'm curious as to what the reason is. The description seems pretty promising.
<MrtnDk[m]>
fiddlerwoaroof I had the feeling, there might be a reason it wasn't mentioned in the first place, but I'm curious as to what the reason is. The description seems pretty promising.
<beach>
MrtnDk[m]: Listen to fiddlerwoaroof and others. I am off for today.
<beach>
MrtnDk[m]: Listen to fiddlerwoaroof and others. I am off for today.
<fiddlerwoaroof>
MrtnDk[m]: yeah, the problem is that when you use Matrix on IRC and make used of the extra functionality, it can be annoying for people still using IRC
<fiddlerwoaroof>
MrtnDk[m]: yeah, the problem is that when you use Matrix on IRC and make used of the extra functionality, it can be annoying for people still using IRC
<MrtnDk[m]>
"GNU CLISP is a Common Lisp implementation. It conforms to the ANSI Common Lisp standard, and offers many extensions. It runs on all desktop operating systems (GNU and Unix systems, macOS, Windows) and is particularly memory-efficient."
<MrtnDk[m]>
"GNU CLISP is a Common Lisp implementation. It conforms to the ANSI Common Lisp standard, and offers many extensions. It runs on all desktop operating systems (GNU and Unix systems, macOS, Windows) and is particularly memory-efficient."
<MrtnDk[m]>
beach beach Ok, take care, have a great Saturday and thank you for the help! 😎👍
<MrtnDk[m]>
beach beach Ok, take care, have a great Saturday and thank you for the help! 😎👍
<fiddlerwoaroof>
As a rule, I'd prefer sbcl or ccl, especially if you're just getting started
<fiddlerwoaroof>
As a rule, I'd prefer sbcl or ccl, especially if you're just getting started
<aeth>
While the Common Lisp *standard* itself doesn't change over time, plenty of extensions are added to every still-active implementation over time.
<aeth>
While the Common Lisp *standard* itself doesn't change over time, plenty of extensions are added to every still-active implementation over time.
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
<aeth>
Plus, there's generally a space vs speed tradeoff. So "particularly memory-efficient" might imply "particularly slow for Common Lisp implementations". And with CLISP, it does. :-)
<aeth>
Plus, there's generally a space vs speed tradeoff. So "particularly memory-efficient" might imply "particularly slow for Common Lisp implementations". And with CLISP, it does. :-)
<MrtnDk[m]>
aeth Ahh ... thank you. So while it's really good on paper, it kinda sucks for practical use.
<MrtnDk[m]>
aeth Ahh ... thank you. So while it's really good on paper, it kinda sucks for practical use.
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
<MrtnDk[m]>
I'm guessing for Ubuntu / Raspbian, SBCL or ECL would be the natural choice, and since I don't need embedding at this point, SBCL?
<MrtnDk[m]>
I'm guessing for Ubuntu / Raspbian, SBCL or ECL would be the natural choice, and since I don't need embedding at this point, SBCL?
<fiddlerwoaroof>
I'd say SBCL or CCL
<fiddlerwoaroof>
I'd say SBCL or CCL
<fiddlerwoaroof>
And probably SBCL
<fiddlerwoaroof>
And probably SBCL
<MrtnDk[m]>
CCL doesn't seem to be available, be or is it named differently in Debian?
<MrtnDk[m]>
CCL doesn't seem to be available, be or is it named differently in Debian?
jonatack_ has joined #lisp
jonatack_ has joined #lisp
<fiddlerwoaroof>
Hmm, it doesn't look like its available from the repositories
<fiddlerwoaroof>
Hmm, it doesn't look like its available from the repositories
<fiddlerwoaroof>
Guix has it as ccl
<fiddlerwoaroof>
Guix has it as ccl
<aeth>
CCL isn't in Fedora's repositories, either. It doesn't seem to be as popular with packagers for whatever reason. Maybe because it started as a Mac-first implementation.
<aeth>
CCL isn't in Fedora's repositories, either. It doesn't seem to be as popular with packagers for whatever reason. Maybe because it started as a Mac-first implementation.
<fiddlerwoaroof>
`guix environment ccl` gives me one that seems to work
<fiddlerwoaroof>
`guix environment ccl` gives me one that seems to work
<fiddlerwoaroof>
the funny thing about ccl is that it doesn't run on my new Mac :)
<fiddlerwoaroof>
the funny thing about ccl is that it doesn't run on my new Mac :)
kenran has quit [Ping timeout: 264 seconds]
kenran has quit [Ping timeout: 264 seconds]
epony has quit [Remote host closed the connection]
epony has quit [Remote host closed the connection]
<fiddlerwoaroof>
I hope they get a fundraiser going like sbcl did
<fiddlerwoaroof>
I hope they get a fundraiser going like sbcl did
<aeth>
I might just try building it from the source, though. That's what I do with SBCL these days
<aeth>
I might just try building it from the source, though. That's what I do with SBCL these days
<aeth>
I'm still on 2.1.0, though. SBCL itself updates faster than I do.
<aeth>
I'm still on 2.1.0, though. SBCL itself updates faster than I do.
Klopsch has quit [Remote host closed the connection]
Klopsch has quit [Remote host closed the connection]
Klopsch has joined #lisp
Klopsch has joined #lisp
jonatack_ has quit [Read error: Connection reset by peer]
jonatack_ has quit [Read error: Connection reset by peer]
pankajsg has quit [Ping timeout: 264 seconds]
pankajsg has quit [Ping timeout: 264 seconds]
kam1 has joined #lisp
kam1 has joined #lisp
<MrtnDk[m]>
So, for an "lisp idiot" like me, who cannot tell the difference anyhow, SBCL seems like the goto on Debian based systems .. and perhaps CCL as bonus on systems with Guix (not on my raspberry ATM).
<MrtnDk[m]>
So, for an "lisp idiot" like me, who cannot tell the difference anyhow, SBCL seems like the goto on Debian based systems .. and perhaps CCL as bonus on systems with Guix (not on my raspberry ATM).
jonatack_ has joined #lisp
jonatack_ has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
kam1 has quit [Read error: Connection reset by peer]
<aeth>
SBCL usually produces the fastest native code.
<aeth>
SBCL usually produces the fastest native code.
<aeth>
Note, though, that most CLs bring the whole compile-time environment with them at run-time. Tree shakers exist, but mostly for commercial implementations, and it's actually quite hard to find a substantial number of things that you actually can remove.
<aeth>
Note, though, that most CLs bring the whole compile-time environment with them at run-time. Tree shakers exist, but mostly for commercial implementations, and it's actually quite hard to find a substantial number of things that you actually can remove.
<aeth>
So an elaborate compiler also means increased RAM usage (and potentially slower compilation times)
<aeth>
So an elaborate compiler also means increased RAM usage (and potentially slower compilation times)
<aeth>
It's an AOT compiler, though, so it's not going to have the startup time cost of the JIT compilers that you're thinking of unless there's no preexisting FASL.
<aeth>
It's an AOT compiler, though, so it's not going to have the startup time cost of the JIT compilers that you're thinking of unless there's no preexisting FASL.
Klopsch has quit [Ping timeout: 244 seconds]
Klopsch has quit [Ping timeout: 244 seconds]
<fiddlerwoaroof>
I just added anti-aliasing to my toy raytracer, now it takes about a second per row :(
<fiddlerwoaroof>
I just added anti-aliasing to my toy raytracer, now it takes about a second per row :(
<MrtnDk[m]>
ʘ‿ʘ FASL?
<MrtnDk[m]>
ʘ‿ʘ FASL?
<fiddlerwoaroof>
FASt Load file
<fiddlerwoaroof>
FASt Load file
<fiddlerwoaroof>
If you've used python it's roughly equivalent to the .pyc files
<fiddlerwoaroof>
If you've used python it's roughly equivalent to the .pyc files
<aeth>
Except that most CLs are native code compilers rather than bytecode (CLISP is bytecode, though)
<aeth>
Except that most CLs are native code compilers rather than bytecode (CLISP is bytecode, though)
<aeth>
So it's sort of like if you had to compile a C file on first run instead of using precompiled binaries. Except CL compilers are much, much faster than C compilers and especially C++ compilers.
<aeth>
So it's sort of like if you had to compile a C file on first run instead of using precompiled binaries. Except CL compilers are much, much faster than C compilers and especially C++ compilers.
cosimone has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
jonatack_ has quit [Quit: jonatack_]
jonatack_ has quit [Quit: jonatack_]
jonatack has joined #lisp
jonatack has joined #lisp
<aeth>
MrtnDk[m]: FASL is the generic term, but most have a variation of that instead of "FASL". SBCL does use .fasl, though.
<aeth>
MrtnDk[m]: FASL is the generic term, but most have a variation of that instead of "FASL". SBCL does use .fasl, though.
<fiddlerwoaroof>
Building CCL from source isn't hard, if CCL already supports your hardware
<fiddlerwoaroof>
Building CCL from source isn't hard, if CCL already supports your hardware
<fiddlerwoaroof>
However, it sounds to me like you should just use sbcl
<fiddlerwoaroof>
However, it sounds to me like you should just use sbcl
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life has quit [Ping timeout: 246 seconds]
<fiddlerwoaroof>
Writing lisp is a lot more fun than researching implementations :)
<fiddlerwoaroof>
Writing lisp is a lot more fun than researching implementations :)
Lord_of_Life_ is now known as Lord_of_Life
Lord_of_Life_ is now known as Lord_of_Life
<fiddlerwoaroof>
I think I'm going to need to implement a threadpool for this raytracer
<fiddlerwoaroof>
I think I'm going to need to implement a threadpool for this raytracer
<fiddlerwoaroof>
10 minutes for 1024x768 is too slow, even for a toy :)
<fiddlerwoaroof>
10 minutes for 1024x768 is too slow, even for a toy :)
leb has joined #lisp
leb has joined #lisp
bitmapper has joined #lisp
bitmapper has joined #lisp
jonatack has quit [Ping timeout: 264 seconds]
jonatack has quit [Ping timeout: 264 seconds]
jonatack has joined #lisp
jonatack has joined #lisp
jonatack has quit [Read error: Connection reset by peer]
jonatack has quit [Read error: Connection reset by peer]
jonatack_ has joined #lisp
jonatack_ has joined #lisp
ft has joined #lisp
ft has joined #lisp
jonatack_ has quit [Read error: Connection reset by peer]
jonatack_ has quit [Read error: Connection reset by peer]
jonatack_ has joined #lisp
jonatack_ has joined #lisp
bugrum has joined #lisp
bugrum has joined #lisp
jonatack_ has quit [Read error: Connection reset by peer]
jonatack_ has quit [Read error: Connection reset by peer]
jonatack_ has joined #lisp
jonatack_ has joined #lisp
leb has quit []
leb has quit []
narimiran has quit [Ping timeout: 246 seconds]
narimiran has quit [Ping timeout: 246 seconds]
rogersm has joined #lisp
rogersm has joined #lisp
frgo has joined #lisp
frgo has joined #lisp
<MrtnDk[m]>
fiddlerwoaroof: I played a little with LOGO on my home computer back in the day. I liked how I could draw real time: Goto x,y ; pendown; move to x2,y2 ; turn 120 ;;; etc. Can you something like that in lisp?
<MrtnDk[m]>
fiddlerwoaroof: I played a little with LOGO on my home computer back in the day. I liked how I could draw real time: Goto x,y ; pendown; move to x2,y2 ; turn 120 ;;; etc. Can you something like that in lisp?
rogersm has quit [Remote host closed the connection]
rogersm has quit [Remote host closed the connection]
test1600 has quit [Client Quit]
test1600 has quit [Client Quit]
rogersm has joined #lisp
rogersm has joined #lisp
test1600 has joined #lisp
test1600 has joined #lisp
test1600 has quit [Client Quit]
test1600 has quit [Client Quit]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
rumbler31 has joined #lisp
jonatack_ has quit [Quit: jonatack_]
jonatack_ has quit [Quit: jonatack_]
frgo has quit []
frgo has quit []
rumbler31 has quit [Remote host closed the connection]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
rumbler31 has joined #lisp
jonatack has joined #lisp
jonatack has joined #lisp
scymtym has quit [Ping timeout: 265 seconds]
scymtym has quit [Ping timeout: 265 seconds]
galex-713 has joined #lisp
galex-713 has joined #lisp
cage_ has quit [Quit: Leaving]
cage_ has quit [Quit: Leaving]
cosimone has joined #lisp
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
pve has quit [Quit: leaving]
pve has quit [Quit: leaving]
cyberlard has joined #lisp
cyberlard has joined #lisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life has quit [Ping timeout: 256 seconds]
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
rogersm has quit [Remote host closed the connection]
rogersm has quit [Remote host closed the connection]
rogersm has joined #lisp
rogersm has joined #lisp
rogersm has quit [Ping timeout: 256 seconds]
rogersm has quit [Ping timeout: 256 seconds]
zalitis has joined #lisp
zalitis has joined #lisp
scymtym has joined #lisp
scymtym has joined #lisp
scymtym has quit [Read error: Connection reset by peer]
scymtym has quit [Read error: Connection reset by peer]
scymtym has joined #lisp
scymtym has joined #lisp
scymtym has quit [Read error: Connection reset by peer]
scymtym has quit [Read error: Connection reset by peer]
scymtym has joined #lisp
scymtym has joined #lisp
scymtym has quit [Read error: Connection reset by peer]
scymtym has quit [Read error: Connection reset by peer]
<zalitis>
Hi! Could someone please help me understand an issue with nested lists and setf? I'm trying to set the value for just one element in a nested list structure but, for some reason, multiple elements get affected. Here's some code:
<zalitis>
Hi! Could someone please help me understand an issue with nested lists and setf? I'm trying to set the value for just one element in a nested list structure but, for some reason, multiple elements get affected. Here's some code:
sz0 has quit [Quit: Connection closed for inactivity]
sz0 has quit [Quit: Connection closed for inactivity]
<zalitis>
This happens when using SBCL with SLY.
<zalitis>
This happens when using SBCL with SLY.
<Josh_2>
next time can you use a paste service
<Josh_2>
next time can you use a paste service
<_death>
use a pastebin next time.. the issue is that you have the same object referenced multiple times in the list
<_death>
use a pastebin next time.. the issue is that you have the same object referenced multiple times in the list
<zalitis>
Oops, sorry
<zalitis>
Oops, sorry
shka_ has quit [Ping timeout: 245 seconds]
shka_ has quit [Ping timeout: 245 seconds]
villanella has quit [Ping timeout: 240 seconds]
villanella has quit [Ping timeout: 240 seconds]
<MrtnDk[m]>
Josh_2 Maybe he can use #Flood if it's still around?
<MrtnDk[m]>
Josh_2 Maybe he can use #Flood if it's still around?
aartaka has quit [Ping timeout: 240 seconds]
aartaka has quit [Ping timeout: 240 seconds]
akoana has joined #lisp
akoana has joined #lisp
<zalitis>
The way I constructed *my-list* was to push the same thing to it four times. Is there any way I could make sure that each element ends up as a unique object, even if the values are the same?
<zalitis>
The way I constructed *my-list* was to push the same thing to it four times. Is there any way I could make sure that each element ends up as a unique object, even if the values are the same?
<_death>
copy-list
<_death>
copy-list
rozenglass has joined #lisp
rozenglass has joined #lisp
<_death>
or if each item is a nested list, copy-tree.. in general, you can write your own copy operation
<_death>
or if each item is a nested list, copy-tree.. in general, you can write your own copy operation
thmprover has joined #lisp
thmprover has joined #lisp
aartaka has joined #lisp
aartaka has joined #lisp
<zalitis>
copy-tree did the trick. Thanks a lot!
<zalitis>
copy-tree did the trick. Thanks a lot!
kenran has quit [Quit: leaving]
kenran has quit [Quit: leaving]
luni has joined #lisp
luni has joined #lisp
asarch has joined #lisp
asarch has joined #lisp
zalitis has quit [Quit: Connection closed]
zalitis has quit [Quit: Connection closed]
aartaka_d has joined #lisp
aartaka_d has joined #lisp
zalitis has joined #lisp
zalitis has joined #lisp
Lycurgus has joined #lisp
Lycurgus has joined #lisp
aartaka has quit [Ping timeout: 276 seconds]
aartaka has quit [Ping timeout: 276 seconds]
aartaka_d has quit [Ping timeout: 256 seconds]
aartaka_d has quit [Ping timeout: 256 seconds]
galex-713 has quit [Read error: Connection reset by peer]
galex-713 has quit [Read error: Connection reset by peer]
tiwEllien has quit [Ping timeout: 264 seconds]
tiwEllien has quit [Ping timeout: 264 seconds]
random-nick has quit [Ping timeout: 260 seconds]
random-nick has quit [Ping timeout: 260 seconds]
random-nick has joined #lisp
random-nick has joined #lisp
zalitis has quit [Quit: Connection closed]
zalitis has quit [Quit: Connection closed]
Nilby has joined #lisp
Nilby has joined #lisp
really3 has joined #lisp
really3 has joined #lisp
theothornhill has joined #lisp
theothornhill has joined #lisp
srandon111 has quit [Quit: leaving]
srandon111 has quit [Quit: leaving]
karlosz has joined #lisp
karlosz has joined #lisp
luni has left #lisp [#lisp]
luni has left #lisp [#lisp]
Lycurgus has quit [Quit: Exeunt]
Lycurgus has quit [Quit: Exeunt]
mindCrime_ has joined #lisp
mindCrime_ has joined #lisp
perrier-jouet has quit [Quit: WeeChat 3.1]
perrier-jouet has quit [Quit: WeeChat 3.1]
karlosz has quit [Quit: karlosz]
karlosz has quit [Quit: karlosz]
perrier-jouet has joined #lisp
perrier-jouet has joined #lisp
akoana has left #lisp ["Leaving"]
akoana has left #lisp ["Leaving"]
anticrisis has joined #lisp
anticrisis has joined #lisp
perrier-jouet has quit [Quit: WeeChat 3.1]
perrier-jouet has quit [Quit: WeeChat 3.1]
perrier-jouet has joined #lisp
perrier-jouet has joined #lisp
attila_lendvai_ has quit [Ping timeout: 246 seconds]
attila_lendvai_ has quit [Ping timeout: 246 seconds]
galex-713 has joined #lisp
galex-713 has joined #lisp
rigidus`` has quit [Remote host closed the connection]
rigidus`` has quit [Remote host closed the connection]
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
surabax has quit [Quit: Leaving]
surabax has quit [Quit: Leaving]
cartwright has quit [Remote host closed the connection]
cartwright has quit [Remote host closed the connection]
DHARMAKAYA has joined #lisp
DHARMAKAYA has joined #lisp
cartwright has joined #lisp
cartwright has joined #lisp
gaqwas has quit [Ping timeout: 264 seconds]
gaqwas has quit [Ping timeout: 264 seconds]
theothornhill has quit [Remote host closed the connection]
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Remote host closed the connection]
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Remote host closed the connection]
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Remote host closed the connection]
theothornhill has quit [Remote host closed the connection]
ebrasca has quit [Remote host closed the connection]
ebrasca has quit [Remote host closed the connection]