freenode/#lisp - IRC Chatlog
Search
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)
10:05:24
light2yellow
why am I getting "value (fact k) is not of type number" ( https://pastebin.com/raw/EhG8tW6R ) ? shouldn't it look at fact and see that it returns number? or I cannot do this because macros don't evaluate at compile time, but have to be compileable?
10:13:03
light2yellow
if I replace (mult2 (fact k)) with (* 2 (fact k)) it works as intended, so I don't undestand why it doesn't work with the macto
10:24:52
light2yellow
phoe: because I'm exploring the laguage. also, never mind, I finally figured out what `, , and @ do, so (mult2 (a) `(* 2 ,a)) seems to work
10:34:40
beach
light2yellow: Things don't quite work that way. If you ask for help, you can not demand that people ignore all the style violations in order to answer only the particular issue you are asking for.