Petrus Theron

Results 108 issues of Petrus Theron

I would love to be able to compose parsers, e.g. ``` (defparser thing {:S (c/cat (regexp "abc"))} :start :S) (defparser container {:S (c/cat thing (regexp "def")} :start :S) ``` (As...

Chessmate allows itself to be mated if it sees a counter-mate in one or two moves, e.g.: ![image](https://f.cloud.github.com/assets/1011676/412177/20850200-aba5-11e2-8339-d2f4774ba62d.png) A simple solution would be to double the value of its own...

bug

Would be nice if this could run in a browser as a Java Applet

enhancement

Chessmate has no knowledge of en passant, but some of the code for this is commented.

bug

Chessmate has no knowledge of castling

bug

I suspect an uneven depth search setting unbalances the search tree and results in bad moves.

bug

``` ;; Welcome to the XTDB Console! ;; ;; The Console is a tool for exploring your data and helping you write ;; Datalog queries. The console also displays useful...

bug

Running my tests against XTDB 1.20.0 throws this exception: ``` 18:06:35.215 [main] DEBUG xtdb.query - :vars-in-join-order [?entry ?currency ?account ?tx ?amount] 18:06:35.215 [main] DEBUG xtdb.query - :var->bindings {?amount #xtdb.query.VarBinding{:e-var nil,...

bug

It takes 8-10s seconds for a call to `(require '[datahike.api])` to complete on my dev machine, which feels really long. All my other dependencies, including httpkit and my web application...

enhancement
performance

I have a growing vector of schema txes. Sometimes I'll add a new attribute. When I try to transact this, Datahike throws: ``` @(d/transact! conn many-schema-changes) Execution error (ExceptionInfo) at...

enhancement