00:00:58
| <dilijev> | bterlson: Added -x to eshost-cli to make it easier to run snippets like the one posted above by aklein: https://github.com/bterlson/eshost-cli/pull/27 |
00:03:43
| <bterlson> | dilijev: very nice... I was thinking about this earlier and wishing -e could just return the completion value of the script ala actually calling eval() |
00:03:52
| <bterlson> | it's kind of surprising that eval must be an expression |
00:04:20
| <bterlson> | unfortunately getting the completion value of an evalScript is not possible across all engines |
00:04:38
| <dilijev> | I used to do SQL-injection style to get my non-expressions to work in eshost |
00:04:43
| <dilijev> | a la |
00:04:56
| <bterlson> | if I had do-expressions I'd wrap the code in that |
00:05:04
| <dilijev> | eshost -e "); print(42); print(" |
00:05:16
| <bterlson> | yeah see... |
00:05:24
| <bterlson> | should not be necessary |
00:05:26
| <dilijev> | well obviously not necessary in that example |
00:06:56
| <bterlson> | I mean I think it's reasonable to expect -e to take a statement rather than an expression |
00:07:20
| <dilijev> | right... and return the completion value |
00:07:39
| <dilijev> | but again, not possible right now, so adding an alternative which allows for multiple-statement programs with the status quo |
00:07:53
| <dilijev> | unless you think -e should just be changed to not wrap the code in print |
00:08:14
| <dilijev> | s/return/print |
00:08:23
| <bterlson> | I do think that, I just don't see how |
00:08:35
| <bterlson> | could take a babel dep and use do-expressions |
00:09:59
| <bterlson> | could also get everyone's eval script APIs to return the completion value... |
00:10:38
| <bterlson> | I agree it's good for now. |
00:11:00
| <dilijev> | is there a way to observe completion values in-script? |
00:11:52
| <bterlson> | not without eval |
00:14:46
| <dilijev> | k |
00:14:51
| <dilijev> | hey btw, how does one use --args |
00:15:18
| <dilijev> | I'd like to resolve this issue but I don't actually know what the inten tis |
00:15:21
| <dilijev> | intent is |
00:15:22
| <dilijev> | https://github.com/bterlson/eshost-cli/issues/20 |
00:15:34
| <dilijev> | add already takes args without the use of the --args flag |
00:17:43
| <bterlson> | --args applies only to --add |
00:17:52
| <bterlson> | there is an example |
00:18:12
| <dilijev> | oh i see |
00:18:22
| <dilijev> | I was confused by this one |
00:18:23
| <dilijev> | eshost --add [host name] [host type] <host path> <host arguments> |
00:18:29
| <bterlson> | ahh yeah |
00:18:32
| <dilijev> | looks like you actually need to use --args before <host arguments> |
00:18:33
| <bterlson> | should be --args <host arguments> |
00:18:36
| <dilijev> | i'll update it |
00:18:42
| <bterlson> | you can commit directly now :-P |
00:21:31
| <dilijev> | ah thanks |
00:30:46
| <dilijev> | there's not currently anything in the readme about selecting hosts, so i think the help messages should cover it? |
00:31:25
| <bterlson> | I suppose |
00:38:26
| * gibson042 | joined |
00:52:10
| * caridy | quit (Remote host closed the connection) |
00:53:01
| * caridy | joined |
01:11:04
| * AtumT | quit (Remote host closed the connection) |
02:55:13
| * afrael | joined |
03:02:57
| * afrael | quit (Remote host closed the connection) |
03:03:29
| * afrael | joined |
03:08:04
| * afrael | quit (Ping timeout: 260 seconds) |
04:15:39
| * jmdyck | quit (Quit: Leaving.) |
04:27:52
| * gskachkov | quit (Ping timeout: 260 seconds) |
04:43:57
| * not-an-aardvark | joined |
05:42:59
| * afrael_ | joined |
07:36:37
| * gskachkov | joined |
07:36:37
| * gskachkov | quit (Client Quit) |
08:12:53
| * afrael_ | quit |
08:14:02
| * afrael_ | joined |
08:44:44
| * gskachkov | joined |
10:25:11
| * mylesborins | quit (Quit: farewell for now) |
10:25:41
| * mylesborins | joined |
10:57:01
| * AtumT | joined |
12:19:13
| * jmdyck | joined |
12:25:57
| * afrael_ | quit (Remote host closed the connection) |
12:26:33
| * afrael_ | joined |
12:31:28
| * afrael_ | quit (Ping timeout: 260 seconds) |
13:13:23
| * not-an-aardvark | quit (Quit: Connection closed for inactivity) |
15:16:31
| * AtumT_ | joined |
15:19:20
| * AtumT | quit (Ping timeout: 260 seconds) |
15:29:48
| * AtumT_ | quit (Ping timeout: 240 seconds) |
15:30:41
| * AtumT | joined |
15:33:27
| * AtumT_ | joined |
15:34:50
| * AtumT | quit (Ping timeout: 240 seconds) |
16:30:35
| * AtumT_ | quit (Read error: Connection reset by peer) |
16:32:49
| * AtumT | joined |
16:35:25
| * AtumT_ | joined |
16:37:21
| * AtumT | quit (Ping timeout: 248 seconds) |
17:36:29
| * gskachkov | quit (Quit: gskachkov) |
17:55:50
| * gskachkov | joined |
18:44:20
| * gskachkov | quit (Quit: gskachkov) |
19:43:23
| * gskachkov | joined |
20:12:43
| * gskachkov | quit (Quit: gskachkov) |
20:14:12
| * gskachkov | joined |
20:23:20
| * gskachkov | quit (Quit: gskachkov) |
20:29:31
| * gskachkov | joined |
21:01:04
| * gskachkov | quit (Quit: gskachkov) |
21:05:11
| * gskachkov | joined |
22:38:08
| * gskachkov | quit (Quit: gskachkov) |