Skip to content

Instantly share code, notes, and snippets.

org.armedbear.lisp.ProcessingTerminated
at org.armedbear.lisp.Extensions$quit.execute(Extensions.java:237)
at org.armedbear.lisp.Symbol.execute(Symbol.java:795)
at org.armedbear.lisp.LispThread.execute(LispThread.java:892)
at org.armedbear.lisp.top_level_3.execute(top-level.lisp:62)
at org.armedbear.lisp.Symbol.execute(Symbol.java:805)
at org.armedbear.lisp.LispThread.execute(LispThread.java:910)
at org.armedbear.lisp.top_level_45.execute(top-level.lisp:371)
at org.armedbear.lisp.Symbol.execute(Symbol.java:805)
at org.armedbear.lisp.LispThread.execute(LispThread.java:910)
@rpgoldman
rpgoldman / mypy-output.txt
Created May 3, 2024 20:53
Issue with Pydantic Models
dspy/signatures/mypy_issue.py:35: error: Too many arguments for "Signature" [call-arg]
dspy/signatures/mypy_issue.py:35: error: Incompatible return value type (got "Signature", expected "type[Signature]") [return-value]
Found 2 errors in 1 file (checked 1 source file)
@rpgoldman
rpgoldman / mypy-output.txt
Last active May 2, 2024 16:48
Python file showing issue with (spurious?) overlap in overloads
from typing import overload, Literal, List, Tuple, Any
class Example:
pass
class Prediction:
pass
class TestMypy:
@rpgoldman
rpgoldman / buildFile.xml
Created January 1, 2024 20:06
New build file wish spelling fix.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<VASSAL.build.GameModule ModuleOther1="Prophecy of kings included" ModuleOther2="" VassalVersion="3.6.7" description="Fantasy Flight Games" name="Twilight Imperium IV" nextPieceSlotId="2010" version="1.42c">
<VASSAL.build.module.BasicCommandEncoder/>
<VASSAL.build.module.Documentation>
<VASSAL.build.module.documentation.AboutScreen fileName="pic3727516.jpg" title="About Module"/>
<VASSAL.build.module.documentation.HelpFile fileName="/help/Intro.html" fileType="resource" title="Quick Start"/>
</VASSAL.build.module.Documentation>
<VASSAL.build.module.PlayerRoster buttonKeyStroke="" buttonText="Retire" buttonToolTip="Allow another player to take your side in this game">
<entry>Blue</entry>
<entry>Red</entry>
@rpgoldman
rpgoldman / p01.txt
Created November 6, 2023 23:35
Inputs for pandaPIparser seg fault
(define (domain satellite)
(:requirements :equality :typing :conditional-effects :negative-preconditions
:universal-preconditions :htn-method-prec)
(:types satellite direction instrument mode)
(:predicates
(on_board ?i - instrument ?s - satellite)
(supports ?i - instrument ?m - mode)
(pointing ?s - satellite ?d - direction)
(power_avail ?s - satellite)
@rpgoldman
rpgoldman / domain.hddl
Created November 3, 2023 20:28
Data for pandaPIparser issue #24
;; openstacks, strips version
(define (domain openstacks-sequencedstrips-ADL-nocosts)
(:requirements :typing :adl)
(:types order product count)
(:predicates (includes ?o - order ?p - product)
(waiting ?o - order)
(started ?o - order)
(shipped ?o - order)
(goal-shipped ?o - order)
@rpgoldman
rpgoldman / domain.hddl
Created November 1, 2023 19:59
Inputs to pandaPIparser for verification
(define (domain satellite)
(:requirements :equality :typing :conditional-effects :negative-preconditions
:universal-preconditions :htn-method-prec)
(:types satellite direction instrument mode)
(:predicates
(on_board ?i - instrument ?s - satellite)
(supports ?i - instrument ?m - mode)
(pointing ?s - satellite ?d - direction)
(power_avail ?s - satellite)
@rpgoldman
rpgoldman / cl-templates.el
Created September 21, 2023 21:00
Common Lisp Tempo Template definitions
;;; -*- Mode: emacs-lisp; -*-
;; templates are handy....
(require 'tempo)
(tempo-define-template
"read-only-slot"
(list
'(p "Slot name? " slot-name 'noinsert)
"(" '(s slot-name) 'n>
@rpgoldman
rpgoldman / domain.hddl
Created September 1, 2023 00:45
Inputs causing Panda HDDL parser to run forever (?)
(define (domain satellite)
(:requirements :equality :typing :conditional-effects :negative-preconditions
:universal-preconditions :htn-method-prec)
(:types satellite direction instrument mode)
(:predicates
(on_board ?i - instrument ?s - satellite)
(supports ?i - instrument ?m - mode)
(pointing ?s - satellite ?d - direction)
(power_avail ?s - satellite)
@rpgoldman
rpgoldman / escape-p1.htn
Created August 29, 2023 17:08
pandaPIparser output file causing error in pandaPIgrounder
This file has been truncated, but you can view the full file.
#number_constants_number_sorts
46 18
#constants
combo1
combo2
east
north
south
west
explorer1