Advertisement
logicmoo

Untitled

Dec 23rd, 2017
715
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 10.28 KB | None | 0 0
  1. [22:11] <MrBusiness> So uh
  2. [22:11] <MrBusiness> this is a game about prolog?
  3. [22:11] <MrBusiness> Is it actively being played at all?
  4. [22:11] <MrBusiness> It sounds really fun and creative!
  5. [22:12] <MrBusiness> i've always wanted to really play around with prolog, but the language itself seems to lend itself to specific applications of the non-game variety from the majority of what I've seen.
  6. [22:18] <MrBusiness> Guess it's dierent than that, or I just haven't figured out how to runt he client. Been years since I played with a MUD or anything.
  7. -
  8. [04:34] MrBusiness is ~ArcMrBism@2602:306:8325:a300:a048:324:3241:a9a4 * Martin Rudolph "Rudy" Basalt
  9. [04:34] MrBusiness on ##math #sml #logicmoo ##computerscience #lispgames #scheme #lisp
  10. [04:34] MrBusiness using kornbluth.freenode.net Frankfurt, Germany
  11. [04:34] MrBusiness is using a secure connection
  12. [04:34] MrBusiness is logged in as MrBismuth
  13. [04:34] MrBusiness End of /WHOIS list.
  14. -
  15. [04:35] <dmiles> currently server is down.. but should have things going by mid-January
  16. [04:35] <dmiles> So in Logicmoo a user can create realms and make them available for other people to play.
  17. [04:36] <dmiles> What prolog is very good at is blending differnt types of Knoweldge representations
  18. [04:37] <dmiles> It is a database language that is not limited by the convertions that most people are used to
  19. [04:38] <dmiles> the way Norvig's PAIP operated (in lisp) is a good genral preview of what the language does
  20. [04:39] <dmiles> Prolog requires far less predicated structure.. jusut like in Lisp most things can have a List/Sequence/Slots point of view.. prolog has that a well
  21. [04:40] <dmiles> That is that prolog sees all datastructures (including its own programs) something it can makes deductions about and transformations
  22. [04:42] <dmiles> Back to logicmoo. the idea is much like Inform7s Guncho https://www.guncho.com/
  23. [04:43] <dmiles> instead of a controlled english i have been concentrating on a controlled higher order logic (taken from McCArthys idea of elaboration tollerant worlds
  24. [04:44] <dmiles> the benefiuts is the world simulator can be as simple or detailed as one wants
  25. [04:45] <dmiles> you can describe things with great and very little details
  26. [04:46] <dmiles> the system doesnt need to recompile.. it just augments the existing code and database
  27. [04:47] <dmiles> i been taqking too long at the infenrce engine (the thing that creates new worlds from ideas) so i decided to convert the source code of CYC to prolog
  28. [04:47] <dmiles> (Cycorp implemented McCarhties ideas)
  29. [04:48] <dmiles> right now i been focusing on the new tranlator that lets me port lisp applicaitons (like CYC, Daydreamer, etc) to prolog
  30. [04:48] <dmiles> https://github.com/TeamSPoon/wam_common_lisp/blob/master/t/sanity-test.lisp_load.md#compiled--ufifteen
  31. [04:49] <dmiles> that is an example output of the tranapiter.. i am haivng it generate .md files so i can find little bugs
  32. [04:50] <dmiles> i hav eot take a 6 hour nap before resumeing work
  33. [04:50] <dmiles> hope to talk soon
  34. [07:04] * aindilis (~aindilis@172-12-3-117.lightspeed.sgnwmi.sbcglobal.net) Quit (Ping timeout: 252 seconds)
  35. [16:23] <MrBusiness> that's an interesting idea, and I  am convinced of its viability
  36. [16:25] <MrBusiness> I had a loosely related idea for a similar system based on puzzlescript, which has many prolog db/predicate analogues
  37. [16:28] <MrBusiness> it would take an inform7 code, then cull the pscript db for matching rules/objects that maps to nouns & actions
  38. [16:31] <MrBusiness> it relies on a bit of crowdsourcing, metrics, and a cache of the puzzlescripts and inform stories combined, along with an element of nondeterministic randomness and some kind of system for culling/adding rules/objects from specific constituent codes
  39. [16:32] <MrBusiness> and a more deterministic "rating" system that somehow lets people decide, perhaps with a five star system, which combination sets work best
  40. [16:33] <MrBusiness> but prolog predicates and pscript rules are very similar
  41. [16:33] <MrBusiness> which is, I'd say, part of what makes a good puzzlescript so hard to use
  42. [16:34] <MrBusiness> ultimately though, I think the end product would benefit from either an inform-style typed action command line.
  43. [16:34] <MrBusiness> or a SCUMM-like subwindow of established verbs
  44. [16:35] <MrBusiness> ultimately, I don't know that I'm strong enough in statistics to really make it work.
  45. [16:40] <MrBusiness> Guncho is very intriguing
  46. [16:41] <MrBusiness> I guess my original idea was that the player would start as a cat in a room with some objects. Like a cat, one does not know, at a glance, what much of anything is.
  47. [16:43] <MrBusiness> only through interaction and exploration would actions be discovered, objects named, and so on. I reckon I must have been out of my mind, but having been around cats, I've observed that they do seem to discover and ascribe their own meanings to things in the world.
  48. [17:01] <dmiles> *nod* part of what makes a good puzzlescript/inform7/prolog so hard is it can seem to be all rules and not much action .. it taken me a very long time to get as comfortable as i am with prolog
  49. [17:01] <dmiles> iteresting what gets around some of this ..  like in Inform7 programmers drop to inserting inform6 code in {-   varx = varx * 2;  -} into the middle of Inform7
  50. [17:02] <dmiles> for prolog, i've used a lot of forard chaining to create/craft state
  51. [17:02] <dmiles> foreword*
  52. [17:03] <dmiles> the command line is sort of a way to see and manipulate that
  53. [17:04] <dmiles> your description about cats is much what what i mean be "level of detail" accribed to objects
  54. [17:05] <dmiles> be/by
  55. [17:06] <dmiles> the lack of action thing has lead me slightly to a PDDL view of the world
  56. [17:07] <dmiles> https://www.cs.toronto.edu/~sheila/2542/s14/A1/introtopddl2.pdf
  57. [17:09] <dmiles> which gives a way to describe how actions afftect the world
  58. [17:11] <dmiles> still everthing is declarative which is what makes it easy for the system and slightly harder for human programmers
  59. [17:13] <dmiles> but at least humans can still ellaborate on the declared
  60. [17:14] <dmiles> and interact with a declared world
  61. [17:16] <dmiles> i been toying with having non player agents with goals that have been declared try to acommplish them.. my cat right now is out of sorts because he saw another cat outside and feels something is not right
  62. [17:16] <dmiles> so he walked over to his food dish and decided the big problem muct be that the dish is not covered up
  63. [17:16] <dmiles> must be*
  64. [17:17] <dmiles> the reason he walked over to it is not out of thi9nking of protecting it.. but because he is hungry
  65. [17:18] <dmiles> i knew he really didnt want it covered but he was trying to cover it.. so i helped him complete his task
  66. [17:19] <dmiles> but getting a newpaper sheet and doing it.. he walked away contently
  67. [17:19] <dmiles> but then 30 seconds later he came back and uncovered it and started eating
  68. [17:22] <dmiles> that sort of interaction probably would happen much in the game world
  69. [17:23] <dmiles> my cats actual issue was when he got to the food dish he was still feeling anxious about the outside cat .. the dish was only 1/2 full.. he is not used to seeing it low
  70. [17:24] <dmiles> he thinks when its uncovered it always has lots of food
  71. [17:24] <dmiles> so he needed to cover it
  72. [17:24] <dmiles> (so it can be uncovered)
  73. [17:26] <dmiles> after a few seconds of eating .. he let his mind drift to thinking aobut the outdoor cat and his anxiousness took away the hunger (ok maybe he was never hungry)
  74. [17:26] <dmiles> so he wnet over the scratching post and started running arround the house shrieking.. that was what he needed all along
  75. [17:27] <dmiles> he crashed out just now on my desk
  76. [17:28] <dmiles> (for feeling love and safety)
  77. [17:30] <dmiles> i wanted a world that can be elaborted on .. just like real life
  78. [17:32] <dmiles> for a while i thought that games that looked liek the real world would be helpfull
  79. [17:33] <dmiles> but after expedning a lot of resources in 3d worlds, i realized i was using them to avoid the tough issues of representations that are not 3D
  80. [17:34] <dmiles> the military was good for funding and supporting that research and would love it to continjue
  81. [17:35] <dmiles> but i knew it was a way to sneak away from the harder tasks
  82. [17:35] <dmiles> (for me)
  83. [17:36] <dmiles> other Embodiment AI-ists are getting lost in that maze
  84. [17:37] <dmiles> (that is my excuse for having wasted 12 years)
  85. [17:38] <dmiles> why logicmoo is still close to being at the level it was in 2001
  86. [17:39] <dmiles> to..  http://logicmoo.sourceforge.net/
  87. [17:43] <dmiles> just mentioning sinc ei feel guitly it was not further along
  88. [17:51] <dmiles> then another excuse (this might be apply to societys research as well) is we been looking for towards "Rule of least power"
  89. [17:52] <dmiles> In programming, the rule of least power is a design principle that "suggests choosing the least powerful [computer] language suitable for a given purpose". ... This rule is an application of the principle of least privilege to protocol design.
  90. [17:53] <dmiles> " The Semantic Web is an attempt, largely, to map large quantities of existing data onto a common language so that the data can be analyzed in ways never dreamed of by its creators. If, for example, a web page with weather data has RDF describing that data, a user can retrieve it as a table, perhaps average it, plot it, deduce things from it in combination with other information"
  91. [17:54] <dmiles> the last project i was on was attempting to create PrologMUD states in all RDF
  92. [17:56] <dmiles> after we spent a great deal of investor money on that i felt guilty and had to go off and start working on PrologMUD for free (they are continuing to work on it in RDF)
  93. [17:57] <dmiles> other "Nomic Projects" like AutoNomic and IDNI are attempting to create a Logicmoo bassed on "Rule of least power"
  94. [17:59] <dmiles> (Logicmoo is a "Nomic Game")
  95. [18:00] <dmiles> Nomic is a game in which changing the rules is a move. In that respect it differs from almost every other game. The primary activity of Nomic is proposing changes in the rules, debating the wisdom of changing them in that way, voting on the changes, deciding what can and cannot be done afterwards, and doing it. Even this core of the game, of course, can be changed.
  96. [20:30] * aindilis (~aindilis@172-12-3-117.lightspeed.sgnwmi.sbcglobal.net) has joined #logicmoo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement