Involuntary has quit [Remote host closed the connection]
phax has joined #lisp
Oladon has joined #lisp
Jeanne-Kamikaze has joined #lisp
oxum has joined #lisp
prince1 has quit [Ping timeout: 264 seconds]
ebzzry_ has joined #lisp
oxum has quit [Ping timeout: 265 seconds]
amerlyq has quit [Quit: amerlyq]
CrazyPython has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
torbo has joined #lisp
Involuntary has joined #lisp
Josh_2 has quit [Ping timeout: 260 seconds]
torbo has quit [Remote host closed the connection]
ebzzry_ has quit [Remote host closed the connection]
torbo has joined #lisp
ebzzry_ has joined #lisp
sarna has quit [Quit: bye]
Jeanne-Kamikaze has quit [Ping timeout: 264 seconds]
sarna has joined #lisp
GuerrillaMonkey has joined #lisp
Involuntary has quit [Ping timeout: 256 seconds]
GuerrillaMonkey has quit [Read error: Connection reset by peer]
tutti has quit [Ping timeout: 256 seconds]
jonatack_ has joined #lisp
torbo has quit [Remote host closed the connection]
jonatack has quit [Ping timeout: 265 seconds]
Jeanne-Kamikaze has joined #lisp
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #lisp
sjl has joined #lisp
oldtopman has quit [Ping timeout: 240 seconds]
CrazyPython has quit [Read error: Connection reset by peer]
northwind has left #lisp [#lisp]
baby_yoda has joined #lisp
baby_yoda has quit [Ping timeout: 265 seconds]
bitmapper has quit [Ping timeout: 256 seconds]
baby_yoda has joined #lisp
CrazyPython has joined #lisp
oxum has joined #lisp
iAmDecim has joined #lisp
CrazyPython has quit [Read error: Connection reset by peer]
iAmDecim has quit [Ping timeout: 265 seconds]
quazimod1 has joined #lisp
oxum has quit [Ping timeout: 256 seconds]
quazimodo has quit [Ping timeout: 240 seconds]
peterhil has quit [Quit: Must not waste too much time here...]
peterhil has joined #lisp
ukari has joined #lisp
jonatack_ has quit [Read error: Connection reset by peer]
CrazyPython has joined #lisp
oxum has joined #lisp
KDr2 has quit [Remote host closed the connection]
gko has joined #lisp
tcr has quit [Ping timeout: 256 seconds]
jonatack_ has joined #lisp
KDr2 has joined #lisp
baby_yoda has quit [Ping timeout: 265 seconds]
prince1 has joined #lisp
ahungry has joined #lisp
xlei has quit [Ping timeout: 264 seconds]
prince1 has quit [Ping timeout: 250 seconds]
emacsomancer has quit [Read error: Connection reset by peer]
emacsoma1 has joined #lisp
xlei has joined #lisp
Khisanth has quit [Ping timeout: 252 seconds]
CrazyPython has quit [Read error: Connection reset by peer]
efm has quit [Quit: Konversation terminated!]
efm has joined #lisp
oldtopman has joined #lisp
oldtopman has quit [Remote host closed the connection]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #lisp
Khisanth has joined #lisp
EvW has quit [Ping timeout: 240 seconds]
ebzzry_ has quit [Remote host closed the connection]
tutti has joined #lisp
mono has joined #lisp
monokrom has quit [Ping timeout: 264 seconds]
SGASAU` has joined #lisp
KDr21 has joined #lisp
SGASAU has quit [Ping timeout: 265 seconds]
KDr2 has quit [Ping timeout: 256 seconds]
seisatsu has quit [Ping timeout: 258 seconds]
ebzzry_ has joined #lisp
prince1 has joined #lisp
prince1 has quit [Ping timeout: 240 seconds]
tutti has quit [Ping timeout: 264 seconds]
SGASAU` has quit [Remote host closed the connection]
libertyprime has joined #lisp
prince1 has joined #lisp
prince1 has quit [Ping timeout: 256 seconds]
ebzzry_ has quit [Ping timeout: 250 seconds]
libertyprime has quit [Read error: Connection reset by peer]
iAmDecim has joined #lisp
koltar has joined #lisp
notzmv has quit [Ping timeout: 240 seconds]
edgar-rft has quit [Ping timeout: 256 seconds]
oxum has quit [Remote host closed the connection]
libertyprime has joined #lisp
ebzzry_ has joined #lisp
oxum has joined #lisp
FennecCode has quit [Quit: ERC (IRC client for Emacs 26.2)]
oxum has quit [Ping timeout: 256 seconds]
edgar-rft has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
iAmDecim has quit [Ping timeout: 258 seconds]
oxum has joined #lisp
baby_yoda has joined #lisp
oxum has quit [Ping timeout: 264 seconds]
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
<beach>
Good morning everyone!
gravicappa has joined #lisp
ebzzry_ has quit [Read error: Connection reset by peer]
asarch has joined #lisp
Jeanne-Kamikaze has quit [Quit: Leaving]
oxum has joined #lisp
koltar has left #lisp [#lisp]
oxum has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
space_otter has quit [Remote host closed the connection]
nchamber- has quit [Ping timeout: 240 seconds]
nchambers has joined #lisp
iAmDecim has joined #lisp
shangul has joined #lisp
Bike has quit [Quit: Lost terminal]
baby_yoda has quit [Ping timeout: 256 seconds]
iAmDecim has quit [Ping timeout: 264 seconds]
_whitelogger has joined #lisp
iAmDecim has joined #lisp
oxum has joined #lisp
iAmDecim has quit [Ping timeout: 256 seconds]
oxum has quit [Ping timeout: 264 seconds]
prince1 has joined #lisp
iAmDecim has joined #lisp
baby_yoda has joined #lisp
prince1 has quit [Ping timeout: 264 seconds]
oxum has joined #lisp
vlatkoB has joined #lisp
iAmDecim has quit [Ping timeout: 265 seconds]
asarch has quit [Quit: Leaving]
oxum has quit [Remote host closed the connection]
kamog has joined #lisp
oxum has joined #lisp
oxum has quit [Ping timeout: 256 seconds]
iAmDecim has joined #lisp
lavaflow has quit [Ping timeout: 264 seconds]
ahungry has quit [Remote host closed the connection]
GeissT has joined #lisp
baby_yoda has quit [Quit: Leaving]
pilne has quit [Quit: Excess flood. Did someone see an ark float by?]
lavaflow has joined #lisp
oxum has joined #lisp
libertyprime has quit [Ping timeout: 256 seconds]
cosimone has joined #lisp
libertyprime has joined #lisp
_whitelogger has joined #lisp
ebzzry_ has joined #lisp
equwal has quit [Read error: Connection reset by peer]
GeissT has quit [Ping timeout: 264 seconds]
narimiran has joined #lisp
kamog has quit [Remote host closed the connection]
Inline has joined #lisp
GeissT has joined #lisp
kamog has joined #lisp
oldtopman has joined #lisp
oxum has joined #lisp
gko has quit [Ping timeout: 256 seconds]
ebzzry_ has quit [Read error: Connection reset by peer]
<PuercoPope>
Is there any reason why compute-effective-slot-definition-class wouldn't receive the custom initargs provided. They are present in compute-direct-slot-definition afaict
Oladon has quit [Quit: Leaving.]
space_otter has joined #lisp
oxum has quit [Ping timeout: 265 seconds]
<beach>
What is compute-effective-slot-definition-class?
<beach>
And what is compute-direct-slot-definition?
<no-defun-allowed>
Maybe the former is effective-slot-definition-class.
<no-defun-allowed>
And the latter direct-slot-definition-class.
<beach>
I am unable to make such corrections. I prefer to have the correct names in the question.
<no-defun-allowed>
However, the former should be given the initargs of the slot. "The initargs argument is the set of initialization arguments and values that will be passed to make-instance when the effective slot definition metaobject is created."
<beach>
Perhaps the names are correct, but specific to a particular Common Lisp implementation.
prince1 has joined #lisp
<PuercoPope>
beach: You are right, I meant to say effective-slot-definition-class
<beach>
PuercoPope: So can you rephrase the question, and could you state whether you are referring to observed behavior in some Common Lisp implementation, or to some perceived problem in the AMOP?
<beach>
PuercoPope: And also correct the name of the second function.
prince1 has quit [Ping timeout: 265 seconds]
_whitelogger has joined #lisp
<PuercoPope>
I use sly stickers to inspect the values of the slot giving me problems
t3hyoshi has joined #lisp
shka_ has joined #lisp
phax has quit [Remote host closed the connection]
<beach>
So when you trace effective-slot-definition-class, no initargs are passed?
<beach>
Is that what you are saying?
<PuercoPope>
No, I'm saying the only ones passed as the standard ones
<beach>
Did you create a method on compute-effective-slot-definition specialized to your new metaclass?
<beach>
I guess so.
<PuercoPope>
Yes, it is down below
<beach>
But in that function, you just call call-next-method
<beach>
So the default method (specialized to standard-class) will be invoked, no?
<PuercoPope>
I would expect so, yes
<beach>
I would think the default method is the one that calls effective-slot-definition-class using the initargs for standard-class then.
<beach>
No?
<PuercoPope>
No, I would expect it to call it with all the initargs. And it does so in the other cases. For example in for the padding slot
<beach>
How would the default method on compute-effective-slot-definition know what initargs your slot definition class takes?
<PuercoPope>
Why would it need to 'know' what are the initargs? Wouldn't it just pass all the options passed to the slot?
<PuercoPope>
from what I have seen, compute-effective-slot-definition is used to set the values using the direct slots, but the slot itself is always initialized using the default method, ie. (call-next-method). Although in most cases code tends to ignore initargs and just return their custom slot because they only have one
<beach>
So direct-slot-definition-class is passed the initargs in the slot specification.
<beach>
That is not the case for effective-slot-definition-class.
<beach>
The effective slot definition is not initialized with the same initargs as the direct slot definition. It takes initargs such as :location where the slot is stored in the instance, etc.
<beach>
So I think you need to override the method on compute-effective-slot-definition.
<PuercoPope>
And because allocation is a 'default' one it works. Makes sense. Too bad compute-effective-slot-definition-initargs doesn't seem to be exported by sb-mop
<beach>
I don't think it's part of the MOP definitions.
<no-defun-allowed>
That symbol doesn't even exist in the SB-MOP package.
<PuercoPope>
It isn't afaik.
<PuercoPope>
no-defun-allowed: it is in sb-pcl
orivej has joined #lisp
<PuercoPope>
I can use the direct-slots to chose the correct class for the effective slot instead. But I'm unsure of how to 'instanciate' the slot intself, do I just class (make-instance 'xcb-list-effective-slot-definition?)
<PuercoPope>
It is times like this that I wish the MOP would have been more fleshed out. compute-effective-slot-definition-initargs certainly seems like something that should be exposed
<beach>
You would do (apply #'make-instance '<your-slot-definition-class> initargs)
dale has quit [Quit: My computer has gone to sleep]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
ggole has joined #lisp
<beach>
PuercoPope: I am convinced that the MOP is sufficiently fleshed out for your needs.
rotty has quit [Quit: WeeChat 2.8-dev]
cosimone has quit [Remote host closed the connection]
random-nick has joined #lisp
cosimone has joined #lisp
ebzzry_ has joined #lisp
rotty has joined #lisp
CrazyEddy has quit [Ping timeout: 250 seconds]
cosimone has quit [Quit: Terminated!]
shka_ has quit [Ping timeout: 256 seconds]
ebzzry_ has quit [Read error: Connection reset by peer]
iAmDecim has quit [Ping timeout: 256 seconds]
iAmDecim has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
gioyik has quit [Quit: WeeChat 2.7.1]
prince1 has joined #lisp
prince1 has quit [Ping timeout: 252 seconds]
karlosz has quit [Quit: karlosz]
rippa has joined #lisp
clothespin_ has quit [Read error: Connection reset by peer]
clothespin_ has joined #lisp
sarna has quit [Quit: bye]
sarna has joined #lisp
heisig has joined #lisp
sarna has quit [Remote host closed the connection]
oxum has joined #lisp
sarna has joined #lisp
SGASAU has joined #lisp
Grauwolf has quit [Quit: WeeChat 2.7.1]
sarna has quit [Remote host closed the connection]
oxum has quit [Ping timeout: 250 seconds]
ebzzry_ has joined #lisp
ebzzry_ has quit [Read error: Connection reset by peer]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #lisp
<phoe>
Does CFFI have any kind of memcpy() function for copying raw bytes around?
ebzzry_ has joined #lisp
<_death>
you can defcfun memcpy
<_death>
I also wondered about that omission at times.. unfortunately with memcpy there's the size_t issue again.. in my code I usually went with the naive mem-aref loop
Grauwolf has joined #lisp
Grauwolf has quit [Changing host]
Grauwolf has joined #lisp
SGASAU has quit [Remote host closed the connection]
<phoe>
luis: maybe you can provide some background
SGASAU has joined #lisp
srji has quit [Quit: Lost terminal]
srji has joined #lisp
notzmv has joined #lisp
frgo_ has joined #lisp
space_otter has quit [Remote host closed the connection]
wxie has joined #lisp
frgo has quit [Ping timeout: 258 seconds]
ebzzry_ has quit [Read error: Connection reset by peer]
notzmv has quit [Ping timeout: 256 seconds]
ear-the-art has quit [Remote host closed the connection]
ear-the-art has joined #lisp
notzmv has joined #lisp
<luis>
We don't defcfun memcpy to not depend on libc. IIRC, Lispworks didn't
notzmv is now known as Guest66258
<luis>
But yeah, we should add memory fill and copy operations, I agree
wxie has quit [Ping timeout: 260 seconds]
oxum has joined #lisp
kamog has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 250 seconds]
wxie has joined #lisp
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #lisp
libertyprime has quit [Read error: No route to host]
prince1 has joined #lisp
libertyprime has joined #lisp
Josh_2 has joined #lisp
prince1 has quit [Ping timeout: 256 seconds]
<Josh_2>
Are there are grammar parser generators for reading from streams?
clothespin__ has joined #lisp
<t3hyoshi>
Like cl-lex?
clothespin_ has quit [Ping timeout: 256 seconds]
ebzzry_ has joined #lisp
tutti has joined #lisp
ebzzry_ has quit [Remote host closed the connection]
<Josh_2>
maybe
<Josh_2>
basically I have a stream I want to read from and parse with a grammar parser
<Josh_2>
but I don't want to read it all in then parse it with a parser after
specbot has quit [Read error: Connection reset by peer]
specbot has joined #lisp
minion has quit [Read error: No route to host]
minion has joined #lisp
TwoNotes has joined #lisp
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #lisp
dddddd has joined #lisp
ebzzry_ has joined #lisp
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #lisp
gko has joined #lisp
iAmDecim has quit [Ping timeout: 256 seconds]
ebzzry_ has quit [Remote host closed the connection]
easye has quit [Remote host closed the connection]
iAmDecim has joined #lisp
wxie has quit [Ping timeout: 252 seconds]
iAmDecim has quit [Ping timeout: 256 seconds]
libertyprime has quit [Quit: Lost terminal]
ebzzry_ has joined #lisp
void_pointer has joined #lisp
kslt1 has joined #lisp
xkapastel has joined #lisp
SGASAU has quit [Remote host closed the connection]
wxie has joined #lisp
iAmDecim has joined #lisp
specbot has quit [Read error: No route to host]
minion has quit [Read error: Connection reset by peer]
specbot has joined #lisp
minion has joined #lisp
dreamcompiler has quit [Ping timeout: 260 seconds]
prince1 has joined #lisp
prince1 has quit [Ping timeout: 264 seconds]
Oladon has joined #lisp
dreamcompiler has joined #lisp
tutti has quit [Ping timeout: 256 seconds]
iAmDecim has quit [Ping timeout: 260 seconds]
iAmDecim has joined #lisp
dreamcompiler has quit [Client Quit]
Bike has joined #lisp
EvW has joined #lisp
dreamcompiler has joined #lisp
zaquest has quit [Quit: Leaving]
wxie has quit [Ping timeout: 256 seconds]
dreamcompiler has quit [Ping timeout: 256 seconds]
zaquest has joined #lisp
TwoNotes has quit [Quit: Leaving]
dreamcompiler has joined #lisp
lucasb has joined #lisp
pluplog has joined #lisp
iAmDecim has quit [Ping timeout: 252 seconds]
libertyprime has joined #lisp
lemoinem has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
lemoinem has joined #lisp
jonatack_ has quit [Ping timeout: 272 seconds]
amerlyq has joined #lisp
jonatack_ has joined #lisp
shangul has quit [Ping timeout: 264 seconds]
v88m has quit [Ping timeout: 250 seconds]
peterhil has quit [Quit: Must not waste too much time here...]
iAmDecim has joined #lisp
ear-the-art has quit [Ping timeout: 252 seconds]
sonologico has quit [Remote host closed the connection]
easye has joined #lisp
peterhil has joined #lisp
cartwright has quit [Read error: Connection reset by peer]
cartwright has joined #lisp
equwal has joined #lisp
pilne has joined #lisp
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #lisp
sonologico has joined #lisp
krid has joined #lisp
jprajzne has joined #lisp
<srandon111>
guys ii am having an hard time understanding this twoer of hanoi thing from SICP... https://www.youtube.com/watch?list=PLZHQObOWTQDMRtm8h9bG9P06WINNoBnCR&v=2SUvWfNJSsM can somebody help me? where is the rule about you can move only a single disk at a time in? and how does the system know that he cannot put laarger disks above smaller disks?
prince1 has joined #lisp
iAmDecim has quit [Ping timeout: 256 seconds]
sonologico__ has joined #lisp
prince1 has quit [Ping timeout: 252 seconds]
sonologico has quit [Ping timeout: 256 seconds]
<Bike>
what do you mean "where is the rule"? that's just a rule of the game.
<Bike>
i don't see code in this video, though i'm only glancing at it
sonologico__ has quit [Remote host closed the connection]
sonologico has joined #lisp
ArthurStrong has joined #lisp
ebzzry_ has quit [Read error: Connection reset by peer]
sonologico has quit [Remote host closed the connection]
sonologico has joined #lisp
sonologico has quit [Remote host closed the connection]
iAmDecim has joined #lisp
Jeanne-Kamikaze has joined #lisp
iAmDecim has quit [Ping timeout: 252 seconds]
shangul has joined #lisp
xaotuk has joined #lisp
gko has quit [Ping timeout: 256 seconds]
spainisnotequal has quit [Quit: Ping timeout (120 seconds)]
xaotuk has quit [Ping timeout: 250 seconds]
orivej has joined #lisp
_whitelogger has joined #lisp
v88m has joined #lisp
slyrus has joined #lisp
<pjb>
srandon111: both rules are implicit.
<pjb>
srandon111: the rune that you can move only a single disk at a time is implemented by the fact that the computer only executes one instruction at a time!
<pjb>
s/rune/rule/
<pjb>
srandon111: the systems knows that it cannot put larger disks above smaller disks from the algorithm. This property can be proven mathematically from the algorithm.
CrazyEddy has joined #lisp
<pjb>
srandon111: to implement those rules explicitely in a system, you would have to make it possible to break them. For example, by implementing operations such as take tore from pile 1 in left hand, take tore from pile 2 in right hand, etc… and then you can write the rule, and ensure that such a sequence doesn't occur.
iAmDecim has joined #lisp
iAmDecim has quit [Ping timeout: 252 seconds]
lavaflow has quit [Ping timeout: 256 seconds]
rtoy has joined #lisp
rtoy has left #lisp [#lisp]
rtoy has joined #lisp
lavaflow has joined #lisp
rtoy has quit [Client Quit]
nckx is now known as SecondChoiceNick
SecondChoiceNick is now known as nckx
iAmDecim has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 256 seconds]
prince1 has joined #lisp
prince1 has quit [Ping timeout: 264 seconds]
amerlyq has quit [Quit: amerlyq]
Inline has quit [Remote host closed the connection]
Inline has joined #lisp
sauvin has quit [Read error: Connection reset by peer]
Guest66258 is now known as notzmv
EvW has joined #lisp
jonatack_ has quit [Quit: jonatack_]
lavaflow has quit [Ping timeout: 252 seconds]
seisatsu has joined #lisp
frgo_ has quit []
jonatack has joined #lisp
sauvin has joined #lisp
libertyprime has quit [Read error: Connection reset by peer]
lavaflow has joined #lisp
dddddd has quit [Ping timeout: 256 seconds]
heisig has quit [Ping timeout: 256 seconds]
iAmDecim has quit [Ping timeout: 265 seconds]
pluplog has quit [Read error: Connection reset by peer]
<joel135>
how to understand this? ``(foo ,,(+ 1 1)) = (LIST 'FOO 2)
zxcvz has quit [Quit: Leaving]
loli has quit [Ping timeout: 256 seconds]
gravicappa has quit [Ping timeout: 240 seconds]
<jackdaniel>
minion: tell joel135 about pcl
<minion>
joel135: look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
<jackdaniel>
there is also a channel #clschool for basic questions
joel135 has left #lisp [#lisp]
<jackdaniel>
hm
Involuntary has joined #lisp
loli has joined #lisp
<edgar-rft>
jackdaniel: smells like homework
<jackdaniel>
I can imagine a mean teacher advising his students: if you have problems with understanding the material please join #lisp
<jackdaniel>
god forbid you from writing IRC netiquette
<jackdaniel>
s/writing/reading/
Jeanne-Kamikaze has quit [Ping timeout: 256 seconds]
<jackdaniel>
s/IRC/the IRC/
shangul has quit [Ping timeout: 250 seconds]
xuxuru has joined #lisp
ggole has quit [Quit: Leaving]
heisig has joined #lisp
narimiran has quit [Quit: leaving]
heisig has quit [Quit: Leaving]
flazh has quit [Ping timeout: 256 seconds]
flazh has joined #lisp
sjl has joined #lisp
zaquest has quit [Quit: Leaving]
v88m has quit [Read error: Connection reset by peer]
lalilulelo has joined #lisp
<phoe>
I find myself thinking in Erlang while writing Lisp
<_death>
hmmmm, as recently mentioned in the slime-devel mailing list, seems `C-c C-d h` and friends don't work in the repl.. `C-c C-d ?` shows no bindings for slime-editing-mode, but pushing the slime-editing-mode button in that buffer does show C-c C-d ... keybindings.. not sure what changed..
arbv has quit [Read error: Connection reset by peer]
adam4567 has joined #lisp
arbv has joined #lisp
zaquest has joined #lisp
prince1 has joined #lisp
prince1 has quit [Ping timeout: 252 seconds]
sendai_ has quit [Remote host closed the connection]
sendai_ has joined #lisp
kslt1 has quit [Remote host closed the connection]
<_death>
restarting emacs fixed it, so likely it's some bug in a package or emacs itself
JetJej has joined #lisp
asarch has quit [Quit: Leaving]
GeissT has quit [Remote host closed the connection]
space_otter has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
random-nick has quit [Ping timeout: 265 seconds]
emacsoma1 has quit [Quit: WeeChat 2.7.1]
emacsomancer has joined #lisp
adam4567` has joined #lisp
_jrjsmrtn has joined #lisp
adam4567` has quit [Remote host closed the connection]