freenode/#lisp - IRC Chatlog
Search
22:48:35
pierpa
dmiles: I don't need it for what I'm working on now. But it's a useful tool to keep in my toolbox.
22:52:28
pierpa
dmiles: in currently accepted terminology, chess is not a game of chance. Those are games which employs dice or a shuffled deck of cards. Chess is exactly *the opposite* of a game of chance.
23:01:00
zachk
pierpa, in chess, there is a chance your opponent doesn't see the moves you are planning
23:02:02
Bike
that's not even hidden information. not knowing what your opponent is going to do is just what a game is
23:24:22
makomo
oh, am i supposed to just use the class stream-usocket as a stream and just write to it as i would write to any stream?
23:27:07
makomo
never mind, usocket:stream-usocket is a socket, while usocket:socket-stream is the accessor for the underlying stream :-)
1:34:33
dmiles
i was indeed using chance loosely.. What I was trying to do is distinguish chess from a game of perfect information
1:39:39
dmiles
yet most all chess solvers i know about are designed to work based on "perfect information" which is never possibly going to happen
1:40:20
dmiles
in fact with all chess gambits if your opponent was playing with the same perfect information they cant win
1:40:53
dmiles
i mean the gambit will fail if your opponent actually was making all the perfect counter moves
1:42:58
dmiles
the best case is that your moves have create a multiplex of gambits that at leat one is not detected by your opponent
1:44:48
dmiles
not that this makes it a game of chance but you cannot know which gambits your opponent will miss
1:48:34
ebrasca
dmiles: I think you can find some steps with 100% win rate. I don't know if for white or black.
1:51:23
dmiles
if you, ebrasca, are correct then indeed there can be a perfect, non-chanchy, game of chess played
1:56:16
dmiles
also i was wrong about not being perfect information.. it is.. but its a game of incomplete information instead
2:40:20
Josh_2
https://pastebin.com/Ay4Utu8x can someone help me with this macro, I understand why it is saying it is an unknown block but I don't know how to fix it
2:46:08
Josh_2
however if I have return from block pop nil will the end result of the function be nil?
2:51:38
pierpa
if you macroexpand your original macro you see that there's no block named pop-data in the expansion
2:52:43
Josh_2
THanks for the help, you think I need to gensym the symbol names? I am actually trying to pass in global variable names intentionally
3:03:06
z3t0
Hi, I am trying to learn about programming languages that are fundamentally different from others
3:03:17
z3t0
So far I have spent some time hacking in common lisp and now am taking a look at smalltalk
3:03:47
z3t0
One of the main features of smalltalk is that everything is accessible and reflective as it is based on a live image
3:04:18
z3t0
I have noticed pretty much the same idea in common lisp, or is there something different about how one of these functions in terms of everything being at your fingertips at all times?
3:31:46
theemacsshibe[m]
I think if you get thrown in, you should go to inferior-lisp, quit ldb and start a new lisp.
5:44:38
asarch
From "http://www.gigamonkeys.com/book/object-reorientation-generic-functions.html": (defmethod withdraw ((account bank-account) amount) <- Which part is the name of the parameter[1] and which is the specializer[2]?
6:06:02
asarch
Another question: what is a "specializer"? Does it mean, "an instance" or "a super class"?
6:07:00
Bike
your method definition is for a method that takes two parameters, and the first parameter is an instance of the class bank-account.
6:24:51
addsub
I am not sure whether the author cares, but I found a grammatical error in the first chapter of 'gentle intro'
6:36:10
addsub
I lost it, it isn't really important since it doesn't impact the procedure, but sounds ghetto. It's a 'be' that should be an 'are'.
6:45:17
phoe
It is impossible to retrieve the value of a class-allocated slot without creating an instance of said class.
6:46:00
phoe
I thought that MOP:CLASS-PROTOTYPE would allow me to do this, but: "Whether the instance is initialized is not specified."
6:47:38
phoe
I'll need to write a class-slot-value or something that fetches the slot metaobject from the class itself.
6:48:04
addsub
page 19 'Chapter 1 Functions and Data 7. Second sentence in second line 'It is important that you be able to tell the difference between numbers'
7:11:28
phoe
Does this mean that I can do (slot-value (class-prototype 'foo) 'class-allocated-slot)?
7:16:13
beach
The MOP definitely does not have the same level of standard as the Common Lisp HyperSpec does.
8:46:51
jackdaniel
fe[nl]ix: I've updated the semaphore PR yesterday (taken into account your remarks)