freenode/#lisp - IRC Chatlog
Search
15:32:23
hhdave
drunk_foxx[m]: :) I just checked it and it’s working for me now too, so it must have been fixed.
17:24:09
ealfonso`
I'm trying to mock a hunchentoot request to unit-test a handler. I'm using (make-instance 'hunchentoot:request :uri "/my-uri" :headers-in nil :acceptor my-acceptor) . but I'm getting "The variable HUNCHENTOOT:*ACCEPTOR* is unbound" somewhere in this :after method https://github.com/edicl/hunchentoot/blob/755bd3d34b596d3cda2425cc94ef5f7be3249ecf/request.lisp#L185 . I don't know where in the :after method because when I try to see the
17:24:09
ealfonso`
source in slime, I get "Cannot find source location for: #<COMPILED-CODE-LOCATION"... any ideas on how to make the source available?
17:45:29
jasom
It's a keyword, so I was hoping it would be optional. What do I do if the type could be different on different systems?
17:59:47
jasom
fe[nl]ix: okay if reader-macros are the only way, I can do it that way. It's a bit annoying that it can't at least give me an integer of the right size, since sizeof() can do that.
19:16:02
warweasle
I'm looking at tinyScheme as an embedded scripting language but I'd really like to use 1st order logic and rules.
19:18:59
warweasle
Xach: Yes...I have to splice it into my project. Eventually. But since I'm in the C++ code right now, it seems like a good time.
19:20:09
warweasle
Xach: ECL won't work. Or it might but it will take more effort to splice into my project.
19:21:11
warweasle
If you promise not to laugh, I want to use it in Unreal Engine as my scripting and configuration language.
19:31:06
dmiles
warweasle.. for the prolog-like database you out to look at KM interpreter here is some interaction http://www.cs.utexas.edu/users/mfkb/km/km-overview.script
19:33:55
warweasle
This is exactly what I need. I can use it for changing dialog trees and generating procedural gibberish.
19:35:46
warweasle
dmiles: I've never thought about how similar dialog is between modern games and text ones.
19:37:39
dmiles
https://www.cs.nmsu.edu/ALP/2011/03/natural-language-processing-with-prolog-in-the-ibm-watson-system/
19:38:43
dmiles
oh btw i agree with dialog trees and proceedural trees using the same mechanisms as the otehr
19:40:30
pierpa
dmiles: do you use KM? is it maintained and in good shape or an abandoned projects? after a quick browse it looks like a very interesting project (which I didn't know before)
19:40:42
dmiles
the reason i am developing WAM-CL is to make a hybrid MUD server that use DAYDREAMER and KM
19:46:47
warweasle
Then tell it to bootstrap itself into this new language...I'm sure nothing can go wrong.
19:54:36
warweasle
It's simple: YOu move a piece randomly. The other player says you can't do that. You flip the table and declare yourself the winner.
19:54:46
dlowe
if I had perfect recall and read every recorded chess match, I'd be pretty good at chess too
19:55:18
dlowe
it wasn't just that, but knowledge of all those openings made it undefeatable in the early game
19:59:13
dmiles
well in a game like chess we know there is no perfect game or perfect moves.. but you can pretned there is in order to win
20:03:24
dmiles
well warweasle we havbe to talk more soon.. i trying to figure out if you , myself, pierpa and some other people i know are dumb to not be working together
20:08:44
dmiles
ACTION is just trying to create a public opensrc version of the lisp application infrastructure built by cycorp
20:12:07
dmiles
i think i need the structural consistency of a MUD to control a blackboard that looks like what is stored in SNARK in order to encourage myself
20:14:44
dmiles
once this application infrastructure exists, it makes it much easier to write programs that are considered impossible
20:16:49
dmiles
considered impossible / well programs that we created pre-1990s except in non-toy applications
20:18:47
dmiles
the problem in MINSTREL, DAYDREAMER, SWALE was not the egg cracking problem .. it was that we didnt have subsumptive unification over KBs
21:30:31
tarruda
How do I create a defun-like macro so that the argument list is not evaluated when the macro is called?
21:31:11
tarruda
For example, how would I create a "mydefun" macro that would have the exact same syntax as "defun" (except for the "mydefun" part, of course)