<Bike>
yes. your dinner will have only one slot called SUGAR.
<Bike>
The defclass merges the slot definition information from the 'cafe' and 'chocolate' classes.
kozy has joined #lisp
<asarch>
In (defclass dinner (chocolate cafe) ()), I thought the 'sugar' slot was from the last element from the class precedence list
<asarch>
In this case, 'cafe'
<asarch>
But it seems it is the opposite
<Bike>
The page I just linked explains what dinner's slot will be like.
<Bike>
yes, it's left to right.
<on_ion>
sugar-water
<Bike>
though if you want to get a little hardcore you can customize it.
<Bike>
The two slot definitions only differ in their initform and docstring. According to the page I just linked, dinner's slot will have these from the most specific superclass, i.e. CHOCOLATE.
* asarch
takes notes...
<asarch>
This was an easy example to know how Lisp handles the diamond-inheritance problem
<Bike>
mhm.
<Bike>
and as i mentioned you can customize this behavior if you want to deal with mop stuff.
<Bike>
you might even be able to arrange a metaclass where child classes just get the unaltered class from their supers
markoong has quit [Ping timeout: 260 seconds]
<Bike>
and then you access them with some special slot-value where you include a class designator in addition to the slot name
<asarch>
Can you give me an example?
<asarch>
In this case, 'sugar' from 'cafe'
<Bike>
An example of this custom metaclass?
<asarch>
Yeah, using this small example
<Bike>
it would be kind of lengthy to do.
<asarch>
Oh
<asarch>
That's ok
<asarch>
Sorry then
<asarch>
Don't worry
<asarch>
Is 'defclass' part of MOP?
<Bike>
no, it's part of the standard. MOP defines most of the stuff behind how it works.
msmith has joined #lisp
<asarch>
Reading about CLOS and all related stuff, I found the CLOS version of Racket is Swindle
<Bike>
i know nothing concerning that topic.
<asarch>
Sorry
<msmith>
hi all, can someone remind me of the command that would allow me to destructure a list and use it as parameters in a function?
<asarch>
Anyway, thank you very much once again
<asarch>
Thank you Bike :-)
<Bike>
msmith: maybe you are thinking of apply
<Bike>
and no problem
karswell_ has joined #lisp
karswell has quit [Ping timeout: 255 seconds]
<msmith>
Bike: yes that's it thanks
<asarch>
So far I found three "glitches" in Lisp: 1) You can't read the value of "ARGS" in a binary file (for passing values) 2) There is no standard way to access to the value of :documentation from defclass 3) And this :-P
<Bike>
lisp's object system is more like smalltalk than C++. that's hardly a glitch.
<Bike>
and you can do (documentation (find-class name) t)
<Bike>
and i have no idea what you mean with the first thing
<asarch>
Well, you write an small application in Lisp to start a web server and then you need to specify the port number manually: my-lisp-server --port 8080
<Bike>
you can parse command line arguments, if that's what you mean
<beach>
MichaelRaskin: I think you are right. I need more than one `next' PC value when there is a branch in the code. But I can do that. I just have the table contain either a singleton address or a list of addresses.
eli_oat has joined #lisp
tkd_ is now known as tkd
skeuomorf has quit [Ping timeout: 264 seconds]
eli_oat has quit [Quit: Leaving.]
Mutex7 has joined #lisp
Kundry_Wag has quit [Ping timeout: 245 seconds]
karswell has quit [Ping timeout: 256 seconds]
wigust has joined #lisp
eli_oat has joined #lisp
shangul has joined #lisp
SenasOzys has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
eli_oat has quit [Quit: Leaving.]
Pixel_Outlaw has quit [Quit: Leaving]
vlatkoB has joined #lisp
Naergon has joined #lisp
red-dot has joined #lisp
rippa has joined #lisp
<pillton>
aeth: I have only just now read your suggestion to specialization-store.
<pillton>
aeth: Sorry about that. I will have to think about it.
manualcrank has joined #lisp
quazimodo has quit [Ping timeout: 248 seconds]
quazimodo has joined #lisp
nika has joined #lisp
Kundry_Wag has joined #lisp
iAmDecim has quit [Ping timeout: 255 seconds]
milanj has joined #lisp
stnutt has quit [Ping timeout: 260 seconds]
stacksmith1 has joined #lisp
stacksmith has quit [Read error: Connection reset by peer]
stacksmith1 is now known as stacksmith
stnutt has joined #lisp
nickenchuggets has quit [Quit: Leaving]
iAmDecim has joined #lisp
kmurphy4 has quit [Quit: kmurphy4]
Kundry_Wag has quit [Ping timeout: 255 seconds]
iAmDecim has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #lisp
smurfrobot has joined #lisp
epony has quit [Quit: QUIT]
Intensity has quit [Ping timeout: 260 seconds]
smurfrobot has quit [Ping timeout: 240 seconds]
nika has quit [Read error: Connection reset by peer]
nika_ has joined #lisp
Intensity has joined #lisp
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 260 seconds]
nika_ has quit [Quit: Leaving...]
nika has joined #lisp
vsync has joined #lisp
light2yellow has joined #lisp
<aeth>
The default type one? It definitely isn't a must-have, but it does prevent increased verbosity when refactoring from certain patterns of DEFUN with DECLARE.
<aeth>
All or almost all (but not all) of one type seems pretty common.
makomo has joined #lisp
shka_ has joined #lisp
doesthiswork has quit [Quit: Leaving.]
manualcrank has quit [Quit: WeeChat 2.1]
zooey has quit [Ping timeout: 250 seconds]
zooey has joined #lisp
jeosol_ has quit [Ping timeout: 260 seconds]
ioa has quit [Ping timeout: 276 seconds]
ioa has joined #lisp
<pillton>
aeth: Yes. The syntax is quite surprising though (I couldn't think of a better word).
kushal has quit [Ping timeout: 250 seconds]
<pillton>
I have to go. I'll think about it during the week.
kushal has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<aeth>
My exact way to do it is probably not the best way to do it, but my API isn't final so I went with it for now.
Mutex7 has quit [Quit: Leaving]
<aeth>
The way it would show up when working with sequences would probably be something like: (define-foo map-two-into! ((destination some-seq) (function function) (seq-1 some-seq) (seq-2 some-seq)) (map-into destination function seq-1 seq-2)) Except, of course, it would be doing something more specific that just happens to match that basic pattern.
<aeth>
(i.e. 3 of the same type, 1 of a different type)
nowhere_man has joined #lisp
python476 has joined #lisp
Kundry_Wag has joined #lisp
shka_ has quit [Ping timeout: 240 seconds]
random-nick has quit [Remote host closed the connection]
<beach>
Next, I need to figure out the details of the liveness information.
BitPuffin has joined #lisp
Kundry_Wag has quit [Ping timeout: 264 seconds]
TCZ has joined #lisp
attila_lendvai has joined #lisp
varjag has joined #lisp
MasouDa_ has quit [Ping timeout: 240 seconds]
milanj has joined #lisp
aindilis has quit [Ping timeout: 245 seconds]
lumm has joined #lisp
Folkol has joined #lisp
<beach>
I also updated this document: http://metamodular.com/clordane.pdf (section 1.2.8 on page 4) to reflect the different kinds of possible STEP commands. I added a description of how Clordane accomplishes stepping.
smurfrobot has joined #lisp
SenasOzys has quit [Ping timeout: 240 seconds]
elfmacs has quit [Ping timeout: 248 seconds]
aindilis has joined #lisp
smurfrobot has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
red-dot has joined #lisp
toncek55 has joined #lisp
uberman has joined #lisp
uberman has quit [Max SendQ exceeded]
uberman has joined #lisp
uberman has quit [Max SendQ exceeded]
uberman has joined #lisp
uberman has quit [Max SendQ exceeded]
SenasOzys has joined #lisp
pierpal has joined #lisp
shangul has quit [Quit: sudo rm -rf /usr/*]
markoong has joined #lisp
smurfrobot has joined #lisp
tmf has joined #lisp
groovy2shoes has joined #lisp
toncek55 has quit [Ping timeout: 264 seconds]
HDurer has joined #lisp
HDurer has joined #lisp
HDurer has quit [Changing host]
pseudonymous has quit [Ping timeout: 256 seconds]
smurfrobot has quit [Remote host closed the connection]
tmf has quit [Ping timeout: 248 seconds]
tmf has joined #lisp
Kundry_Wag has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<attila_lendvai>
beach: there's something wrong with '1.2. TERMINOLOGY', it's repeated
<Colleen>
attila_lendvai: drmeister said at 2018.05.18 14:56:12: Do you recall how to shut down messages from waf? Specifically when it links or aggregates all of the scraped files? The lines are really long and they cause emacs to pause for many seconds when you try to skip over them.
red-dot has joined #lisp
makomo has quit [Ping timeout: 240 seconds]
makomo has joined #lisp
Bike has joined #lisp
TCZ has joined #lisp
tmf has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Ping timeout: 268 seconds]
longshi_ has joined #lisp
<beach>
attila_lendvai: I don't see that.
<attila_lendvai>
beach: I can see it if I search for 'Terminology' in the pdf on that^ url. I have 3 maches (as opposed to the expected 2)
<attila_lendvai>
beach: the extra is in all caps
<attila_lendvai>
beach: between 1.2.4 and 1.2.5
smurfrobot has joined #lisp
<beach>
Well, on top of the page is the name of the current section in all caps.
<beach>
So there is on in the table of contents, one in the section header, and one on top of a page.
<attila_lendvai>
beach: oh, then I have misparsed it apparently. sorry for the confusion!
<beach>
No problem.
_whitelogger has joined #lisp
eli_oat has quit [Quit: Leaving.]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
APic has quit [Ping timeout: 240 seconds]
smurfrobot has quit [Remote host closed the connection]
milanj has quit [Quit: This computer has gone to sleep]
pierpal has quit [Ping timeout: 255 seconds]
pagnol has joined #lisp
<loke>
jackdaniel: I created a pull request (#488) to fix the :FIX vs. :FIXED issue.
<loke>
I did it by completely elminate the :FIXED special-cases from the code.
<loke>
beach: thoughts?
<beach>
Looks good to me.
pierpal has joined #lisp
pierpal has quit [Client Quit]
pierpal has joined #lisp
sz0 has quit [Quit: Connection closed for inactivity]
hjek has joined #lisp
hjek has quit [Read error: Connection reset by peer]
hjek has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #lisp
pierpal has quit [Read error: Connection reset by peer]
EvW1 has joined #lisp
phenoble has joined #lisp
doesthiswork has joined #lisp
FreeBird_ has joined #lisp
FreeBirdLjj has quit [Read error: Connection reset by peer]
<beach>
Designing GUIs is hard. I need to re-read the book I have on how to do it.
Kundry_Wag has joined #lisp
elfmacs has joined #lisp
pierpal has joined #lisp
hjek has left #lisp [#lisp]
rumbler31 has joined #lisp
smurfrobot has joined #lisp
kamog has joined #lisp
ineiros has joined #lisp
rumbler31 has quit [Ping timeout: 268 seconds]
smurfrobot has quit [Ping timeout: 240 seconds]
<beach>
So for liveness information, what would the user of a debugger want to know? I am thinking at least 1. The current value of the variable. 2. The point in the source code where it was initially created. 3. The points in the source code that may affect its current value. 4. Other points in the source code where the variable is referred to. Anything else?
Kundry_Wag has quit [Ping timeout: 264 seconds]
<beach>
5. Type restrictions on the variable at the current program point.
hifitim has joined #lisp
<phoe>
beach: as in, type, constantness and such?
<phoe>
I mean 5.
<beach>
Right. So that if the user wants to change the value, it will only accept values of the right type.
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
phenoble has quit [Ping timeout: 248 seconds]
red-dot has joined #lisp
crimsontr has joined #lisp
phenoble has joined #lisp
hifitim has quit [Ping timeout: 240 seconds]
hifitim has joined #lisp
hifitim has quit [Client Quit]
warweasle has joined #lisp
crimsontr has quit [Ping timeout: 255 seconds]
tmf has quit [Ping timeout: 240 seconds]
TCZ has joined #lisp
tmf has joined #lisp
EvW1 has quit [Ping timeout: 260 seconds]
crimsontr has joined #lisp
warweasle_ has joined #lisp
warweasle has quit [Ping timeout: 248 seconds]
elfmacs has quit [Ping timeout: 265 seconds]
longshi_ has quit [Ping timeout: 255 seconds]
crimsontr_ has joined #lisp
crimsontr_ has quit [Client Quit]
crimsontr has quit [Ping timeout: 276 seconds]
smurfrobot has joined #lisp
warweasle has joined #lisp
warweasle_ has quit [Ping timeout: 240 seconds]
SenasOzys has quit [Ping timeout: 264 seconds]
phenoble has quit [Quit: WeeChat 1.9.1]
crimsontr_ has joined #lisp
warweasle_ has joined #lisp
warweasle has quit [Ping timeout: 240 seconds]
crimsontr_ has quit [Client Quit]
warweasle_ has quit [Ping timeout: 256 seconds]
smurfrobot has quit [Remote host closed the connection]
EvW has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Kundry_Wag has joined #lisp
Kundry_Wag_ has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
MasouDa has joined #lisp
Kundry_Wag has joined #lisp
orivej has joined #lisp
Kundry_Wag_ has quit [Ping timeout: 256 seconds]
SenasOzys has joined #lisp
kamog has quit [Remote host closed the connection]
pagnol has quit [Quit: Ex-Chat]
nicht has joined #lisp
nicht_ has joined #lisp
nicht_ has quit [Remote host closed the connection]
SenasOzys has quit [Ping timeout: 265 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
fisxoj has joined #lisp
<msmith>
anyone know of a way to peak or listen on a concatenated stream?
fisxoj has quit [Quit: fisxoj]
sjl has joined #lisp
smurfrobot has joined #lisp
<phoe>
msmith: make a broadcast stream that listens from the concatenated stream and sends its output into two different directions
<phoe>
and use that broadcast stream instead
djuber has joined #lisp
tmf has quit [Ping timeout: 265 seconds]
mflem has joined #lisp
TCZ has quit [Quit: Leaving]
<msmith>
phoe: hmmm. no sure I follow. without extra plumbing, how would I create a broadcast stream from the concatenated stream as broadcast streams take output streams. and were you referring to a two way stream when you said, "sends its output into two different directions"?
DemolitionMan has joined #lisp
mooog has quit [Quit: Wink, Wink, nudge, nudge. Know what I mean?]
<phoe>
Basically, you want to be able to send output from your concatenated stream into two different locations.
<phoe>
One of them is your "tap" and the other is the proper destination.
<phoe>
Therefore get your two destination streams - let's call it destination-stream and tap-stream. Then, (make-broadcast-stream destination-stream tap-stream). Then, redirect the data from your source stream into the broadcast stream.
sjl has quit [Ping timeout: 268 seconds]
openthesky has joined #lisp
SenasOzys has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
smurfrobot has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 260 seconds]
DataLinkDroid2 has joined #lisp
DataLinkDroid has quit [Ping timeout: 240 seconds]
<jackdaniel>
with-accessors may be useful if you want to access slots of two objects having slots of the same name
<ym>
Should I somehow convert wm-size-hints to wm-hints before setf'ing window?
<jackdaniel>
ym: I don't know, check out manager.lisp in clx sources
Kundry_Wag has joined #lisp
<ym>
Well, I do. I see wm-size-hints class definition and set-wm-hints definition, but no set-wm-size-hints definition. And that's why I'm asking.
Pixel_Outlaw has joined #lisp
smurfrobot has quit [Ping timeout: 256 seconds]
<jackdaniel>
drmeister: also what Eric Naggum says is correct, because initially there might be slots, but they may get removed in favor of generic functions which are outside the class
<jackdaniel>
so if you use with-accessors then that change to internal class implementation won't affect your code
<jackdaniel>
but if you had with-slots, it would
Kundry_Wag has quit [Remote host closed the connection]
<ym>
Seems like I must first encode it.
<drmeister>
Thank you.
<jackdaniel>
sure
<pjb>
so with-accessor outside of the methods, with-slots inside.
<drmeister>
pjb: Thanks! That works for me.
smurfrobot has joined #lisp
<ym>
Ok, found it.
thodg has joined #lisp
skeuomorf has joined #lisp
aindilis has quit [Remote host closed the connection]
aindilis has joined #lisp
Kundry_Wag has joined #lisp
karlosz has quit [Ping timeout: 256 seconds]
wigust- has joined #lisp
wigust has quit [Ping timeout: 256 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
red-dot has joined #lisp
mishoo has joined #lisp
mishoo has quit [Client Quit]
minion has quit [Read error: No route to host]
specbot has quit [Read error: No route to host]
sz0 has quit [Quit: Connection closed for inactivity]
specbot has joined #lisp
APic has joined #lisp
attila_lendvai has quit [Read error: Connection reset by peer]
smurfrobot has quit [Remote host closed the connection]
minion has joined #lisp
<thodg>
any hope for threads on sbcl/openbsd-i386 ?
Yaargh_ has quit [Changing host]
Yaargh_ has joined #lisp
<akkad>
thodg: #sbcl may be able to help. do rthreads only get supported on openbsd-amd64}
<thodg>
akkad: yes for now
<thodg>
dunno if it's rthreads either
EvW1 has quit [Remote host closed the connection]
<akkad>
k
comborico1611 has joined #lisp
<jurov>
Anyone knows how to make quicklisp compile a system for debugging?
<phoe>
jurov: for debugging? you mean with debug 3?