You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

jamesf comments on Introducing Familiar, a quantified reasoning assistant (feedback sought!) - Less Wrong Discussion

19 Post author: jamesf 24 July 2013 02:36AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (40)

You are viewing a single comment's thread.

Comment author: firstorderpredicate 24 July 2013 07:16:05AM *  2 points [-]

I've just started playing with it now so these are just initial thoughts:

1) Command Line History would be really nice: Messing up a command (new-prd $var1 (fn ....) and having to retype from scratch is a pain. Although if you get a nice GUI it won't matter;

2) (Never mind; I can't reproduce it now) (After I did (change-time (days -1)); (data ..) nothing was returned from (entered) _ ;

3) Allowing data to be entered via a source file might be nice, but I suppose a script would work ok too. Perhaps I should write a Perl script to convert CSV into Familiar data?

Comment author: Baughn 24 July 2013 08:59:34AM 4 points [-]

For #1, just use readline/editlne. Don't try to implement your own.

Although personally I'd prefer a nice shell-scripting interface. (Note: I have not actually tried the program or checked if it has one.)

Comment author: jamesf 24 July 2013 01:46:10PM 0 points [-]

It can take command line arguments and therefore be put into a shell script, if that's what you mean. Here's an example:

java -jar familiar-0.1.0-SNAPSHOT-standalone.jar "(open! some-other-experiment)" "(new-var herons boolean? false)" "(data herons true)"

Comment author: jamesf 24 July 2013 01:53:27PM 0 points [-]

It looks like getting editline to talk with my Clojure code would be somewhat non-trivial. Using the Clojure REPL is probably the better alternative for serious use until I get a GUI working.

Reading CSVs is now on the todo list.

Comment author: gwillen 25 July 2013 02:47:04AM *  1 point [-]

Get rlwrap. Wrap the program in a script that runs 'rlwrap program'. All the benefits of readline with no code. You're welcome. ;-)

Comment author: jamesf 25 July 2013 04:34:26PM 0 points [-]

I'm hesitant to use software licensed under the GPL in my own program, as convenient as that sounds. I'd like to release it under a (even) less restrictive license.